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_USE_WDS_CONFIG
bool "Use a canned WDS config in drivers/wireless/generic/si4463_config.h"
default n
---help---
This loads the RF configuration from a file generated by Silabs WDS.
(This file is not provided in nuttx, you have to generate it yourself)
The config is applied at initialization time. After this any command
to change the current config will do it regardless of the settings that
were defined by the WDS header.
This feature can be used for faster driver development while all configuration
algorithms have not been sorted out yet.
config GENERICRADIO_SI4463_DEFAULT_FREQ
int "Default frequency (in Hz)"
default 0
---help---
This sets a frequency at device initialization
config GENERICRADIO_SI4463_DEFAULT_RATE
int "Default data rate (in bits/second)"
default 10000
depends on !GENERICRADIO_SI4463_USE_WDS_CONFIG
---help---
This sets a data rate at device initialization
config GENERICRADIO_SI4463_DEFAULT_DEV
int "Default FSK deviation (in Hz)"
default 10000
depends on !GENERICRADIO_SI4463_USE_WDS_CONFIG
---help---
This sets a deviation 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