I have this code in my custom micropython module:
#include <WiFi.h>
I use this code to build:
source ./esp-idf/export.sh
echo "cd ./micropython/ports/esp32"
cd ./micropython/ports/esp32
make BOARD=GENERIC_S3 USER_C_MODULES=../../../../micropython.cmake
#echo "cd ./boards/esp32/MICROLITE_S3"
#cd ./boards/esp32/MICROLITE_S3
echo "Building MICROLITE_S3"
rm -rf build
idf.py clean build
I get this error
fatal error: WiFi.h: No such file or directory #include <WiFi.h>