mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Initial (untested) implementation of config in flash 16kb (#14107)
This commit is contained in:
parent
73a06e9279
commit
bb5a38d116
4 changed files with 92 additions and 7 deletions
|
@ -92,3 +92,11 @@ typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
|
|||
#define IOCFG_IN_FLOATING IO_CONFIG(GPIO_IN, 0, 0)
|
||||
|
||||
#define SERIAL_UART_FIRST_INDEX 0
|
||||
|
||||
extern uint32_t systemUniqueId[3];
|
||||
|
||||
// PICOs have an 8 byte unique identifier.
|
||||
#define U_ID_0 (systemUniqueId[0])
|
||||
#define U_ID_1 (systemUniqueId[1])
|
||||
#define U_ID_2 (systemUniqueId[2])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue