2021-08-09 22:43:18 +02:00
|
|
|
; This PlatformIO project is for development purposes *only*: clang-tidy derives its compilation
|
|
|
|
; database from here, and IDEs like CLion and VSCode also use it. This does not actually create a
|
|
|
|
; usable binary.
|
2019-04-17 12:06:00 +02:00
|
|
|
; It's *not* used during runtime.
|
|
|
|
|
|
|
|
[platformio]
|
2022-01-05 21:30:15 +01:00
|
|
|
default_envs = esp8266-arduino, esp32-arduino, esp32-idf
|
2022-01-04 21:59:34 +01:00
|
|
|
; Ideally, we want src_dir to be the root directory of the repository, to mimic the runtime build
|
|
|
|
; environment as best as possible. Unfortunately, the ESP-IDF toolchain really doesn't like this
|
|
|
|
; being the root directory. Instead, set esphome/ as the source directory, all our sources are in
|
|
|
|
; there anyway. Set the root directory as the include_dir, so that the esphome/ directory is on the
|
|
|
|
; include path.
|
2021-09-20 11:47:51 +02:00
|
|
|
src_dir = esphome
|
2022-01-04 21:59:34 +01:00
|
|
|
include_dir = .
|
2021-08-09 22:43:18 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are just the build flags as set by the runtime.
|
|
|
|
[flags:runtime]
|
2021-08-09 22:43:18 +02:00
|
|
|
build_flags =
|
|
|
|
-Wno-unused-but-set-variable
|
|
|
|
-Wno-sign-compare
|
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are just the build flags for clang-tidy.
|
|
|
|
[flags:clangtidy]
|
2021-08-09 22:43:18 +02:00
|
|
|
build_flags =
|
|
|
|
-Wall
|
2021-12-01 21:03:51 +01:00
|
|
|
-Wextra
|
2021-08-09 22:43:18 +02:00
|
|
|
-Wunreachable-code
|
|
|
|
-Wfor-loop-analysis
|
|
|
|
-Wshadow-field
|
|
|
|
-Wshadow-field-in-constructor
|
2021-12-01 21:03:51 +01:00
|
|
|
-Wshadow-uncaptured-local
|
2019-04-17 12:06:00 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for all environments.
|
2019-04-17 12:06:00 +02:00
|
|
|
[common]
|
|
|
|
lib_deps =
|
2022-01-26 10:20:45 +01:00
|
|
|
esphome/noise-c@0.1.4 ; api
|
2023-03-08 23:35:40 +01:00
|
|
|
makuna/NeoPixelBus@2.7.3 ; neopixelbus
|
2022-10-26 20:44:15 +02:00
|
|
|
esphome/Improv@1.2.3 ; improv_serial / esp32_improv
|
2022-01-26 10:20:45 +01:00
|
|
|
bblanchon/ArduinoJson@6.18.5 ; json
|
|
|
|
wjtje/qr-code-generator-library@1.7.0 ; qr_code
|
2022-02-08 08:42:11 +01:00
|
|
|
functionpointer/arduino-MLX90393@1.0.0 ; mlx90393
|
2023-08-11 07:51:53 +02:00
|
|
|
pavlodn/HaierProtocol@0.9.20 ; haier
|
2022-05-19 02:47:33 +02:00
|
|
|
; This is using the repository until a new release is published to PlatformIO
|
2022-06-20 01:27:00 +02:00
|
|
|
https://github.com/Sensirion/arduino-gas-index-algorithm.git#3.2.1 ; Sensirion Gas Index Algorithm Arduino Library
|
2021-09-21 17:12:17 +02:00
|
|
|
build_flags =
|
|
|
|
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
|
|
|
src_filter =
|
|
|
|
+<./>
|
|
|
|
+<../tests/dummy_main.cpp>
|
|
|
|
+<../.temp/all-include.cpp>
|
2022-01-31 02:27:10 +01:00
|
|
|
lib_ldf_mode = off
|
2021-09-21 17:12:17 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for all Arduino-framework based environments.
|
2021-09-21 17:12:17 +02:00
|
|
|
[common:arduino]
|
|
|
|
extends = common
|
|
|
|
lib_deps =
|
|
|
|
${common.lib_deps}
|
2022-01-31 02:27:10 +01:00
|
|
|
SPI ; spi (Arduino built-in)
|
|
|
|
Wire ; i2c (Arduino built-int)
|
2021-11-13 09:22:32 +01:00
|
|
|
esphome/ESPAsyncWebServer-esphome@2.1.0 ; web_server_base
|
2021-09-15 19:01:31 +02:00
|
|
|
fastled/FastLED@3.3.2 ; fastled_base
|
|
|
|
mikalhart/TinyGPSPlus@1.0.2 ; gps
|
|
|
|
freekode/TM1651@1.0.1 ; tm1651
|
2023-06-26 22:09:52 +02:00
|
|
|
glmnet/Dsmr@0.7 ; dsmr
|
2022-08-02 21:58:03 +02:00
|
|
|
rweather/Crypto@0.4.0 ; dsmr
|
2021-09-26 22:32:33 +02:00
|
|
|
dudanov/MideaUART@1.1.8 ; midea
|
2022-04-07 22:04:00 +02:00
|
|
|
tonia/HeatpumpIR@1.0.20 ; heatpumpir
|
2019-04-17 12:06:00 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common.build_flags}
|
|
|
|
-DUSE_ARDUINO
|
2019-04-17 12:06:00 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for all IDF-framework based environments.
|
2021-09-21 17:12:17 +02:00
|
|
|
[common:idf]
|
2021-09-15 19:01:31 +02:00
|
|
|
extends = common
|
2021-09-21 17:12:17 +02:00
|
|
|
build_flags =
|
|
|
|
${common.build_flags}
|
|
|
|
-DUSE_ESP_IDF
|
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for the ESP8266 using Arduino.
|
|
|
|
[common:esp8266-arduino]
|
2021-09-21 17:12:17 +02:00
|
|
|
extends = common:arduino
|
2023-04-27 02:26:06 +02:00
|
|
|
platform = platformio/espressif8266@3.2.0
|
2021-09-20 11:47:51 +02:00
|
|
|
platform_packages =
|
2023-04-27 02:26:06 +02:00
|
|
|
platformio/framework-arduinoespressif8266@~3.30002.0
|
2021-09-20 11:47:51 +02:00
|
|
|
|
2019-04-17 12:06:00 +02:00
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:arduino.lib_deps}
|
2021-09-15 19:01:31 +02:00
|
|
|
ESP8266WiFi ; wifi (Arduino built-in)
|
|
|
|
Update ; ota (Arduino built-in)
|
2023-08-07 23:16:42 +02:00
|
|
|
ottowinter/AsyncMqttClient-esphome@0.8.6 ; mqtt
|
2023-05-01 01:09:01 +02:00
|
|
|
esphome/ESPAsyncTCP-esphome@1.2.3 ; async_tcp
|
2022-01-31 02:27:10 +01:00
|
|
|
ESP8266HTTPClient ; http_request (Arduino built-in)
|
|
|
|
ESP8266mDNS ; mdns (Arduino built-in)
|
|
|
|
DNSServer ; captive_portal (Arduino built-in)
|
2022-10-25 01:12:55 +02:00
|
|
|
crankyoldgit/IRremoteESP8266@2.7.12 ; heatpumpir
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:arduino.build_flags}
|
2022-02-08 09:28:12 +01:00
|
|
|
-Wno-nonnull-compare
|
2021-09-20 11:47:51 +02:00
|
|
|
-DUSE_ESP8266
|
2021-09-21 17:12:17 +02:00
|
|
|
-DUSE_ESP8266_FRAMEWORK_ARDUINO
|
2022-01-24 04:03:34 +01:00
|
|
|
extra_scripts = post:esphome/components/esp8266/post_build.py.script
|
2019-10-18 11:22:08 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for the ESP32 (all variants) using Arduino.
|
2021-09-21 17:12:17 +02:00
|
|
|
[common:esp32-arduino]
|
|
|
|
extends = common:arduino
|
2023-07-21 05:35:44 +02:00
|
|
|
platform = platformio/espressif32@5.4.0
|
2021-09-20 11:47:51 +02:00
|
|
|
platform_packages =
|
2023-04-27 02:26:06 +02:00
|
|
|
platformio/framework-arduinoespressif32@~3.20005.0
|
2021-09-20 11:47:51 +02:00
|
|
|
|
2019-10-18 11:22:08 +02:00
|
|
|
framework = arduino
|
2021-05-24 21:47:45 +02:00
|
|
|
lib_deps =
|
2022-01-31 02:27:10 +01:00
|
|
|
; order matters with lib-deps; some of the libs in common:arduino.lib_deps
|
|
|
|
; don't declare built-in libraries as dependencies, so they have to be declared first
|
2022-10-25 01:12:55 +02:00
|
|
|
FS ; web_server_base (Arduino built-in)
|
|
|
|
WiFi ; wifi,web_server_base,ethernet (Arduino built-in)
|
|
|
|
Update ; ota,web_server_base (Arduino built-in)
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:arduino.lib_deps}
|
2022-10-25 01:12:55 +02:00
|
|
|
esphome/AsyncTCP-esphome@1.2.2 ; async_tcp
|
|
|
|
WiFiClientSecure ; http_request,nextion (Arduino built-in)
|
|
|
|
HTTPClient ; http_request,nextion (Arduino built-in)
|
|
|
|
ESPmDNS ; mdns (Arduino built-in)
|
|
|
|
DNSServer ; captive_portal (Arduino built-in)
|
2023-05-09 23:13:01 +02:00
|
|
|
esphome/ESP32-audioI2S@2.0.7 ; i2s_audio
|
2022-10-25 01:12:55 +02:00
|
|
|
crankyoldgit/IRremoteESP8266@2.7.12 ; heatpumpir
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:arduino.build_flags}
|
2021-09-20 11:47:51 +02:00
|
|
|
-DUSE_ESP32
|
2021-09-21 17:12:17 +02:00
|
|
|
-DUSE_ESP32_FRAMEWORK_ARDUINO
|
2022-06-02 07:00:17 +02:00
|
|
|
-DAUDIO_NO_SD_FS ; i2s_audio
|
2022-01-24 04:03:34 +01:00
|
|
|
extra_scripts = post:esphome/components/esp32/post_build.py.script
|
2021-09-20 11:47:51 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; This are common settings for the ESP32 (all variants) using IDF.
|
2021-09-21 17:12:17 +02:00
|
|
|
[common:esp32-idf]
|
|
|
|
extends = common:idf
|
2023-07-21 05:35:44 +02:00
|
|
|
platform = platformio/espressif32@5.4.0
|
2021-09-20 11:47:51 +02:00
|
|
|
platform_packages =
|
2023-07-21 05:35:44 +02:00
|
|
|
platformio/framework-espidf@~3.40405.0
|
2021-09-20 11:47:51 +02:00
|
|
|
|
|
|
|
framework = espidf
|
|
|
|
lib_deps =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:idf.lib_deps}
|
|
|
|
espressif/esp32-camera@1.0.0 ; esp32_camera
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:idf.build_flags}
|
|
|
|
-Wno-nonnull-compare
|
|
|
|
-DUSE_ESP32
|
2021-09-20 11:47:51 +02:00
|
|
|
-DUSE_ESP32_FRAMEWORK_ESP_IDF
|
2022-01-24 04:03:34 +01:00
|
|
|
extra_scripts = post:esphome/components/esp32/post_build.py.script
|
2021-08-09 22:43:18 +02:00
|
|
|
|
2022-10-20 05:50:39 +02:00
|
|
|
; These are common settings for the RP2040 using Arduino.
|
|
|
|
[common:rp2040-arduino]
|
|
|
|
extends = common:arduino
|
|
|
|
board_build.core = earlephilhower
|
|
|
|
board_build.filesystem_size = 0.5m
|
|
|
|
|
|
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
|
|
platform_packages =
|
2023-04-27 02:26:06 +02:00
|
|
|
; earlephilhower/framework-arduinopico@~1.20602.0 ; Cannot use the platformio package until old releases stop getting deleted
|
2023-07-10 01:30:39 +02:00
|
|
|
earlephilhower/framework-arduinopico@https://github.com/earlephilhower/arduino-pico/releases/download/3.3.0/rp2040-3.3.0.zip
|
2022-10-20 05:50:39 +02:00
|
|
|
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
|
|
|
${common:arduino.lib_deps}
|
|
|
|
build_flags =
|
|
|
|
${common:arduino.build_flags}
|
|
|
|
-DUSE_RP2040
|
|
|
|
-DUSE_RP2040_FRAMEWORK_ARDUINO
|
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
; All the actual environments are defined below.
|
2023-05-10 01:38:51 +02:00
|
|
|
|
|
|
|
;;;;;;;; ESP8266 ;;;;;;;;
|
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
[env:esp8266-arduino]
|
|
|
|
extends = common:esp8266-arduino
|
|
|
|
board = nodemcuv2
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2022-01-05 21:30:15 +01:00
|
|
|
${common:esp8266-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
2021-08-09 22:43:18 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
[env:esp8266-arduino-tidy]
|
|
|
|
extends = common:esp8266-arduino
|
|
|
|
board = nodemcuv2
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2022-01-05 21:30:15 +01:00
|
|
|
${common:esp8266-arduino.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
2021-08-09 22:43:18 +02:00
|
|
|
|
2023-05-10 01:38:51 +02:00
|
|
|
;;;;;;;; ESP32 ;;;;;;;;
|
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
[env:esp32-arduino]
|
2021-09-21 17:12:17 +02:00
|
|
|
extends = common:esp32-arduino
|
2022-01-05 21:30:15 +01:00
|
|
|
board = esp32dev
|
2023-02-13 03:43:52 +01:00
|
|
|
board_build.partitions = huge_app.csv
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:esp32-arduino.build_flags}
|
2022-01-05 21:30:15 +01:00
|
|
|
${flags:runtime.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32
|
2021-08-09 22:43:18 +02:00
|
|
|
|
2022-01-05 21:30:15 +01:00
|
|
|
[env:esp32-arduino-tidy]
|
2021-09-21 17:12:17 +02:00
|
|
|
extends = common:esp32-arduino
|
2022-01-05 21:30:15 +01:00
|
|
|
board = esp32dev
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:esp32-arduino.build_flags}
|
2022-01-05 21:30:15 +01:00
|
|
|
${flags:clangtidy.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32
|
2021-09-20 11:47:51 +02:00
|
|
|
|
|
|
|
[env:esp32-idf]
|
2021-09-21 17:12:17 +02:00
|
|
|
extends = common:esp32-idf
|
2022-01-05 21:30:15 +01:00
|
|
|
board = esp32dev
|
2021-09-21 17:12:17 +02:00
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32-idf
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:esp32-idf.build_flags}
|
2022-01-05 21:30:15 +01:00
|
|
|
${flags:runtime.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32
|
2021-09-20 11:47:51 +02:00
|
|
|
|
|
|
|
[env:esp32-idf-tidy]
|
2021-09-21 17:12:17 +02:00
|
|
|
extends = common:esp32-idf
|
2022-01-05 21:30:15 +01:00
|
|
|
board = esp32dev
|
2021-09-21 17:12:17 +02:00
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32-idf-tidy
|
2021-09-20 11:47:51 +02:00
|
|
|
build_flags =
|
2021-09-21 17:12:17 +02:00
|
|
|
${common:esp32-idf.build_flags}
|
2022-01-05 21:30:15 +01:00
|
|
|
${flags:clangtidy.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32
|
|
|
|
|
|
|
|
;;;;;;;; ESP32-C3 ;;;;;;;;
|
|
|
|
|
|
|
|
[env:esp32c3-arduino]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-c3-devkitm-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32C3
|
|
|
|
|
|
|
|
[env:esp32c3-arduino-tidy]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-c3-devkitm-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32C3
|
2022-01-05 21:30:15 +01:00
|
|
|
|
|
|
|
[env:esp32c3-idf]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-c3-devkitm-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32c3-idf
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32C3
|
2022-01-05 21:30:15 +01:00
|
|
|
|
|
|
|
[env:esp32c3-idf-tidy]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-c3-devkitm-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32c3-idf-tidy
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32C3
|
|
|
|
|
|
|
|
;;;;;;;; ESP32-S2 ;;;;;;;;
|
|
|
|
|
|
|
|
[env:esp32s2-arduino]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-s2-kaluga-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S2
|
|
|
|
|
|
|
|
[env:esp32s2-arduino-tidy]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-s2-kaluga-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S2
|
2022-01-05 21:30:15 +01:00
|
|
|
|
|
|
|
[env:esp32s2-idf]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-s2-kaluga-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s2-idf
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32S2
|
2022-01-05 21:30:15 +01:00
|
|
|
|
|
|
|
[env:esp32s2-idf-tidy]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-s2-kaluga-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s2-idf-tidy
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
2023-05-10 01:38:51 +02:00
|
|
|
-DUSE_ESP32_VARIANT_ESP32S2
|
|
|
|
|
|
|
|
;;;;;;;; ESP32-S3 ;;;;;;;;
|
|
|
|
|
|
|
|
[env:esp32s3-arduino]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-s3-devkitc-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S3
|
|
|
|
|
|
|
|
[env:esp32s3-arduino-tidy]
|
|
|
|
extends = common:esp32-arduino
|
|
|
|
board = esp32-s3-devkitc-1
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-arduino.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S3
|
|
|
|
|
|
|
|
[env:esp32s3-idf]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-s3-devkitc-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s3-idf
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S3
|
|
|
|
|
|
|
|
[env:esp32s3-idf-tidy]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
board = esp32-s3-devkitc-1
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32s3-idf-tidy
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:clangtidy.build_flags}
|
|
|
|
-DUSE_ESP32_VARIANT_ESP32S3
|
|
|
|
|
|
|
|
;;;;;;;; RP2040 ;;;;;;;;
|
2022-10-20 05:50:39 +02:00
|
|
|
|
|
|
|
[env:rp2040-pico-arduino]
|
|
|
|
extends = common:rp2040-arduino
|
2022-10-25 06:46:55 +02:00
|
|
|
board = rpipico
|
2022-10-20 05:50:39 +02:00
|
|
|
build_flags =
|
|
|
|
${common:rp2040-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
2023-05-10 01:38:18 +02:00
|
|
|
|
|
|
|
[env:host]
|
|
|
|
extends = common
|
|
|
|
platform = platformio/native
|
|
|
|
lib_deps =
|
|
|
|
esphome/noise-c@0.1.1 ; used by api
|
|
|
|
build_flags =
|
|
|
|
${common.build_flags}
|
|
|
|
-DUSE_HOST
|