Test build: enable both dicts + override flash to 4MB

This commit is contained in:
afiqzudinhadi 2026-06-24 16:08:52 +08:00
parent f16c13835b
commit b8efcb3a83
2 changed files with 29 additions and 2 deletions

View file

@ -44,4 +44,31 @@
zmk,underglow = &led_strip;
};
};
/* Override flash size for build testing — actual hardware may differ */
&flash0 {
reg = <0x00000000 DT_SIZE_M(4)>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
sd_partition: partition@0 {
reg = <0x00000000 0x00026000>;
};
code_partition: partition@26000 {
reg = <0x00026000 0x003c6000>;
};
storage_partition: partition@3ec000 {
reg = <0x003ec000 0x00008000>;
};
boot_partition: partition@3f4000 {
reg = <0x003f4000 0x0000c000>;
};
};
};
// vim: filetype=dts fdm=marker: