Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ config IDLE_STACK_SIZE
default 512

endif # BT

if IEEE802154

config FPU
default y

config MAIN_STACK_SIZE
default 4096

endif # IEEE802154
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,code-partition = &code_partition;
zephyr,bt-hci = &bt_hci_microchip;
zephyr,bt-c2h-uart = &sercom0;
zephyr,ieee802154 = &ieee802154;
};

leds {
Expand Down Expand Up @@ -183,6 +184,10 @@
status = "okay";
};

&ieee802154 {
status = "okay";
};


&flash0 {
partitions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ supported:
- rtc
- spi
- uart
- ieee802154
- netif:openthread
vendor: microchip
10 changes: 10 additions & 0 deletions boards/microchip/wbz/wbz450_curiosity/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ config IDLE_STACK_SIZE
default 512

endif # BT

if IEEE802154

config FPU
default y

config MAIN_STACK_SIZE
default 4096

endif # IEEE802154
5 changes: 5 additions & 0 deletions boards/microchip/wbz/wbz450_curiosity/wbz450_curiosity.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
zephyr,code-partition = &code_partition;
zephyr,bt-hci = &bt_hci_microchip;
zephyr,bt-c2h-uart = &sercom0;
zephyr,ieee802154 = &ieee802154;
};

leds {
Expand Down Expand Up @@ -88,6 +89,10 @@
status = "okay";
};

&ieee802154 {
status = "okay";
};

&trng {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/microchip/wbz/wbz450_curiosity/wbz450_curiosity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ supported:
- rtc
- trng
- uart
- ieee802154
- netif:openthread
vendor: microchip
8 changes: 7 additions & 1 deletion boards/microchip/wbz/wbz451_curiosity/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ config MAIN_STACK_SIZE

config IDLE_STACK_SIZE
default 512
endif

endif # BT
if IEEE802154
config FPU
default y
config MAIN_STACK_SIZE
default 4096
endif # IEEE802154
5 changes: 5 additions & 0 deletions boards/microchip/wbz/wbz451_curiosity/wbz451_curiosity.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,code-partition = &code_partition;
zephyr,bt-hci = &bt_hci_microchip;
zephyr,bt-c2h-uart = &sercom0;
zephyr,ieee802154 = &ieee802154;
};

leds {
Expand Down Expand Up @@ -149,6 +150,10 @@
status = "okay";
};

&ieee802154 {
status = "okay";
};

&trng {
status = "okay";
};
Expand Down
2 changes: 2 additions & 0 deletions boards/microchip/wbz/wbz451_curiosity/wbz451_curiosity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ supported:
- spi
- trng
- uart
- ieee802154
- netif:openthread
vendor: microchip
13 changes: 13 additions & 0 deletions boards/microchip/wbz/wbz451hpe_curiosity/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@ config IDLE_STACK_SIZE
default 512

endif # BT

if IEEE802154

config HPA_SUPPORTED
default y

config FPU
default y

config MAIN_STACK_SIZE
default 4096

endif # IEEE802154
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
zephyr,code-partition = &code_partition;
zephyr,bt-hci = &bt_hci_microchip;
zephyr,bt-c2h-uart = &sercom0;
zephyr,ieee802154 = &ieee802154;
};

leds {
Expand Down Expand Up @@ -148,6 +149,10 @@
status = "okay";
};

&ieee802154 {
status = "okay";
};

&trng {
status = "okay";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ supported:
- spi
- trng
- uart
- ieee802154
- netif:openthread
vendor: microchip
1 change: 1 addition & 0 deletions drivers/ieee802154/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ zephyr_library_sources_ifdef(CONFIG_IEEE802154_NRF5 ieee802154_nrf5.c)
zephyr_library_sources_ifdef(CONFIG_IEEE802154_RF2XX ieee802154_rf2xx.c)
zephyr_library_sources_ifdef(CONFIG_IEEE802154_RF2XX ieee802154_rf2xx_iface.c)
zephyr_library_sources_ifdef(CONFIG_IEEE802154_TELINK_B91 ieee802154_b91.c)
zephyr_library_sources_ifdef(CONFIG_IEEE802154_PIC32CX_BZ ieee802154_mchp_pic32cx_bz.c)
2 changes: 2 additions & 0 deletions drivers/ieee802154/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ source "drivers/ieee802154/Kconfig.esp32"

source "drivers/ieee802154/Kconfig.uart_pipe"

source "drivers/ieee802154/Kconfig.mchp_pic32cx_bz"

config IEEE802154_CSL_ENDPOINT
bool "Support for CSL Endpoint"
help
Expand Down
41 changes: 41 additions & 0 deletions drivers/ieee802154/Kconfig.mchp_pic32cx_bz
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Microchip PIC32CX_BZ configuration options

# Copyright (c) 2025 Microchip
# SPDX-License-Identifier: Apache-2.0


menuconfig IEEE802154_PIC32CX_BZ
bool "Microchip PIC32CX_BZ Driver support"
default y
depends on DT_HAS_MICROCHIP_PIC32CX_BZ_IEEE802154_ENABLED
#select MCHP_IEEE802154_PHY_DRIVER

if IEEE802154_PIC32CX_BZ

config IEEE802154_PIC32CX_BZ_RX_STACK_SIZE
int "Driver's internal RX thread stack size"
default 800
help
This option sets the driver's stack size for its internal RX thread.
The default value should be sufficient, but in case it proves to be
a too little one, this option makes it easy to play with the size.

config IEEE802154_PIC32CX_BZ_INIT_PRIO
int "RF2X initialization priority"
default 80
help
Set the initialization priority number. Do not mess with it unless
you know what you are doing. It has to start before the net stack.

config IEEE802154_PIC32CX_BZ_CRYPTO
bool "Radio Interface layer cyptography"
default n
help
This helps encryption of Enhanced ACK frame

config IEEE802154_PIC32CX_BZ_CARRIER_FUNCTIONS
bool "Radio Interface layer carrier functions"
default n
help
This helps enabling continuous wave carrier functions
endif
Loading
Loading