Skip to content

Commit

Permalink
Use NCS Partition manager to put settings in external flash.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkra committed Nov 15, 2023
1 parent ec7b4b7 commit bc34dd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/boards/arm/zswatch_nrf5340/zswatch_nrf5340_cpuapp_3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ CONFIG_FILE_SYSTEM_LITTLEFS=y
CONFIG_LV_Z_USE_FILESYSTEM=y
CONFIG_LV_IMG_CACHE_DEF_SIZE=10

CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=16384
CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=16384

CONFIG_PM_PARTITION_REGION_SETTINGS_STORAGE_EXTERNAL=y
CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y
CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x100000
5 changes: 4 additions & 1 deletion app/boards/nrf5340dk_nrf5340_cpuapp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ CONFIG_FILE_SYSTEM_LITTLEFS=y
CONFIG_LV_Z_USE_FILESYSTEM=y
CONFIG_LV_IMG_CACHE_DEF_SIZE=10

CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=16384
CONFIG_FS_LITTLEFS_FC_HEAP_SIZE=16384

CONFIG_PM_PARTITION_REGION_SETTINGS_STORAGE_EXTERNAL=y
CONFIG_PM_PARTITION_SIZE_SETTINGS_STORAGE=0x100000

0 comments on commit bc34dd4

Please sign in to comment.