X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=34bfa4418fb62732c821069307a28024105e4f0b;hb=e6a83e73b4b2c56b14853f1e717aeaa9f874728d;hp=12b370792b1142fbeccb55825295c7f4a610d5c7;hpb=2f1d5b25e72324512238920b45e864bf7c5d16fe;p=fw%2Faltos diff --git a/ChangeLog b/ChangeLog index 12b37079..34bfa441 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2842 @@ +commit 8e42773e7834638464b46495123dbdc2356032bf +Merge: a6c32739 7fe1408a +Author: Bdale Garbee +Date: Thu Jan 19 22:55:56 2023 -0700 + + Merge branch 'master' into branch-1.9 + +commit 7fe1408af6fd65c13cebf33d7bb7bf8517d8ce1e +Merge: 234b275d 5f007934 +Author: Bdale Garbee +Date: Thu Jan 19 22:51:27 2023 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 5f007934c12863b5df1adc8d286b20b3488b5a6f +Author: Keith Packard +Date: Thu Jan 19 17:28:36 2023 -0800 + + Version 1.9.13 + + Signed-off-by: Keith Packard + +commit 97e6f06783006f59dd596d4f3d741408a1e4e5b1 +Author: Keith Packard +Date: Thu Jan 19 17:27:18 2023 -0800 + + doc: Update copyright year to 2023 + + Signed-off-by: Keith Packard + +commit 1803c15b9d9110df9e54374b2576681835d6cd87 +Author: Keith Packard +Date: Thu Jan 19 17:27:02 2023 -0800 + + doc: Add release notes for 1.9.13 + + Signed-off-by: Keith Packard + +commit 96181ff1e0d376d7a2c9519abbf4f346d8fd47ea +Author: Bdale Garbee +Date: Thu Jan 19 22:41:24 2023 -0700 + + doc: update EasyMotor behavior description for firmware 1.9.13 and later + +commit 234b275db125304829d1859713388775fd3791db +Author: Bdale Garbee +Date: Thu Jan 19 22:41:24 2023 -0700 + + doc: update EasyMotor behavior description for firmware 1.9.13 and later + +commit 22f9fb47d97ba13f6b30fab25bce552bccc91997 +Author: Keith Packard +Date: Thu Jan 19 17:39:42 2023 -0800 + + Disable TM v4.0 firmware for 1.9.13 + + This will be in 1.9.14 + + Signed-off-by: Keith Packard + +commit 3021764629a438d1d1b0323a09d6fb2350ce1bfb +Author: Keith Packard +Date: Thu Jan 19 17:28:36 2023 -0800 + + Version 1.9.13 + + Signed-off-by: Keith Packard + +commit 2689b30cdccba18d46505774aafc8e6119948191 +Author: Keith Packard +Date: Thu Jan 19 17:27:18 2023 -0800 + + doc: Update copyright year to 2023 + + Signed-off-by: Keith Packard + +commit 399c85245542d95f05063fdd34939dc746f1ea2d +Author: Keith Packard +Date: Thu Jan 19 17:27:02 2023 -0800 + + doc: Add release notes for 1.9.13 + + Signed-off-by: Keith Packard + +commit 691869aa6c542999a4e915c23b6696451dd42f65 +Author: Keith Packard +Date: Thu Jan 19 17:20:44 2023 -0800 + + altos: Add makefiles for telemega v6 + + Signed-off-by: Keith Packard + +commit e4ce0ce186b68497cfb14a400410fdd38aa93abc +Author: Keith Packard +Date: Thu Jan 19 14:04:50 2023 -0800 + + altos/easymotor: Move pressure conversion code to ao_motor_flight.c + + This inline function uses a pile of constants which aren't defined in + ao_pins.h, so move it to ao_motor_flight.c where it is used + + Signed-off-by: Keith Packard + +commit 28e4cb24e0f0ee5abf66c5a0466edfd0e31f4df0 +Author: Keith Packard +Date: Thu Jan 19 13:20:56 2023 -0800 + + easymotor-v3: Fix pressure to adc conversion to use reference voltage + + Wasn't taking reference voltage into account, which meant the computed values + were 3.3 times too high. + + Signed-off-by: Keith Packard + +commit 7b40813fdafce4ebd635aceb4c32355339a4d98d +Merge: 026ab589 4c61c113 +Author: Keith Packard +Date: Thu Jan 19 12:21:32 2023 -0800 + + Merge branch 'easymotor-flight' + +commit 026ab589d0ade3dd59d26888fffd8699ef534671 +Author: Keith Packard +Date: Thu Jan 19 12:18:46 2023 -0800 + + altos/telelco: Add some debug aids for TeleLCO event stuff + + Use (debug & 2) to select just event debugging. + Add 'pretend' mode to cycle through all possible pad boxes. + + Signed-off-by: Keith Packard + +commit ee49d3c202e1fee14328006e2beb2e774313de2e +Author: Keith Packard +Date: Tue Dec 27 21:33:14 2022 -0800 + + altoslib: Add TeleMega v6 support + + New sensor (bmi088) support, plus other changes as needed. Also found + some places missing TeleMega-v5 support? + + Signed-off-by: Keith Packard + +commit 96444c1e0e6a1c179d9695b454012d0b16d0a76c +Author: Keith Packard +Date: Tue Dec 27 21:32:39 2022 -0800 + + ao-tools: Update ao-eeprom for TeleMega v6 + + Add new log file format; no other changes needed here. + + Signed-off-by: Keith Packard + +commit 95d39febfa9b6c6f2696fb1b47cf72aa808ec7c9 +Author: Keith Packard +Date: Tue Dec 27 21:31:38 2022 -0800 + + ao-tools: Fix buffer overflow in lib/ao-hex.c + + ao_hex_file_create allocated a buffer too short when writing EOF. + + Signed-off-by: Keith Packard + +commit 08f13d3301bfcf9a5b9b566df4ffd4ed33f236d0 +Author: Keith Packard +Date: Tue Dec 27 21:30:13 2022 -0800 + + altos: Split AO_LOG_NORMALIZED support out in telemetry code + + This avoids needing per-driver changes to the telemetry code by using + the normalized data gathering techniques. + + Signed-off-by: Keith Packard + +commit 0d16160ce2207fd248c2d93a4f7a77a05176204d +Author: Keith Packard +Date: Tue Dec 27 21:29:12 2022 -0800 + + drivers: Add AO_LOG_NORMALIZED support to BMI088 command + + Make this driver work in monitor idle mode + + Signed-off-by: Keith Packard + +commit ad4679dd0bd2d759f708a6ab6d0425eb1cbde7c1 +Author: Keith Packard +Date: Tue Dec 27 21:01:06 2022 -0800 + + src/drivers: Ignore printf warnings in ao_aprs.c + + This code uses sprintf to generate the tnc buffer, but the compiler doesn't + really understand the value limits. + + Signed-off-by: Keith Packard + +commit 0c34739489b23e729cd7d35c5ec74416fb51164a +Author: Keith Packard +Date: Tue Dec 27 20:24:51 2022 -0800 + + doc: Update docs for asciidoctor-pdf version 2.x + + Some of the theming stuff changed + + Signed-off-by: Keith Packard + +commit fc042fa0a77d808fa7670e213e7e0c273200a043 +Author: Keith Packard +Date: Sat Dec 17 18:01:01 2022 -0800 + + altos: Add TeleMega v6.0 + + Like TeleMega v5.0, but replaces MPU6000 with BMI088 + + Signed-off-by: Keith Packard + +commit 9d515a031d388bec41583f0335e97ecd78c75864 +Author: Keith Packard +Date: Sat Aug 27 17:06:58 2022 -0700 + + altos: Add BMI088 test framework using Nucleo32 board for stm32f042 + + This allows a BMI088 chip to be connected to a nucleo-32 board + with an stm32f042 chip to be tested. + + Signed-off-by: Keith Packard + +commit bc0adb3723e9d383c8a379850c4cb0650003772e +Author: Keith Packard +Date: Sat Aug 27 17:05:51 2022 -0700 + + drivers: Add BMI088 driver + + Supports the Bosch BMI-088 3-d accel/gyro device. + + Signed-off-by: Keith Packard + +commit 560767497057c08a6fc3bc24aaba23a8d6192259 +Author: Keith Packard +Date: Mon Dec 5 19:26:42 2022 -0800 + + altos: Add timeout in MS5607 get_sample code + + MISO is supposed to rise when the sample value is ready, but sometimes + we miss the interrupt which should be generated. I spent a day + attempting to fix this, but was unable to make it 100%. Instead, add a + 10ms timeout, which is longer than the sample time (8.2ms), and then + read MISO directly. If the interrupt fires, we'll read a bit sooner. + + Signed-off-by: Keith Packard + +commit 4af1fba120644f38e91bae283c9ff2ef32c2e49c +Author: Keith Packard +Date: Mon Dec 5 19:51:02 2022 -0800 + + altos/stmf0: Add ao_spi_put_pins for MS5067 driver + + TeleMini needs this on stmf0 + + Signed-off-by: Keith Packard + +commit 2ea3f551b3c4649320efe2fd999f01012bca03bd +Author: Keith Packard +Date: Mon Dec 5 19:29:28 2022 -0800 + + altos/stm: Add ao_spi_put_pins for MS5607 driver + + This function re-configures the GPIO mux to disconnect the SPI block + from the pins driving the MS5607. + + Signed-off-by: Keith Packard + +commit 4c61c11322b57ed1910bba33bd2ce11a368e6583 +Author: Keith Packard +Date: Sun Dec 4 16:33:02 2022 -0800 + + easymotor-v3.0: Clean up build bits + + Signed-off-by: Keith Packard + +commit 1a467bf13485649419e1205ee788ef0d58b42d01 +Author: Keith Packard +Date: Sun Dec 4 16:32:05 2022 -0800 + + easymotor-v3.0: Use motor pressure to trigger data logging + + Use this instead of acceleration so it can be used on the ground as + well as for staged flights. + + Signed-off-by: Keith Packard + +commit da253f1ee9510fba93ddf5c1895570eb5081af46 +Author: Keith Packard +Date: Sun Dec 4 14:17:58 2022 -0800 + + altos: Add timeout for MS5607 ADC conversion + + The MS5607 should signal conversion done by pulling MISO low, but in + case it doesn't, add a 10ms timeout to wake up after the conversion + should be done. + + Signed-off-by: Keith Packard + +commit c2eb61af64b8f38d88fff885f0fccdc0100ab233 +Author: Keith Packard +Date: Sat Nov 26 09:57:33 2022 -0800 + + altoslib: Add notes about updating ao-eeprom for new product + + Signed-off-by: Keith Packard + +commit c1708f3fa4ff412da8817ba0fa58d05fe7ef44f5 +Merge: 414ad269 999cc72a +Author: Keith Packard +Date: Sat Nov 26 09:52:37 2022 -0800 + + Merge branch 'master' + +commit 414ad2696bbe2a2f245ae7bb2ec8f57bc8cc0097 +Author: Keith Packard +Date: Sat Nov 26 09:48:19 2022 -0800 + + ao-tools/ao-eeprom: Add support for TeleMega v5.0 + + Same as TeleMega v4.0 (ao-eeprom doesn't do much with imu data) + + Signed-off-by: Keith Packard + +commit 999cc72af08ebf9ce0fd44ed00b42a2cd1a53594 +Author: Keith Packard +Date: Sun Nov 20 15:57:44 2022 -0800 + + Add TeleMetrum v4.0 to release files + + Releasing + altosui/Makefile + altosui/altos-windows.nsi.in + + Signed-off-by: Keith Packard + +commit 6cb7457b87913d5f18b6b87d401b2782d8f665a4 +Author: Keith Packard +Date: Sun Nov 20 15:56:06 2022 -0800 + + altoslib: Handle TeleMetrum v4.0 in idle mode + + Handle config data and idle fetch stuff. Note that TM v4.0 differs + from older versions a bit as it stores config data in the SPI flash + chip, not in the SoC. + + Signed-off-by: Keith Packard + +commit f80839cec9fef10e182901e08dec81a41c28f34b +Author: Keith Packard +Date: Sun Nov 20 15:31:27 2022 -0800 + + altos: Enable telemetrum telemetry for telemetrum v4.0 + + This configuration could be done better ... + + Signed-off-by: Keith Packard + +commit a616233dcdb3bcc1ac2b16436f3c6a0f3c746a63 +Author: Bdale Garbee +Date: Fri Nov 18 13:06:12 2022 -0700 + + doc: add a link to a reference on ARES/RACES use of PowerPole connectors + +commit abcc8ca13005155b11d2316cf88be8cfa0294f44 +Author: Bdale Garbee +Date: Fri Nov 18 12:51:08 2022 -0700 + + doc: add a warning to TeleLaunch docs about siren volume levels + +commit 4ff9f3271f9d20603626c18ee16b20e50c579ddf +Author: Keith Packard +Date: Sat Nov 12 23:37:29 2022 -0800 + + altos: Make sure APRS packets are reasonably separated + + Don't let them come too close together. + + Signed-off-by: Keith Packard + +commit b4960336c0ae960bee40fdd337e58fcc8846ac87 +Author: Keith Packard +Date: Sat Nov 12 23:35:40 2022 -0800 + + altos/ms5607: Fixup ms5607 changes for other chips + + A couple of chips don't bother providing duplex, so allow for that. + + Signed-off-by: Keith Packard + +commit 6c3f98370a7244a053f8e4858b8f136e2fd659b2 +Author: Keith Packard +Date: Sat Nov 12 23:34:34 2022 -0800 + + altos: Add ao_gps_utc_tick + + This indicates which tick is associated with the UTC time found + in the current ao gps data + + Signed-off-by: Keith Packard + +commit ce20ccccdf9464877a73f6ff2a5f9ce91f88fc27 +Author: Keith Packard +Date: Sat Nov 12 23:33:29 2022 -0800 + + attiny, stm32l0: Note that these chips don't support spi duplex + + This makes the ms5607 driver use send/recv instead. + + Signed-off-by: Keith Packard + +commit 1bf40aa4c9ea9844046b7b84342225274622d7c2 +Author: Keith Packard +Date: Sat Nov 12 22:48:28 2022 -0800 + + samd21: Save interrupt pin status before enabling interrupts + + Make sure we capture the correct external interrupt pin state before + anything changes. + + Signed-off-by: Keith Packard + +commit 8c0a7dfa4ba4b46dabce0ac7daecf0edd5fb6b62 +Author: Keith Packard +Date: Sat Nov 12 22:47:00 2022 -0800 + + altos: Avoid modulus in task queue on parts without idiv + + Cortex-M0 parts don't have a hardware divide, so doing a modulus + to compute task hash indexes is super slow. Avoid that by making the sleep + queue a power of two. + + Signed-off-by: Keith Packard + +commit bf51520898fb30b289b2e03b31a1719c172cf422 +Author: Keith Packard +Date: Sat Nov 12 22:38:12 2022 -0800 + + altos/cc1200: Simplify interrupt handling + + Use PKT_SYNC_RXTX for both packet send/recv signaling. This avoids + needing to flip the interrupt sense around between tx and rx, allowing + us to leave interrupts always enabled which avoids adventures on + samd21 with interrupt configuration. + + Signed-off-by: Keith Packard + +commit 9ed81c072f0c4c2044a284176d66be00a1439a40 +Author: Keith Packard +Date: Sat Nov 12 20:44:38 2022 -0800 + + telemetrum-v4.0: Correct beeper configuration + + Beeper is on PA16, which is TCC2/0 with config E + + Signed-off-by: Keith Packard + +commit a69c3009a0583d04d1f52a88f4b0135b1944ee35 +Author: Keith Packard +Date: Sat Nov 12 19:39:18 2022 -0800 + + telemetrum-v4.0: MS5607 doesn't share SPI controller + + The PRIVATE_PINS value is a bit misleading. + + Signed-off-by: Keith Packard + +commit c450b5cd80534d067a760e5f0768f39a20604761 +Author: Keith Packard +Date: Sat Nov 12 19:38:56 2022 -0800 + + fixup for exti restore + + Signed-off-by: Keith Packard + +commit c82b214e34763e0206cd676cae2d82e735ef2576 +Author: Keith Packard +Date: Sat Nov 12 19:38:09 2022 -0800 + + samd21: AO_SPI_0_PA04_PA05_PA06 is FUNC_D + + Not FUNC_C + + Signed-off-by: Keith Packard + +commit 479bf2d88544f7f848ae42f77b0fbb74ca61ca27 +Author: Keith Packard +Date: Sat Nov 12 19:37:23 2022 -0800 + + samd21: Restore pin cfg when exti is disabled + + Instead of clearing the pmux, set it back to the previous value as is + needed by ms5607. + + Signed-off-by: Keith Packard + +commit 1cdcaea940864bbe531b32f228bc169b50f4d3a9 +Author: Keith Packard +Date: Sat Nov 12 19:36:52 2022 -0800 + + samd21: Limit SPI baud value to 1 + + Keep speeds slow enough + + Signed-off-by: Keith Packard + +commit 4cb051d8ec1cdd7fd9cb87129c7425feb21f284e +Author: Keith Packard +Date: Sat Nov 12 19:36:10 2022 -0800 + + samd21: PA20 maps to SERCOM3.2 not SERCOM3.3 + + Flip the DIPO config around for AO_SPI_3_PA22_PA23_PA20 + + Signed-off-by: Keith Packard + +commit 5c182ab460fef614e2b987c808d4b4e2c4240a4f +Author: Keith Packard +Date: Sat Nov 12 19:35:26 2022 -0800 + + altos/ms5607: Use duplex for fetching data + + Much more efficient than send/recv + + Signed-off-by: Keith Packard + +commit 997d68e13c32118c665fa273c515726c5ab2ce6b +Author: Keith Packard +Date: Thu Nov 10 11:47:39 2022 -0800 + + telegps: Copy altosui 'beep feet' bits to telegps + + Yeah, this is cut&paste coding. Sorry. + + Signed-off-by: Keith Packard + +commit af241f03c5ec286f536c367b8cd27e9083af792b +Author: Keith Packard +Date: Thu Nov 10 11:40:29 2022 -0800 + + telemetrum-v4.0: Set USE_SERIAL_1_STDIN to 0 + + This makes sure the serial driver knows how to manage this port + + Signed-off-by: Keith Packard + +commit 53a9d3b3c2d9fb04d8f5fba42ce19cd13dc65f28 +Merge: 31f32f20 543b6d08 +Author: Bdale Garbee +Date: Thu Nov 10 12:34:49 2022 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 31f32f200c3f64b42617638eb2fc390857d2b2e6 +Author: Bdale Garbee +Date: Thu Nov 10 12:34:12 2022 -0700 + + ao-tools: return ao-flash-lpc operaton to "full speed" + +commit abd437a372932dcc1aafe939e65919a50c203af0 +Author: Keith Packard +Date: Wed Nov 9 16:29:56 2022 -0800 + + metro-m0: Add GPS support + + Plug a ublox GPS module into D4(tx)/D3(rx) + + Signed-off-by: Keith Packard + +commit 4bd22c0cf3fc0358cff263e63ad2cc788be2bb14 +Author: Keith Packard +Date: Wed Nov 9 16:29:13 2022 -0800 + + samd21: Leave serial RX interrupts enabled + + Just discard characters in the ISR. This avoids complex management of + the enable bit. + + Signed-off-by: Keith Packard + +commit 3b0e4fd74d6c6e5ca972d7341c7155663c230e86 +Author: Keith Packard +Date: Wed Nov 9 16:28:21 2022 -0800 + + drivers/ublox: Clean up some debug mode code + + Not used in production, so we didn't catch a couple of type errors. + + Signed-off-by: Keith Packard + +commit 1dfa369085208a37f1b9c4d42ca85c261abbb1f2 +Author: Keith Packard +Date: Wed Nov 9 16:02:55 2022 -0800 + + telemetrum-v4.0: Remove unused file + + Not sure what 'telemetrum.c' was supposed to do, but it's not used. + + Signed-off-by: Keith Packard + +commit 543b6d08617fccc55e7dab142017969e5b565690 +Author: Bdale Garbee +Date: Wed Nov 9 09:06:17 2022 -0700 + + altosui: force Locale.ROOT during CSV export to avoid commas in decimals + +commit c035f20392828c60da75d092eea4d64736316c7b +Author: Bdale Garbee +Date: Wed Nov 9 08:27:28 2022 -0700 + + TeleMetrum v4.0 work in progress + +commit 09a2575840f95f9bce6c1da25b04d297455b1487 +Author: Keith Packard +Date: Tue Nov 8 16:25:35 2022 -0800 + + telemetrum-v4.0: Add beeper and fix ADC defs + + Signed-off-by: Keith Packard + +commit 9c556954d25daa6fda6771ca6d011d76b5d17524 +Author: Keith Packard +Date: Tue Nov 8 16:20:07 2022 -0800 + + metro-m0: Hook up ADC sample from A pins + + Signed-off-by: Keith Packard + +commit 7bcde16c96f05595969bceef76905aa2e285c66b +Author: Keith Packard +Date: Tue Nov 8 16:18:57 2022 -0800 + + samd21: Hook up AltOS style ADC + + Can't use DMA; samd21 only does ADC in continuous pins. ISR per ADC, + manually step through. + + Signed-off-by: Keith Packard + +commit 5ca0ed94f30943952b9c63ee558733d37c896b5f +Author: Keith Packard +Date: Tue Nov 8 16:17:58 2022 -0800 + + samd21: Hook up AltOS timer functionality + + Need to run the data sampling stuff. + + Signed-off-by: Keith Packard + +commit bf793f94a2218b42794fa1ae11babab8cd565a66 +Author: Keith Packard +Date: Tue Nov 8 16:17:14 2022 -0800 + + samd21: Move DMA channel defs to ao_dma_samd21.h + + This way if we need to use DMA for something else, we've got + a central place to set things up. + + Signed-off-by: Keith Packard + +commit 925d1cfb19da373249af716a6d7adc6d7450ec25 +Author: Keith Packard +Date: Tue Nov 8 16:16:40 2022 -0800 + + samd21: Get beep code working + + Only supports TCC currently. + + Signed-off-by: Keith Packard + +commit f354d17c7f15dcbc8c5b07fe2f950df3cb4552b2 +Author: Keith Packard +Date: Mon Nov 7 22:23:44 2022 -0800 + + metro-m0: Demo pin interrupts + + Prints 'pressed' whenever D0 goes low. + + Signed-off-by: Keith Packard + +commit 13f0b70a6346c9cfe04e5c494d3f34aa92e0db8b +Author: Keith Packard +Date: Mon Nov 7 22:22:26 2022 -0800 + + samd21: Wire up pin interrupts + + Uses the external interrupt controller. Careful about pin mapping. + + Signed-off-by: Keith Packard + +commit ca76309700a3f6ec9775f6e6cce5915dcb4515c9 +Author: Keith Packard +Date: Sun Nov 6 19:31:05 2022 -0800 + + altos/telemetrum-v4.0: It links + + Still much work to do, but at least it links with most + of the pieces in place. + + Signed-off-by: Keith Packard + +commit 7ed85dc90345baec2c4143b75c4be819bb6a4d56 +Author: Keith Packard +Date: Sun Nov 6 19:30:38 2022 -0800 + + samd21: Stub out beep code + + Signed-off-by: Keith Packard + +commit 62381d8582749dc2672a65cb6e7c5b8a404a3b45 +Author: Keith Packard +Date: Sun Nov 6 19:30:27 2022 -0800 + + samd21: Stub out exti code + + Signed-off-by: Keith Packard + +commit b24faa163ede640305f0660c30d84e558bd2b909 +Author: Keith Packard +Date: Sun Nov 6 19:29:41 2022 -0800 + + samd21: Shrink default stack to 512 bytes + + Kinda needed to get TM v4.0 to fit. + + Signed-off-by: Keith Packard + +commit 6a44cf7f77f0b2e098ef1afc4628898234bf7fb6 +Author: Keith Packard +Date: Sun Nov 6 18:33:45 2022 -0800 + + altos/telemetrum-v4.0: Almost building + + Pin config looks good now, need to get beep and exti drivers + + Signed-off-by: Keith Packard + +commit f3d95af6866018bf8d472bae192907efcbe5aaa1 +Author: Keith Packard +Date: Sun Nov 6 18:33:14 2022 -0800 + + samd21: Get serial driver building + + Signed-off-by: Keith Packard + +commit a06c84a27bd760039c522460f79bfe242d2d22c8 +Author: Keith Packard +Date: Sun Nov 6 18:31:42 2022 -0800 + + samd21: Add SPI configurations used by TM v4.0 + + SPI 0 on PA04 PA05 PA06 + SPI 3 on PA22 PA23 PA20 + SPI 5 on PB22 PB23 PB03 + + Signed-off-by: Keith Packard + +commit 6e895d310224e612f0294bc953e24ffbe8d29437 +Author: Keith Packard +Date: Sun Nov 6 18:31:16 2022 -0800 + + samd21: Get ADC code compiling + + This probably isn't complete yet, but it builds + + Signed-off-by: Keith Packard + +commit 79613a403cbb545672afc7b169b3a833d587903a +Author: Keith Packard +Date: Sun Nov 6 18:30:31 2022 -0800 + + altos/ms5607: Use ao_gpio_set instead of stm_gpio_set + + The former is architecture independent. + + Signed-off-by: Keith Packard + +commit 30149c4764984972eb5d482cfc51657d4ed09ed1 +Author: Keith Packard +Date: Sun Nov 6 17:47:57 2022 -0800 + + metro-m0: Configure on-board SPI flash part + + Signed-off-by: Keith Packard + +commit 9481e33348f098f3df73006641b9a18a04f2c482 +Author: Keith Packard +Date: Sun Nov 6 17:46:56 2022 -0800 + + samd21: Add ability to use arbitrary pin configs with SPI + + This embeds the DOPO and DIPO configs in the address + + Signed-off-by: Keith Packard + +commit 5d18ef0a25248f0192c3b539cad36d3de60a6f32 +Author: Keith Packard +Date: Sun Nov 6 15:31:50 2022 -0800 + + samd21: Macro-ize the DMA register settings a bit + + Signed-off-by: Keith Packard + +commit 61a3971b7bda2c5a165088befe55467c09292090 +Author: Keith Packard +Date: Sun Nov 6 15:12:33 2022 -0800 + + snekboard: Need DMA for SPI now. + + Signed-off-by: Keith Packard + +commit 183e1bbde14cc33f1e9cc3857dbfc60d2c0c5b82 +Author: Keith Packard +Date: Sun Nov 6 15:11:31 2022 -0800 + + samd21: Use DMA for SPI send + + Appears to work even + + Signed-off-by: Keith Packard + +commit e5c84201f2a8968ed60941edbc6756c7dbda8a06 +Author: Keith Packard +Date: Sun Nov 6 15:10:31 2022 -0800 + + samd21: Fix value defines to be unsigned long + + This makes the compiler happy + + Signed-off-by: Keith Packard + +commit cbff1483ae7469d3961341a1cfdfeb8b4bb557c1 +Author: Keith Packard +Date: Sun Nov 6 15:09:55 2022 -0800 + + samd21: Avoid divides in boot loader + + The divide code is huge and overflows flash. + + Signed-off-by: Keith Packard + +commit 4839569abef7f1d9592a9da5d40fe67dcc048ce1 +Author: Keith Packard +Date: Sun Nov 6 15:08:56 2022 -0800 + + samd21: Fix up DMA driver + + Surprisingly few changes, just some function signatures and a few bit + twiddles. + + Signed-off-by: Keith Packard + +commit 4be4ffe72c5f678a66658e9e61d3cfac7f20a9b3 +Author: Keith Packard +Date: Sun Nov 6 15:07:46 2022 -0800 + + altos: Add metro-m0 port for SAMD21G18 testing + + Useful as a test target + + Signed-off-by: Keith Packard + +commit 13a9247afabfaf93ebf46f9a33862864d2772074 +Author: Keith Packard +Date: Sat Nov 5 21:05:13 2022 -0700 + + samd21: Configure ROM/RAM values per device and provide linker scripts for each + + SAMD21 has 4-32k of RAM and 32-256K of ROM + + Signed-off-by: Keith Packard + +commit 608640858d0d02ac06fca22aa3b9db9c89733adb +Author: Keith Packard +Date: Sat Nov 5 20:53:23 2022 -0700 + + This is what I'm using locally for flashing samd21 parts + + Signed-off-by: Keith Packard + +commit fdc1facebf1d2818394b155a91b68e06db198728 +Author: Keith Packard +Date: Sat Nov 5 15:18:27 2022 -0700 + + snekboard: Add samd21 SPI test function + + Just sends 'hello' + + Signed-off-by: Keith Packard + +commit a54f4fae343b7524db508dc1a29d36847a2decde +Author: Keith Packard +Date: Sun Oct 23 16:33:28 2022 -0700 + + altos: Get SAMD21 SPI driver working in non-DMA mode + + Only sercom0, and only with fixed pin configurations + + Signed-off-by: Keith Packard + +commit ba28c5e7f6aa3d41abc1f598dbc3c2689c9bef9c +Author: Bdale Garbee +Date: Fri Nov 4 03:15:08 2022 -0600 + + ao-tools: increase robustness of turnon_easymotor + +commit 1066699ea2e0377af67b3b0c32ec1b023dea0719 +Author: Bdale Garbee +Date: Fri Nov 4 02:56:31 2022 -0600 + + ao-bringup: final production test script for EasyMotor v3 + +commit a2fdfd4f9c92c1d3331f8be0e15ae19209b4ee15 +Merge: 28fd8e6f 4a1f441b +Author: Bdale Garbee +Date: Fri Nov 4 02:41:43 2022 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 28fd8e6f157c37b08b6a17dae664597f01e8aa8a +Author: Bdale Garbee +Date: Fri Nov 4 02:41:11 2022 -0600 + + ao-tools: new ao-test-pressure utility for bench testing EasyMotor + +commit fddda6bbe5accb4868ee9bbc337937147da92ad8 +Author: Bdale Garbee +Date: Fri Nov 4 02:40:53 2022 -0600 + + update Releasing to include EasyMini v3.0 loader + +commit bcc15fb429724956e72f06a4f4b1002b1def7a94 +Author: Bdale Garbee +Date: Fri Nov 4 02:39:34 2022 -0600 + + ao-tools: don't do 'm 0' after 'E 0' since EasyMotor doesn't support it + +commit 4a1f441b746d4c9d1cb4a52401d76b5e81ba6f48 +Merge: e5feac1a d80c1317 +Author: Bdale Garbee +Date: Wed Nov 2 11:34:35 2022 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit e5feac1a3db00816e82cd6b1b4dbde62e40d16a6 +Author: Bdale Garbee +Date: Wed Nov 2 11:33:29 2022 -0600 + + EasyMotor v3 production script working, sans pressure input test + +commit d80c1317f596f73d192e6fbb33c3579d54802182 +Author: Keith Packard +Date: Tue Nov 1 13:00:22 2022 -0700 + + Add option to beep max height in feet rather than just meters + + Available on all products, plus config UI changes. + + Signed-off-by: Keith Packard + +commit d999b56de8775cd5c2f98f913e555febd92357a9 +Author: Bdale Garbee +Date: Tue Nov 1 10:41:03 2022 -0600 + + easymini v3.0 production scripts working + +commit 274522bc26910051e30aaebd78e96794161b87e8 +Author: Bdale Garbee +Date: Fri Oct 28 23:43:40 2022 -0600 + + update Releasing with tweaks made during 1.9.12 release process + +commit a6c32739c75d8c0369617f575a83d70031faf36a +Author: Bdale Garbee +Date: Fri Oct 28 23:10:24 2022 -0600 + + updating changelog for 1.9.12 release + +commit bdabc6814b066a9b17a6557910f21b1ed03de3f0 +Merge: 37dda254 c5e8826a +Author: Bdale Garbee +Date: Fri Oct 28 23:10:00 2022 -0600 + + Merge branch 'master' into branch-1.9 + +commit c5e8826aa260d4aca492d684b94adc7eea0254eb +Author: Keith Packard +Date: Thu Oct 27 21:07:15 2022 -0700 + + Version 1.9.12 + + Signed-off-by: Keith Packard + +commit 140a84ba8ac1e6548ab63ff586cf214d87f727a4 +Author: Keith Packard +Date: Fri Oct 28 21:57:02 2022 -0700 + + Auto-detect windows signing stuff + + Still build installers even without signing key + + Signed-off-by: Keith Packard + +commit 7c4f9aa882256182485f7f2086221841368ddfc7 +Author: Bdale Garbee +Date: Fri Oct 28 22:28:40 2022 -0600 + + update Releasing to include reference to jsign as a release dependency + +commit 5fd95471791842234a1840477c55ba175fff5a8c +Author: Bdale Garbee +Date: Fri Oct 28 22:20:03 2022 -0600 + + fat: sign Windows installers with our new code signing certificate + +commit ef969428f293e5155c00af514ce0782a7cdf25d5 +Author: Bdale Garbee +Date: Fri Oct 28 21:47:04 2022 -0600 + + doc: include reference to Loki Research closures in motortest document + +commit 74c73edc93110874636b4bbbe01f9f0327230b50 +Author: Keith Packard +Date: Thu Oct 27 21:35:55 2022 -0700 + + altosuilib: Remove some debug printfs + + Signed-off-by: Keith Packard + +commit 055803ceca56065ea2253ab3eab20a5defd00135 +Author: Keith Packard +Date: Thu Oct 27 21:21:28 2022 -0700 + + altosui: Ship motortest.pdf with packaged builds + + Signed-off-by: Keith Packard + +commit f57cba7dd193c5608be187d3d81781215ab38a44 +Author: Bdale Garbee +Date: Thu Oct 27 22:31:34 2022 -0600 + + doc: additional improvements to motortest manual + +commit f249b61f403b8d2a042641c5ebe0fe4a720ae436 +Author: Bdale Garbee +Date: Thu Oct 27 22:20:19 2022 -0600 + + fix mailing list reference to use mailman3 path + +commit 975e3133e25c6fb5ea0c0b2487ea34e528660a45 +Merge: 05278307 bda33b76 +Author: Bdale Garbee +Date: Fri Oct 28 21:49:16 2022 -0600 + + Merge branch 'samd21' of ssh://git.gag.com/scm/git/fw/altos into samd21 + +commit edef072dd5cffdbd3e8346719a81808b17bdc570 +Author: Keith Packard +Date: Thu Oct 27 21:05:10 2022 -0700 + + Add EasyMotor v3 firmware to release + + Remove EasyMotor v2 + + Signed-off-by: Keith Packard + +commit a4be94096281536db12378c6fee66ffb774a3eac +Author: Keith Packard +Date: Thu Oct 27 21:01:19 2022 -0700 + + doc: Add preliminary 1.9.12 release notes + + Signed-off-by: Keith Packard + +commit 12b03f494462bdf8c076ea474176ec14a18026fa +Author: Keith Packard +Date: Thu Oct 27 21:00:47 2022 -0700 + + doc: Add specs for EasyMini v3 and EasyMotor v3 + + Signed-off-by: Keith Packard + +commit 2fdf4e798bd67b0d7e96f2b8fff49915b71b089e +Author: Keith Packard +Date: Thu Oct 27 21:00:07 2022 -0700 + + altosuilib: Limit EasyMotor graphs to motor pressure and accel by default + + Change which axes are turned on when the graph is created. + + Signed-off-by: Keith Packard + +commit 76f0fe177a38bd16e346edf0808ee8fca343f1a2 +Author: Keith Packard +Date: Thu Oct 27 20:59:20 2022 -0700 + + altoslib: Map log format back to USB device id + + This lets us use the device_id for both telem and eeprom files. + + Signed-off-by: Keith Packard + +commit 14a65822fa2a8bb120638633b068847c8a0197b9 +Author: Keith Packard +Date: Thu Oct 27 19:39:16 2022 -0700 + + altos: Allow 'c a 0' without Syntax Error + + Need to clear error after checking for second value in accel cal + command. + + Signed-off-by: Keith Packard + +commit 7172638c3810f6c39e4262fa80edf5ef0dec62d8 +Author: Keith Packard +Date: Thu Oct 27 19:25:02 2022 -0700 + + easymotor-v3: Fix beeper config + + the branch had different beeper config code than mainline. + + Signed-off-by: Keith Packard + +commit 898eeb609aa7eb078161a78ac48c727a5255a51c +Author: Keith Packard +Date: Thu Oct 27 19:19:59 2022 -0700 + + ao-eeprom: Handle merge conflict from easymotor-v3 branch + + Had two copies of the new easymotor log format parsing bits. + + Signed-off-by: Keith Packard + +commit 611ef4497b97bcf5239d6bc2ee13eeba9efd1503 +Merge: 1e694ad4 083464b5 +Author: Keith Packard +Date: Thu Oct 27 19:16:39 2022 -0700 + + Merge branch 'easymotor-v3' + +commit 1e694ad4f67735585f0897e2dffac755868f3150 +Author: Keith Packard +Date: Thu Oct 27 17:50:36 2022 -0700 + + Add EasyMini v3.0 firmware to release + + Followed instructions in Releasing + + Signed-off-by: Keith Packard + +commit a81f5a78172663376ad9687976b9821a755d5e31 +Author: Keith Packard +Date: Thu Oct 27 17:43:08 2022 -0700 + + altos: Allow setting telemetry interval to zero without crashing + + Setting telemetry interval to zero means disable telemetry, but the + code was using the zero value to compute a bunch of packet delays, + which involved dividing by the interval value causing a crash when it + was zero. Skip those subsequent computations as they won't be used + anyways. + + Signed-off-by: Keith Packard + +commit bda33b7697456516c3022f91d2119a56448b42bb +Author: Keith Packard +Date: Sun Sep 25 17:34:56 2022 -0700 + + altos/snekboard: Indicate that USB is used for stdio + + This isn't the default for some reason? + + Signed-off-by: Keith Packard + +commit 59f08a3079ccecaeb91b637e7d311f3f98d10c42 +Author: Keith Packard +Date: Sun Sep 25 17:34:11 2022 -0700 + + altos/samd21: Automatically erase flash when writing + + Need to erase pages before writing them. + + Signed-off-by: Keith Packard + +commit f7e6cbeaf3e84935b38da8605a6d5bb702eff3a5 +Author: Keith Packard +Date: Sun Sep 25 17:33:09 2022 -0700 + + altos/samd21: Get USB driver working in AltOS + + Make sure it deals with the stdio mux, enable the clock for the GPIO + device. + + Signed-off-by: Keith Packard + +commit 0585dd012a9f76f1ad0f3a85d03075125704dfd3 +Author: Keith Packard +Date: Sun Sep 25 17:32:35 2022 -0700 + + altos/samd21: Add register definitions + + This adds symbols for all of the device registers. + + Signed-off-by: Keith Packard + +commit c4a63617f0eb825a295ae8ee1ee0caf4580b7a13 +Author: Keith Packard +Date: Sun Sep 25 17:31:27 2022 -0700 + + ao-tools: Add ao-flash-samd21 script + + This takes an .elf or .ihx file and flashes that to a SAMD21 based + board using openocd. Note that you must have a hacked version of + OpenOCD for this to work via the ST-link device. + + Signed-off-by: Keith Packard + +commit 4d116df20ae2d13bbc29344a91e557448cd8c19b +Author: Keith Packard +Date: Sun Sep 25 13:57:08 2022 -0700 + + altos: Add sample samd21 application for snekboard + + This runs a primitive application and flash loader on snekboard for + samd21 development. + + Signed-off-by: Keith Packard + +commit c59892cd337162c63e5d7ba8e8eec779d201022d +Author: Keith Packard +Date: Sun Sep 25 13:55:43 2022 -0700 + + altos: Add SAMD21 bits + + Brought back from snek, these bits provide Altos support for the Atmel + SAMD21 family of chips. + + Signed-off-by: Keith Packard + +commit 3a7ae9e964c9554a667a09d6b437fef136bc0fa0 +Author: Keith Packard +Date: Sun Sep 25 13:55:04 2022 -0700 + + altos: Use --gc-sections + + This allows the linker to discard unused functions. + + Don't use -ffunctions-sections and -fdata-sections as that eliminates + several optimization opportunities and increases code size. + + Signed-off-by: Keith Packard + +commit 1523a986a7c2e8402c628e2697e44fe6281c164e +Author: Keith Packard +Date: Sun Sep 25 13:54:24 2022 -0700 + + altos: Switch LED pin number to 8 bits + + This assumes each port has fewer than 256 pins and avoids some + compiler warnings + + Signed-off-by: Keith Packard + +commit 48a8ae2d38ecad5aa84b2158045c6a2fd8abe5ab +Author: Keith Packard +Date: Sun Oct 23 16:48:05 2022 -0700 + + altos: Increase AES IV buffer to hold maximum AES state + + The compiler emits warnings if this buffer is only 16 bytes. I'm hoping + that's because the max key size could be 256 bits instead of 128 bits? + + In any case, this makes the compiler happy. + + Signed-off-by: Keith Packard + +commit 05278307f5e9fd5f8b1a53078e6f3b125785b019 +Author: Bdale Garbee +Date: Sat Oct 15 21:40:50 2022 -0600 + + first stab at support for TeleMetrum v4.0 + +commit 01811a649548987d3c5c29ca13725717d090502b +Author: Keith Packard +Date: Sun Sep 25 17:34:56 2022 -0700 + + altos/snekboard: Indicate that USB is used for stdio + + This isn't the default for some reason? + + Signed-off-by: Keith Packard + +commit 38a40c850716c545004dae01412b3350e5ef8cfd +Author: Keith Packard +Date: Sun Sep 25 17:34:11 2022 -0700 + + altos/samd21: Automatically erase flash when writing + + Need to erase pages before writing them. + + Signed-off-by: Keith Packard + +commit bd088d263172dbe9ffe399a93a836cac26a37708 +Author: Keith Packard +Date: Sun Sep 25 17:33:09 2022 -0700 + + altos/samd21: Get USB driver working in AltOS + + Make sure it deals with the stdio mux, enable the clock for the GPIO + device. + + Signed-off-by: Keith Packard + +commit 4a6a5de714f346b7c57c77e5f6712d39c2042479 +Author: Keith Packard +Date: Sun Sep 25 17:32:35 2022 -0700 + + altos/samd21: Add register definitions + + This adds symbols for all of the device registers. + + Signed-off-by: Keith Packard + +commit be0a7f000250704bcdbad82aa4ef4d9966fc6307 +Author: Keith Packard +Date: Sun Sep 25 17:31:27 2022 -0700 + + ao-tools: Add ao-flash-samd21 script + + This takes an .elf or .ihx file and flashes that to a SAMD21 based + board using openocd. Note that you must have a hacked version of + OpenOCD for this to work via the ST-link device. + + Signed-off-by: Keith Packard + +commit c869985188ce9d28c332e449b36c4c88077cd587 +Author: Keith Packard +Date: Sun Sep 25 13:57:08 2022 -0700 + + altos: Add sample samd21 application for snekboard + + This runs a primitive application and flash loader on snekboard for + samd21 development. + + Signed-off-by: Keith Packard + +commit 5e7e4303f161e38ac2d84110dccafc67b3aa7fc8 +Author: Keith Packard +Date: Sun Sep 25 13:55:43 2022 -0700 + + altos: Add SAMD21 bits + + Brought back from snek, these bits provide Altos support for the Atmel + SAMD21 family of chips. + + Signed-off-by: Keith Packard + +commit 643a1f736d2e57c577458d0e4d2948718d90b301 +Author: Keith Packard +Date: Sun Sep 25 13:55:04 2022 -0700 + + altos: Use -ffunction-sections -fdata-sections + + This allows the linker to discard unused functions. + + Signed-off-by: Keith Packard + +commit c1f7bf876a67dc176a7a24b241c6dd3fe780082d +Author: Keith Packard +Date: Sun Sep 25 13:54:24 2022 -0700 + + altos: Switch LED pin number to 8 bits + + This assumes each port has fewer than 256 pins and avoids some + compiler warnings + + Signed-off-by: Keith Packard + +commit 3735e1eb27afb873d60164a79a9e2769dc92b3a3 +Author: Keith Packard +Date: Sat Sep 24 15:54:20 2022 -0700 + + easymini: Elide symbols from combined .ihx file + + Also add combined hex file to easymini v1.0 for testing. + + Signed-off-by: Keith Packard + +commit d299191a298f6b6ffeadff15334738810062cf58 +Author: Keith Packard +Date: Sat Sep 24 15:53:04 2022 -0700 + + ao-elftohex: Add '-n' option to elide symbol table from output + + The symbol table is a non-standard Altus Metrum hex file extension; + add this option to allow use with standard hex file tools. + + Signed-off-by: Keith Packard + +commit dc4de8365de5829b587a845e0517e8c5fc8c9e29 +Author: Keith Packard +Date: Mon Sep 19 09:20:23 2022 -0700 + + easymini-v3.0: Create combined .ihx file for testing + + This doesn't set the serial number, so it's not useful for production, + but it should at least provide an easy way to check a board. + + Signed-off-by: Keith Packard + +commit ed795c24e6269a10e74b9bc3c385e787bcc230fe +Author: Keith Packard +Date: Mon Sep 19 09:09:04 2022 -0700 + + ao-elftohex: Allow multiple elf files to be merged together + + This allows combining the flash loader and core firmware. + + Signed-off-by: Keith Packard + +commit 1d963cf10f3f54f77a6edf8e7843f70c0268cd31 +Author: Keith Packard +Date: Mon Sep 19 08:37:31 2022 -0700 + + doc: Update call sign + + Signed-off-by: Keith Packard + +commit 065c60d38f38343bd1f319a87f6b50367a3abbe3 +Author: Keith Packard +Date: Sun Sep 4 21:05:47 2022 -0700 + + altos: Document easymotor record length + + Signed-off-by: Keith Packard + +commit 681638032041efcb05b9623e2a0332ca4e2d0958 +Author: Keith Packard +Date: Sun Sep 4 21:05:25 2022 -0700 + + ao-eeprom: Add easy motor support + + Signed-off-by: Keith Packard + +commit 41cf6f6f65681961ed98a59b9fc9da4fe5abef5a +Author: Keith Packard +Date: Sun Sep 4 21:04:28 2022 -0700 + + altoslib: Replace EasyMotor v2 code with v3 + + No v2 boards remain in usable condition and we didn't create a new log + format value for v3, so just replace the v2 code with v3. + + Signed-off-by: Keith Packard + +commit 37dda2541ce440a40fcd4dc8387f7cb1cd3f0816 +Author: Bdale Garbee +Date: Sun May 29 21:08:03 2022 -0600 + + releasing 1.9.11 + +commit 7904b36eaae2468d76f2627bebd86b663afea1f8 +Merge: 8970d45e 4e237bd4 +Author: Bdale Garbee +Date: Sun May 29 21:07:44 2022 -0600 + + Merge branch 'master' into branch-1.9 + +commit 4e237bd43fef1858f88ff8f8750759e16442ea7e +Author: Keith Packard +Date: Sun May 29 17:50:47 2022 -0700 + + Version 1.9.11 + + Signed-off-by: Keith Packard + +commit 922a6e4f5c79fe46c1dca4df42c1c97e67dc7d68 +Author: Keith Packard +Date: Sun May 29 17:48:01 2022 -0700 + + doc: Update copyrights to 2022 + + Signed-off-by: Keith Packard + +commit 019884004098adfc6e9f285d127a791f4204b180 +Author: Keith Packard +Date: Sun May 29 17:47:41 2022 -0700 + + doc: Add release notes for 1.9.11 + + Signed-off-by: Keith Packard + +commit ce3e42c286755f3c4e1ee6dedc87e15a76343a37 +Author: Keith Packard +Date: Sun May 29 17:46:43 2022 -0700 + + doc: Document 10mw limit configuration + + Signed-off-by: Keith Packard + +commit d2ec815a17e9327414bab7ea09ed483c4f47f460 +Author: Keith Packard +Date: Fri May 20 16:20:13 2022 -0700 + + src: Add easymini-v3.0 + + Signed-off-by: Keith Packard + +commit d95995ec702a891884f353cf2078d7ed3261c5c2 +Author: Keith Packard +Date: Fri May 20 16:20:32 2022 -0700 + + lpc: Make beeper configurable + + Need to set the port, pin, timer and channel values + + Signed-off-by: Keith Packard + +commit 03753fbddfbc82f18b2e4527a2e3afc58ea972f4 +Author: Keith Packard +Date: Fri May 20 16:41:19 2022 -0700 + + lpc: ADC 5 was busted + + Signed-off-by: Keith Packard + +commit 6edf62c6a1f41fa5cd698067d2327b4847708cc8 +Author: Keith Packard +Date: Wed May 4 17:06:36 2022 -0700 + + ao-tools/ao-eeprom: Dump converted info for F packets + + Signed-off-by: Keith Packard + +commit 0e4fb5c9bc33bb6d2a337f89daec4e6bb94cd8d8 +Author: Bdale Garbee +Date: Tue Apr 12 11:13:44 2022 -0600 + + doc: add an appendix with examples for configurable pyro channels + +commit 083464b52c835c09a66c06a87246fcd138748a5d +Author: Keith Packard +Date: Sat Apr 9 22:38:28 2022 -0700 + + ao-eeprom: Add EasyMotor decode + + Signed-off-by: Keith Packard + +commit 61b837129a1b1bbf17413957006fa31a305f6247 +Author: Bdale Garbee +Date: Sat Apr 9 22:50:21 2022 -0500 + + recognize EasyMotor-v3 too + +commit 9cded6d2b2888b6fd1dbcb08d7404fbc8f52ba60 +Author: Keith Packard +Date: Wed Apr 6 23:29:31 2022 -0700 + + altos: Add EasyMotor-v3.0 to regular builds + + Signed-off-by: Keith Packard + +commit 3a2adf8011237852187046a551216736bd1e6bbb +Author: Keith Packard +Date: Wed Apr 6 23:28:40 2022 -0700 + + lpc: Shuffle more bits around for flash loader + + Having a fixed value at 0x2fc means splitting flash and trying to make + enough space on both sides. Sigh. + + Signed-off-by: Keith Packard + +commit 72d0c00a063338642a3448f39b0308751285e5ee +Author: Keith Packard +Date: Wed Apr 6 23:20:03 2022 -0700 + + easymotor-v3: Increase ADXL spi speed back to normal, remove delay + + All done debugging, it seems to work on EasyMotor now. + + Signed-off-by: Keith Packard + +commit 40a56ed2b5af30c93daa74a15f21e7c8b4cb2a1a +Author: Keith Packard +Date: Wed Apr 6 22:45:41 2022 -0700 + + lpc: Add SPI mode support. Use for ADXL375 on easymotor + + Signed-off-by: Keith Packard + +commit 434e98d39a19af9c3cf52cba041091f190972a83 +Author: Keith Packard +Date: Wed Apr 6 22:32:03 2022 -0700 + + reduce adxl speed to 100kHz + + Signed-off-by: Keith Packard + +commit c6a7ea9168f1669840eef0fb080759968f4a2f97 +Author: Keith Packard +Date: Wed Apr 6 22:31:39 2022 -0700 + + Disable adxl debug, set long delay + + Signed-off-by: Keith Packard + +commit b930b52922a1bbb34cb3fda67c2e9b4695a7330f +Author: Keith Packard +Date: Wed Apr 6 22:14:32 2022 -0700 + + altos: Fix ADXL375 SPI mode definitions and usage + + 3-wire mode is 1, 4-wire mode is 0. Fortunately, I also messed up the + shift value, so the 1 got shifted on top of one of the fixed-value bits. + + Signed-off-by: Keith Packard + +commit c49bd3cb0c31a51fae79ddc92237cc309be9a242 +Merge: d225adc3 b140da92 +Author: Bdale Garbee +Date: Wed Apr 6 22:51:13 2022 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit b140da92536d7c48ba37868f1c2afce7bb86dfdb +Merge: 1d208c95 302e9b8f +Author: Bdale Garbee +Date: Tue Apr 5 17:55:06 2022 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 1d208c9509f03f7e2c913abe5c0dd78ef0083c0f +Author: Bdale Garbee +Date: Tue Apr 5 17:54:32 2022 -0600 + + use correct test script for v1.0 easymega + +commit f35d18ca773a109fea572ee1e7134bdc5c4bce14 +Author: Keith Packard +Date: Mon Apr 4 14:15:17 2022 -0700 + + lpc: Attempt to make beeper generate correct tone + + The timer docs are confusing; I can't tell how the PWM configuration + works. + + Signed-off-by: Keith Packard + +commit 6659ec1002da325588a631d9c43a7a9b9a4dbfe3 +Author: Bdale Garbee +Date: Mon Apr 4 01:21:44 2022 -0600 + + fix SPI index definition + +commit 16004c790189bc439285b8afb599ae2b02a13c95 +Author: Bdale Garbee +Date: Mon Apr 4 01:14:36 2022 -0600 + + Revert "adxl375: Disable spi duplex" + + This reverts commit 21e6dad505677a6b2e19844638ea5b09038b04ae. + +commit 3fb95b34a85fb79713c258937a9005faf6f89a03 +Author: Keith Packard +Date: Mon Apr 4 00:00:00 2022 -0700 + + adxl375: Disable spi duplex + + See if this fixes LPC + + Signed-off-by: Keith Packard + +commit 06ec7480b669a5bc007d82fbdbe56e4a1a4cf68c +Author: Keith Packard +Date: Sun Apr 3 23:53:24 2022 -0700 + + easymotor-v3: enable adxl debugging + + Signed-off-by: Keith Packard + +commit 5740b82174c70888f6f047917574567bcbca58dc +Author: Keith Packard +Date: Sun Apr 3 23:31:44 2022 -0700 + + lpc: Fixes for timer configuration + + Missed one magic value to make the beeper configurable + +commit a6dc1a7098e44bd1b3250b12ca6fda3bb626cbb1 +Author: Keith Packard +Date: Sun Apr 3 23:23:51 2022 -0700 + + lpc: Fix name of timer ioconf constants + + All iopin configuration values are per-pin, so they all need to have + the pin name included in the name. + + Signed-off-by: Keith Packard + +commit 741796d39437e850fc255b8b324530bb988b0797 +Author: Keith Packard +Date: Sun Apr 3 23:23:51 2022 -0700 + + lpc: Fix name of timer ioconf for pio0_1 + + There are lots more... + + Signed-off-by: Keith Packard + +commit 9df0b79ed7d66369b31dbdc7acde8e23f5f8612e +Author: Keith Packard +Date: Sun Apr 3 23:18:28 2022 -0700 + + lpc: Stick magic value at 0x2fc to let us use PIO0_1 + + This pin is used by the built-in ROM boot loader code to force + ISP. That keeps us from attaching anything that might be connected to + ground. + + Signed-off-by: Keith Packard + +commit 4b15c98449da54bae8c4efbfddc7734aeaa43b04 +Author: Keith Packard +Date: Sun Apr 3 22:17:15 2022 -0700 + + easymotor-v3: Configure beeper + + Signed-off-by: Keith Packard + +commit 2e585a947c7f07fe204e50fc47beb1cc1e479718 +Author: Keith Packard +Date: Sun Apr 3 22:16:48 2022 -0700 + + lpc: Make beeper timer configurable + + Allow use of any 32-bit timer. + + Signed-off-by: Keith Packard + +commit 243da063ef0dae656f940eb81ada55867924406f +Author: Bdale Garbee +Date: Mon Apr 4 00:19:42 2022 -0600 + + get ram usage under control, etc + +commit 987ad2eb3a89ad920988d38fe8068dda1cd6f16d +Author: Bdale Garbee +Date: Sun Apr 3 22:11:13 2022 -0600 + + a few config tweaks + +commit 2bec5edbb068cab88b8d4f30f609712feb186a30 +Author: Bdale Garbee +Date: Sun Apr 3 18:12:20 2022 -0600 + + first cut at EasyMotor v3 support + +commit 9519f7fc894f08d4841556d0efc520b9cc08a899 +Author: Bdale Garbee +Date: Tue Jan 25 12:34:31 2022 -0700 + + need to save .bin for TeleGPS v2.0 + +commit 302e9b8fda7b36e5009044086737b7791f81addd +Author: Keith Packard +Date: Mon Apr 4 14:40:37 2022 -0700 + + telegps-v0.3: Reduce stack size to fit in ram + + Signed-off-by: Keith Packard + +commit ad23f26709b822c6d30f7160ffb2f2f51a8af4ce +Author: Keith Packard +Date: Sun Feb 27 16:10:30 2022 -0800 + + ao-telem: Read from stdin if no filenames + + Make ao-telem work as a filter if no filenames are passed on the + command line. + + Signed-off-by: Keith Packard + +commit d225adc3af9e5726d436cbbdbf8dcc5837e50804 +Merge: 3759d670 85dd82b2 +Author: Bdale Garbee +Date: Mon Apr 4 01:22:04 2022 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit d0160ed97b432d59e2111d8b17580b9a83e0b03b +Author: Bdale Garbee +Date: Fri Feb 25 22:11:17 2022 -0700 + + dial it down a bit more to not exceed +10 dBm, or 10 mW + +commit 3e7661761f6ea81b6a9732359edf4c5ada3e8e20 +Author: Keith Packard +Date: Fri Feb 25 15:43:15 2022 -0800 + + Allow TX power to be limited to 10mW + + This allows the radio power to be limited so that it doesn't generate + more than 10mW. + + Signed-off-by: Keith Packard + +commit 58a0a242f31ebe4532564f5c04162e8fb82f9aeb +Author: Keith Packard +Date: Mon Feb 21 09:40:07 2022 -0800 + + Version 1.9.10.4 + + Signed-off-by: Keith Packard + +commit 57a6f844e2490a963ce1ef3a2beb9e47258967af +Author: Keith Packard +Date: Mon Feb 21 09:43:54 2022 -0800 + + altos: Document how delay_done is used in ao_pyro.c + + delay_done is the time at which the delay finishes, but non-zero + values also indicate that some delay is pending. Add a comment about + why the value is set to 1 when it is zero, and switch the tests of + this value to comparisons against zero. + + Signed-off-by: Keith Packard + +commit d29047255c8e78d4ab2beeef678d466a6bfc0ae2 +Author: Keith Packard +Date: Sat Feb 19 15:35:31 2022 -0800 + + altos: Deal with 8-character version numbers + + With 8 characters, the version number isn't null-terminated, so we + need to limit use to the available length in a couple of places. + + Signed-off-by: Keith Packard + +commit 76358fb6e68c1f466e4d76a291f60e1053aa50d0 +Author: Keith Packard +Date: Wed Feb 16 21:48:01 2022 -0800 + + altos: Add -Wconversion + + This adds the -Wconversion flag to detect potential mistakes in + implicit type conversion. + + Signed-off-by: Keith Packard + +commit 48971ced7999b7d1265be967b971ccb9555ce40e +Author: Keith Packard +Date: Wed Feb 16 21:46:57 2022 -0800 + + altos/telemega-v5.0: Add casts to beep values + + Need to be careful with types to make sure the math doesn't overflow. + + Signed-off-by: Keith Packard + +commit 8d53868e67b51d8908e55c6a2e7a3b687529957d +Author: Keith Packard +Date: Wed Feb 16 21:46:07 2022 -0800 + + ao_lco_v2: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit 2f06b7c66dfa05c51d8b2afbc1e3c94e20767e4f +Author: Keith Packard +Date: Wed Feb 16 21:44:52 2022 -0800 + + ao_lco_v2: Use int32_t for temporary box value in step_box + + Stepping to the next box will generate negative values and values + beyond the highest box number. Use a type capable of holding all of + those values, instead of int16_t. + + Signed-off-by: Keith Packard + +commit d2f84f860917f88a34571b8b0f64d03adf5c8f54 +Author: Keith Packard +Date: Wed Feb 16 21:42:50 2022 -0800 + + telefireone-v1.0: Use a boolean value for ao_log_running + + Instead of reading a hex value and saving it directly, use + zero/none-zero to compute a boolean instead, avoiding a type + conversion warning. + + Signed-off-by: Keith Packard + +commit 52e9443d540aa5d3f29576a0440149b1b0f9c359 +Author: Keith Packard +Date: Wed Feb 16 21:41:44 2022 -0800 + + altos/telefire: Add cast to AO_LED_CONTINUITY to eliminate -Wconversion warning + + All of these products had the same warning. + + Signed-off-by: Keith Packard + +commit 877d4643b45ca2099f602390b71e1c77d5e11ef1 +Author: Keith Packard +Date: Wed Feb 16 21:38:25 2022 -0800 + + altos/stmf0: Add casts to reduce -Wconversion warnings. Use AO_TICK_TYPE + + No bugs identified. Serial timeout types updated to AO_TICK_TYPE. + + Signed-off-by: Keith Packard + +commit 2d4484e1577edc66c52bcb260329387f93123a6d +Author: Keith Packard +Date: Wed Feb 16 21:34:37 2022 -0800 + + altos/stm32l0: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit 5b3a457f232e39977a437fc52256fc15c612b377 +Author: Keith Packard +Date: Wed Feb 16 21:32:07 2022 -0800 + + altos/stm: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit 709666e00339be7b12730c1f4d35721db292f815 +Author: Keith Packard +Date: Wed Feb 16 17:53:41 2022 -0800 + + ao_micropeak.c: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit 63fc45973ec92bf3ef7122da0f76d6e111ecd342 +Author: Keith Packard +Date: Wed Feb 16 17:53:11 2022 -0800 + + ao_flash_task: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit 7c5b9b2c6bf57aea4332177e7fb0eb2d490f4f6e +Author: Keith Packard +Date: Wed Feb 16 17:52:11 2022 -0800 + + altos/micropeak-v2.0: Add casts to reduce -Wconversion warnings + + No bugs identified + + Signed-off-by: Keith Packard + +commit e80a45c1565b14479e3a4cfc968d49b13cef4fe0 +Author: Keith Packard +Date: Wed Feb 16 17:49:42 2022 -0800 + + altos/lpc: Add casts to reduce -Wconversion warnings + + Most of these were caused by int/long mixes as uint32_t is 'long' on + arm for reasons, meaning that bare int constants need to be cast to + avoid a warning. + + No bugs identified. + + Signed-off-by: Keith Packard + +commit f2c02cac5442015fee14f88ee016c687c53d8576 +Author: Keith Packard +Date: Wed Feb 16 17:38:56 2022 -0800 + + ao_tracker: Fix tracker_interval type to match config type (plus -Wconversion) + + config.tracker_interval is uint8_t, so make the local copy match that + type. + + Also fix other warnings found by -Wconversion. + + Signed-off-by: Keith Packard + +commit 63c089e2e110a7fe501dd097bd7d26ce4feeb935 +Author: Keith Packard +Date: Wed Feb 16 17:36:12 2022 -0800 + + ao_telemetry: Add casts to reduce -Wconversion warnings + + No bugs noted + + Signed-off-by: Keith Packard + +commit a2505dc4be4a368911533d42d6344ad03b220468 +Author: Keith Packard +Date: Wed Feb 16 17:34:41 2022 -0800 + + ao_telemetry: Use int16_t types for telemetry packet intervals + + This avoids concerns about overflow from int8_t types when computing + long intervals between packets as the base interface type was an + int16_t. This should help deal with higher sample rate sensors when + that occurs. + + Signed-off-by: Keith Packard + +commit 86bd5f53ba4b13df502ec1bc70512f30cac94010 +Author: Keith Packard +Date: Fri Jan 28 15:49:48 2022 -0800 + + ao_telemetry: Switch time variables to AO_TICK_TYPE + + This makes sure telemetry packet intervals are computed correctly. + + Signed-off-by: Keith Packard + +commit b10049d847fac855b1139d6441de853641b7365b +Author: Keith Packard +Date: Fri Jan 28 15:44:03 2022 -0800 + + ao_task: Task ids are 8-bits, fix type in struct ao_task + + These are densely allocated and should never be larger than the + maximum number of task slots, so fix the type to be 8-bits just like + all other places where a task_id is used. + + Signed-off-by: Keith Packard + +commit 55ca3cb64e19664e5ffc19d6ff92f46e4252f3b8 +Author: Keith Packard +Date: Fri Jan 28 15:40:19 2022 -0800 + + ao_serial: Change serial_sleep_for APIs to use AO_TICK_TYPE + + These timeouts should all be short, but there's no reason to use a + different type. + + Signed-off-by: Keith Packard + +commit 8a95afdd417119da6089403f870959a726b0c548 +Author: Keith Packard +Date: Fri Jan 28 15:39:45 2022 -0800 + + kalman, report, romconfig, sample, send_packet: Clean up -Wconversion warnings + + No bugs detected + + Signed-off-by: Keith Packard + +commit 8275b761d182ec587104f084f331d7c2ebc2d1e6 +Author: Keith Packard +Date: Fri Jan 28 15:35:18 2022 -0800 + + ao_monitor: Clean up -Wconversion warnings + + No bugs detected + + Signed-off-by: Keith Packard + +commit b5962ab4f804df3145481a54b00fed27561f8725 +Author: Keith Packard +Date: Fri Jan 28 15:33:12 2022 -0800 + + ao_radio_cmac_cmd: Clean up types for -Wconversion + + Use more reasonable types for lengths and the like to avoid + overflows. No actual bugs detected. + + Signed-off-by: Keith Packard + +commit acc642801aa5f8c0c05bde134e5924fe957ce023 +Author: Keith Packard +Date: Fri Jan 28 15:31:09 2022 -0800 + + ao_radio_cmac: Make recv timeouts AO_TICK_TYPE + + While these should generally be short enough to live in a 16-bit type, + use AO_TICK_TYPE for consistency. + + Signed-off-by: Keith Packard + +commit f385aabe458ed162fa8b45afc433ee5de8bb7b60 +Author: Keith Packard +Date: Fri Jan 28 15:18:49 2022 -0800 + + ao_micro: Add casts to micropeak code for -Wconversion warnings + + No bugs detected + + Signed-off-by: Keith Packard + +commit b123c095384b57446d45d8678dff5448a7c659e4 +Author: Keith Packard +Date: Fri Jan 28 15:12:47 2022 -0800 + + ao_log: Add casts to reduce -Wconversion warnings + + No bugs noted here. + + Signed-off-by: Keith Packard + +commit 0b870641ff0299b973de815523bdfd3db5be8bbf +Author: Keith Packard +Date: Fri Jan 28 15:11:07 2022 -0800 + + ao_log: Fix sensor time triggers to use AO_TICK_TYPE + + These values were used to determine when various log information would + be recorded. Using the wrong type meant that they would always + trigger, causing the log to fill up rapidly with data that should be + sampled at a lower rate. + + Signed-off-by: Keith Packard + +commit dc2d28eab4a998bf5fc60831aaa48d094cbe8785 +Author: Keith Packard +Date: Fri Jan 28 15:10:06 2022 -0800 + + more 16-bit log tick values + +commit 9020a82d8b1496bc47dbe454b0735467b5a599b8 +Author: Keith Packard +Date: Fri Jan 28 15:06:18 2022 -0800 + + ao_log: Change flight type to uint16_t, widen APIs dealing with flight numbers to int32_t + + Real Flight numbers are 16-bit unsigned values, but APIs using them + pass values that areoverloaded to also represent broken log slots + using negative numbers. This means that these APIs need to be able to + represent all 65535 possible flight numbers *and* all possible log + slots as negative values. Switch the variables holding only flight + numbers to uint16_t and those holding either a flight number or log + slot to int32_t. + + Signed-off-by: Keith Packard + +commit 8e73e5298206db0e781cc76ee151e96d29f29341 +Author: Keith Packard +Date: Fri Jan 28 15:00:38 2022 -0800 + + ao_gps, ao_log: Make conversions to 16-bit time log values explicit + + All log formats record only the low 16-bits of the time value, make + conversions to those explicit to silence -Wconversion warnings. + + Signed-off-by: Keith Packard + +commit 7917ec1f105f39799acbea0f4c28d25db4f66eb4 +Author: Keith Packard +Date: Fri Jan 28 14:50:58 2022 -0800 + + ao_flight: ao_interval_end type was too small, could cause premature landing state + + ao_interval_end is used to provide a window of time during which the + max/min values for sensors are measured. After that time expires, + those bounds are compared to see if the airframe has been stable and + should be moved to landing state. With a type that is too small, that + could happen immediately after transitioning to main (for baro-enabled + devices) or coast (for accel-only devices). For baro devices, this + would disable any redundant main firing events. For accel-only + devices, this could disable all events occuring after coast, including + firing separation charges or motor igniters. + + There are also a couple of additional changes to reduce -Wconversion + messages. + + Signed-off-by: Keith Packard + +commit 6f06cf3e8fe0531b927d5e11ae2b0e9af3663b0f +Author: Keith Packard +Date: Fri Jan 28 14:43:31 2022 -0800 + + ao_convert_pa: Switch array index to unsigned type + + This seems more appropriate for this use. + + Signed-off-by: Keith Packard + +commit 4aa984bbcce1cdc4f4b82516a9f2a32cf5061dfa +Author: Keith Packard +Date: Fri Jan 28 14:42:45 2022 -0800 + + ao_companion: Make motor_number uint16_t + + Make it match the types used elsewhere + + Signed-off-by: Keith Packard + +commit f51316c02a8385223567e1aa8e3f5a0b74c16cd6 +Author: Keith Packard +Date: Fri Jan 28 14:41:59 2022 -0800 + + fifo: Add casts to fifo operation macros for -Wconversion + + Signed-off-by: Keith Packard + +commit ba0239ca6839605c7ce45d56677bb9a3b782b7f2 +Author: Keith Packard +Date: Fri Jan 28 14:41:10 2022 -0800 + + beep, cmd, config, convert_volt, data, distance, fec, kalman: -Wconversion warnings + + No bugs noted, just adding casts to resolve -Wconversion warnings. + + Signed-off-by: Keith Packard + +commit bdf0671cb36daca741c4842a37a3fc71744a63a2 +Author: Keith Packard +Date: Fri Jan 28 14:15:42 2022 -0800 + + altos/ao_freq: Use uint32_t for radio freq setting value + + These values are always unsigned; changing this resolves some + -Wconversion messages. + + Signed-off-by: Keith Packard + +commit 3d276e01ba96e8174e590b101cc9ef002e6cb67b +Author: Keith Packard +Date: Fri Jan 28 14:13:53 2022 -0800 + + altos/ao_stdio: use uint8_t for stdio index + + This makes type usage of this value consistent. Also fix another + -Wconversion warning. + + Signed-off-by: Keith Packard + +commit 161f2a3aa7f7364c6d972df4199200828dfe3294 +Author: Keith Packard +Date: Fri Jan 28 14:12:31 2022 -0800 + + altos: Switch ao_radio_recv timeout to AO_TICK_TYPE + + Make sure all times are in the wider type. + + Signed-off-by: Keith Packard + +commit 72a452d1ca5b3f9f1defef47465e24a10ca72d58 +Author: Keith Packard +Date: Fri Jan 28 14:10:31 2022 -0800 + + drivers/ao_rn4678: Fix timeouts to use AO_TICK_TYPE + + Also fix other -Wconversion messages. + + Signed-off-by: Keith Packard + +commit 9f56c5763d1c078c5de15e92103b751ea26b7684 +Author: Keith Packard +Date: Fri Jan 28 14:08:56 2022 -0800 + + drivers/ao_quadrature: Fix -Wconversion warnings + + No bugs detected. + + Signed-off-by: Keith Packard + +commit dbaef3237cc6874faf8eb9030a15b578b58fd83f +Author: Keith Packard +Date: Fri Jan 28 14:06:25 2022 -0800 + + drivers/ao_pad: Convert from/to 16-bit times over the air + + The radio protocol sends only 16 bits of time, make sure we translate + from/to those correctly. No bugs detected, just casts added to + clarify. Also fix other -Wconversion warnings. + + Signed-off-by: Keith Packard + +commit 11d6e27bfd94ce58b702bfd0889f064ce1ef5a48 +Author: Keith Packard +Date: Fri Jan 28 14:00:43 2022 -0800 + + drivers/ao_packet: Switch time values to AO_TICK_TYPE + + Make sure times are kept in the right type. Also resolved other + -Wconversion issues. + + Signed-off-by: Keith Packard + +commit c309956389acc01f784f3d0e11745f5ac0a77e06 +Author: Keith Packard +Date: Fri Jan 28 13:59:26 2022 -0800 + + drivers: Resolve -Wconversion in m25, mma655x, mmc5983, mpu and ms5607 + + No bugs identified. + + Signed-off-by: Keith Packard + +commit 9c27459fe1417b460f01f053bc44474623b1cbca +Author: Keith Packard +Date: Fri Jan 28 09:33:17 2022 -0800 + + drivers/ao_lco: Fix box types to be uint16_t. Also clean other -Wconversion messages + + Old LCO code uses 0x1000 as magic value for "DRAG" box, so we need 16 + bits. Switch all box variables to 16 bits, use int32_t when switching + box numbers to deal with negative values and still hold the whole + possible range (even though 16 bits "should" be plenty). + + Signed-off-by: Keith Packard + +commit 71c3652d6c511db03402f5b7487bc4098e6d850f +Author: Keith Packard +Date: Fri Jan 28 09:29:06 2022 -0800 + + ao_hmc5883: Add explicit casts for -Wconversion + + No bugs noted. + + Signed-off-by: Keith Packard + +commit c783aafd89777626c362e15c47360b399d03c45d +Author: Keith Packard +Date: Fri Jan 28 09:26:08 2022 -0800 + + ao_companion: Make time conversion to 16-bits in companion protocol explicit + + Companion protocol only passes low 16-bits. Also add explicit casts for -Wconversion + + Signed-off-by: Keith Packard + +commit fadb563f8aeeee895a7232bb71fa5bade6ef66f0 +Author: Keith Packard +Date: Fri Jan 28 09:25:15 2022 -0800 + + ao_gps_skytrac, ao_gps_ublox: Add explicit casts to quiet -Wconversion + + No bugs noted. + + Signed-off-by: Keith Packard + +commit 452dd07575a118f29a0dfa712deeb18e92ffb1f4 +Author: Keith Packard +Date: Fri Jan 28 09:20:29 2022 -0800 + + drivers: Fix type of radio timeout parameter + + Move from uint16_t to AO_TICK_TYPE. Also add explicit casts to quiet + remaining -Wconversion messages. + + Signed-off-by: Keith Packard + +commit 46200359c388062a5e7bc40d780808d92a59f0ed +Author: Keith Packard +Date: Fri Jan 28 09:16:49 2022 -0800 + + altos/drivers/ao_button: Save all 32-bits of irq status + + Was saving in a uint8_t + + Signed-off-by: Keith Packard + +commit 7fd29d922be98ddc6406f2323599ef63061044ed +Author: Keith Packard +Date: Fri Jan 28 09:15:57 2022 -0800 + + altos/drivers: Add explicit casts in ao_aprs, ao_bmx160 and ao_btm + + No bugs spotted here, but this quiets -Wconversion warnings + + Signed-off-by: Keith Packard + +commit 5bdb250a43c9e87185f3ddedbd8364f24306bbfd +Author: Keith Packard +Date: Thu Jan 27 15:52:44 2022 -0800 + + altos/attiny: Eliminate warnings from -Wconversion + + These have no effect on the generated code as they simply make + implicit conversions explicit. + + Signed-off-by: Keith Packard + +commit 85dd82b200d649fbf08aa31e5acde8f1f40d531a +Author: Keith Packard +Date: Wed Feb 16 17:00:59 2022 -0800 + + altos: Re-enable apogee delay + + When the igniter code was changed to support booster mode, the code + which delayed apogee firing based on the configure apogee delay value + was lost. Re-enable that by sticking a delay before firing the drogue + charge when the ignite mode is not redundant apogee. + + Signed-off-by: Keith Packard + +commit d91e0b962d95051a10147e691b133927bf3fb8cb +Author: Keith Packard +Date: Wed Feb 9 09:58:07 2022 -0800 + + Version 1.9.10.3 + + Signed-off-by: Keith Packard + +commit d11edd6d595eb1a0786f61d4ae4bdf37ecf1a4fb +Author: Keith Packard +Date: Wed Feb 9 09:51:33 2022 -0800 + + libaltos: Build Mac OSX libaltos.dylib for arm64 too + + Make this work on the M1. + + Signed-off-by: Keith Packard + +commit 5c67c0c789787fcd18b513a775d2415e0af0a2d0 +Author: Keith Packard +Date: Wed Feb 9 09:49:49 2022 -0800 + + Switch from AdoptOpenJDK to Adoptium + + This project moved to Eclipse foundation but seems otherwise about the same. + + Signed-off-by: Keith Packard + +commit c5d39fe3ac9252547f966a86f413eebd7b44088f +Author: Keith Packard +Date: Fri Jan 28 15:27:02 2022 -0800 + + ao_pyro: Move delay_done out of pyro structure + + The pyro structure should be read-only in flight operations. Move the + 'delay_done' element to a parallel array as that gets written. Change + types to pointers to const structs to enforce this in the future. + + Signed-off-by: Keith Packard + +commit 606a67724dea8ab3d52d52456722dc593cf8ac8d +Author: Keith Packard +Date: Thu Jan 27 15:49:15 2022 -0800 + + altos: AES code was storing bytes in an int array + + The only operations using these values are logic using bytes, not + arithmetic, so shrinking the size of the elements should have no + effect on operation. + + This saves space *and* eliminates a type conversion warning from + -Wconversion. + + Signed-off-by: Keith Packard + +commit 3759d6707d67e2584670ea89086576b695ea3509 +Author: Bdale Garbee +Date: Tue Jan 25 12:34:31 2022 -0700 + + need to save .bin for TeleGPS v2.0 + +commit 59cbf80e63b4c88de45e59c6e3d209f99910fcf3 +Author: Keith Packard +Date: Fri Jan 21 19:45:14 2022 -0800 + + data_interval == 0 means no data collection + + All of the timer functions were still taking one sample every 256 + clock ticks. + + Signed-off-by: Keith Packard + +commit 2dc5d4eecc97b640a2e1f012b4411955682b61c8 +Author: Keith Packard +Date: Tue Jan 11 14:34:14 2022 -0800 + + Version 1.9.10.2 + + Signed-off-by: Keith Packard + +commit d24aba871ee9aa3671e15510ee4e2a0266c3d583 +Author: Keith Packard +Date: Tue Jan 11 14:32:55 2022 -0800 + + altosdroid: Add BLUETOOTH_CONNECT permission, handle its lack + + Android 12 switched how bluetooth permissions work, so now we need a + new one to talk to devices. Also deal with a lack of that by not + crashing when we can't get the name of a BT device. + + Signed-off-by: Keith Packard + +commit 7f46240dfc57164f0c1b0c4c4ed9695bca63860d +Author: Keith Packard +Date: Thu Dec 16 13:39:33 2021 -0800 + + altos: Switch all tick variables to AO_TICK_TYPE/AO_TICK_SIGNED + + Instead of trying to pick and choose which work as 16-bit values, + change everything that doesn't affect external values (log, companion, + radio) to AO_TICK_TYPE. + + Signed-off-by: Keith Packard + +commit 0e068689f41b74c883615f9f11a322a962cbb792 +Author: Keith Packard +Date: Thu Dec 16 13:38:39 2021 -0800 + + altos/attiny: Switch to avrisp2 for development programmer + + My bench programmer puck is the avrisp2, not usbtiny + + Signed-off-by: Keith Packard + +commit d317c2e30c408909807bde7c5577e499bd3c6f17 +Author: Keith Packard +Date: Thu Dec 16 13:37:17 2021 -0800 + + ao-tools/ao-test-igniter: Deal with devices that use both 'apogee' for ADC + + Some devices report drogue igniter ADC value with 'apogee' tag. Deal + with this. + + Signed-off-by: Keith Packard + +commit 55698a6232bde408ce7e12bb7ee52ba72985fc78 +Author: Keith Packard +Date: Thu Dec 16 13:36:10 2021 -0800 + + micropeak: detect empty log received from device + + Avoid reporting a failure to the user when the device has no flight + log. + + Signed-off-by: Keith Packard + +commit e3127155c02cd42ef8aa42d167fc214e8997113f +Author: Bdale Garbee +Date: Wed Dec 22 11:35:52 2021 -0700 + + doc: add an appendix on frequency calibration to the all-in-one manual + +commit 66152b176bad12fbff3188397c607793c0bdd380 +Merge: 8e1145b9 0921e8b1 +Author: Bdale Garbee +Date: Mon Dec 20 13:49:41 2021 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 8e1145b9894537e33747fecc7d61d87eadab6135 +Author: Bdale Garbee +Date: Mon Dec 20 13:49:28 2021 -0700 + + need to capture .bin file for telebt loader, too + +commit 0921e8b166c41ea8f65df14cea893481d8e1f0f1 +Merge: 236d80fa 9db486f6 +Author: Bdale Garbee +Date: Wed Nov 3 13:24:41 2021 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 9db486f6d78b8a2ae855168338e0ea7d6ee4231f +Author: Keith Packard +Date: Sat Oct 16 16:27:52 2021 -0700 + + Version 1.9.10.1 + + AltosDroid fixes (rotation, crash in maps stuff) + + Signed-off-by: Keith Packard + +commit a1b7357aa5bca6afb588b0bfb5cfe72c4d0255ef +Author: Keith Packard +Date: Sat Oct 16 15:48:22 2021 -0700 + + altosdroid: Fix tab updates on Android 11 after rotate + + Android 11 appears to have "optimized" application rotation by + regenerating fragments automatically. This means the tab fragments + aren't getting created by TabsAdapter.getItem, so that code didn't + know about them, which caused it to not know which tab was active so + all of the application state wasn't getting updated in the tabs after + rotation. + + Fix this by telling TabsAdapter about fragments that are already + created -- altosdroid hears about them in the registerTab hook. + + Signed-off-by: Keith Packard + +commit 5ef3cd5abdb863c534a0abc5d0a726cfa5108eb4 +Author: Keith Packard +Date: Sun Oct 10 23:01:18 2021 -0700 + + altosdroid: Skip map draw before transform is set + + A crash report indicates that this can happen. + + Signed-off-by: Keith Packard + +commit f426462c7e86dc0aa48c004e115144b25eadacf8 +Author: Bdale Garbee +Date: Sun Oct 10 22:21:49 2021 -0600 + + fix version in 1.9.10 release notes + +commit 8970d45ea43bfff1de38778ee8b14c3e54639555 +Author: Bdale Garbee +Date: Sun Oct 10 21:42:19 2021 -0600 + + releasing 1.9.10 + +commit ed267e76eb03c34ec233c33a002ec9e5e53ec83a +Merge: bd71c839 ef70f80b +Author: Bdale Garbee +Date: Sun Oct 10 21:41:50 2021 -0600 + + Merge branch 'master' into branch-1.9 + +commit ef70f80b324e9c8ba7046b5000e0f28f77a54f8c +Author: Keith Packard +Date: Sun Oct 10 09:57:45 2021 -0700 + + Version 1.9.10 + + Signed-off-by: Keith Packard + +commit 67a1d9b5bcd9bd7dd4156010264cef6b9c87caa3 +Author: Keith Packard +Date: Sun Oct 10 09:49:49 2021 -0700 + + altos/telemega-v5.0: Add .gitignore + + Signed-off-by: Keith Packard + +commit 47d7affffdf97188a034bb48918ec22f03ea5b38 +Author: Keith Packard +Date: Sun Oct 10 09:47:52 2021 -0700 + + doc: Version 1.9.10 notes + + Signed-off-by: Keith Packard + +commit eb39995ded6b564efcb5a5312119d2672b437bc8 +Author: Keith Packard +Date: Sat Oct 9 21:32:17 2021 -0700 + + altosdroid: Catch log file open failures and show an error dialog + + Android changed which directories we can write to once, let's hope it + doesn't happen again. + + Signed-off-by: Keith Packard + +commit 3488d86de2e114a46e59bd4d2a2d7b95bf633963 +Author: Keith Packard +Date: Sat Oct 9 21:31:24 2021 -0700 + + altoslib: Add callback from AltosLog on file open failure + + This lets the UI tell the user that logging isn't working. + + Signed-off-by: Keith Packard + +commit 4b3ccb73a26f91917d327558295506ce3c02d684 +Author: Keith Packard +Date: Sat Oct 9 20:58:26 2021 -0700 + + altosdroid: Switch storage to media dir + + Even with the WRITE_EXTERNAL_STORAGE permission, we appear to no + longer have permission to write to a random external storage + dir. Instead, we only have permission to write to an app-specific dir, + buried deep in the directory tree. We can get that directory name with + getExternalMediaDirs()[0]. + + Signed-off-by: Keith Packard + +commit 536e53c2e17b37df8c65d2f6921a5d68791a7789 +Author: Keith Packard +Date: Fri Oct 8 18:31:35 2021 -0700 + + Version 1.9.9.1 + + Signed-off-by: Keith Packard + +commit 5cb393c1743a5c0f307631199abba067821db370 +Author: Keith Packard +Date: Thu Oct 7 22:45:37 2021 -0700 + + libaltos: Use original windows printf/scanf + + mingw now uses "improved" versions of printf/scanf, which may cause + trouble with some windows 10 installs. Just use the old versions. + + Signed-off-by: Keith Packard + +commit 236d80fac2b4293c5750c9d80b387afd4d0fc5cc +Merge: 047a3f1f 6ef22682 +Author: Bdale Garbee +Date: Thu Oct 7 12:11:06 2021 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit c15bb9513ab0f8636bf52ec827551134c773e832 +Author: Keith Packard +Date: Wed Oct 6 22:58:09 2021 -0700 + + libaltos: Make windows dlls reproducible + + Use SOURCE_DATE_EPOCH=0 to ensure these dlls are + reproducible. + + Signed-off-by: Keith Packard + +commit bd71c839b542c417a90ab59db97e0969f7e27731 +Author: Bdale Garbee +Date: Thu Oct 7 00:00:42 2021 -0600 + + releasing 1.9.9 + +commit 2f1d5b25e72324512238920b45e864bf7c5d16fe +Merge: c0fe810e 6ef22682 +Author: Bdale Garbee +Date: Wed Oct 6 23:59:20 2021 -0600 + + Merge branch 'master' into branch-1.9 + +commit 6ef2268220a8ee6a83ce7400614d27589c57534a +Author: Bdale Garbee +Date: Wed Oct 6 23:53:28 2021 -0600 + + libaltos: don't carry pre-built .dll files in the repo any more + +commit 44530c7439c311c573cbd4b865e7bf2c1581ab83 +Author: Keith Packard +Date: Wed Oct 6 21:13:38 2021 -0700 + + Version 1.9.9 + + Signed-off-by: Keith Packard + +commit 9841667f100585ccf50879a6bf627198578c8313 +Author: Keith Packard +Date: Fri Sep 24 09:44:56 2021 -0700 + + 1.9.9 release notes + + Signed-off-by: Keith Packard + +commit 071bcedab48d3bd71f42c685d01fc5c64f702ba3 +Author: Keith Packard +Date: Wed Sep 29 10:24:02 2021 -0700 + + altos: Measure mmc5983 offset + + This improves mmc5983 accuracy by using the SET/RESET mechanism which + flips the orientation of the mag sensor to cal-out any sensor bias. + + Signed-off-by: Keith Packard + +commit 1a268f959f5ee76133f4f707cf81a2c0fe4c8e73 +Author: Keith Packard +Date: Wed Sep 29 10:22:13 2021 -0700 + + altoslib: Parse TeleMega v5.0 eeprom records + + Oops. Missed one spot in adding TeleMega v5.0 + + Signed-off-by: Keith Packard + +commit 236200c028dd48bbffbde1278d8b1c6de39fbdb1 +Author: Keith Packard +Date: Fri Sep 24 09:43:15 2021 -0700 + + altos: Fix config upgrade from 1.24 to 1.25 + + Alignment of pyro field changed due to increased size of fields which + shifted the whole struct by two bytes, leading to mis-updating the struct. + Fix that by creating a mirror of the ao_config type for version 1.24 and + then using that to fetch the old data. + + Signed-off-by: Keith Packard + +commit 1115f566119deaa508f753576703917f28ef54b7 +Author: Keith Packard +Date: Mon Sep 20 20:24:13 2021 -0700 + + Remind us to update ANDROID_VERSION + + Signed-off-by: Keith Packard + +commit ce5cb9b985fbb803de8794af69027fba55e48f79 +Author: Keith Packard +Date: Mon Sep 20 20:23:10 2021 -0700 + + altosdroid: Set android version to 30 + + Need to change this for each release we do + + Signed-off-by: Keith Packard + +commit 047a3f1f08687113b80123cc7568d7057a23bcc3 +Merge: 01b5d271 e7a19e6d +Author: Bdale Garbee +Date: Wed Sep 22 11:53:17 2021 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit e7a19e6dec201603e98b94b0ba790aa7d2d344f8 +Author: Bdale Garbee +Date: Mon Sep 20 18:17:49 2021 -0600 + + snapshot TeleMega v4 turnon and test scripts before crafting v5 versions + +commit 95fc564503ced6febe7136813e76592ecac9c1d7 +Author: Bdale Garbee +Date: Mon Sep 20 18:22:55 2021 -0600 + + update TeleMega bench scripts for v5.0 hardware + +commit 01b5d271d21e0c60508c06f4af1ff34bf75bf9fe +Author: Bdale Garbee +Date: Wed Sep 22 11:45:49 2021 -0600 + + capture odd changes from production machine? + +commit 3fb07b29d7bad57a52e4b0c75d623577ca1d4da3 +Author: Bdale Garbee +Date: Mon Sep 20 22:06:30 2021 -0600 + + capture updates to Releasing from 1.9.8 release + +commit c0fe810e9b12a07c59ed12124bf9045a7c13d122 +Author: Bdale Garbee +Date: Mon Sep 20 21:25:42 2021 -0600 + + update ChangeLog for 1.9.8 release + commit 47e98987fd8789583406eba7d2bc2d47bfad1f11 Merge: 7d52b911 fbf4b677 Author: Bdale Garbee