forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
141 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# | ||
# 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_DMA | ||
bool "DMA" | ||
default n | ||
select ARCH_DMA | ||
|
||
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_I2C_DMA | ||
bool "I2C DMA support" | ||
default n | ||
depends on BL602_DMA | ||
---help--- | ||
Select to enable DMA SPI transfers | ||
|
||
config BL602_SPI0 | ||
bool "SPI0" | ||
|
||
config BL602_SPI_DMA | ||
bool "SPI DMA support" | ||
default n | ||
depends on BL602_DMA | ||
---help--- | ||
Select to enable DMA SPI transfers | ||
|
||
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_WORKQUEUE | ||
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_WORKQUEUE | ||
depends on BL602_WIRELESS | ||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters