mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-16 15:30:10 -07:00
24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
## Transponder firmware
|
|
|
|
This is a vanilla Eclipse CDT project. Import it into your workspace and (assuming you have ARM cross compiler installed) it should be straightforward.
|
|
|
|
The application is mainly interrupt driven, with an event queue being dispatched by main().
|
|
|
|
### Key updates
|
|
|
|
- It turned out that FreeRTOS added no value, so it was removed
|
|
- DFU can be achieved by jumping directly into the ROM bootloader, so there is no need for hardware to manipulate the BOOT0 pin
|
|
- The TX_DISABLE signal is now supported. It is active low in board 9.x and active high in board 10.x and higher
|
|
- Board 9.3 adds 3 "status" (LED driving) signals for GPS, RX and TX
|
|
- Board 10.x needed a GPIO swap to make routing viable and inverted the logic of the TX_DISABLE signal, but it's all abstracted in the BSP
|
|
- The new 'cli' command was introduced to reboot the board into 'quiet' mode, making it a lot easier to program and verify the station data
|
|
- Station metadata is now stored in MCU flash, so it is handled in the Configuration class instead of the BSP. The EEPROM is obsolete.
|
|
|
|
### Building and flashing
|
|
|
|
You will need Eclipse CDT with the MCU package, plus the ARM GCC crosscompiler toolkit. You may need to tweak toolkit paths for the build to work.
|
|
|
|
The project supports the following STM32 MCUs: L412, L422, L431 and L432.
|
|
|
|
|
|
The openocd-flash-*** scripts in this folder can be run against an STLink programmer to flash the corresponding binary directly to the MCU without any kind of Debug session in Eclipse. |