mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
ensure we can still build noflash
This commit is contained in:
parent
30efc7ba7d
commit
e6afce7ce5
@ -103,10 +103,10 @@ chip = {
|
||||
'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.
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user