Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ports/zephyr-cp/boards/nordic/nrf7002dk/board.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ CONFIG_LOG=n
CONFIG_ASSERT=n
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_BT=n
# Settings only stores BT bond keys here. With BT off, its NVS backend would
# still need storage_partition, which board.overlay removes.
CONFIG_SETTINGS=n
10 changes: 6 additions & 4 deletions ports/zephyr-cp/boards/nordic/nrf7002dk/board.overlay
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
/* Remove slot1 (OTA), expand slot0 to use the space.
* CircuitPython doesn't use OTA updates. */
/* Remove slot1 (OTA) and storage, expand slot0 to use the space.
* CircuitPython doesn't use OTA updates, and nothing here uses the settings
* NVS: CONFIG_BT=n, and CIRCUITPY lives on the external mx25r64. */
&slot0_partition {
/* Shrink mcuboot to 48KB, absorb slot1 + gap before storage */
reg = <0x0000C000 0x000EC000>;
/* Shrink mcuboot to 48KB, absorb slot1 and storage, run to end of flash */
reg = <0x0000C000 0x000F4000>;
};

&boot_partition {
reg = <0x00000000 0x0000C000>;
};

/delete-node/ &slot1_partition;
/delete-node/ &storage_partition;

#include "../../../app.overlay"
Loading