[stm32][stm32f407-explorer][Kconfig] implement ESP8266 configuration in extended module driver menu

This commit is contained in:
Meco Man 2021-08-05 02:22:45 +08:00
parent b8a75f8f28
commit d03a0a0f6a
1 changed files with 29 additions and 0 deletions

View File

@ -5,6 +5,7 @@ config SOC_STM32F407ZG
select SOC_SERIES_STM32F4
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select PKG_USING_RT_MEMCPY_CM
default y
menu "Onboard Peripheral Drivers"
@ -374,6 +375,34 @@ endmenu
menu "Board extended module Drivers"
menuconfig BSP_USING_AT_ESP8266
bool "Enable ESP8266(AT Command, COM3)"
default n
select BSP_USING_COM3
select PKG_USING_AT_DEVICE
select AT_DEVICE_USING_ESP8266
select AT_DEVICE_ESP8266_SAMPLE
if BSP_USING_AT_ESP8266
config ESP8266_SAMPLE_WIFI_SSID
string "WIFI ssid"
default "rtthread"
config ESP8266_SAMPLE_WIFI_PASSWORD
string "WIFI password"
default "12345678"
config ESP8266_SAMPLE_CLIENT_NAME
string "AT client device name (Must be 'uart3')"
default "uart3"
config ESP8266_SAMPLE_RECV_BUFF_LEN
int "The maximum length of receive line buffer"
default 512
endif
endmenu
endmenu