platformio官方文档:Espressif 32 — PlatformIO latest documentation
1. 调整监控串口的波特率
monitor_speed = 115200
2. 监视器端口设置
monitor_port = COM9
3. 程序下载波特率设置
upload_speed = 921600
4. 下载默认端口
upload_port = COM9
5. 新建项目建议添加的内容
upload_speed = 921600
upload_port = COM9
monitor_port = COM9
6.OTA配置
[env:myenv]
platform = espressif32
board = esp32dev
framework = arduino
upload_protocol = espota
upload_port = 192.168.0.255
7.解决WIFI和BLE同时编译,内存撑爆的一个问题