File tree 8 files changed +1373
-283
lines changed
8 files changed +1373
-283
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ menu "Device Drivers"
21
21
22
22
source "drivers/bluetooth/Kconfig"
23
23
24
+ config IEEE802154
25
+ bool
26
+ default n
27
+ default y if NETWORKING_WITH_15_4 || NET_L2_IEEE802154
28
+
24
29
source "drivers/ieee802154/Kconfig"
25
30
26
31
source "drivers/console/Kconfig"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ obj-$(CONFIG_PWM) += pwm/
18
18
obj-$(CONFIG_ADC) += adc/
19
19
obj-$(CONFIG_ETHERNET) += ethernet/
20
20
obj-$(CONFIG_SLIP) += slip/
21
- obj-$(CONFIG_NETWORKING_WITH_15_4 ) += ieee802154/
21
+ obj-$(CONFIG_IEEE802154 ) += ieee802154/
22
22
obj-$(CONFIG_WATCHDOG) += watchdog/
23
23
obj-$(CONFIG_RTC) += rtc/
24
24
obj-$(CONFIG_CLOCK_CONTROL) += clock_control/
Original file line number Diff line number Diff line change 33
33
#
34
34
# IEEE 802.15.4 options
35
35
#
36
- menu "IEEE 802.15.4 Options "
37
- depends on NETWORKING_WITH_15_4
36
+ menu "IEEE 802.15.4 drivers options "
37
+ depends on NETWORKING_WITH_15_4 || NET_L2_IEEE802154
38
38
39
- if NETWORKING_WITH_15_4_TI_CC2520
39
+ config TI_CC2520_LEGACY
40
+ bool "TI CC2520 Driver support"
41
+ depends on NETWORKING_WITH_15_4_TI_CC2520
42
+ default n
43
+
44
+ config TI_CC2520
45
+ bool "TI CC2520 Driver support"
46
+ depends on NET_L2_IEEE802154
47
+ default n
48
+
49
+ if TI_CC2520_LEGACY || TI_CC2520
40
50
41
51
config SYS_LOG_TI_CC2520_LEVEL
42
52
int
@@ -112,6 +122,7 @@ config TI_CC2520_AUTO_CRC
112
122
config TI_CC2520_LINK_DETAILS
113
123
bool "Forward RSSI and link information on reception to upper stack"
114
124
default n
125
+ depends on TI_CC2520_LEGACY
115
126
select TI_CC2520_AUTO_CRC
116
127
help
117
128
If necessary, it will be possible to grab link and RSSI information
@@ -127,7 +138,5 @@ config TI_CC2520_AUTO_ACK
127
138
this feature requires the chip to get hardware filtering on, and
128
139
thus the above stack needs to provide the right information for such
129
140
filtering feature to work.
130
-
131
141
endif
132
-
133
142
endmenu
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ subdir-ccflags-y +=-I${srctree}/net/ip/contiki/os/lib
3
3
subdir-ccflags-y +=-I${srctree}/net/ip/contiki/os
4
4
subdir-ccflags-y +=-I${srctree}/net/ip
5
5
6
- obj-$(CONFIG_NETWORKING_WITH_15_4_TI_CC2520) = ieee802154_cc2520.o
6
+ obj-$(CONFIG_TI_CC2520_LEGACY) += ieee802154_cc2520_legacy.o
7
+ obj-$(CONFIG_TI_CC2520) += ieee802154_cc2520.o
You can’t perform that action at this time.
0 commit comments