[wireguard] Bump the library to esphome/wireguard 0.4.7 (#20188)

This commit is contained in:
Jonathan Swoboda
2026-10-05 11:34:07 -04:00
committed by GitHub
parent 4258b226a4
commit 9820896430
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -143,12 +143,12 @@ async def to_code(config):
if CORE.is_esp32:
add_idf_sdkconfig_option("CONFIG_LWIP_PPP_SUPPORT", True)
# This flag is added here because the esp_wireguard library statically
# This flag is added here because the wireguard library statically
# set the size of its allowed_ips list at compile time using this value;
# the '+1' modifier is relative to the device's own address that will
# be automatically added to the provided list.
cg.add_build_flag(f"-DCONFIG_WIREGUARD_MAX_SRC_IPS={len(allowed_ips) + 1}")
cg.add_library("droscy/esp_wireguard", "0.4.5")
cg.add_library("esphome/wireguard", "0.4.7")
await cg.register_component(var, config)
+1 -1
View File
@@ -112,7 +112,7 @@ dependencies:
version: 0.1.30
rules:
- if: "$ESPHOME_ARDUINO_COMPONENT == 0 || idf_version >= 6.0.0"
# Declared alongside noise-c so the library converter skips esp_wireguard's copy
# Declared alongside noise-c so the library converter skips wireguard's copy
esphome/libsodium:
version: 1.10021.11
rules:
+4 -4
View File
@@ -130,7 +130,7 @@ lib_deps =
ESP8266HTTPClient ; http_request (Arduino built-in)
ESP8266mDNS ; mdns (Arduino built-in)
DNSServer ; captive_portal (Arduino built-in)
droscy/esp_wireguard@0.4.5 ; wireguard
esphome/wireguard@0.4.7 ; wireguard
build_flags =
${common:arduino.build_flags}
@@ -165,7 +165,7 @@ lib_deps =
DNSServer ; captive_portal (Arduino built-in)
makuna/NeoPixelBus@2.8.0 ; neopixelbus
esphome/ESP32-audioI2S@2.3.0 ; i2s_audio
droscy/esp_wireguard@0.4.5 ; wireguard
esphome/wireguard@0.4.7 ; wireguard
build_flags =
${common:arduino.build_flags}
@@ -188,7 +188,7 @@ platform_packages =
framework = espidf
lib_deps =
${common:idf.lib_deps}
droscy/esp_wireguard@0.4.5 ; wireguard
esphome/wireguard@0.4.7 ; wireguard
tonia/HeatpumpIR@1.0.42 ; heatpumpir
build_flags =
${common:idf.build_flags}
@@ -246,7 +246,7 @@ 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/wireguard@0.4.7 ; wireguard
esphome/noise-c@0.1.30 ; noise (api, ota)
ESP32Async/AsyncTCP@3.4.5 ; async_tcp
DNSServer ; captive_portal