diff options
-rw-r--r-- | app/snippets/nrf52833-nosd/nrf52833-nosd.overlay | 22 | ||||
-rw-r--r-- | app/snippets/nrf52833-nosd/snippet.yml | 6 |
2 files changed, 28 insertions, 0 deletions
diff --git a/app/snippets/nrf52833-nosd/nrf52833-nosd.overlay b/app/snippets/nrf52833-nosd/nrf52833-nosd.overlay new file mode 100644 index 0000000000..8eb416938e --- /dev/null +++ b/app/snippets/nrf52833-nosd/nrf52833-nosd.overlay @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2024 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ + +/delete-node/ &sd_partition; +/delete-node/ &code_partition; + +&flash0 { + partitions { + sd_partition: partition@0 { + reg = <0x0 DT_SIZE_K(4)>; + }; + code_partition: partition@1000 { + reg = <DT_SIZE_K(4) DT_SIZE_K(428)>; + }; + /* + * 32KB storage partition at 0x6c000 is unchanged + */ + }; +}; diff --git a/app/snippets/nrf52833-nosd/snippet.yml b/app/snippets/nrf52833-nosd/snippet.yml new file mode 100644 index 0000000000..f20ace16da --- /dev/null +++ b/app/snippets/nrf52833-nosd/snippet.yml @@ -0,0 +1,6 @@ +# Copyright (c) 2024 The ZMK Contributors +# SPDX-License-Identifier: MIT + +name: nrf52833-nosd +append: + EXTRA_DTC_OVERLAY_FILE: nrf52833-nosd.overlay |