Ah, looks like it's like this on the RAK5010
# Use this for the 8mb external flash if chip is installed in board # 'address' : 0x60000000, # put this in external spiflash (see below) # 'page_size' : 4096, # 'pages' : 2048, # Entire 8MB of external flash # 'flash_available' : 512 - ((31 + 8 + 2)*4) # Softdevice uses 31 pages of flash, bootloader 8, FS 2. Each page is 4 kb. }, }; devices = { 'LED1' : { 'pin' : 'D12' }, # IS25WP064A QSPI flash # 'SPIFLASH' : { # Chip is not installed in board # 'pin_cs' : 'D42', # cs P1.10 # 'pin_sck' : 'D43', # clk P1.11 # 'pin_mosi' : 'D3', # d0 P0.03 # 'pin_miso' : 'D47', # d1 P1.15 # 'pin_wp' : 'D46', # d2 P1.14 # 'pin_rst' : 'D45', # d3 P1.13 # 'size' : 8192*1024, # 8MB # 'memmap_base' : 0x60000000 # map into the address space (in software) # } };
which I expect the commented out lines would relocate the storage to external flash
@parasquid started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ah, looks like it's like this on the RAK5010
which I expect the commented out lines would relocate the storage to external flash