[BSP] Update stm32f429-apollo Kconfig.
This commit is contained in:
parent
f66e8594d1
commit
4074a3f246
|
@ -17,30 +17,5 @@ config $PKGS_DIR
|
|||
|
||||
source "$RTT_DIR/KConfig"
|
||||
source "$PKGS_DIR/KConfig"
|
||||
|
||||
config RT_USING_EXT_SDRAM
|
||||
bool "Using RT_USING_EXT_SDRAM"
|
||||
default y
|
||||
|
||||
config RT_USING_UART1
|
||||
bool "Using RT_USING_UART1"
|
||||
default y
|
||||
|
||||
config RT_USING_UART2
|
||||
bool "Using RT_USING_UART2"
|
||||
default y
|
||||
|
||||
config RT_USING_UART3
|
||||
bool "Using RT_USING_UART3"
|
||||
default y
|
||||
|
||||
config RT_USING_SPI5
|
||||
bool "Using RT_USING_SPI5"
|
||||
default y
|
||||
|
||||
config RT_RTC_NAME
|
||||
string "RT_RTC_NAME"
|
||||
default rtc
|
||||
|
||||
|
||||
|
||||
source "$BSP_DIR/drivers/Kconfig"
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
config RT_USING_EXT_SDRAM
|
||||
bool "Enable SDRAM on the board"
|
||||
default y
|
||||
|
||||
config RT_USING_UART1
|
||||
bool "Enable UART1"
|
||||
default y
|
||||
|
||||
config RT_USING_UART2
|
||||
bool "Enable UART2"
|
||||
default y
|
||||
|
||||
config RT_USING_UART3
|
||||
bool "Enable UART3"
|
||||
default y
|
||||
|
||||
config RT_USING_SPI5
|
||||
bool "Enable SPI5"
|
||||
default y
|
||||
|
||||
config RT_RTC_NAME
|
||||
string "The name of RTC device"
|
||||
default rtc
|
||||
|
||||
if RT_USING_LWIP
|
||||
config CONFIG_PCF8574
|
||||
bool
|
||||
select RT_USING_I2C
|
||||
select RT_USING_I2C_BITOPS
|
||||
endif
|
|
@ -9,7 +9,6 @@ stm32f4xx_it.c
|
|||
usart.c
|
||||
drv_sdram.c
|
||||
drv_rtc.c
|
||||
drv_nand.c
|
||||
drv_mpu.c
|
||||
""")
|
||||
|
||||
|
@ -17,6 +16,9 @@ drv_mpu.c
|
|||
if GetDepend('RT_USING_DFS'):
|
||||
src += ['drv_sdio_sd.c']
|
||||
|
||||
if GetDepend('RT_USING_MTD_NAND'):
|
||||
src += ['drv_nand.c']
|
||||
|
||||
# add Ethernet drivers.
|
||||
if GetDepend('RT_USING_LWIP'):
|
||||
src += ['drv_eth.c', 'drv_iic.c', 'drv_pcf8574.c']
|
||||
|
|
|
@ -71,6 +71,9 @@
|
|||
#define DFS_FILESYSTEMS_MAX 2
|
||||
#define DFS_FD_MAX 4
|
||||
#define RT_USING_DFS_ELMFAT
|
||||
|
||||
/* elm-chan's FatFs, Generic FAT Filesystem Module */
|
||||
|
||||
#define RT_DFS_ELM_CODE_PAGE 437
|
||||
#define RT_DFS_ELM_WORD_ACCESS
|
||||
#define RT_DFS_ELM_USE_LFN_0
|
||||
|
@ -85,6 +88,9 @@
|
|||
#define RT_DFS_ELM_REENTRANT
|
||||
#define RT_USING_DFS_DEVFS
|
||||
#define RT_USING_DFS_NET
|
||||
/* RT_USING_DFS_ROMFS is not set */
|
||||
/* RT_USING_DFS_RAMFS is not set */
|
||||
/* RT_USING_DFS_UFFS is not set */
|
||||
/* RT_USING_DFS_NFS is not set */
|
||||
|
||||
/* Device Drivers */
|
||||
|
@ -198,14 +204,11 @@
|
|||
/* miscellaneous packages */
|
||||
|
||||
/* PKG_USING_HELLO is not set */
|
||||
|
||||
/* BSP_SPECIAL CONFIG */
|
||||
|
||||
#define RT_RTC_NAME "rtc"
|
||||
#define RT_USING_EXT_SDRAM
|
||||
#define RT_USING_UART1
|
||||
#define RT_USING_UART2
|
||||
#define RT_USING_UART3
|
||||
#define RT_USING_SPI5
|
||||
#define RT_RTC_NAME "rtc"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue