[bsp][ls1c] update config
This commit is contained in:
parent
b102410ece
commit
449f960c48
|
@ -68,7 +68,9 @@ CONFIG_RT_USING_COMPONENTS_INIT=y
|
||||||
# Command shell
|
# Command shell
|
||||||
#
|
#
|
||||||
CONFIG_RT_USING_FINSH=y
|
CONFIG_RT_USING_FINSH=y
|
||||||
|
CONFIG_FINSH_THREAD_NAME="tshell"
|
||||||
CONFIG_FINSH_USING_HISTORY=y
|
CONFIG_FINSH_USING_HISTORY=y
|
||||||
|
CONFIG_FINSH_HISTORY_LINES=5
|
||||||
CONFIG_FINSH_USING_SYMTAB=y
|
CONFIG_FINSH_USING_SYMTAB=y
|
||||||
CONFIG_FINSH_USING_DESCRIPTION=y
|
CONFIG_FINSH_USING_DESCRIPTION=y
|
||||||
CONFIG_FINSH_THREAD_PRIORITY=20
|
CONFIG_FINSH_THREAD_PRIORITY=20
|
||||||
|
@ -118,6 +120,7 @@ CONFIG_RT_DFS_ELM_REENTRANT=y
|
||||||
CONFIG_RT_USING_DEVICE_IPC=y
|
CONFIG_RT_USING_DEVICE_IPC=y
|
||||||
CONFIG_RT_USING_SERIAL=y
|
CONFIG_RT_USING_SERIAL=y
|
||||||
CONFIG_RT_USING_CAN=y
|
CONFIG_RT_USING_CAN=y
|
||||||
|
CONFIG_RT_CAN_USING_HDR=y
|
||||||
# CONFIG_RT_USING_HWTIMER is not set
|
# CONFIG_RT_USING_HWTIMER is not set
|
||||||
# CONFIG_RT_USING_CPUTIME is not set
|
# CONFIG_RT_USING_CPUTIME is not set
|
||||||
CONFIG_RT_USING_I2C=y
|
CONFIG_RT_USING_I2C=y
|
||||||
|
@ -128,6 +131,7 @@ CONFIG_RT_USING_PIN=y
|
||||||
# CONFIG_RT_USING_RTC is not set
|
# CONFIG_RT_USING_RTC is not set
|
||||||
# CONFIG_RT_USING_SDIO is not set
|
# CONFIG_RT_USING_SDIO is not set
|
||||||
CONFIG_RT_USING_SPI=y
|
CONFIG_RT_USING_SPI=y
|
||||||
|
# CONFIG_RT_USING_SPI_MSD is not set
|
||||||
# CONFIG_RT_USING_SFUD is not set
|
# CONFIG_RT_USING_SFUD is not set
|
||||||
# CONFIG_RT_USING_W25QXX is not set
|
# CONFIG_RT_USING_W25QXX is not set
|
||||||
# CONFIG_RT_USING_GD is not set
|
# CONFIG_RT_USING_GD is not set
|
||||||
|
@ -148,6 +152,7 @@ CONFIG_RT_USING_SPI=y
|
||||||
CONFIG_RT_USING_LIBC=y
|
CONFIG_RT_USING_LIBC=y
|
||||||
CONFIG_RT_USING_PTHREADS=y
|
CONFIG_RT_USING_PTHREADS=y
|
||||||
# CONFIG_RT_USING_POSIX is not set
|
# CONFIG_RT_USING_POSIX is not set
|
||||||
|
# CONFIG_HAVE_SYS_SIGNALS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Network stack
|
# Network stack
|
||||||
|
@ -163,9 +168,7 @@ CONFIG_RT_LWIP_IGMP=y
|
||||||
CONFIG_RT_LWIP_ICMP=y
|
CONFIG_RT_LWIP_ICMP=y
|
||||||
# CONFIG_RT_LWIP_SNMP is not set
|
# CONFIG_RT_LWIP_SNMP is not set
|
||||||
CONFIG_RT_LWIP_DNS=y
|
CONFIG_RT_LWIP_DNS=y
|
||||||
CONFIG_RT_LWIP_DHCP=y
|
# CONFIG_RT_LWIP_DHCP is not set
|
||||||
CONFIG_IP_SOF_BROADCAST=1
|
|
||||||
CONFIG_IP_SOF_BROADCAST_RECV=1
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Static IPv4 Address
|
# Static IPv4 Address
|
||||||
|
@ -197,18 +200,14 @@ CONFIG_SO_REUSE=1
|
||||||
CONFIG_LWIP_SO_RCVTIMEO=1
|
CONFIG_LWIP_SO_RCVTIMEO=1
|
||||||
CONFIG_LWIP_SO_SNDTIMEO=1
|
CONFIG_LWIP_SO_SNDTIMEO=1
|
||||||
CONFIG_LWIP_SO_RCVBUF=1
|
CONFIG_LWIP_SO_RCVBUF=1
|
||||||
|
# CONFIG_RT_LWIP_NETIF_LOOPBACK is not set
|
||||||
|
CONFIG_LWIP_NETIF_LOOPBACK=0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Modbus master and slave stack
|
# Modbus master and slave stack
|
||||||
#
|
#
|
||||||
# CONFIG_RT_USING_MODBUS is not set
|
# CONFIG_RT_USING_MODBUS is not set
|
||||||
# CONFIG_LWIP_USING_DHCPD is not set
|
# CONFIG_LWIP_USING_DHCPD is not set
|
||||||
# CONFIG_RT_USING_NETUTILS is not set
|
|
||||||
|
|
||||||
#
|
|
||||||
# RT-Thread UI Engine
|
|
||||||
#
|
|
||||||
# CONFIG_RT_USING_GUIENGINE is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# VBUS(Virtual Software BUS)
|
# VBUS(Virtual Software BUS)
|
||||||
|
@ -276,7 +275,6 @@ CONFIG_LWIP_SO_RCVBUF=1
|
||||||
# example package: hello
|
# example package: hello
|
||||||
#
|
#
|
||||||
# CONFIG_PKG_USING_HELLO is not set
|
# CONFIG_PKG_USING_HELLO is not set
|
||||||
CONFIG_RT_USING_UART=y
|
|
||||||
CONFIG_RT_USING_UART2=y
|
CONFIG_RT_USING_UART2=y
|
||||||
CONFIG_RT_UART_RX_BUFFER_SIZE=64
|
CONFIG_RT_UART_RX_BUFFER_SIZE=64
|
||||||
CONFIG_RT_USING_GMAC_INT_MODE=y
|
CONFIG_RT_USING_GMAC_INT_MODE=y
|
||||||
|
@ -285,6 +283,5 @@ CONFIG_RT_USING_SPI0=y
|
||||||
CONFIG_RT_USING_SPI1=y
|
CONFIG_RT_USING_SPI1=y
|
||||||
CONFIG_RT_USING_I2C1=y
|
CONFIG_RT_USING_I2C1=y
|
||||||
CONFIG_RT_USING_I2C2=y
|
CONFIG_RT_USING_I2C2=y
|
||||||
CONFIG_RT_CAN_USING_HDR=y
|
|
||||||
CONFIG_USING_BXCAN0=y
|
CONFIG_USING_BXCAN0=y
|
||||||
CONFIG_USING_BXCAN1=y
|
CONFIG_USING_BXCAN1=y
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
mainmenu "RT-Thread Configuration"
|
mainmenu "RT-Thread Configuration"
|
||||||
|
|
||||||
|
|
||||||
config $BSP_DIR
|
config $BSP_DIR
|
||||||
string
|
string
|
||||||
option env="BSP_ROOT"
|
option env="BSP_ROOT"
|
||||||
|
@ -18,18 +19,14 @@ config $PKGS_DIR
|
||||||
source "$RTT_DIR/KConfig"
|
source "$RTT_DIR/KConfig"
|
||||||
source "$PKGS_DIR/KConfig"
|
source "$PKGS_DIR/KConfig"
|
||||||
|
|
||||||
config RT_USING_UART
|
if RT_USING_SERIAL
|
||||||
bool "Using RT_USING_UART"
|
|
||||||
default y
|
|
||||||
|
|
||||||
if RT_USING_UART
|
|
||||||
config RT_USING_UART2
|
config RT_USING_UART2
|
||||||
bool "Using RT_USING_UART2"
|
bool "Using RT_USING_UART2"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_UART_RX_BUFFER_SIZE
|
config RT_UART_RX_BUFFER_SIZE
|
||||||
int "The rx buffer size"
|
int "The rx buffer size"
|
||||||
default 64 if RT_USING_UART
|
default 64 if RT_USING_SERIAL
|
||||||
default 64
|
default 64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -42,39 +39,41 @@ config RT_USING_FPU
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_SPI0
|
config RT_USING_SPI0
|
||||||
bool "Using RT_USING_SPI0"
|
bool "Enable SPI0"
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_SPI1
|
config RT_USING_SPI1
|
||||||
bool "Using RT_USING_SPI1"
|
bool "Enable SPI1"
|
||||||
select RT_USING_SPI
|
select RT_USING_SPI
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
if RT_USING_I2C
|
||||||
config RT_USING_I2C1
|
config RT_USING_I2C1
|
||||||
bool "Using RT_USING_I2C1"
|
bool "Enable I2C1"
|
||||||
select RT_USING_I2C
|
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RT_USING_I2C2
|
config RT_USING_I2C2
|
||||||
bool "Using RT_USING_I2C2"
|
bool "Enable I2C2"
|
||||||
select RT_USING_I2C
|
|
||||||
default y
|
default y
|
||||||
|
endif
|
||||||
|
|
||||||
config RT_CAN_USING_HDR
|
|
||||||
bool "Using RT_CAN_USING_HDR"
|
|
||||||
select RT_USING_CAN
|
|
||||||
default y
|
|
||||||
|
|
||||||
config USING_BXCAN0
|
config USING_BXCAN0
|
||||||
bool "Using USING_BXCAN0"
|
bool "Enable CAN0"
|
||||||
select RT_USING_CAN
|
select RT_USING_CAN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config USING_BXCAN1
|
config USING_BXCAN1
|
||||||
bool "Using USING_BXCAN1"
|
bool "Enable CAN1"
|
||||||
select RT_USING_CAN
|
select RT_USING_CAN
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
if RT_USING_CAN
|
||||||
|
config RT_CAN_USING_HDR
|
||||||
|
bool "Using RT_CAN_USING_HDR"
|
||||||
|
select RT_USING_CAN
|
||||||
|
default y
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue