Skip to content

Commit 4853375

Browse files
bwitherspoonjukkar
authored andcommitted
drivers: ieee802154: add CC13xx / CC26xx driver
Add IEEE 802.15.4 suuport for TI CC13xx / CC26xx devices. Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
1 parent affddef commit 4853375

File tree

6 files changed

+853
-0
lines changed

6 files changed

+853
-0
lines changed

drivers/ieee802154/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ zephyr_sources_ifdef(CONFIG_IEEE802154_UPIPE ieee802154_uart_pipe.c)
66
zephyr_sources_ifdef(CONFIG_IEEE802154_MCR20A ieee802154_mcr20a.c)
77
zephyr_sources_ifdef(CONFIG_IEEE802154_NRF5 ieee802154_nrf5.c)
88
zephyr_sources_ifdef(CONFIG_IEEE802154_CC1200 ieee802154_cc1200.c)
9+
zephyr_sources_ifdef(CONFIG_IEEE802154_CC13XX_CC26XX ieee802154_cc13xx_cc26xx.c)
910

1011
if(CONFIG_NET_L2_OPENTHREAD)
1112
# This driver calls DEVICE_INIT with the context of openthread. The

drivers/ieee802154/Kconfig

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

3535
source "drivers/ieee802154/Kconfig.cc1200"
3636

37+
source "drivers/ieee802154/Kconfig.cc13xx_cc26xx"
38+
3739
menuconfig IEEE802154_UPIPE
3840
bool "UART PIPE fake radio driver support for QEMU"
3941
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Kconfig.cc13xx_cc26xx - TI CC13xx / CC26xx IEEE 802.15.4 configuration options
2+
#
3+
# Copyright (c) 2019 Brett Witherspoon
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
8+
menuconfig IEEE802154_CC13XX_CC26XX
9+
bool "TI CC13xx / CC26xx IEEE 802.15.4 driver support"
10+
11+
if IEEE802154_CC13XX_CC26XX
12+
13+
config IEEE802154_CC13XX_CC26XX_DRV_NAME
14+
string "TI CC13xx / CC26xx IEEE 802.15.4 driver's name"
15+
default "IEEE802154_0"
16+
help
17+
This option sets the driver name.
18+
19+
config IEEE802154_CC13XX_CC26XX_INIT_PRIO
20+
int "TI CC13xx / CC26xx IEEE 802.15.4 initialization priority"
21+
default 80
22+
help
23+
Set the initialization priority number.
24+
25+
config IEEE802154_CC13XX_CC26XX_RX_STACK_SIZE
26+
int "TI CC13xx / CC26xx IEEE 802.15.4 driver's RX thread stack size"
27+
default 800
28+
help
29+
This option sets the driver's stack size for its internal RX thread.
30+
31+
endif # IEEE802154_CC13XX_CC26XX

0 commit comments

Comments
 (0)