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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user