1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Experimental support for on-board custom defaults.

This commit is contained in:
mikeller 2019-06-25 02:13:09 +12:00
parent b310f9b348
commit 7518ec67f5
19 changed files with 390 additions and 174 deletions

View file

@ -34,6 +34,13 @@ SECTIONS
. = ALIGN(4);
} >FLASH AT >AXIM_FLASH
/* Storage for the address for the configuration section so we can grab it out of the hex file */
.custom_defaults :
{
. = ALIGN(4);
*(.custom_defaults_address)
} >FLASH1 AT >AXIM_FLASH1
/* The program code and other data goes into FLASH */
.text :
{