[api] Test noise-c chachapoly-stack-scratch branch

This commit is contained in:
J. Nick Koston
2026-08-16 17:28:11 -05:00
parent 3f01f9895f
commit ee3d0f6bce
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -497,7 +497,11 @@ async def to_code(config: ConfigType) -> None:
# and plaintext disabled. Only a factory reset can remove it.
cg.add_define("USE_API_PLAINTEXT")
cg.add_define("USE_API_NOISE")
cg.add_library("esphome/noise-c", "0.1.11")
cg.add_library(
"noise-c",
None,
"https://github.com/esphome-libs/noise-c#chachapoly-stack-scratch",
)
# Enable optimized memzero/memcmp in libsodium instead of volatile byte loops
cg.add_build_flag("-DHAVE_WEAK_SYMBOLS=1")
cg.add_build_flag("-DHAVE_INLINE_ASM=1")
+3 -3
View File
@@ -45,7 +45,7 @@ lib_deps_base =
lib_deps =
${common.lib_deps_base}
https://github.com/dudanov/MideaUART.git#eeea6c3e9b4474f067054592b435be1c4e466815 ; midea
esphome/noise-c@0.1.11 ; api
https://github.com/esphome-libs/noise-c.git#chachapoly-stack-scratch ; api
improv/Improv@1.2.6 ; improv_serial / esp32_improv
kikuchan98/pngle@1.1.0 ; online_image
; Using the repository directly, otherwise ESP-IDF can't use the library
@@ -244,7 +244,7 @@ lib_deps =
${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
https://github.com/esphome-libs/noise-c.git#chachapoly-stack-scratch ; api
ESP32Async/AsyncTCP@3.4.5 ; async_tcp
DNSServer ; captive_portal
heman/AsyncMqttClient-esphome@2.0.0 ; mqtt
@@ -641,7 +641,7 @@ build_unflags =
extends = common
platform = platformio/native
lib_deps =
esphome/noise-c@0.1.11 ; used by api
https://github.com/esphome-libs/noise-c.git#chachapoly-stack-scratch ; used by api
lvgl/lvgl@9.5.0 ; lvgl
build_flags =
${common.build_flags}