@@ -18,6 +18,7 @@ default_envs = esp32_4M
18
18
; default_envs = esp32_16M
19
19
; default_envs = lolin_s3
20
20
; default_envs = standalone
21
+ ; default_envs = debug
21
22
22
23
[env:esp32_4M]
23
24
; if using OTA enter your details below
@@ -33,6 +34,8 @@ upload_port = /dev/ttyUSB*
33
34
; override arduino espressif core
34
35
platform = espressif32 ; take latest
35
36
; platform = espressif32@5.3.0
37
+ ; platform = espressif32@6.3.2
38
+ ; platform = espressif32@6.4.0
36
39
37
40
extra_scripts =
38
41
pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
@@ -52,13 +55,21 @@ extra_scripts =
52
55
; options for debugging are: EMSESP_DEBUG EMSESP_UART_DEBUG EMSESP_DEBUG_SENSOR
53
56
[env:debug]
54
57
board = esp32dev
58
+ framework = arduino
55
59
platform = espressif32
56
60
board_build.partitions = esp32_partition_debug.csv
61
+ ; board_build.partitions = esp32_partition_4M.csv
62
+ board_upload.flash_size = 4MB
63
+ board_build.filesystem = littlefs
57
64
upload_protocol = esptool
58
65
build_type = debug
59
66
monitor_raw = no
60
67
monitor_filters = esp32_exception_decoder
61
68
debug_tool = esp-prog
62
69
debug_init_break = tbreak setup
63
- build_flags = ${factory_settings.build_flags} -DONEWIRE_CRC16=0 -DNO_GLOBAL_ARDUINOOTA -DARDUINOJSON_ENABLE_STD_STRING=1 -DESP32=1 -DARDUINO_ARCH_ESP32=1
64
- extra_scripts = pre:scripts/build_interface.py
70
+ build_flags = ${factory_settings.build_flags} -DEMSESP_EN_ONLY -DCORE_DEBUG_LEVEL=5 -DONEWIRE_CRC16=0 -DNO_GLOBAL_ARDUINOOTA -DARDUINOJSON_ENABLE_STD_STRING=1 -DESP32=1 -DARDUINO_ARCH_ESP32=1
71
+ upload_port = /dev/ttyUSB0
72
+ extra_scripts =
73
+ ; pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
74
+ scripts/rename_fw.py
75
+ ; post:scripts/app-tls-size.py
0 commit comments