docs: readme.md

This commit is contained in:
Jeremy Janella
2026-08-15 17:38:02 -04:00
parent 293cfbd35f
commit 34d1929ac2
13 changed files with 5800 additions and 1646 deletions
Binary file not shown.
@@ -180,7 +180,7 @@ set_target_properties(${DEVICETREE_TARGET}
"DT_NODELABEL|boot_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@0"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|label" "mcuboot"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|reg" "0;32768"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|reg" "0;49152"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|zephyr,deferred-init" "False"
@@ -188,50 +188,50 @@ set_target_properties(${DEVICETREE_TARGET}
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|ADDR" "0x8000000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|SIZE" "0x8000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0|SIZE" "0xc000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@0" "0x8000000"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800" TRUE
"DT_NODELABEL|slot0_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|label" "image-0"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|reg" "32768;65536"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|ADDR" "0x8008000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800|SIZE" "0x10000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800" "0x8008800"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800" TRUE
"DT_NODELABEL|slot1_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|label" "image-1"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|reg" "65536;98304"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|ADDR" "0x8010000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800|SIZE" "0x18000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800" "0x8014800"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000" TRUE
"DT_NODELABEL|storage_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|label" "storage"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|reg" "98304;131072"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|ADDR" "0x8018000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000|SIZE" "0x20000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000" "0x801f000"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000" TRUE
"DT_NODELABEL|slot0_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|label" "image-0"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|reg" "49152;81920"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|ADDR" "0x800c000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000|SIZE" "0x14000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000" "0x800c000"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000" TRUE
"DT_NODELABEL|slot1_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|label" "image-1"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|reg" "81920;114688"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|ADDR" "0x8014000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000|SIZE" "0x1c000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000" "0x8014000"
"DT_NODE|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000" TRUE
"DT_NODELABEL|storage_partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|label" "storage"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|read-only" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|reg" "114688;131072"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|compatible" "zephyr,mapped-partition"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|dma-coherent" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|zephyr,deferred-init" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|wakeup-source" "False"
"DT_PROP|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|zephyr,pm-device-runtime-auto" "False"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|NUM" "1"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|ADDR" "0x801c000"
"DT_REG|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000|SIZE" "0x20000"
"DT_UNIT_ADDR|/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000" "0x801c000"
"DT_NODE|/soc/flash-controller@40022000/flash@1fff7000" TRUE
"DT_NODELABEL|st_nvm_user_otp" "/soc/flash-controller@40022000/flash@1fff7000"
"DT_PROP|/soc/flash-controller@40022000/flash@1fff7000|reg" "536834048;1024"
@@ -2120,7 +2120,7 @@ set_target_properties(${DEVICETREE_TARGET}
"DT_COMP|st,stm32g4-flash-controller" "/soc/flash-controller@40022000"
"DT_COMP|st,stm32-nv-flash" "/soc/flash-controller@40022000/flash@8000000"
"DT_COMP|soc-nv-flash" "/soc/flash-controller@40022000/flash@8000000"
"DT_COMP|zephyr,mapped-partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@0;/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800;/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800;/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000"
"DT_COMP|zephyr,mapped-partition" "/soc/flash-controller@40022000/flash@8000000/partitions/partition@0;/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000;/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000;/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000"
"DT_COMP|st,stm32-nvm-otp" "/soc/flash-controller@40022000/flash@1fff7000;/soc/flash-controller@40022000/flash@1fff7500"
"DT_COMP|fixed-layout" "/soc/flash-controller@40022000/flash@1fff7500/nvmem-layout"
"DT_COMP|st,stm32-rcc" "/soc/rcc@40021000"
File diff suppressed because one or more lines are too long
+17 -17
View File
@@ -100,9 +100,9 @@
reg = < 0x50000800 0x400 >; /* in zephyr/dts/arm/st/g4/stm32g4.dtsi:149 */
clocks = < &rcc 0x4c 0x10000 >; /* in zephyr/dts/arm/st/g4/stm32g4.dtsi:150 */
#io-channel-cells = < 0x1 >; /* in zephyr/dts/arm/st/g4/stm32g4.dtsi:152 */
status = "okay"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:205 */
pinctrl-0 = < &dac1_out1_pa4 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:206 */
pinctrl-names = "default"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:207 */
status = "okay"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:204 */
pinctrl-0 = < &dac1_out1_pa4 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:205 */
pinctrl-names = "default"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:206 */
};
/* node '/soc/dac@50001000' defined in zephyr/dts/arm/st/g4/stm32g4.dtsi:155 */
@@ -147,28 +147,28 @@
boot_partition: partition@0 {
compatible = "zephyr,mapped-partition"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:174 */
label = "mcuboot"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:175 */
reg = < 0x0 0x8000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:176 */
reg = < 0x0 0xc000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:176 */
};
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@8800' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:179 */
slot0_partition: partition@8800 {
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@c000' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:179 */
slot0_partition: partition@c000 {
compatible = "zephyr,mapped-partition"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:180 */
label = "image-0"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:181 */
reg = < 0x8000 0x10000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:182 */
reg = < 0xc000 0x14000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:182 */
};
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@14800' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:185 */
slot1_partition: partition@14800 {
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@14000' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:185 */
slot1_partition: partition@14000 {
compatible = "zephyr,mapped-partition"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:186 */
label = "image-1"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:187 */
reg = < 0x10000 0x18000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:188 */
reg = < 0x14000 0x1c000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:188 */
};
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@1f000' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:192 */
storage_partition: partition@1f000 {
compatible = "zephyr,mapped-partition"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:193 */
label = "storage"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:194 */
reg = < 0x18000 0x20000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:195 */
/* node '/soc/flash-controller@40022000/flash@8000000/partitions/partition@1c000' defined in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:191 */
storage_partition: partition@1c000 {
compatible = "zephyr,mapped-partition"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:192 */
label = "storage"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:193 */
reg = < 0x1c000 0x20000 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:194 */
};
};
};
@@ -349,7 +349,7 @@
/* node '/soc/pin-controller@48000000/dac1_out1_pa4' defined in modules/hal/stm32/dts/st/g4/stm32g431r(6-8-b)tx-pinctrl.dtsi:461 */
dac1_out1_pa4: dac1_out1_pa4 {
pinmux = < 0x90 >; /* in modules/hal/stm32/dts/st/g4/stm32g431r(6-8-b)tx-pinctrl.dtsi:462 */
phandle = < 0x3 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:206 */
phandle = < 0x3 >; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:205 */
};
/* node '/soc/pin-controller@48000000/i2c1_scl_pb8' defined in modules/hal/stm32/dts/st/g4/stm32g431r(6-8-b)tx-pinctrl.dtsi:503 */
@@ -553,7 +553,7 @@
iwdg: watchdog@40003000 {
compatible = "st,stm32-watchdog"; /* in zephyr/dts/arm/st/g4/stm32g4.dtsi:357 */
reg = < 0x40003000 0x400 >; /* in zephyr/dts/arm/st/g4/stm32g4.dtsi:358 */
status = "okay"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:201 */
status = "okay"; /* in zephyr/boards/st/nucleo_g431rb/nucleo_g431rb.dts:200 */
};
/* node '/soc/watchdog@40002c00' defined in zephyr/dts/arm/st/g4/stm32g4.dtsi:362 */
@@ -3099,26 +3099,25 @@ stm32_lp_tick_source: &lptim1 {
boot_partition: partition@0 {
compatible = "zephyr,mapped-partition";
label = "mcuboot";
reg = <0x00000000 0x00008000>;
reg = <0x00000000 0x0000C000>;
};
slot0_partition: partition@8800 {
slot0_partition: partition@C000 {
compatible = "zephyr,mapped-partition";
label = "image-0";
reg = <0x00008000 0x00010000>;
reg = <0x0000C000 0x00014000>;
};
slot1_partition: partition@14800 {
slot1_partition: partition@14000 {
compatible = "zephyr,mapped-partition";
label = "image-1";
reg = <0x00010000 0x0018000>;
reg = <0x00014000 0x001C000>;
};
storage_partition: partition@1f000 {
storage_partition: partition@1C000 {
compatible = "zephyr,mapped-partition";
label = "storage";
reg = <0x00018000 0x00020000>;
reg = <0x0001C000 0x00020000>;
};
};
};