Add build flags

This commit is contained in:
Edward Firmo
2024-04-07 18:33:31 +02:00
parent 61aa97f64e
commit c58dbc3516
2 changed files with 6 additions and 14 deletions

View File

@@ -26,22 +26,14 @@ dashboard_import:
esphome:
project:
name: esphome.Wall_Display
platformio_options:
build_flags:
- -D NSPANEL_HA_BLUEPRINT_PREBUILT_WALL_DISPLAY
on_boot:
- priority: 602.0
then:
- text.set:
id: fw_url
value: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/prebuilt/wall_display.bin"
esp32:
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST: "y"
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY: "y"
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC: "y"
CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH: "y"
CONFIG_MBEDTLS_DYNAMIC_BUFFER: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT: "y"
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y"
...