mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-28 13:05:33 +08:00
Merge pull request #5349 from mysterywolf/stm32l475
[stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1
This commit is contained in:
commit
0555a55027
@ -132,9 +132,10 @@ CONFIG_RT_USING_DEVICE_IPC=y
|
|||||||
CONFIG_RT_PIPE_BUFSZ=512
|
CONFIG_RT_PIPE_BUFSZ=512
|
||||||
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
|
# CONFIG_RT_USING_SYSTEM_WORKQUEUE is not set
|
||||||
CONFIG_RT_USING_SERIAL=y
|
CONFIG_RT_USING_SERIAL=y
|
||||||
# CONFIG_RT_USING_SERIAL_V1 is not set
|
CONFIG_RT_USING_SERIAL_V1=y
|
||||||
CONFIG_RT_USING_SERIAL_V2=y
|
# CONFIG_RT_USING_SERIAL_V2 is not set
|
||||||
CONFIG_RT_SERIAL_USING_DMA=y
|
CONFIG_RT_SERIAL_USING_DMA=y
|
||||||
|
CONFIG_RT_SERIAL_RB_BUFSZ=64
|
||||||
# CONFIG_RT_USING_CAN is not set
|
# CONFIG_RT_USING_CAN is not set
|
||||||
# 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
|
||||||
|
@ -455,6 +455,32 @@ endmenu
|
|||||||
|
|
||||||
menu "Board extended module Drivers"
|
menu "Board extended module Drivers"
|
||||||
|
|
||||||
|
menuconfig BSP_USING_AT_ESP8266
|
||||||
|
bool "Enable ESP8266(AT Command, COM2)"
|
||||||
|
default n
|
||||||
|
select BSP_USING_COM2
|
||||||
|
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 'uart2')"
|
||||||
|
default "uart2"
|
||||||
|
|
||||||
|
config ESP8266_SAMPLE_RECV_BUFF_LEN
|
||||||
|
int "The maximum length of receive line buffer"
|
||||||
|
default 512
|
||||||
|
endif
|
||||||
|
|
||||||
config BSP_USING_NRF24L01
|
config BSP_USING_NRF24L01
|
||||||
bool "Enable NRF24L01"
|
bool "Enable NRF24L01"
|
||||||
select BSP_USING_SPI
|
select BSP_USING_SPI
|
||||||
|
@ -89,8 +89,9 @@
|
|||||||
#define RT_USING_DEVICE_IPC
|
#define RT_USING_DEVICE_IPC
|
||||||
#define RT_PIPE_BUFSZ 512
|
#define RT_PIPE_BUFSZ 512
|
||||||
#define RT_USING_SERIAL
|
#define RT_USING_SERIAL
|
||||||
#define RT_USING_SERIAL_V2
|
#define RT_USING_SERIAL_V1
|
||||||
#define RT_SERIAL_USING_DMA
|
#define RT_SERIAL_USING_DMA
|
||||||
|
#define RT_SERIAL_RB_BUFSZ 64
|
||||||
#define RT_USING_PIN
|
#define RT_USING_PIN
|
||||||
|
|
||||||
/* Using USB */
|
/* Using USB */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user