Skip to content

Commit

Permalink
Enable all storage on nRF52840-DK tock#3098
Browse files Browse the repository at this point in the history
Increase the userspace storage of the nRF52840-DK to use all of the available external flash on the board. New flash regions are as follows:

Kernel: 0-0x60000 (384 Kb)
Userspace: 0x60000-0x4000000 (63.625 Mb)
For a total of 64Mb.
  • Loading branch information
TheConner committed Jul 20, 2022
1 parent 4a28b35 commit de7fa4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boards/nordic/nrf52840dk/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,10 @@ pub unsafe fn main() {
board_kernel,
capsules::nonvolatile_storage_driver::DRIVER_NUM,
mx25r6435f,
0x60000, // Start address for userspace accessible region
0x20000, // Length of userspace accessible region
0, // Start address of kernel region
0x60000, // Length of kernel region
0x60000, // Start address for userspace accessible region
0x3FA0000, // Length of userspace accessible region
0, // Start address of kernel region
0x60000, // Length of kernel region
)
.finalize(components::nv_storage_component_helper!(
capsules::mx25r6435f::MX25R6435F<
Expand Down

0 comments on commit de7fa4d

Please sign in to comment.