File tree Expand file tree Collapse file tree 5 files changed +638
-0
lines changed Expand file tree Collapse file tree 5 files changed +638
-0
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,8 @@ zephyr_sources_ifdef(CONFIG_IEEE802154_CC1200 ieee802154_cc1200.c)
9
9
zephyr_sources_ifdef (CONFIG_IEEE802154_CC13XX_CC26XX ieee802154_cc13xx_cc26xx.c )
10
10
zephyr_sources_ifdef (CONFIG_IEEE802154_RF2XX ieee802154_rf2xx.c )
11
11
zephyr_sources_ifdef (CONFIG_IEEE802154_RF2XX ieee802154_rf2xx_iface.c )
12
+
13
+ if (CONFIG_IEEE802154_GECKO )
14
+ zephyr_sources (ieee802154_gecko.c )
15
+ zephyr_link_libraries (RAIL_LIB )
16
+ endif ()
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ config IEEE802154_RAW_MODE
23
23
24
24
source "drivers/ieee802154/Kconfig.cc2520"
25
25
26
+ source "drivers/ieee802154/Kconfig.gecko"
27
+
26
28
source "drivers/ieee802154/Kconfig.kw41z"
27
29
28
30
source "drivers/ieee802154/Kconfig.mcr20a"
Original file line number Diff line number Diff line change
1
+ # SiLabs Gecko IEEE 802.15.4 Driver configuration options
2
+
3
+ # Copyright (c) 2020 Piotr Mienkowski
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ menuconfig IEEE802154_GECKO
7
+ bool "SiLabs Gecko IEEE 802.15.4 Driver"
8
+ depends on NETWORKING && SOC_GECKO_HAS_IEEE802154_RADIO
9
+ select SOC_GECKO_RAIL_LIB
10
+ select SOC_GECKO_RAIL_LIB_IEEE802154
11
+
12
+ if IEEE802154_GECKO
13
+
14
+ config IEEE802154_GECKO_DRV_NAME
15
+ string "SiLabs Gecko Driver's name"
16
+ default "IEEE802154_GECKO"
17
+ help
18
+ This option sets the driver name. Do not change it unless
19
+ you know what you are doing.
20
+
21
+ config IEEE802154_GECKO_TXPOWER_RAW
22
+ int "Radio TX Power"
23
+ default 254
24
+ help
25
+ Standard transmission power in RAIL raw units. Value 254 indicates the
26
+ highest power level available on the current PA.
27
+
28
+ config IEEE802154_GECKO_INIT_PRIORITY
29
+ int "SiLabs Gecko Driver initialization priority"
30
+ default 80
31
+ help
32
+ Set the initialization priority number. Do not change it unless
33
+ you know what you are doing. It has to start before the net stack.
34
+
35
+ endif # IEEE802154_GECKO
You can’t perform that action at this time.
0 commit comments