incubator-nuttx/boards/arm/stm32/clicker2-stm32/Kconfig

179 lines
4.3 KiB
Plaintext
Raw Normal View History

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
2017-03-23 01:58:19 +08:00
if ARCH_BOARD_CLICKER2_STM32
config CLICKER2_STM32_MB1_SPI
2017-10-11 20:39:56 +08:00
bool "mikroBUS1 SPI"
default n
select STM32_SPI3
---help---
Enable SPI support on mikroBUS1 (STM32 SPI3)
2017-03-23 01:58:19 +08:00
config CLICKER2_STM32_MB2_SPI
2017-10-11 20:39:56 +08:00
bool "mikroBUS2 SPI"
default n
select STM32_SPI2
---help---
Enable SPI support on mikroBUS1 (STM32 SPI2)
2017-03-23 01:58:19 +08:00
config CLICKER2_STM32_MB1_BEE
2017-10-11 20:39:56 +08:00
bool "mikroBUS1 MRF24J40 BEE"
default y
depends on IEEE802154_MRF24J40
select CLICKER2_STM32_MB1_SPI
---help---
Enable support for MRF24J40 BEE on mikroBUS1
config CLICKER2_STM32_MB2_BEE
2017-10-11 20:39:56 +08:00
bool "mikroBUS2 MRF24J40 BEE"
default n
depends on IEEE802154_MRF24J40
select CLICKER2_STM32_MB2_SPI
---help---
Enable support for MRF24J40 BEE on mikroBUS2
config CLICKER2_STM32_MRF24J40LH_VERBOSE
2017-10-11 20:39:56 +08:00
bool "Verbose MRF24J40 lowerhalf"
default n
depends on IEEE802154_MRF24J40 && DEBUG_WIRELESS_INFO
---help---
Enable verbose syslog for MRF24J40 lowerhalf
Merged in merlin17/nuttx/xbee (pull request #484) drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface * drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev * configs/same70-xplained: Starts adding support for XBee radio * drivers/wireless/ieee802154/xbee: More structuring of XBee driver * drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2 * drivers/wireless/ieee802154/xbee: More XBee MAC code * configs/clicker2-stm32: More work to add XBee radio support * drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors * configs/clicker2-stm32: Adjustments to XBee click module support * drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields * drivers/xbee: XBee network device now passes MAC events via IOCTL * drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic * configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic * drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV * drivers/xbee: Supports MAC RESET.request primitive * drivers/xbee: Exposes generic AT query to the rest of driver * drivers/xbee: Sets local values when writing setting change to Xbee device * drivers/xbee: Finish association logic * drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame * drivers/xbee: Finishes transmit/receive logic * drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c * drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 22:37:55 +08:00
config CLICKER2_STM32_MB1_XBEE
2017-10-11 20:39:56 +08:00
bool "mikroBUS1 XBee radio"
default n
depends on IEEE802154_XBEE
select CLICKER2_STM32_MB1_SPI
---help---
Enable support for XBee radio on mikroBUS1
Merged in merlin17/nuttx/xbee (pull request #484) drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface * drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev * configs/same70-xplained: Starts adding support for XBee radio * drivers/wireless/ieee802154/xbee: More structuring of XBee driver * drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2 * drivers/wireless/ieee802154/xbee: More XBee MAC code * configs/clicker2-stm32: More work to add XBee radio support * drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors * configs/clicker2-stm32: Adjustments to XBee click module support * drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields * drivers/xbee: XBee network device now passes MAC events via IOCTL * drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic * configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic * drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV * drivers/xbee: Supports MAC RESET.request primitive * drivers/xbee: Exposes generic AT query to the rest of driver * drivers/xbee: Sets local values when writing setting change to Xbee device * drivers/xbee: Finish association logic * drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame * drivers/xbee: Finishes transmit/receive logic * drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c * drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 22:37:55 +08:00
config CLICKER2_STM32_MB2_XBEE
2017-10-11 20:39:56 +08:00
bool "mikroBUS2 XBee radio"
default n
depends on IEEE802154_XBEE
select CLICKER2_STM32_MB2_SPI
---help---
Enable support for XBee on mikroBUS2
Merged in merlin17/nuttx/xbee (pull request #484) drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface * drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev * configs/same70-xplained: Starts adding support for XBee radio * drivers/wireless/ieee802154/xbee: More structuring of XBee driver * drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2 * drivers/wireless/ieee802154/xbee: More XBee MAC code * configs/clicker2-stm32: More work to add XBee radio support * drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors * configs/clicker2-stm32: Adjustments to XBee click module support * drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields * drivers/xbee: XBee network device now passes MAC events via IOCTL * drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic * configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic * drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV * drivers/xbee: Supports MAC RESET.request primitive * drivers/xbee: Exposes generic AT query to the rest of driver * drivers/xbee: Sets local values when writing setting change to Xbee device * drivers/xbee: Finish association logic * drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame * drivers/xbee: Finishes transmit/receive logic * drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c * drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 22:37:55 +08:00
config CLICKER2_STM32_XBEELH_VERBOSE
2017-10-11 20:39:56 +08:00
bool "Verbose XBee lowerhalf"
default n
depends on IEEE802154_XBEE && DEBUG_WIRELESS_INFO
---help---
Enable verbose syslog for XBee lowerhalf
config CLICKER2_STM32_MB1_MMCSD
2017-10-11 20:39:56 +08:00
bool "mikroBUS1 uSD Card Click board"
default n
select CLICKER2_STM32_MB1_SPI
---help---
Enable support for uSD click on mikroBUS1
config CLICKER2_STM32_MB2_MMCSD
2017-10-11 20:39:56 +08:00
bool "mikroBUS2 uSD Card Click board"
default n
select CLICKER2_STM32_MB2_SPI
---help---
Enable support for uSD click on mikroBUS2
if FS_AUTOMOUNTER
if CLICKER2_STM32_MB1_MMCSD
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT
2017-10-11 20:39:56 +08:00
bool "MB1 MMCSD automounter"
default n
if CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_FSTYPE
2017-10-11 20:39:56 +08:00
string "MB1 MMCSD file system type"
default "vfat"
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_BLKDEV
2017-10-11 20:39:56 +08:00
string "MB1 MMCSD block device"
default "/dev/mmcsd0"
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_MOUNTPOINT
2017-10-11 20:39:56 +08:00
string "MB1 MMCSD mount point"
default "/mnt/sdcard0"
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_DDELAY
2017-10-11 20:39:56 +08:00
int "MB1 MMCSD debounce delay (milliseconds)"
default 1000
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_UDELAY
2017-10-11 20:39:56 +08:00
int "MB1 MMCSD unmount retry delay (milliseconds)"
default 2000
endif # CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT
endif # CLICKER2_STM32_MB1_MMCSD
if CLICKER2_STM32_MB2_MMCSD
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT
2017-10-11 20:39:56 +08:00
bool "MB2 MMCSD automounter"
default n
if CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_FSTYPE
2017-10-11 20:39:56 +08:00
string "MB2 MMCSD file system type"
default "vfat"
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_BLKDEV
2017-10-11 20:39:56 +08:00
string "MB2 MMCSD block device"
default "/dev/mmcsd0"
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_MOUNTPOINT
2017-10-11 20:39:56 +08:00
string "MB2 MMCSD mount point"
default "/mnt/sdcard0"
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_DDELAY
2017-10-11 20:39:56 +08:00
int "MB2 MMCSD debounce delay (milliseconds)"
default 1000
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_UDELAY
2017-10-11 20:39:56 +08:00
int "MB2 MMCSD unmount retry delay (milliseconds)"
default 2000
endif # CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT
endif # CLICKER2_STM32_MB2_MMCSD
endif # FS_AUTOMOUNTER
config CLICKER2_STM32_SYSLOG_FILE
2017-10-11 20:39:56 +08:00
bool "Enable file syslog"
default n
depends on SYSLOG_FILE
if CLICKER2_STM32_SYSLOG_FILE
config CLICKER2_STM32_SYSLOG_FILE_PATH
2017-10-11 20:39:56 +08:00
string "Path to syslog file"
default "/mnt/sdcard0/nuttx.log"
config CLICKER2_STM32_SYSLOG_FILE_DELAY
2017-10-11 20:39:56 +08:00
int "Delay time(ms) for syslog file"
default 2500
---help---
If the file used for syslog is on an SD card, the device may need time
to finish mounting the file system. This option selects the amount of
time in milliseconds for the system to wait before attempting to setup
the syslog file
endif # CLICKER2_STM32_SYSLOG_FILE
Merged in merlin17/nuttx/xbee (pull request #484) drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee driver emulates mac802154 interface * drivers/wireless/xbee: Adds xbee_netdev. Very similar to mac802154_netdev * configs/same70-xplained: Starts adding support for XBee radio * drivers/wireless/ieee802154/xbee: More structuring of XBee driver * drivers/wireless/ieee802154/xbee: More Xbee work. Starts adding support on Clicker2 * drivers/wireless/ieee802154/xbee: More XBee MAC code * configs/clicker2-stm32: More work to add XBee radio support * drivers/wireless/ieee802154/xbee: Most of driver is now structured. No build errors * configs/clicker2-stm32: Adjustments to XBee click module support * drivers/xbee: Changes md_ prefix to xd_ prefix for xbeenet_driver_s fields * drivers/xbee: XBee network device now passes MAC events via IOCTL * drivers/xbee: Support querying device for parameters, setting parameters, and structures association/startpan logic * configs/clicker2-stm32: Fixes Xbee lower half ATTN poll logic * drivers/xbee: Removes dependce on CONFIG_IEEE802154_NETDEV * drivers/xbee: Supports MAC RESET.request primitive * drivers/xbee: Exposes generic AT query to the rest of driver * drivers/xbee: Sets local values when writing setting change to Xbee device * drivers/xbee: Finish association logic * drivers/xbee: Adds xbee_get_mhrlen( ) allocating enough space for API frame header to frame * drivers/xbee: Finishes transmit/receive logic * drivers/xbee: Fixes xbee_netdev to match logic in mac802154_netdev.c * drivers/xbee: Rearranges logic to prevent a loop condition where recursion could potentially occur to the point of deadlocking the system Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-15 22:37:55 +08:00
config CLICKER2_STM32_RNDIS_MACADDR
hex "RNDIS MAC address"
default 0xfadedeadbeef
depends on RNDIS
---help---
If the hardware has no built-in MAC address then the fixed,
software-assigned MAC address MAC address must provided
with this selection.
2017-03-23 01:58:19 +08:00
endif # ARCH_BOARD_CLICKER2_STM32