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]
|
2023-09-05 00:16:08 +02:00
|
|
|
default_envs = esp8266-arduino, esp32-arduino, esp32-idf, bk72xx-arduino
|
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
|
2024-08-02 00:01:21 +02:00
|
|
|
improv/Improv@1.2.4 ; 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
|
2024-07-06 09:00:44 +02:00
|
|
|
pavlodn/HaierProtocol@0.9.31 ; haier
|
2024-08-06 13:08:06 +02:00
|
|
|
kikuchan98/pngle@1.0.2 ; online_image
|
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
|
2024-07-25 01:12:04 +02:00
|
|
|
lvgl/lvgl@8.4.0 ; lvgl
|
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)
|
2023-09-12 22:05:02 +02:00
|
|
|
heman/AsyncMqttClient-esphome@1.0.0 ; mqtt
|
2024-05-26 21:15:05 +02:00
|
|
|
esphome/ESPAsyncWebServer-esphome@3.2.2 ; 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
|
2024-06-24 22:04:58 +02:00
|
|
|
dudanov/MideaUART@1.1.9 ; midea
|
2024-08-30 02:14:55 +02:00
|
|
|
tonia/HeatpumpIR@1.0.29 ; 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
|
2024-03-20 09:16:10 +01:00
|
|
|
platform = platformio/espressif8266@4.2.1
|
2021-09-20 11:47:51 +02:00
|
|
|
platform_packages =
|
2024-03-20 09:16:10 +01:00
|
|
|
platformio/framework-arduinoespressif8266@~3.30102.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-09-12 22:05:02 +02:00
|
|
|
esphome/ESPAsyncTCP-esphome@2.0.0 ; 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)
|
2024-06-27 03:42:16 +02:00
|
|
|
droscy/esp_wireguard@0.4.2 ; wireguard
|
2024-07-12 23:19:33 +02:00
|
|
|
|
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}
|
2024-02-27 09:16:20 +01:00
|
|
|
esphome/AsyncTCP-esphome@2.1.3 ; async_tcp
|
2022-10-25 01:12:55 +02:00
|
|
|
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
|
2024-06-27 03:42:16 +02:00
|
|
|
droscy/esp_wireguard@0.4.2 ; wireguard
|
2024-07-12 23:19:33 +02:00
|
|
|
|
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 =
|
2024-05-09 03:45:10 +02:00
|
|
|
platformio/framework-espidf@~3.40407.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}
|
2024-07-11 03:21:04 +02:00
|
|
|
droscy/esp_wireguard@0.4.2 ; wireguard
|
2024-08-14 05:40:07 +02:00
|
|
|
kahrendt/ESPMicroSpeechFeatures@1.1.0 ; micro_wake_word
|
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
|
|
|
|
2024-08-29 02:55:37 +02:00
|
|
|
; This are common settings for the ESP32 using the latest ESP-IDF version.
|
|
|
|
[common:esp32-idf-5_3]
|
|
|
|
extends = common:esp32-idf
|
|
|
|
platform = platformio/espressif32@6.8.0
|
|
|
|
platform_packages =
|
|
|
|
platformio/framework-espidf@~3.50300.0
|
|
|
|
|
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.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
|
2024-04-02 05:00:47 +02:00
|
|
|
earlephilhower/framework-arduinopico@https://github.com/earlephilhower/arduino-pico/releases/download/3.7.2/rp2040-3.7.2.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
|
|
|
|
|
2023-09-05 00:16:08 +02:00
|
|
|
; This are common settings for the LibreTiny (all variants) using Arduino.
|
|
|
|
[common:libretiny-arduino]
|
|
|
|
extends = common:arduino
|
|
|
|
platform = libretiny
|
|
|
|
framework = arduino
|
2024-06-01 04:36:51 +02:00
|
|
|
lib_deps =
|
2024-06-27 03:42:16 +02:00
|
|
|
droscy/esp_wireguard@0.4.2 ; wireguard
|
2023-09-05 00:16:08 +02:00
|
|
|
build_flags =
|
|
|
|
${common:arduino.build_flags}
|
|
|
|
-DUSE_LIBRETINY
|
|
|
|
build_src_flags = -include Arduino.h
|
|
|
|
|
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
|
|
|
|
2024-08-29 02:55:37 +02:00
|
|
|
[env:esp32-idf-5_3]
|
|
|
|
extends = common:esp32-idf-5_3
|
|
|
|
board = esp32dev
|
|
|
|
board_build.esp-idf.sdkconfig_path = .temp/sdkconfig-esp32-idf
|
|
|
|
build_flags =
|
|
|
|
${common:esp32-idf.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-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
|
|
|
|
2024-08-29 02:55:37 +02:00
|
|
|
[env:esp32c3-idf-5_3]
|
|
|
|
extends = common:esp32-idf-5_3
|
|
|
|
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}
|
|
|
|
-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
|
|
|
|
2024-08-29 02:55:37 +02:00
|
|
|
[env:esp32s2-idf-5_3]
|
|
|
|
extends = common:esp32-idf-5_3
|
|
|
|
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}
|
|
|
|
-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
|
|
|
|
|
2024-08-29 02:55:37 +02:00
|
|
|
[env:esp32s3-idf-5_3]
|
|
|
|
extends = common:esp32-idf-5_3
|
|
|
|
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
|
|
|
|
|
2023-05-10 01:38:51 +02:00
|
|
|
[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
|
|
|
|
2023-09-05 00:16:08 +02:00
|
|
|
;;;;;;;; LibreTiny ;;;;;;;;
|
|
|
|
|
|
|
|
[env:bk72xx-arduino]
|
|
|
|
extends = common:libretiny-arduino
|
|
|
|
board = generic-bk7231n-qfn32-tuya
|
|
|
|
build_flags =
|
|
|
|
${common:libretiny-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_BK72XX
|
|
|
|
-DUSE_LIBRETINY_VARIANT_BK7231N
|
|
|
|
|
|
|
|
[env:rtl87xxb-arduino]
|
|
|
|
extends = common:libretiny-arduino
|
|
|
|
board = generic-rtl8710bn-2mb-788k
|
|
|
|
build_flags =
|
|
|
|
${common:libretiny-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_RTL87XX
|
|
|
|
-DUSE_LIBRETINY_VARIANT_RTL8710B
|
|
|
|
|
|
|
|
[env:rtl87xxc-arduino]
|
|
|
|
extends = common:libretiny-arduino
|
|
|
|
board = generic-rtl8720cf-2mb-992k
|
|
|
|
build_flags =
|
|
|
|
${common:libretiny-arduino.build_flags}
|
|
|
|
${flags:runtime.build_flags}
|
|
|
|
-DUSE_RTL87XX
|
|
|
|
-DUSE_LIBRETINY_VARIANT_RTL8720C
|
|
|
|
|
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
|
2024-01-19 02:10:23 +01:00
|
|
|
-std=c++17
|