esp32_nat_router
esp32_nat_router copied to clipboard
Is it works with ESP32-S2?
Hey, i tried to run it with ESP32 and it works and when i select ESP32-S2 on flash tool and flash that doesn't work. I tried with 3 S2's. but not sure why it won't work. Could you please bring me a light on this situation?
So I too have an esp32-s2 from adafruit. In order to make this work you need to make sure the build target is for esp32s2.
At a high level these were the steps that I took:
- Install ESP-IDF, be sure to follow the steps accordingly
cdto esp32_nat_router folder- Delete the entire build folder
get_idfor run the export.sh as recommended in the ESP-IDF installidf.py set-target esp32s2- In the
idf.py menuconfig, make sure all the necessary settings are enabled as stated in https://github.com/martin-ger/esp32_nat_router#building-the-binaries idf.py buildidf.py -p PORT flash
You might see an error message which should only be in regards on how it resets the controller. If the firmware reloaded successfully, you should be able to press the reset button and see the "ESP32_NAT_Router" SSID when you scan for wifi networks.
These instructions worked for me. Unfortunately the throughput is a bit slow. I have a ESP32-S2-MINI-2U. I'm getting about 1.5-2 mbps. Not sure if it's my particular board or a config setting somewhere.
It worked for me too. The only problem I stumbled upon was the esp-idf version. I had to use esp-idf v4.x.