-
Notifications
You must be signed in to change notification settings - Fork 14
/
platformio.esp32.ini
48 lines (42 loc) · 1.09 KB
/
platformio.esp32.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[ESP32] ; Base for Develop & Releases
extends = BASE
platform = espressif32 @ ^6.7.0
board_build.filesystem = littlefs
board = esp32dev
framework = arduino
extra_scripts =
lib/OGM-Common/prepare.py
build_flags =
${BASE.build_flags}
monitor_filters =
esp32_exception_decoder
${env.monitor_filters}
; default debuger jtag
; Set optimization level and amount of debug information generated by the compiler
debug_build_flags = -O0 -ggdb3 -g3
debug_init_break = tbreak setup
debug_tool = esp-prog
; default usb upload
upload_protocol = esptool
upload_speed = 460800
[ESP32_develop] ; Develop Only
extends = ESP32
build_type = debug
build_flags =
; The option is useless, because the ESP did't wait
; and when the usb cable really plugging in, the esp will restart.
; -D OPENKNX_WAIT_FOR_SERIAL=5000
-D OPENKNX_DEBUG
${ESP32.build_flags}
[ESP32_releases] ; Release Only
extends = ESP32
build_flags =
-D OPENKNX_WATCHDOG
${ESP32.build_flags}
; obsolete
[ESP32_UPLOAD_USB]
; upload_protocol = esptool
; upload_speed = 460800
[UPLOAD_ESP_PROG]
upload_protocol = esp-prog
upload_speed = 921600