Add build flags

This commit is contained in:
Edward Firmo
2024-05-31 17:01:24 +02:00
parent 4f76c44099
commit c0037c5ea4
2 changed files with 10 additions and 3 deletions

View File

@@ -15,6 +15,13 @@ esp32:
CONFIG_SPIRAM_RODATA: "y" CONFIG_SPIRAM_RODATA: "y"
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y" CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y"
esphome:
platformio_options:
build_flags:
- -D TX_ULTIMATE_EASY_ADDON_BLE_PROXY
i2s_audio: !remove
light: light:
- id: !extend light_full - id: !extend light_full
platform: esp32_rmt_led_strip platform: esp32_rmt_led_strip
@@ -37,5 +44,3 @@ switch:
number: GPIO26 number: GPIO26
inverted: true inverted: true
allow_other_uses: false allow_other_uses: false
i2s_audio: !remove

View File

@@ -173,7 +173,9 @@ esp32:
esphome: esphome:
name: ${name} name: ${name}
friendly_name: ${friendly_name} friendly_name: ${friendly_name}
platformio_options:
build_flags:
- -D TX_ULTIMATE_EASY_CORE
on_boot: on_boot:
- priority: 701 - priority: 701
then: then: