danjulio / tCam

Thermal imaging cameras based on the ESP32 and Lepton 3.5
GNU General Public License v3.0
100 stars 25 forks source link

Disable ETH #15

Open yevhenboichuk opened 3 weeks ago

yevhenboichuk commented 3 weeks ago

image I use esp32 devkit (4MB flash), how can i disable eth, and use only WiFi(i use firmware tCam-mini)

danjulio commented 3 weeks ago

Check GPIO2. It must be left floating so a pull-up can pull it high. The firmware supports two board types: tCam-Mini and tCam-Eth. It uses GPIO2 to select the board type. When it thinks it is running on tCam-Eth it will try to initialize the ethernet driver which will fail as you see if there is no ethernet. You want the firmware to think it is running on a tCam-Mini board.

You can look at the tCam-Mini schematics or the firmware/main/system_config.h file to see what the connections should be.