Skip to content

Commit 818917c

Browse files
Merge pull request #7 from Zephyr4Microchip/mchp_pic32cxbz_154
Microchip 802.15.4 Support for PIC32CX-BZ2 and PIC32CX-BZ6 devices.
2 parents b7096e5 + cd2fbbb commit 818917c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1556
-23
lines changed

boards/microchip/pic32wm/pic32wm_bz6204_curiosity/Kconfig.defconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ config IDLE_STACK_SIZE
1313
default 512
1414

1515
endif # BT
16+
17+
if IEEE802154
18+
19+
config FPU
20+
default y
21+
22+
config MAIN_STACK_SIZE
23+
default 4096
24+
25+
endif # IEEE802154

boards/microchip/pic32wm/pic32wm_bz6204_curiosity/pic32wm_bz6204_curiosity.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
zephyr,code-partition = &code_partition;
2323
zephyr,bt-hci = &bt_hci_microchip;
2424
zephyr,bt-c2h-uart = &sercom0;
25+
zephyr,ieee802154 = &ieee802154;
2526
};
2627

2728
leds {
@@ -183,6 +184,10 @@
183184
status = "okay";
184185
};
185186

187+
&ieee802154 {
188+
status = "okay";
189+
};
190+
186191

187192
&flash0 {
188193
partitions {

boards/microchip/pic32wm/pic32wm_bz6204_curiosity/pic32wm_bz6204_curiosity.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ supported:
2222
- rtc
2323
- spi
2424
- uart
25+
- ieee802154
26+
- netif:openthread
2527
vendor: microchip

boards/microchip/wbz/wbz450_curiosity/Kconfig.defconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ config IDLE_STACK_SIZE
1313
default 512
1414

1515
endif # BT
16+
17+
if IEEE802154
18+
19+
config FPU
20+
default y
21+
22+
config MAIN_STACK_SIZE
23+
default 4096
24+
25+
endif # IEEE802154

boards/microchip/wbz/wbz450_curiosity/wbz450_curiosity.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
zephyr,code-partition = &code_partition;
2222
zephyr,bt-hci = &bt_hci_microchip;
2323
zephyr,bt-c2h-uart = &sercom0;
24+
zephyr,ieee802154 = &ieee802154;
2425
};
2526

2627
leds {
@@ -88,6 +89,10 @@
8889
status = "okay";
8990
};
9091

92+
&ieee802154 {
93+
status = "okay";
94+
};
95+
9196
&trng {
9297
status = "okay";
9398
};

boards/microchip/wbz/wbz450_curiosity/wbz450_curiosity.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ supported:
2121
- rtc
2222
- trng
2323
- uart
24+
- ieee802154
25+
- netif:openthread
2426
vendor: microchip

boards/microchip/wbz/wbz451_curiosity/Kconfig.defconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@ config MAIN_STACK_SIZE
1111

1212
config IDLE_STACK_SIZE
1313
default 512
14+
endif
1415

15-
endif # BT
16+
if IEEE802154
17+
config FPU
18+
default y
19+
config MAIN_STACK_SIZE
20+
default 4096
21+
endif # IEEE802154

boards/microchip/wbz/wbz451_curiosity/wbz451_curiosity.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
zephyr,code-partition = &code_partition;
2323
zephyr,bt-hci = &bt_hci_microchip;
2424
zephyr,bt-c2h-uart = &sercom0;
25+
zephyr,ieee802154 = &ieee802154;
2526
};
2627

2728
leds {
@@ -149,6 +150,10 @@
149150
status = "okay";
150151
};
151152

153+
&ieee802154 {
154+
status = "okay";
155+
};
156+
152157
&trng {
153158
status = "okay";
154159
};

boards/microchip/wbz/wbz451_curiosity/wbz451_curiosity.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ supported:
2323
- spi
2424
- trng
2525
- uart
26+
- ieee802154
27+
- netif:openthread
2628
vendor: microchip

boards/microchip/wbz/wbz451hpe_curiosity/Kconfig.defconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,16 @@ config IDLE_STACK_SIZE
1616
default 512
1717

1818
endif # BT
19+
20+
if IEEE802154
21+
22+
config HPA_SUPPORTED
23+
default y
24+
25+
config FPU
26+
default y
27+
28+
config MAIN_STACK_SIZE
29+
default 4096
30+
31+
endif # IEEE802154

0 commit comments

Comments
 (0)