1
0
Fork 0
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:
Jay Blackman 2025-01-03 22:40:12 +11:00 committed by GitHub
parent 73a06e9279
commit bb5a38d116
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 92 additions and 7 deletions

View file

@ -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])