mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 02:32:54 +08:00
107 lines
1.9 KiB
Plaintext
107 lines
1.9 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
comment "BL602 Configuration Options"
|
|
|
|
menu "BL602 Peripheral Support"
|
|
|
|
config BL602_HAVE_UART0
|
|
bool "UART0"
|
|
select BL602_UART0
|
|
select ARCH_HAVE_UART0
|
|
select UART0_SERIALDRIVER
|
|
select ARCH_HAVE_SERIAL_TERMIOS
|
|
select ARCH_HAVE_PWM_MULTICHAN
|
|
|
|
config BL602_UART0
|
|
bool
|
|
default n
|
|
|
|
config BL602_HAVE_UART1
|
|
bool "UART1"
|
|
select BL602_UART1
|
|
select ARCH_HAVE_UART1
|
|
select UART1_SERIALDRIVER
|
|
select ARCH_HAVE_SERIAL_TERMIOS
|
|
|
|
config BL602_UART1
|
|
bool
|
|
default n
|
|
|
|
config BL602_TIMER0
|
|
bool "TIMER0"
|
|
|
|
config BL602_TIMER1
|
|
bool "TIMER1"
|
|
|
|
config BL602_PWM0
|
|
bool "PWM0"
|
|
|
|
config BL602_I2C0
|
|
bool "I2C0"
|
|
|
|
config BL602_SPI0
|
|
bool "SPI0"
|
|
|
|
config BL602_RTC
|
|
bool "RTC"
|
|
|
|
config BL602_RTC_USE_XTAL32K
|
|
bool "Select enable RTC XTAL32K clock source, otherwise use internal RC32K"
|
|
default n
|
|
depends on BL602_RTC
|
|
|
|
config BL602_SPIFLASH
|
|
bool "SPI Flash"
|
|
default n
|
|
select MTD
|
|
select MTD_PARTITION
|
|
|
|
menu "SPI Flash configuration"
|
|
depends on BL602_SPIFLASH
|
|
|
|
config BL602_MTD_OFFSET
|
|
hex "MTD base address in SPI Flash"
|
|
default 0x001c5000
|
|
---help---
|
|
MTD base address in SPI Flash.
|
|
|
|
config BL602_MTD_SIZE
|
|
hex "MTD size in SPI Flash"
|
|
default 0x30000
|
|
---help---
|
|
MTD size in SPI Flash.
|
|
|
|
endmenu # BL602_SPIFLASH
|
|
|
|
config BL602_WIRELESS
|
|
bool "Wireless & WiFi Support"
|
|
depends on SCHED_HPWORK
|
|
depends on SCHED_LPWORK
|
|
default n
|
|
|
|
config BL602_WIRELESS_DEBUG
|
|
bool "Wireless Debug Log"
|
|
depends on BL602_WIRELESS
|
|
default n
|
|
|
|
config BL602_WIRELESS_CONTRY_CODE
|
|
string "WiFi Contry Code"
|
|
depends on BL602_WIRELESS
|
|
default "CN"
|
|
|
|
config BL602_NET_MULTI_INTERFACE
|
|
bool "STA and AP as independent interfaces"
|
|
depends on BL602_WIRELESS
|
|
default n
|
|
|
|
config BL602_BLE_CONTROLLER
|
|
bool "ble controller support"
|
|
default n
|
|
depends on !DISABLE_MQUEUE
|
|
depends on SCHED_HPWORK
|
|
depends on BL602_WIRELESS
|
|
endmenu
|