Closed mahdi259 closed 4 hours ago
You need to put a -D
in front of each define that you want to alter. Just add this to your SPI flash definition and it should work:
make USER_FLAGS+=-DUART_BAUD=115200 USER_FLAGS+=-DSPI_FLASH_SECTOR_SIZE=4096 clean_all bootloader
Thanks a lot
May I ask what -D
does?
It is just a GCC preprocessor flag: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
It basically (re-)defines a #define
.
Thanks a lot
Hi I appreciate utilization of parameters in bootloader image generator. Unfortunately some parameters are not recognized and I'm not able to change them in make command. Any idea?
make USER_FLAGS+=-DUART_BAUD=115200 USER_FLAGS+=-SPI_FLASH_SECTOR_SIZE=4096 clean_all bootloader
And the result is: