Skip to content
Kconfig 2.93 KiB
Newer Older
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if DRIVERS_GENERICRADIO

config GENERICRADIO_UPPER
	bool "Build the upper half driver (access generic radios as char devices)"
	default n
	---help---
		This selection enables support for the upper half character driver to access
		the generic radios.

config GENERICRADIO_SI4463
	bool "Silabs SI4463 transceiver (used in HopeRF RFM26, 433/868/915 MHz)"
	default n
	select SPI
	---help---
		This selection enables support for the SiLabs SI446 / 3HopeRF RFM26 device.
if GENERICRADIO_SI4463

config GENERICRADIO_SI4463_DEFAULT_FREQ
  int "Default frequency (in Hz)"
  default 0
  ---help---
    This sets a frequency at device initialization

config GENERICRADIO_SI4463_DEFAULT_PREAMBLELEN
  int "Default preamble length (in bits)"
  default 32
  ---help---
    This sets a preamble length at device initialization

choice
  prompt "Default sync word"
  default GENERICRADIO_SI4463_DEFAULT_SYNCWORD_NONE

config GENERICRADIO_SI4463_DEFAULT_SYNCWORD_NONE
  bool "None (set in your app)"

config GENERICRADIO_SI4463_DEFAULT_SYNCWORD_A55A
  bool "A55A"

config GENERICRADIO_SI4463_DEFAULT_SYNCWORD_4242
  bool "4242"

config GENERICRADIO_SI4463_DEFAULT_SYNCWORD_A55AA55A
  bool "A55AA55A"

config GENERICRADIO_SI4463_DEFAULT_SYNCWORD_42424242
  bool "42424242"
  
endchoice

config GENERICRADIO_SX1231
	bool "Semtech sx1231/1231h (used in HopeRF RFM69), 433/868/915 MHz)"
	default n
	select SPI
	---help---
		This selection enables support for the Semtech sx1231 device. Used in HopeRF
		RFM69.
if GENERICRADIO_SX1231
config GENERICRADIO_CC1101
	bool "TI cc1101 transceiver (433/868/915 MHz)"
	default n
	select SPI
	---help---
		This selection enables support for the TI cc1101 device.

if GENERICRADIO_CC1101

config GENERICRADIO_CC1101_DEFAULT_FREQ
  default 0
  ---help---
    This sets a frequency at device initialization

config GENERICRADIO_CC1101_DEFAULT_PREAMBLELEN
  int "Default preamble length (in bits)"
  default 0
  ---help---
    This sets a preamble length at device initialization

choice
  prompt "Default sync word"
  default GENERICRADIO_CC1101_DEFAULT_SYNCWORD_NONE

config GENERICRADIO_CC1101_DEFAULT_SYNCWORD_NONE
  bool "None (set in your app)"

config GENERICRADIO_CC1101_DEFAULT_SYNCWORD_A55A
  bool "A55A"

config GENERICRADIO_CC1101_DEFAULT_SYNCWORD_4242
  bool "4242"

config GENERICRADIO_CC1101_DEFAULT_SYNCWORD_A55AA55A
  bool "A55AA55A"

config GENERICRADIO_CC1101_DEFAULT_SYNCWORD_42424242
  bool "42424242"
  
endchoice

Sebastien Lorquet's avatar
Sebastien Lorquet committed
config GENERICRADIO_CC1101_DEFAULT_DATARATE
  int "Default data rate (in bps)"
  default 0
  ---help---
    This sets a data rate at device initialization

config GENERICRADIO_NRF24L01
	bool "Nordic NRF24L01 transceiver (2.4 GHz)"
	default n
	select SPI
	---help---
		This selection enables support for the TI cc1101 device.

endif # DRIVERS_GENERICRADIO