mirror of https://github.com/zmkfirmware/zmk.git
feat(boards): add nrf52833-nosd snippet
Add snippet to build for nRF52833 boards while ignoring the SoftDevice. This is necessary as those boards are memory-constrained.
This commit is contained in:
parent
c9553c31e3
commit
63af296b6e
|
|
@ -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
|
||||||
|
*/
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue