nuttx/boards/arm/samv7/same70-xplained/Kconfig
Petro Karashchenko f32ce9d930 boards/arm/samv7: reorganize code to common folder
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-31 16:45:30 +08:00

65 lines
1.4 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_BOARD_SAME70_XPLAINED
config SAME70XPLAINED_CLICKSHIELD
bool "Mikroe Click Shield"
default n
---help---
In the mrf24j40-starhub configuration, a click shield from
MikroElectronika was used along with a Click "Bee" module. The
click shield supports two click shields.
config SAME70XPLAINED_MB1_SPI
bool
default n
config SAME70XPLAINED_MB2_SPI
bool
default n
choice
prompt "mikroBUS1 Click"
depends on SAME70XPLAINED_CLICKSHIELD
default SAME70XPLAINED_MB1_NONE
config SAME70XPLAINED_MB1_NONE
bool "None"
config SAME70XPLAINED_MB1_BEE
bool "MRF24J40 Bee in mikroBUS1"
depends on IEEE802154_MRF24J40
select SAME70XPLAINED_MB1_SPI
config SAME70XPLAINED_MB1_XBEE
bool "XBee in mikroBUS1"
depends on IEEE802154_XBEE
select SAME70XPLAINED_MB1_SPI
endchoice # mikroBUS1 Click
choice
prompt "mikroBUS2 Click"
depends on SAME70XPLAINED_CLICKSHIELD
default SAME70XPLAINED_MB2_NONE
config SAME70XPLAINED_MB2_NONE
bool "None"
config SAME70XPLAINED_MB2_BEE
bool "MRF24J40 Bee in mikroBUS2"
depends on IEEE802154_MRF24J40
select SAME70XPLAINED_MB2_SPI
config SAME70XPLAINED_MB2_XBEE
bool "XBee in mikroBUS2"
depends on IEEE802154_XBEE
select SAME70XPLAINED_MB2_SPI
endchoice # mikroBUS2 Click
endif # ARCH_BOARD_SAME70_XPLAINED