1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Wireguard support for bk72 microcontrollers (#6842)

* Bump esp_wireguard to v0.4.1

* add support for bk72 microcontrollers (thanks to kuba2k2)
* fix compilation error using esp-idf v5 (thanks to kbx81)
* fix crash on vpn disconnection with alive tcp connection (thanks to jefftharris)

* Disable ipv6 for bk72 wireguard test

* Completely remove ipv6 entry from bk72 wg test
This commit is contained in:
Simone Rossetto
2024-06-01 04:36:51 +02:00
committed by GitHub
parent 41e13fa6f4
commit 2beb1f0336
3 changed files with 65 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ async def to_code(config):
# 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.0")
cg.add_library("droscy/esp_wireguard", "0.4.1")
await cg.register_component(var, config)