You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Syntax in the board.txt:
xxx.build.startup_file=-DCUSTOM_STARTUP_FILE
Example to use a custom startup file for Nucleo_L476RG:
Nucleo_64.menu.pnum.NUCLEO_L476RG.build.startup_file=-DCUSTOM_STARTUP_FILE
Then add a "*.S" file in the "variant/NUCLEO_L476RG/" folder
Important note: extension must be '.S' not '.s'
CUSTOM_STARTUP_FILE could also be defined thanks the build_opt.h.
CMSIS_STARTUP_FILE could now be overridden using the build_opt.h, ex:
-DCMSIS_STARTUP_FILE=\"startup_stm32l476xx.s\"
Signed-off-by: Frederic.Pillon <[email protected]>
0 commit comments