Wykres commitów

122 Commity (9f523247bf0d17b351f44e7b9fe687c754406553)

Autor SHA1 Wiadomość Data
Rob Riggs 5ba4233871 Negotiate battery charging when turned off and plugged in. Fixed #7. 2019-01-10 21:21:11 -06:00
Rob Riggs de457d00fc Hack to fix #6. Compile set_rtc_datetime() at -O0. 2019-01-06 23:05:35 -06:00
Rob Riggs 533b5d0ce0 Fix #3. Store error message in SRAM and reset. Return error message in GET_ALL_VALUES. 2019-01-06 16:39:34 -06:00
Rob Riggs 229993b221 Fix compilation warnings. Disable unsafe (and currently unused) functions. 2019-01-06 12:06:56 -06:00
Rob Riggs 348a07426a Fix #1 -- stop transmitting test tones when disconnected. Fix a couple compilation warnings. 2019-01-06 12:06:01 -06:00
Rob Riggs 084566f115 Read MAC address from BT module and send it as part of GET_ALL_VALUES. Fixes #2. 2019-01-05 22:50:08 -06:00
Rob Riggs dc11a1ff29 Increase frame pool count to match segment pool count. Fixes #4. 2019-01-05 21:29:02 -06:00
Rob Riggs 068d350804 Update eclipse settings. Update firmware version to 0.8.14. 2019-01-05 21:00:24 -06:00
Rob Riggs 52bc72ca6c Merge branch 'master' of github.com:mobilinkd/tnc3b-firmware 2019-01-05 20:49:00 -06:00
Rob Riggs a0aba01af3 Make AFSKTestTone object globally accessible. Stop sending test tones if a real packet arrives. Fix broken header guard. 2019-01-05 20:48:57 -06:00
Rob Riggs 79321b331e Avoid dynamic allocation in hardware reply code. Add DFU capabilities flag. Update firmware version to 0.8.13. 2019-01-05 20:43:18 -06:00
Rob Riggs 3e36b400df Fix RTC initialization so it is not re-initialized across soft resets. 2019-01-05 20:40:02 -06:00
Rob Riggs 2790d1aa1a Update eclipse settings. 2018-11-17 13:58:39 -06:00
Rob Riggs 5c5ca44c85 Increase delay in serial port to avoid receiving too many small packets, leading to resource starvation. Disable VERBOSITY support. Increase firmware rev to 0.8.12. 2018-11-17 13:57:10 -06:00
Rob Riggs cebbc4081a Enable pulldown on USB_POWER pin (PH0). 2018-11-17 13:56:58 -06:00
Rob Riggs 9463c8de39 Only send PCD_BCD_DISCOVERY_COMPLETED (enable USB CDC) when connected to a downstream port. 2018-11-17 13:45:49 -06:00
Rob Riggs 3a876d9457 Clean up stop mode handling since we do a reset on wake now. Work around BCD issues in HAL. 2018-11-17 13:44:33 -06:00
Rob Riggs 5fb37ecdfe Enable pulldown on USB_POWER pin (PH0). 2018-11-17 13:42:25 -06:00
Rob Riggs bbf3001853 Only delay when setting input gain when doing auto-adjust. 2018-11-14 17:10:36 -06:00
Rob Riggs c75b20e9c1 Don't send any ITM messages when KISS_LOGGING is disabled. 2018-11-14 16:53:35 -06:00
Rob Riggs aded258db4 Allow waiting for a frame if one is not immediately available. Wait for frame in SerialPort handler. 2018-11-11 21:33:04 -06:00
Rob Riggs b5dccefb7e Support power on/off via USB. Initialize PTT on power-on. Reset on resume from stop2. 2018-11-04 10:03:25 -06:00
Rob Riggs c33c97a1ef Support adjusting input levels (twist, gain). Support auto-adjust input levels. Support getting & setting RTC. Send API version. Update to 0.8.9. 2018-11-02 20:06:27 -05:00
Rob Riggs 11200f234b Set the USB MaxPower value in the config descriptor to 500mA. 2018-10-29 16:55:56 -05:00
Rob Riggs 1373e62ba0 Set serial number in BM78 DIS and USB descriptor, and return it via KISS HW commands. 2018-10-29 14:06:52 -05:00
Rob Riggs d2ad6698be Boot directly into bootloader when USB is connected and BOOT button is pressed. 2018-10-29 13:37:30 -05:00
Rob Riggs a5cf64dfcd Minor project updates. 2018-10-28 21:37:12 -05:00
Rob Riggs af7dd9406e Updates from Cube update. Make USB_CE OD. 2018-10-28 21:36:50 -05:00
Rob Riggs 97b304bc7e Clean up BM78 init. Add support for RTC alarm. Defines for USB suspend/resume. 2018-10-28 21:35:51 -05:00
Rob Riggs 3cbe22dd7d STM32CubeMX now provides proper function declaration. 2018-10-28 21:34:48 -05:00
Rob Riggs 0fcbc6f919 FreeRTOS updated with HAL update. 2018-10-28 21:31:35 -05:00
Rob Riggs 992ae6dfe9 Mock up support for suspend. Fix charge enable on address assignment after HAL update. 2018-10-28 21:30:57 -05:00
Rob Riggs ca6fb5aa5f Minor logging improvements. 2018-10-28 21:27:27 -05:00
Rob Riggs a9ef136d41 Add digi implementation notes. 2018-10-28 21:26:04 -05:00
Rob Riggs 383a751a9f Fix CAPABILITIES endian mismatch. 2018-10-28 21:25:12 -05:00
Rob Riggs e9e4bc1990 Mock up support for USB suspend. Re-enable all interrupts on wake from stop. Stop/wake now seems to work reliably. 2018-10-28 21:15:19 -05:00
Rob Riggs a3145d2a95 Update battery level polling. 2018-10-28 21:12:10 -05:00
Rob Riggs de79227cc7 Update firmware version to 0.8.7. Support EEPROM save capability. Add new input gain limits and API version codes. 2018-10-28 21:07:44 -05:00
Rob Riggs 51d6b93415 Reduce buffer size to max allowed for USB. 2018-10-28 21:02:14 -05:00
Rob Riggs b19e1a5a5d Handle single-byte transfers over USB more efficiently. Linux seems to do only single byte transfers for ACM ports. 2018-10-28 21:01:24 -05:00
Rob Riggs 05bbab157b Do not enable/disable UART when opening/closing port as it causes corruption and missed data. Handle Tx timeouts better, including aborting DMA transfers when necessary. Remove egregious debug logging which was causing hangs due to resource starvation. 2018-10-28 20:59:01 -05:00
Rob Riggs ffd55e750d Update BM78 EEPROM loading/configuration process. BT security is disabled because that was the only way to get both EDR and LE to work on both Linux and Android at the same time. 2018-10-28 20:18:21 -05:00
Rob Riggs 0cd8ebbfd1 Update STM32L4 HAL library to version 1.13.0. 2018-10-28 20:15:55 -05:00
Rob Riggs e2bc1bc488 Add debug logging to the pool allocator. 2018-09-21 21:06:06 -05:00
Rob Riggs 01a70ca31f Update various Eclipse project files. 2018-09-19 22:50:05 -05:00
Rob Riggs 22df5ad05c Update hardware version. Change a couple GPIOs. Change core clock from 80 to 48MHz. 2018-09-19 22:46:44 -05:00
Rob Riggs e76631179d Trivial change to DCD. 2018-09-19 22:43:03 -05:00
Rob Riggs 88a2222b47 Update for new hardware revision. Implement STOP2 mode support. 2018-09-19 22:41:49 -05:00
Rob Riggs 2311503adb Update UART handle lpuart1->huart3. 2018-09-19 22:39:49 -05:00
Rob Riggs ea2d081a9f Fix syntax error. 2018-09-19 22:38:50 -05:00