Browse Source

Merge pull request #5535 from mysterywolf/esp8266

[stm32][at esp8266][kconfig] 增加esp8266配置选项接管
guo 3 years ago
parent
commit
f2dc981994

+ 3 - 0
bsp/stm32/stm32f407-atk-explorer/board/Kconfig

@@ -438,6 +438,7 @@ menu "Board extended module Drivers"
         select PKG_USING_AT_DEVICE
         select AT_DEVICE_USING_ESP8266
         select AT_DEVICE_ESP8266_SAMPLE
+        select AT_DEVICE_ESP8266_SAMPLE_BSP_TAKEOVER
 
         if BSP_USING_AT_ESP8266
 
@@ -457,6 +458,8 @@ menu "Board extended module Drivers"
                 int "The maximum length of receive line buffer"
                 default 512
 
+            comment "May adjust RT_SERIAL_RB_BUFSZ up to 512 if using the Serial V1 device driver"
+
         endif
 
 endmenu

+ 5 - 0
bsp/stm32/stm32l475-atk-pandora/board/Kconfig

@@ -473,8 +473,10 @@ menu "Board extended module Drivers"
         select PKG_USING_AT_DEVICE
         select AT_DEVICE_USING_ESP8266
         select AT_DEVICE_ESP8266_SAMPLE
+        select AT_DEVICE_ESP8266_SAMPLE_BSP_TAKEOVER
 
         if BSP_USING_AT_ESP8266
+
             config ESP8266_SAMPLE_WIFI_SSID
                 string "WIFI ssid"
                 default "rtthread"
@@ -490,6 +492,9 @@ menu "Board extended module Drivers"
             config ESP8266_SAMPLE_RECV_BUFF_LEN
                 int "The maximum length of receive line buffer"
                 default 512
+
+            comment "May adjust RT_SERIAL_RB_BUFSZ up to 512 if using the Serial V1 device driver"
+
         endif
 
     config BSP_USING_NRF24L01