Skip to content

Commit 72535db

Browse files
authored
prep Hybrid: add Hybrid compile examples (#22474)
1 parent f2bf8b9 commit 72535db

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

platformio_tasmota_cenv_sample.ini

+82
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,88 @@ build_flags = ${env:tasmota32_base.build_flags}
6767
-DUSE_LVGL_OPENHASP
6868
-DOTA_URL='""'
6969

70+
[env:tasmota32-WPA3_SAE]
71+
; Arduino libs with WiFi Enterprise support
72+
extends = env:tasmota32_base
73+
build_flags = ${env:tasmota32_base.build_flags}
74+
-DFIRMWARE_TASMOTA32
75+
-DOTA_URL='""'
76+
lib_ignore = Micro-RTSP
77+
custom_sdkconfig = CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y
78+
CONFIG_WIFI_AUTH_WPA2_ENTERPRISE=y
79+
CONFIG_WIFI_AUTH_WPA3_ENTERPRISE=y
80+
CONFIG_WIFI_AUTH_WPA2_WPA3_ENTERPRISE=y
81+
CONFIG_ESP_WIFI_ENABLE_WPA3_SAE=y
82+
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y
83+
84+
[env:tasmota32s3-qio_opi_per]
85+
; device needs >= 8MB Flash!! Hybrid compile for max. performance when using Displays
86+
extends = env:tasmota32_base
87+
board = esp32s3-qio_opi_120
88+
board_build.partitions = partitions/esp32_partition_app3904k_fs3392k.csv
89+
board_upload.flash_size = 8MB
90+
board_upload.maximum_size = 8388608
91+
build_unflags = ${env:tasmota32_base.build_unflags}
92+
-Os
93+
-ffunction-sections
94+
build_flags = ${env:tasmota32_base.build_flags}
95+
-Ofast
96+
-mtext-section-literals
97+
-DUSE_BERRY_ULP
98+
-DFIRMWARE_LVGL
99+
-DUSE_LVGL_OPENHASP
100+
-DOTA_URL='""'
101+
custom_sdkconfig = '# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set'
102+
CONFIG_COMPILER_OPTIMIZATION_PERF=y
103+
'# CONFIG_ESP_DEBUG_INCLUDE_OCD_STUB_BINS is not set'
104+
'# CONFIG_LWIP_PPP_SUPPORT is not set'
105+
'# SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE is not set'
106+
CONFIG_SPIRAM_MODE_OCT=y
107+
CONFIG_SPIRAM_SPEED_120M=y
108+
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
109+
'# CONFIG_SPIRAM_MEMTEST is not set'
110+
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
111+
CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y
112+
CONFIG_I2S_ISR_IRAM_SAFE=y
113+
CONFIG_GDMA_ISR_IRAM_SAFE=y
114+
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
115+
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
116+
CONFIG_SPIRAM_RODATA=y
117+
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
118+
CONFIG_ESP32S3_DATA_CACHE_64KB=y
119+
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
120+
121+
[env:tasmota32c2-no-NAPT]
122+
; Hybrid compile: No IDF BT support, disabled PPP, Ethernet and NAPT
123+
extends = env:tasmota32_base
124+
board = esp32c2
125+
build_flags = ${env:tasmota32_base.build_flags}
126+
-DFIRMWARE_TASMOTA32
127+
-DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c2.bin"'
128+
lib_ignore = ${env:tasmota32_base.lib_ignore}
129+
Micro-RTSP
130+
custom_sdkconfig =
131+
'# CONFIG_BT_ENABLED is not set'
132+
'# CONFIG_BT_NIMBLE_ENABLED is not set'
133+
'# CONFIG_BT_CONTROLLER_ENABLED is not set'
134+
CONFIG_BT_CONTROLLER_DISABLED=y
135+
'# CONFIG_LWIP_IP_FORWARD is not set'
136+
'# CONFIG_LWIP_IPV4_NAPT is not set'
137+
'# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set'
138+
'# CONFIG_ETH_ENABLED is not set'
139+
'# CONFIG_ETH_USE_SPI_ETHERNET is not set'
140+
'# CONFIG_ETH_TRANSMIT_MUTEX is not set'
141+
'# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set'
142+
'# CONFIG_ETH_SPI_ETHERNET_W5500 is not set'
143+
'# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set'
144+
'# CONFIG_LWIP_PPP_SUPPORT is not set'
145+
; disable not needed IDF managed components for Arduino libs compile
146+
custom_component_remove = espressif/esp_hosted
147+
espressif/esp_wifi_remote
148+
espressif/esp_modem
149+
; add IDF component from espressif registry for Arduino libs compile
150+
custom_component_add = espressif/esp-dsp @ ^1.5.2
151+
70152
[env:tasmota32s3-opi_opi]
71153
extends = env:tasmota32_base
72154
board = esp32s3-opi_opi

0 commit comments

Comments
 (0)