Skip to content

Commit

Permalink
ensure we can still build noflash
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Jun 28, 2024
1 parent 30efc7b commit e6afce7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/BANGLEJS2_NOFLASH.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@
'adc' : 1,
'dac' : 0,
'saved_code' : {
'address' : ((246 - 100) * 4096), # Bootloader takes pages 248-255, FS takes 246-247
'address' : ((246 - 90) * 4096), # Bootloader takes pages 248-255, FS takes 246-247
'page_size' : 4096,
'pages' : 100,
'flash_available' : 1024 - ((38 + 8 + 2 + 100)*4), # Softdevice uses 0x26=38 pages of flash, bootloader 8, FS 2, code 100. Each page is 4 kb.
'pages' : 90,
'flash_available' : 1024 - ((38 + 8 + 2 + 90)*4), # Softdevice uses 0x26=38 pages of flash, bootloader 8, FS 2, code 100. Each page is 4 kb.
},
};

Expand Down

0 comments on commit e6afce7

Please sign in to comment.