2021-10-19 14:43:21 +01:00
|
|
|
;*** Beta Tasmota version for ESP32-S2
|
2021-04-24 18:59:44 +01:00
|
|
|
[env:tasmota32s2]
|
|
|
|
board = esp32s2
|
2021-11-10 11:24:39 +00:00
|
|
|
build_flags = ${env:tasmota32_base.build_flags} -D FIRMWARE_TASMOTA32
|
2021-11-07 14:21:32 +00:00
|
|
|
lib_ignore =
|
|
|
|
ESP8266Audio
|
|
|
|
ESP8266SAM
|
|
|
|
TTGO TWatch Library
|
2021-11-10 11:24:39 +00:00
|
|
|
NimBLE-Arduino
|
|
|
|
epdiy
|
2021-04-24 18:59:44 +01:00
|
|
|
|
2021-11-02 16:22:04 +00:00
|
|
|
[env:tasmota-rangeextender]
|
|
|
|
build_flags = ${env.build_flags}
|
|
|
|
-D FIRMWARE_RANGE_EXTENDER
|
|
|
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
|
|
|
-D USE_WIFI_RANGE_EXTENDER
|
|
|
|
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
|
|
|
|
|
|
|
[env:tasmota32-rangeextender]
|
2021-11-10 11:24:39 +00:00
|
|
|
extends = env:tasmota32_base
|
|
|
|
build_flags = ${env:tasmota32_base.build_flags}
|
2021-11-02 16:22:04 +00:00
|
|
|
-D FIRMWARE_TASMOTA32
|
|
|
|
-D USE_WIFI_RANGE_EXTENDER
|
|
|
|
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
|
|
|
|
2021-04-24 18:59:44 +01:00
|
|
|
; *** Debug version used for PlatformIO Home Project Inspection
|
|
|
|
[env:tasmota-debug]
|
|
|
|
build_type = debug
|
2021-08-03 21:42:26 +01:00
|
|
|
build_unflags = ${env.build_unflags}
|
|
|
|
build_flags = ${env.build_flags}
|
2021-04-24 18:59:44 +01:00
|
|
|
; -Wstack-usage=300
|
|
|
|
|
|
|
|
[env:tasmota32-debug]
|
|
|
|
extends = env:tasmota32_base
|
|
|
|
build_type = debug
|
2021-08-03 21:42:26 +01:00
|
|
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
|
|
|
build_flags = ${env:tasmota32_base.build_flags}
|
2021-04-24 18:59:44 +01:00
|
|
|
; -Wstack-usage=300
|
2021-07-25 12:54:10 +01:00
|
|
|
|
|
|
|
; *** JTAG Debug version, needs esp-prog or FT2232H or FT232H
|
2021-09-17 10:04:03 +01:00
|
|
|
; *** Install howto for Windows https://community.platformio.org/t/esp32-pio-unified-debugger/4541/20
|
2021-07-25 12:54:10 +01:00
|
|
|
[env:tasmota32-ocd]
|
|
|
|
;build_type = debug
|
|
|
|
extends = env:tasmota32_base
|
|
|
|
debug_tool = esp-prog
|
|
|
|
upload_protocol = esp-prog
|
|
|
|
debug_init_break = tbreak setup
|
2021-08-03 21:42:26 +01:00
|
|
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
2021-07-25 12:54:10 +01:00
|
|
|
build_flags = ${env:tasmota32_base.build_flags}
|
|
|
|
|
|
|
|
; *** JTAG Debug version, needs esp-prog or FT2232H or FT232H
|
|
|
|
[env:tasmota32solo1-ocd]
|
|
|
|
;build_type = debug
|
|
|
|
extends = env:tasmota32_base
|
2021-11-01 18:27:43 +00:00
|
|
|
platform_packages = ${core32solo1.platform_packages}
|
2021-07-25 12:54:10 +01:00
|
|
|
board = esp32_solo1_4M
|
|
|
|
debug_tool = esp-prog
|
|
|
|
upload_protocol = esp-prog
|
|
|
|
debug_init_break = tbreak setup
|
2021-08-03 21:42:26 +01:00
|
|
|
build_unflags = ${env:tasmota32_base.build_unflags}
|
2021-07-25 12:54:10 +01:00
|
|
|
build_flags = ${env:tasmota32_base.build_flags}
|