Skip to content

Commit

Permalink
Increase bootloader storage size for ST_NUCLEO64_F091RC
Browse files Browse the repository at this point in the history
***NO_CI***
  • Loading branch information
josesimoes committed Jan 5, 2024
1 parent eab48c8 commit a5f9e09
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion targets/ChibiOS/ST_NUCLEO64_F091RC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if(SRECORD_TOOL_AVAILABLE)
nf_generate_bin_package(
${CMAKE_SOURCE_DIR}/build/${NANOBOOTER_PROJECT_NAME}.bin
${CMAKE_SOURCE_DIR}/build/${NANOCLR_PROJECT_NAME}.bin
2800
3000
${CMAKE_SOURCE_DIR}/build/nanobooter-nanoclr.bin)
endif()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
// 2kB block
const BlockRange BlockRange1[] = {
// 0x08000000 nanoBooter
{BlockRange_BLOCKTYPE_BOOTSTRAP, 0, 4},
{BlockRange_BLOCKTYPE_BOOTSTRAP, 0, 5},

// 0x08002800 nanoCLR
{BlockRange_BLOCKTYPE_CODE, 5, 86},
// 0x08003000 nanoCLR
{BlockRange_BLOCKTYPE_CODE, 6, 86},

// 0x0802B800 deployment
{BlockRange_BLOCKTYPE_DEPLOYMENT, 87, 127}};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
MEMORY
{
flash0 (rx) : org = 0x08000000, len = 10k /* space reserved for nanoBooter */
flash0 (rx) : org = 0x08000000, len = 12k /* space reserved for nanoBooter */
flash1 (rx) : org = 0x00000000, len = 0
flash2 (rx) : org = 0x00000000, len = 0
flash3 (rx) : org = 0x00000000, len = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

MEMORY
{
flash0 (rx) : org = 0x08002800, len = 256k - 10k - 82k /* flash size less the space reserved for nanoBooter and application deployment*/
flash0 (rx) : org = 0x08003000, len = 256k - 12k - 82k /* flash size less the space reserved for nanoBooter and application deployment*/
flash1 (rx) : org = 0x00000000, len = 0
flash2 (rx) : org = 0x00000000, len = 0
flash3 (rx) : org = 0x00000000, len = 0
Expand Down

0 comments on commit a5f9e09

Please sign in to comment.