[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
离线