您尚未登录。

楼主 # 2023-10-09 13:59:37

lijianshan
会员
注册时间: 2023-10-09
已发帖子: 1
积分: 1

基于vscode platformio开发ESP32的编译配置

[env:GENERIC_ESP32]
platform = espressif32
board = esp32dev
framework = espidf
; build_cache_flags = --cache-dir .pio/build/esp32dev
; build_cache = true
board_build.partitions= partitions.csv
build_flags =
; jobs = 8
; -j 2
-Wl,-u,_printf_float,-Map,output.map ;输出map
; -Werror ;警告错误停止编译
--specs=nano.specs --specs=nosys.specs
-O0 ;优化等级
-D LAST_BUILD_TIME=$UNIX_TIME
; -D SUPPORT_OTA

build_type = debug ;!正式版需要屏蔽

upload_speed = 921600
upload_port = /dev/cu.usbserial-0001

monitor_speed = 115200
monitor_port = /dev/cu.usbserial-0001
monitor_filters =
esp32_exception_decoder ;backtrace 打印死机信息,只支持在platfomio的monitor上
default ; Remove typical terminal control codes from input
time ; Add timestamp with milliseconds for each new line
; log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发