Skip to content
Kconfig 1.58 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)"
		This selection enables support for the SiLabs SI4463 / HopeRF 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_CHSPC
  int "Default channel spacing (in Hz/1000)"
  default 100000000
  ---help---
    This sets a channel spacing 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

endif # DRIVERS_GENERICRADIO