afe5f706f6
cc1101: Changes from review of last PR. remove gpio remove cc1101 frame len remove FLAGS_RXONLY flags add cc1101 function remove some waring add cc1101 poll function add cc1101 register add cc1101 isr read data add cc1101 spi deviceId add cc1101 init2 add wait cc1101 chip ready raw init cc1101
97 lines
2.3 KiB
Plaintext
97 lines
2.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if DRIVERS_WIRELESS
|
|
|
|
config WL_CC1101
|
|
bool "CC1101 RF transceiver support"
|
|
default n
|
|
select SPI
|
|
select SCHED_HPWORK
|
|
select SCHED_LPWORK
|
|
|
|
if WL_CC1101
|
|
|
|
config CC1101_SPIDEV
|
|
int "SPI bus number"
|
|
default 2
|
|
---help---
|
|
Selects the SPI bus number identying that SPI interface that
|
|
connects the CC1101 to the MCU.
|
|
|
|
endif
|
|
|
|
menuconfig WL_CC3000
|
|
bool "CC3000 Wireless Module support"
|
|
default n
|
|
select SPI
|
|
|
|
source drivers/wireless/cc3000/Kconfig
|
|
source drivers/wireless/spirit/Kconfig
|
|
|
|
menuconfig DRIVERS_IEEE802154
|
|
bool "IEEE 802.15.4 Device Support"
|
|
default n
|
|
---help---
|
|
This directory holds implementations of IEEE802.15.4 device drivers.
|
|
|
|
source drivers/wireless/ieee802154/Kconfig
|
|
|
|
menuconfig DRIVERS_IEEE80211
|
|
bool "IEEE 802.11 Device Support"
|
|
default n
|
|
---help---
|
|
This directory holds implementations of IEEE802.11 device drivers.
|
|
|
|
source drivers/wireless/ieee80211/Kconfig
|
|
|
|
config WL_NRF24L01
|
|
bool "nRF24l01+ transceiver support"
|
|
default n
|
|
select SPI
|
|
---help---
|
|
This options adds driver support for the Nordic nRF24L01+ chip.
|
|
|
|
if WL_NRF24L01
|
|
|
|
config WL_NRF24L01_DFLT_ADDR_WIDTH
|
|
int "Default address width"
|
|
default 5
|
|
range 3 5
|
|
---help---
|
|
Default address width to be used by the nRF24l01+ driver.
|
|
Note that this default can be changed through the driver API.
|
|
|
|
config WL_NRF24L01_CHECK_PARAMS
|
|
bool "Check call parameters"
|
|
default y
|
|
---help---
|
|
This option adds some sanity check code to parameters given in the
|
|
driver API functions. If this option is disabled, parameter
|
|
values are passed 'as is' to the module hardware registers.
|
|
|
|
config WL_NRF24L01_RXSUPPORT
|
|
bool "Support messages reception"
|
|
default y
|
|
---help---
|
|
If this opion is disabled the driver supports only the transmission of messages.
|
|
Reception of messages will be disabled (and corresponding functions removed).
|
|
Note: this option is intended to reduce driver code size for 'transmission
|
|
only' devices.
|
|
|
|
if WL_NRF24L01_RXSUPPORT
|
|
|
|
config WL_NRF24L01_RXFIFO_LEN
|
|
int "RX fifo length"
|
|
default 128
|
|
range 34 2048
|
|
---help---
|
|
Length of the software based fifo used to store content of
|
|
received messages.
|
|
|
|
endif # WL_NRF24L01_RXSUPPORT
|
|
endif # WL_NRF24L01
|
|
endif # DRIVERS_WIRELESS
|