Skip to content

Commit 42e8f2d

Browse files
drivers: iee802154: Add iee802154 driver for PIC32CX BZ2/BZ6
Add iee802154 driver for Microchip PIC32CX BZ2 and BZ6 series Signed-off-by: Amaranadhreddy Maddireddy <[email protected]>
1 parent 1f2443c commit 42e8f2d

File tree

5 files changed

+1324
-0
lines changed

5 files changed

+1324
-0
lines changed

drivers/ieee802154/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ zephyr_library_sources_ifdef(CONFIG_IEEE802154_NRF5 ieee802154_nrf5.c)
2121
zephyr_library_sources_ifdef(CONFIG_IEEE802154_RF2XX ieee802154_rf2xx.c)
2222
zephyr_library_sources_ifdef(CONFIG_IEEE802154_RF2XX ieee802154_rf2xx_iface.c)
2323
zephyr_library_sources_ifdef(CONFIG_IEEE802154_TELINK_B91 ieee802154_b91.c)
24+
zephyr_library_sources_ifdef(CONFIG_IEEE802154_PIC32CX_BZ ieee802154_mchp_pic32cx_bz.c)

drivers/ieee802154/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ source "drivers/ieee802154/Kconfig.esp32"
9292

9393
source "drivers/ieee802154/Kconfig.uart_pipe"
9494

95+
source "drivers/ieee802154/Kconfig.mchp_pic32cx_bz"
96+
9597
config IEEE802154_CSL_ENDPOINT
9698
bool "Support for CSL Endpoint"
9799
help
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Microchip PIC32CX_BZ configuration options
2+
3+
# Copyright (c) 2025 Microchip
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
7+
menuconfig IEEE802154_PIC32CX_BZ
8+
bool "Microchip PIC32CX_BZ Driver support"
9+
default y
10+
depends on DT_HAS_MICROCHIP_PIC32CX_BZ_IEEE802154_ENABLED
11+
#select MCHP_IEEE802154_PHY_DRIVER
12+
13+
if IEEE802154_PIC32CX_BZ
14+
15+
config IEEE802154_PIC32CX_BZ_RX_STACK_SIZE
16+
int "Driver's internal RX thread stack size"
17+
default 800
18+
help
19+
This option sets the driver's stack size for its internal RX thread.
20+
The default value should be sufficient, but in case it proves to be
21+
a too little one, this option makes it easy to play with the size.
22+
23+
config IEEE802154_PIC32CX_BZ_INIT_PRIO
24+
int "RF2X initialization priority"
25+
default 80
26+
help
27+
Set the initialization priority number. Do not mess with it unless
28+
you know what you are doing. It has to start before the net stack.
29+
30+
config IEEE802154_PIC32CX_BZ_CRYPTO
31+
bool "Radio Interface layer cyptography"
32+
default n
33+
help
34+
This helps encryption of Enhanced ACK frame
35+
36+
config IEEE802154_PIC32CX_BZ_CARRIER_FUNCTIONS
37+
bool "Radio Interface layer carrier functions"
38+
default n
39+
help
40+
This helps enabling continuous wave carrier functions
41+
endif

0 commit comments

Comments
 (0)