2017-03-22 16:46:17 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
2017-03-22 18:58:19 +01:00
|
|
|
|
|
|
|
if ARCH_BOARD_CLICKER2_STM32
|
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_SPI
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS1 SPI"
|
|
|
|
default n
|
|
|
|
select STM32_SPI3
|
|
|
|
---help---
|
|
|
|
Enable SPI support on mikroBUS1 (STM32 SPI3)
|
2017-03-22 18:58:19 +01:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_SPI
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS2 SPI"
|
|
|
|
default n
|
|
|
|
select STM32_SPI2
|
|
|
|
---help---
|
|
|
|
Enable SPI support on mikroBUS1 (STM32 SPI2)
|
2017-03-22 18:58:19 +01:00
|
|
|
|
2017-03-22 22:20:05 +01:00
|
|
|
config CLICKER2_STM32_MB1_BEE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS1 MRF24J40 BEE"
|
|
|
|
default y
|
|
|
|
depends on IEEE802154_MRF24J40
|
|
|
|
select CLICKER2_STM32_MB1_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for MRF24J40 BEE on mikroBUS1
|
2017-03-22 22:20:05 +01:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_BEE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS2 MRF24J40 BEE"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_MRF24J40
|
|
|
|
select CLICKER2_STM32_MB2_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for MRF24J40 BEE on mikroBUS2
|
2017-03-22 22:20:05 +01:00
|
|
|
|
2017-07-10 05:57:11 +02:00
|
|
|
config CLICKER2_STM32_MRF24J40LH_VERBOSE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "Verbose MRF24J40 lowerhalf"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_MRF24J40 && DEBUG_WIRELESS_INFO
|
|
|
|
---help---
|
|
|
|
Enable verbose syslog for MRF24J40 lowerhalf
|
2017-07-10 05:57:11 +02:00
|
|
|
|
2017-09-15 16:37:55 +02:00
|
|
|
config CLICKER2_STM32_MB1_XBEE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS1 XBee radio"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_XBEE
|
|
|
|
select CLICKER2_STM32_MB1_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for XBee radio on mikroBUS1
|
2017-09-15 16:37:55 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_XBEE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS2 XBee radio"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_XBEE
|
|
|
|
select CLICKER2_STM32_MB2_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for XBee on mikroBUS2
|
2017-09-15 16:37:55 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_XBEELH_VERBOSE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "Verbose XBee lowerhalf"
|
|
|
|
default n
|
|
|
|
depends on IEEE802154_XBEE && DEBUG_WIRELESS_INFO
|
|
|
|
---help---
|
|
|
|
Enable verbose syslog for XBee lowerhalf
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS1 uSD Card Click board"
|
|
|
|
default n
|
|
|
|
select CLICKER2_STM32_MB1_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for uSD click on mikroBUS1
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "mikroBUS2 uSD Card Click board"
|
|
|
|
default n
|
|
|
|
select CLICKER2_STM32_MB2_SPI
|
|
|
|
---help---
|
|
|
|
Enable support for uSD click on mikroBUS2
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
if FS_AUTOMOUNTER
|
|
|
|
if CLICKER2_STM32_MB1_MMCSD
|
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "MB1 MMCSD automounter"
|
|
|
|
default n
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
if CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT
|
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_FSTYPE
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB1 MMCSD file system type"
|
|
|
|
default "vfat"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_BLKDEV
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB1 MMCSD block device"
|
|
|
|
default "/dev/mmcsd0"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_MOUNTPOINT
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB1 MMCSD mount point"
|
|
|
|
default "/mnt/sdcard0"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_DDELAY
|
2017-10-11 14:39:56 +02:00
|
|
|
int "MB1 MMCSD debounce delay (milliseconds)"
|
|
|
|
default 1000
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB1_MMCSD_AUTOMOUNT_UDELAY
|
2017-10-11 14:39:56 +02:00
|
|
|
int "MB1 MMCSD unmount retry delay (milliseconds)"
|
|
|
|
default 2000
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
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 14:39:56 +02:00
|
|
|
bool "MB2 MMCSD automounter"
|
|
|
|
default n
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
if CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT
|
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_FSTYPE
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB2 MMCSD file system type"
|
|
|
|
default "vfat"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_BLKDEV
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB2 MMCSD block device"
|
|
|
|
default "/dev/mmcsd0"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_MOUNTPOINT
|
2017-10-11 14:39:56 +02:00
|
|
|
string "MB2 MMCSD mount point"
|
|
|
|
default "/mnt/sdcard0"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_DDELAY
|
2017-10-11 14:39:56 +02:00
|
|
|
int "MB2 MMCSD debounce delay (milliseconds)"
|
|
|
|
default 1000
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT_UDELAY
|
2017-10-11 14:39:56 +02:00
|
|
|
int "MB2 MMCSD unmount retry delay (milliseconds)"
|
|
|
|
default 2000
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
endif # CLICKER2_STM32_MB2_MMCSD_AUTOMOUNT
|
|
|
|
endif # CLICKER2_STM32_MB2_MMCSD
|
|
|
|
|
|
|
|
endif # FS_AUTOMOUNTER
|
|
|
|
|
|
|
|
config CLICKER2_STM32_SYSLOG_FILE
|
2017-10-11 14:39:56 +02:00
|
|
|
bool "Enable file syslog"
|
|
|
|
default n
|
|
|
|
depends on SYSLOG_FILE
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
if CLICKER2_STM32_SYSLOG_FILE
|
|
|
|
|
|
|
|
config CLICKER2_STM32_SYSLOG_FILE_PATH
|
2017-10-11 14:39:56 +02:00
|
|
|
string "Path to syslog file"
|
|
|
|
default "/mnt/sdcard0/nuttx.log"
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
config CLICKER2_STM32_SYSLOG_FILE_DELAY
|
2017-10-11 14:39:56 +02: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
|
2017-10-11 10:15:57 +02:00
|
|
|
|
|
|
|
endif # CLICKER2_STM32_SYSLOG_FILE
|
2017-09-15 16:37:55 +02:00
|
|
|
|
2017-11-22 20:03:58 +01: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-22 18:58:19 +01:00
|
|
|
endif # ARCH_BOARD_CLICKER2_STM32
|