diff --git a/app/snippets/nrf52833-nosd/nrf52833-nosd.overlay b/app/snippets/nrf52833-nosd/nrf52833-nosd.overlay new file mode 100644 index 00000000000..8eb416938e6 --- /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 = ; + }; + /* + * 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 00000000000..f20ace16da1 --- /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