Skip to content

Commit

Permalink
clean up in Arduino3 envs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Nov 2, 2023
1 parent 6a86576 commit 62675a3
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions platformio_tasmota_core3_env_sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ board_build.f_cpu = 240000000L
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand All @@ -54,6 +55,7 @@ board = esp32s2
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand All @@ -63,6 +65,7 @@ board = esp32s2cdc
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand All @@ -74,6 +77,7 @@ board_build.f_flash = 80000000L
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand All @@ -85,6 +89,7 @@ board_build.f_flash = 80000000L
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand All @@ -94,8 +99,7 @@ board = esp32s3-qio_qspi
build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MI_HOMEKIT=0 ; 1 to enable; 0 to disable
-DUSE_MI_ESP32
-DUSE_MATTER_DEVICE
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

Expand Down Expand Up @@ -134,8 +138,6 @@ build_unflags = ${env:arduino30.build_unflags}
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
;-DUSE_MI_HOMEKIT=0 ; 1 to enable; 0 to disable
;-DUSE_MI_ESP32
-fno-lto
-DOTA_URL='""'
monitor_filters = esp32_exception_decoder
Expand All @@ -149,8 +151,7 @@ build_unflags = ${env:arduino30.build_unflags}
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MI_HOMEKIT=0 ; 1 to enable; 0 to disable
-DUSE_MI_ESP32
-DUSE_MATTER_DEVICE
-fno-lto
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}
Expand All @@ -163,6 +164,7 @@ build_unflags = ${env:arduino30.build_unflags}
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-DFIRMWARE_ARDUINO30
-DUSE_MATTER_DEVICE
-fno-lto
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}
Expand Down Expand Up @@ -195,6 +197,21 @@ build_flags = ${env:arduino30.build_flags}
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

[env:tasmota32c6cdc-mi32_ard3]
extends = env:arduino30
board = esp32c6cdc
build_unflags = ${env:arduino30.build_unflags}
-flto
-mtarget-align
build_flags = ${env:arduino30.build_flags}
-fno-lto
-DFIRMWARE_ARDUINO30
-DUSE_MI_EXT_GUI
-DUSE_MI_ESP32
-DOTA_URL='""'
monitor_filters = esp32_exception_decoder
lib_ignore = ${env:arduino30.lib_ignore}

[env:tasmota32c2-safeboot]
extends = env:tasmota32c2-arduino30
build_unflags = ${env:tasmota32c2-arduino30.build_unflags}
Expand Down

0 comments on commit 62675a3

Please sign in to comment.