Skip to content

Manual recompile not necessary? #6

@gsicilia82

Description

@gsicilia82

Hi, after failing few times by manually recompile Arduino-SDK with enabled LWIP-NAT, I have asked ChatGPT.

It told me to use this platformio.ini:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
lib_deps = 
    esp32wifi
build_flags = 
    -DLWIP_FEATURES=1
    -DLWIP_IPV4_NAT=1

ChatGPTs C++ code was bullshit, but replacing it with your example file: IT WORKS!
Using these build flags, your example script works out of the box. I don't really understand, why it works without issues by using standard arduino sdk.

Do you know why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions