wireguard-lwip
wireguard-lwip copied to clipboard
Problem with wireguard-lwip on esp32C3 using esp-if latest version (5.0), is it possible to work on this version ?
I can't implement this library on my esp-idf version, in the goal to create a wireguard client.
What error message are you getting while trying to compile?
I think it was about the esp-idf version, using the 4.4.1 it works better.
Wich lwIP version is supported ?
It seems that the function netif_add is not working anymore, especially in the &wireguardif_init parameter, what can we do instead ?
At least lwip 2-1-0 , which implements the bind functions for pcb
I think this is the same issue that has a fix here: https://github.com/trombik/esp_wireguard/issues/33#issuecomment-1568503651
@Odysseusfr Could you try if activating CONFIG_LWIP_PPP_SUPPORT using "idf.py menuconfig" fixes the crash?
Hey, I tried it and it worked, so yes it's working with that config activated. I was able to use the demo code in the latest esp-idf version.