Laczen opened a new pull request, #19794:
URL: https://github.com/apache/nuttx/pull/19794

   ## Summary
   
   NuttX uses different options for boot memory configurations of RAM and 
FLASH. These configurations are used only in a limited amount of linker scripts.
   
   To allow extending present linker scripts with the boot memory configuration 
options a boolean `USE_BOOT_MEMORY_CFG` is defined so that linker scripts can 
use this to determine to use the boot memory configuration options. This option 
does not change the present behavior.
   
   To allow generating the boot memory configuration from an app (e.g. a 
bootloader in nuttx-apps) an option is created `APP_SET_BOOT_MEMORY_CFG` that 
can be set by an app. This allows specifying e.g. FLASH_START from the app and 
generating an image for a specific location on flash (belonging to a specific 
slot). The FLASH_START can be adapted by the app to make space for a bootloader 
specific header. This option is hidden and selected by an application that uses 
it.
   
   ## Impact
   
   None, only enabling options through Kconfig and setting default values.
   
   ## Testing
   
   Tested on qemu-armv7a: nsh: ostest_main: Exiting with status 0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to