Skip to content

Commit

Permalink
prep Hybrid: add Hybrid compile examples (#22474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Mar 5, 2025
1 parent f2bf8b9 commit 72535db
Showing 1 changed file with 82 additions and 0 deletions.
82 changes: 82 additions & 0 deletions platformio_tasmota_cenv_sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,88 @@ build_flags = ${env:tasmota32_base.build_flags}
-DUSE_LVGL_OPENHASP
-DOTA_URL='""'

[env:tasmota32-WPA3_SAE]
; Arduino libs with WiFi Enterprise support
extends = env:tasmota32_base
build_flags = ${env:tasmota32_base.build_flags}
-DFIRMWARE_TASMOTA32
-DOTA_URL='""'
lib_ignore = Micro-RTSP
custom_sdkconfig = CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y
CONFIG_WIFI_AUTH_WPA2_ENTERPRISE=y
CONFIG_WIFI_AUTH_WPA3_ENTERPRISE=y
CONFIG_WIFI_AUTH_WPA2_WPA3_ENTERPRISE=y
CONFIG_ESP_WIFI_ENABLE_WPA3_SAE=y
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y

[env:tasmota32s3-qio_opi_per]
; device needs >= 8MB Flash!! Hybrid compile for max. performance when using Displays
extends = env:tasmota32_base
board = esp32s3-qio_opi_120
board_build.partitions = partitions/esp32_partition_app3904k_fs3392k.csv
board_upload.flash_size = 8MB
board_upload.maximum_size = 8388608
build_unflags = ${env:tasmota32_base.build_unflags}
-Os
-ffunction-sections
build_flags = ${env:tasmota32_base.build_flags}
-Ofast
-mtext-section-literals
-DUSE_BERRY_ULP
-DFIRMWARE_LVGL
-DUSE_LVGL_OPENHASP
-DOTA_URL='""'
custom_sdkconfig = '# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set'
CONFIG_COMPILER_OPTIMIZATION_PERF=y
'# CONFIG_ESP_DEBUG_INCLUDE_OCD_STUB_BINS is not set'
'# CONFIG_LWIP_PPP_SUPPORT is not set'
'# SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE is not set'
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_SPEED_120M=y
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
'# CONFIG_SPIRAM_MEMTEST is not set'
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y
CONFIG_I2S_ISR_IRAM_SAFE=y
CONFIG_GDMA_ISR_IRAM_SAFE=y
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_RODATA=y
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240=y
CONFIG_ESP32S3_DATA_CACHE_64KB=y
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y

[env:tasmota32c2-no-NAPT]
; Hybrid compile: No IDF BT support, disabled PPP, Ethernet and NAPT
extends = env:tasmota32_base
board = esp32c2
build_flags = ${env:tasmota32_base.build_flags}
-DFIRMWARE_TASMOTA32
-DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32c2.bin"'
lib_ignore = ${env:tasmota32_base.lib_ignore}
Micro-RTSP
custom_sdkconfig =
'# CONFIG_BT_ENABLED is not set'
'# CONFIG_BT_NIMBLE_ENABLED is not set'
'# CONFIG_BT_CONTROLLER_ENABLED is not set'
CONFIG_BT_CONTROLLER_DISABLED=y
'# CONFIG_LWIP_IP_FORWARD is not set'
'# CONFIG_LWIP_IPV4_NAPT is not set'
'# CONFIG_LWIP_IPV4_NAPT_PORTMAP is not set'
'# CONFIG_ETH_ENABLED is not set'
'# CONFIG_ETH_USE_SPI_ETHERNET is not set'
'# CONFIG_ETH_TRANSMIT_MUTEX is not set'
'# CONFIG_ETH_SPI_ETHERNET_DM9051 is not set'
'# CONFIG_ETH_SPI_ETHERNET_W5500 is not set'
'# CONFIG_ETH_SPI_ETHERNET_KSZ8851SNL is not set'
'# CONFIG_LWIP_PPP_SUPPORT is not set'
; disable not needed IDF managed components for Arduino libs compile
custom_component_remove = espressif/esp_hosted
espressif/esp_wifi_remote
espressif/esp_modem
; add IDF component from espressif registry for Arduino libs compile
custom_component_add = espressif/esp-dsp @ ^1.5.2

[env:tasmota32s3-opi_opi]
extends = env:tasmota32_base
board = esp32s3-opi_opi
Expand Down

0 comments on commit 72535db

Please sign in to comment.