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:
parent
b310f9b348
commit
7518ec67f5
19 changed files with 390 additions and 174 deletions
|
@ -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 :
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue