[bsp] update esp32 Kconfig (#6218)
This commit is contained in:
parent
ecd9cd32b7
commit
955b8d9ae3
|
@ -73,7 +73,9 @@ CONFIG_RT_VER_NUM=0x40101
|
||||||
# RT-Thread Components
|
# RT-Thread Components
|
||||||
#
|
#
|
||||||
CONFIG_RT_USING_COMPONENTS_INIT=y
|
CONFIG_RT_USING_COMPONENTS_INIT=y
|
||||||
# CONFIG_RT_USING_USER_MAIN is not set
|
CONFIG_RT_USING_USER_MAIN=y
|
||||||
|
CONFIG_RT_MAIN_THREAD_STACK_SIZE=2048
|
||||||
|
CONFIG_RT_MAIN_THREAD_PRIORITY=10
|
||||||
# CONFIG_RT_USING_LEGACY is not set
|
# CONFIG_RT_USING_LEGACY is not set
|
||||||
CONFIG_RT_USING_MSH=y
|
CONFIG_RT_USING_MSH=y
|
||||||
CONFIG_RT_USING_FINSH=y
|
CONFIG_RT_USING_FINSH=y
|
||||||
|
@ -301,6 +303,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_RAPIDJSON is not set
|
# CONFIG_PKG_USING_RAPIDJSON is not set
|
||||||
# CONFIG_PKG_USING_JSMN is not set
|
# CONFIG_PKG_USING_JSMN is not set
|
||||||
# CONFIG_PKG_USING_AGILE_JSMN is not set
|
# CONFIG_PKG_USING_AGILE_JSMN is not set
|
||||||
|
# CONFIG_PKG_USING_PARSON is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# XML: Extensible Markup Language
|
# XML: Extensible Markup Language
|
||||||
|
@ -438,6 +441,10 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_UC_COMMON is not set
|
# CONFIG_PKG_USING_UC_COMMON is not set
|
||||||
# CONFIG_PKG_USING_UC_MODBUS is not set
|
# CONFIG_PKG_USING_UC_MODBUS is not set
|
||||||
# CONFIG_PKG_USING_RTDUINO is not set
|
# CONFIG_PKG_USING_RTDUINO is not set
|
||||||
|
CONFIG_PKG_USING_FREERTOS_WRAPPER=y
|
||||||
|
CONFIG_PKG_FREERTOS_WRAPPER_PATH="/packages/system/FreeRTOS_Wrapper"
|
||||||
|
CONFIG_PKG_USING_FREERTOS_WRAPPER_LATEST_VERSION=y
|
||||||
|
CONFIG_PKG_FREERTOS_WRAPPER_VER="latest"
|
||||||
# CONFIG_PKG_USING_CAIRO is not set
|
# CONFIG_PKG_USING_CAIRO is not set
|
||||||
# CONFIG_PKG_USING_PIXMAN is not set
|
# CONFIG_PKG_USING_PIXMAN is not set
|
||||||
# CONFIG_PKG_USING_PARTITION is not set
|
# CONFIG_PKG_USING_PARTITION is not set
|
||||||
|
@ -479,8 +486,13 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
# CONFIG_PKG_USING_REALTEK_AMEBA is not set
|
||||||
# CONFIG_PKG_USING_SHT2X is not set
|
# CONFIG_PKG_USING_SHT2X is not set
|
||||||
# CONFIG_PKG_USING_SHT3X is not set
|
# CONFIG_PKG_USING_SHT3X is not set
|
||||||
|
# CONFIG_PKG_USING_ADT74XX is not set
|
||||||
# CONFIG_PKG_USING_AS7341 is not set
|
# CONFIG_PKG_USING_AS7341 is not set
|
||||||
# CONFIG_PKG_USING_STM32_SDIO is not set
|
# CONFIG_PKG_USING_STM32_SDIO is not set
|
||||||
|
CONFIG_PKG_USING_ESP_IDF=y
|
||||||
|
CONFIG_PKG_ESP_IDF_PATH="/packages/peripherals/ESP-IDF"
|
||||||
|
CONFIG_PKG_USING_ESP_IDF_LATEST_VERSION=y
|
||||||
|
CONFIG_PKG_ESP_IDF_VER="latest"
|
||||||
# CONFIG_PKG_USING_ICM20608 is not set
|
# CONFIG_PKG_USING_ICM20608 is not set
|
||||||
# CONFIG_PKG_USING_BUTTON is not set
|
# CONFIG_PKG_USING_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_PCF8574 is not set
|
# CONFIG_PKG_USING_PCF8574 is not set
|
||||||
|
@ -492,6 +504,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_NRF5X_SDK is not set
|
# CONFIG_PKG_USING_NRF5X_SDK is not set
|
||||||
# CONFIG_PKG_USING_NRFX is not set
|
# CONFIG_PKG_USING_NRFX is not set
|
||||||
# CONFIG_PKG_USING_WM_LIBRARIES is not set
|
# CONFIG_PKG_USING_WM_LIBRARIES is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# Kendryte SDK
|
||||||
|
#
|
||||||
|
# CONFIG_PKG_USING_K210_SDK is not set
|
||||||
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
# CONFIG_PKG_USING_KENDRYTE_SDK is not set
|
||||||
# CONFIG_PKG_USING_INFRARED is not set
|
# CONFIG_PKG_USING_INFRARED is not set
|
||||||
# CONFIG_PKG_USING_MULTI_INFRARED is not set
|
# CONFIG_PKG_USING_MULTI_INFRARED is not set
|
||||||
|
@ -552,6 +569,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_MB85RS16 is not set
|
# CONFIG_PKG_USING_MB85RS16 is not set
|
||||||
# CONFIG_PKG_USING_CW2015 is not set
|
# CONFIG_PKG_USING_CW2015 is not set
|
||||||
# CONFIG_PKG_USING_RFM300 is not set
|
# CONFIG_PKG_USING_RFM300 is not set
|
||||||
|
# CONFIG_PKG_USING_IO_INPUT_FILTER is not set
|
||||||
|
# CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# AI packages
|
# AI packages
|
||||||
|
@ -627,12 +646,12 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
|
||||||
# CONFIG_PKG_USING_MFBD is not set
|
# CONFIG_PKG_USING_MFBD is not set
|
||||||
# CONFIG_PKG_USING_SLCAN2RTT is not set
|
# CONFIG_PKG_USING_SLCAN2RTT is not set
|
||||||
# CONFIG_PKG_USING_SOEM is not set
|
# CONFIG_PKG_USING_SOEM is not set
|
||||||
|
CONFIG_SOC_ESPRESSIF=y
|
||||||
|
CONFIG_SOC_ESP32_C3=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Drivers Config
|
# Hardware Drivers Config
|
||||||
#
|
#
|
||||||
CONFIG_SOC_ESP32_C3=y
|
|
||||||
CONFIG_SOC_ESPRESSIF=y
|
|
||||||
CONFIG_BSP_BOARD_LUATOS_ESP32C3=y
|
CONFIG_BSP_BOARD_LUATOS_ESP32C3=y
|
||||||
# CONFIG_BSP_BOARD_HX_EXP32C3 is not set
|
# CONFIG_BSP_BOARD_HX_EXP32C3 is not set
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,7 @@ config PKGS_DIR
|
||||||
string
|
string
|
||||||
option env="PKGS_ROOT"
|
option env="PKGS_ROOT"
|
||||||
default "packages"
|
default "packages"
|
||||||
|
|
||||||
|
|
||||||
source "$RTT_DIR/Kconfig"
|
source "$RTT_DIR/Kconfig"
|
||||||
source "$PKGS_DIR/Kconfig"
|
source "$PKGS_DIR/Kconfig"
|
||||||
source "board/Kconfig"
|
source "drivers/Kconfig"
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
menu "Hardware Drivers Config"
|
|
||||||
|
config SOC_ESPRESSIF
|
||||||
|
bool
|
||||||
|
|
||||||
config SOC_ESP32_C3
|
config SOC_ESP32_C3
|
||||||
bool
|
bool
|
||||||
|
select SOC_ESPRESSIF
|
||||||
select RT_USING_COMPONENTS_INIT
|
select RT_USING_COMPONENTS_INIT
|
||||||
|
select RT_USING_USER_MAIN
|
||||||
|
select PKG_USING_ESP_IDF
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config SOC_ESPRESSIF
|
menu "Hardware Drivers Config"
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Select BSP board "
|
prompt "Select BSP board "
|
|
@ -42,6 +42,9 @@
|
||||||
/* RT-Thread Components */
|
/* RT-Thread Components */
|
||||||
|
|
||||||
#define RT_USING_COMPONENTS_INIT
|
#define RT_USING_COMPONENTS_INIT
|
||||||
|
#define RT_USING_USER_MAIN
|
||||||
|
#define RT_MAIN_THREAD_STACK_SIZE 2048
|
||||||
|
#define RT_MAIN_THREAD_PRIORITY 10
|
||||||
#define RT_USING_MSH
|
#define RT_USING_MSH
|
||||||
#define RT_USING_FINSH
|
#define RT_USING_FINSH
|
||||||
#define FINSH_USING_MSH
|
#define FINSH_USING_MSH
|
||||||
|
@ -142,9 +145,16 @@
|
||||||
|
|
||||||
/* Micrium: Micrium software products porting for RT-Thread */
|
/* Micrium: Micrium software products porting for RT-Thread */
|
||||||
|
|
||||||
|
#define PKG_USING_FREERTOS_WRAPPER
|
||||||
|
#define PKG_USING_FREERTOS_WRAPPER_LATEST_VERSION
|
||||||
|
|
||||||
/* peripheral libraries and drivers */
|
/* peripheral libraries and drivers */
|
||||||
|
|
||||||
|
#define PKG_USING_ESP_IDF
|
||||||
|
#define PKG_USING_ESP_IDF_LATEST_VERSION
|
||||||
|
|
||||||
|
/* Kendryte SDK */
|
||||||
|
|
||||||
|
|
||||||
/* AI packages */
|
/* AI packages */
|
||||||
|
|
||||||
|
@ -158,11 +168,11 @@
|
||||||
|
|
||||||
/* entertainment: terminal games and other interesting software packages */
|
/* entertainment: terminal games and other interesting software packages */
|
||||||
|
|
||||||
|
#define SOC_ESPRESSIF
|
||||||
|
#define SOC_ESP32_C3
|
||||||
|
|
||||||
/* Hardware Drivers Config */
|
/* Hardware Drivers Config */
|
||||||
|
|
||||||
#define SOC_ESP32_C3
|
|
||||||
#define SOC_ESPRESSIF
|
|
||||||
#define BSP_BOARD_LUATOS_ESP32C3
|
#define BSP_BOARD_LUATOS_ESP32C3
|
||||||
|
|
||||||
/* Onboard Peripheral Drivers */
|
/* Onboard Peripheral Drivers */
|
||||||
|
|
Loading…
Reference in New Issue