Skip to content

Commit

Permalink
Bump esp_wireguard to version 0.3.2
Browse files Browse the repository at this point in the history
* fix wrong latest handshake retrieval
* add support for eth interface if wifi not available (thanks to J. Peletier)
  • Loading branch information
droscy committed Jul 1, 2023
1 parent f7ea9c4 commit c9d255a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion esphome/components/wireguard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ 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.3.0")
cg.add_library("droscy/esp_wireguard", "0.3.2")

await cg.register_component(var, config)
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ lib_deps =
DNSServer ; captive_portal (Arduino built-in)
esphome/ESP32-audioI2S@2.0.7 ; i2s_audio
crankyoldgit/IRremoteESP8266@2.7.12 ; heatpumpir
droscy/esp_wireguard@0.3.0 ; wireguard
droscy/esp_wireguard@0.3.2 ; wireguard
build_flags =
${common:arduino.build_flags}
-DUSE_ESP32
Expand All @@ -142,7 +142,7 @@ framework = espidf
lib_deps =
${common:idf.lib_deps}
espressif/esp32-camera@1.0.0 ; esp32_camera
droscy/esp_wireguard@0.3.0 ; wireguard
droscy/esp_wireguard@0.3.2 ; wireguard
build_flags =
${common:idf.build_flags}
-Wno-nonnull-compare
Expand Down

0 comments on commit c9d255a

Please sign in to comment.