File tree Expand file tree Collapse file tree 7 files changed +143
-3
lines changed Expand file tree Collapse file tree 7 files changed +143
-3
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,13 @@ Building and Running
3838This sample can be found under :bacnet_file: `samples/profiles/b-ld ` in
3939the BACnet tree.
4040
41- The sample can be built for several platforms.
41+ The sample can be built for several platforms - use `west boards ` to
42+ list the supported boards.
4243
4344Compile this sample for the `nucleo_f429zi ` board:
4445
4546 west build -b nucleo_f429zi -p always bacnet/zephyr/samples/profiles/b-ld/
4647
48+ Compile this sample for the `rpi_pico ` board:
49+
50+ west build -b rpi_pico -p always bacnet/zephyr/samples/profiles/b-ld/
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Yonatan Schachter
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ reg = <0x10000000 DT_SIZE_M(2)>;
9+
10+ partitions {
11+ compatible = "fixed-partitions";
12+ #address-cells = <1>;
13+ #size-cells = <1>;
14+
15+ /* Reserved memory for the second stage bootloader */
16+ second_stage_bootloader: partition@0 {
17+ label = "second_stage_bootloader";
18+ reg = <0x00000000 0x100>;
19+ read-only;
20+ };
21+
22+ slot0_partition: partition@100 {
23+ label = "image-0";
24+ reg = <0x100 (DT_SIZE_M(1) - 0xF000)>;
25+ };
26+
27+ storage_partition: partition@1f9000 {
28+ label = "storage";
29+ reg = <0x1F9000 0x00007000>;
30+ };
31+ };
32+ };
Original file line number Diff line number Diff line change @@ -45,9 +45,13 @@ Building and Running
4545This sample can be found under :bacnet_file: `samples/profiles/b-ls ` in
4646the BACnet tree.
4747
48- The sample can be built for several platforms.
48+ The sample can be built for several platforms - use `west boards ` to
49+ list the supported boards.
4950
5051Compile this sample for the `nucleo_f429zi ` board:
5152
5253 west build -b nucleo_f429zi -p always bacnet/zephyr/samples/profiles/b-ls/
5354
55+ Compile this sample for the `rpi_pico ` board:
56+
57+ west build -b rpi_pico -p always bacnet/zephyr/samples/profiles/b-ls/
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Yonatan Schachter
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ reg = <0x10000000 DT_SIZE_M(2)>;
9+
10+ partitions {
11+ compatible = "fixed-partitions";
12+ #address-cells = <1>;
13+ #size-cells = <1>;
14+
15+ /* Reserved memory for the second stage bootloader */
16+ second_stage_bootloader: partition@0 {
17+ label = "second_stage_bootloader";
18+ reg = <0x00000000 0x100>;
19+ read-only;
20+ };
21+
22+ slot0_partition: partition@100 {
23+ label = "image-0";
24+ reg = <0x100 (DT_SIZE_M(1) - 0xF000)>;
25+ };
26+
27+ storage_partition: partition@1f9000 {
28+ label = "storage";
29+ reg = <0x1F9000 0x00007000>;
30+ };
31+ };
32+ };
Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ Building and Running
2020This sample can be found under :bacnet_file: `samples/profiles/b-sa ` in
2121the BACnet tree.
2222
23- The sample can be built for several platforms.
23+ The sample can be built for several platforms. Use `west boards ` to
24+ list the supported boards.
2425
2526Compile this sample for the `nucleo_f429zi ` board:
2627
2728 west build -b nucleo_f429zi -p always bacnet/zephyr/samples/profiles/b-sa/
2829
30+ Compile this sample for the `rpi_pico ` board:
31+
32+ west build -b rpi_pico -p always bacnet/zephyr/samples/profiles/b-sa/
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Yonatan Schachter
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ reg = <0x10000000 DT_SIZE_M(2)>;
9+
10+ partitions {
11+ compatible = "fixed-partitions";
12+ #address-cells = <1>;
13+ #size-cells = <1>;
14+
15+ /* Reserved memory for the second stage bootloader */
16+ second_stage_bootloader: partition@0 {
17+ label = "second_stage_bootloader";
18+ reg = <0x00000000 0x100>;
19+ read-only;
20+ };
21+
22+ slot0_partition: partition@100 {
23+ label = "image-0";
24+ reg = <0x100 (DT_SIZE_M(1) - 0xF000)>;
25+ };
26+
27+ storage_partition: partition@1f9000 {
28+ label = "storage";
29+ reg = <0x1F9000 0x00007000>;
30+ };
31+ };
32+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021 Yonatan Schachter
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ &flash0 {
8+ reg = <0x10000000 DT_SIZE_M(2)>;
9+
10+ partitions {
11+ compatible = "fixed-partitions";
12+ #address-cells = <1>;
13+ #size-cells = <1>;
14+
15+ /* Reserved memory for the second stage bootloader */
16+ second_stage_bootloader: partition@0 {
17+ label = "second_stage_bootloader";
18+ reg = <0x00000000 0x100>;
19+ read-only;
20+ };
21+
22+ slot0_partition: partition@100 {
23+ label = "image-0";
24+ reg = <0x100 (DT_SIZE_M(1) - 0xF000)>;
25+ };
26+
27+ storage_partition: partition@1f9000 {
28+ label = "storage";
29+ reg = <0x1F9000 0x00007000>;
30+ };
31+ };
32+ };
You can’t perform that action at this time.
0 commit comments