Wykres commitów

54 Commity (cert)

Autor SHA1 Wiadomość Data
Rob Riggs 1be6b066bc Regulatory testing mode. Disable the BT module, enable demodulator, and transmit a test beacon at regular intervals. 2018-11-14 16:57:01 -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
Rob Riggs 7523bac4f4 Start work on power saving modes. 2018-09-19 22:38:18 -05:00
Rob Riggs 8778ad3f1e Use CxxErrorHandler. 2018-09-19 22:37:00 -05:00
Rob Riggs 878b2e4a38 Fix unused variable warnings. 2018-09-19 22:36:30 -05:00
Rob Riggs e363bdd5b7 Mostly formatting updates. Fix PWM configuration. 2018-09-19 22:35:59 -05:00
Rob Riggs ffba2193bc Update for new hardware. Fix double free of frame when serial times out. 2018-09-19 22:33:16 -05:00
Rob Riggs 1d1a362557 Update hardware version number. Use device ID as serial number. 2018-09-19 22:31:08 -05:00
Rob Riggs cb436bb0d1 More USB support code. 2018-09-19 22:30:01 -05:00
Rob Riggs 9f45fc0eb0 Implement CDC interface connect, disconnect, receive. 2018-09-19 22:28:10 -05:00
Rob Riggs 0c87035271 Implement USB battery charger detection. 2018-09-19 22:26:38 -05:00
Rob Riggs 8dddebbf2e Handle interrupts. 2018-09-19 22:25:32 -05:00
Rob Riggs 648058fe20 Enable PVD and PWM on TIM1. 2018-09-19 22:24:28 -05:00
Rob Riggs 4b8635bab5 Trivial change to linker script. 2018-09-19 22:23:15 -05:00
Rob Riggs 9fc5e95a41 Enable link power management for USB. 2018-09-19 22:22:26 -05:00
Rob Riggs 2f7fff86f6 Optimize ADC sample time to improve oversampling. Use CxxErrorHandler. 2018-09-19 22:21:44 -05:00
Rob Riggs f197c612e1 Add BM78 support. Add a README file to start documenting build/debug stuff. Add ARM fir filter code. Add ST/LINK config files. 2018-09-19 22:17:37 -05:00
Rob Riggs da1df53acd Clean up audio level setting code. Limit gain levels to supported values. Use CxxErrorHandler to limit warnings. 2018-09-19 22:14:49 -05:00
Rob Riggs 90f899e214 Update I2C handling. Update hardware and firmare versions. Fix conversion specifiers. Add more logging. 2018-09-19 22:10:51 -05:00
Rob Riggs a5a754572c Fix pin names. Add more message types, including power control (sleep). Add a CxxErrorHandler to address C++ warnings. 2018-09-19 22:08:54 -05:00