mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[ci] Add LibreTiny clang-tidy environments (#17491)
This commit is contained in:
@@ -239,9 +239,17 @@ platform = https://github.com/libretiny-eu/libretiny.git#v1.13.0
|
||||
framework = arduino
|
||||
lib_compat_mode = soft
|
||||
lib_deps =
|
||||
${common.lib_deps_base}
|
||||
${common:idf-component-libs.lib_deps}
|
||||
ESP32Async/ESPAsyncWebServer@3.9.6 ; web_server_base
|
||||
droscy/esp_wireguard@0.4.5 ; wireguard
|
||||
esphome/noise-c@0.1.11 ; api
|
||||
ESP32Async/AsyncTCP@3.4.5 ; async_tcp
|
||||
DNSServer ; captive_portal
|
||||
heman/AsyncMqttClient-esphome@2.0.0 ; mqtt
|
||||
improv/Improv@1.2.6 ; improv_serial
|
||||
kikuchan98/pngle@1.1.0 ; online_image
|
||||
https://github.com/bitbank2/JPEGDEC.git#1.8.4 ; online_image
|
||||
build_flags =
|
||||
${common:arduino.build_flags}
|
||||
-DUSE_LIBRETINY
|
||||
@@ -578,6 +586,54 @@ build_flags =
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:bk72xx-tidy]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-bk7231n-qfn32-tuya
|
||||
build_flags =
|
||||
${common:libretiny-arduino.build_flags}
|
||||
${flags:clangtidy.build_flags}
|
||||
-DUSE_BK72XX
|
||||
-DUSE_LIBRETINY_VARIANT_BK7231N
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:ln882h-tidy]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-ln882h
|
||||
build_flags =
|
||||
${common:libretiny-arduino.build_flags}
|
||||
${flags:clangtidy.build_flags}
|
||||
-DUSE_LN882X
|
||||
-DUSE_LIBRETINY_VARIANT_LN882H
|
||||
; the SDK lwip port dir is missing from pio idedata; lwipopts.h include_next needs it
|
||||
-I${platformio.packages_dir}/framework-lightning-ln882h/components/net/lwip-2.1.3/src/port/ln_osal/include
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:rtl87xxb-tidy]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-rtl8710bn-2mb-788k
|
||||
; mirror the libretiny codegen pin: RTL8710B needs 8.2.3+ for task notifications
|
||||
custom_versions.freertos = 8.2.3
|
||||
build_flags =
|
||||
${common:libretiny-arduino.build_flags}
|
||||
${flags:clangtidy.build_flags}
|
||||
-DUSE_RTL87XX
|
||||
-DUSE_LIBRETINY_VARIANT_RTL8710B
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
[env:rtl87xxc-tidy]
|
||||
extends = common:libretiny-arduino
|
||||
board = generic-rtl8720cf-2mb-992k
|
||||
build_flags =
|
||||
${common:libretiny-arduino.build_flags}
|
||||
${flags:clangtidy.build_flags}
|
||||
-DUSE_RTL87XX
|
||||
-DUSE_LIBRETINY_VARIANT_RTL8720C
|
||||
build_unflags =
|
||||
${common.build_unflags}
|
||||
|
||||
;;;;;;;; Host ;;;;;;;;
|
||||
|
||||
[env:host]
|
||||
|
||||
Reference in New Issue
Block a user