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

   ## Summary
   
   A option is added to the build configuration to select a image configuration 
(e.g. flash and ram) as defined in the linker script. This option is needed 
when NuttX is used in combination with a bootloader (e.g. nxboot or mcuboot). 
The linker script remains the source of truth, but it has multiple 
configurations built-in. When the option CONFIG_NUTTX_LINKER_IMAGE_CFG is 
selected the configuration is selected by CONFIG_NUTTX_LINKER_IMAGE_CFG_ID.
   
   A example is added for the nucleo-f411re board.
   
   ## Impact
   
   None, enabler for bootloader support.
   
   ## Testing
   
   No code was changed in this PR.
   
   Tested on nucleo-f411re with:
   `CONFIG_NUTTX_LINKER_IMAGE_CFG=false`
   and
   `CONFIG_NUTTX_LINKER_IMAGE_CFG=true` with 
`CONFIG_NUTTX_LINKER_IMAGE_CFG_ID=0`.
   
   For both:
   ```console
   nsh> uname -a
   NuttX 13.1.0 b6d0efdd26-dirty Nov 17 2026 14:02:14 arm nucleo-f411re
   ```
   
   ## Documentation
   
   @acassis I don't know where this should be documented.


-- 
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