martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.79k stars 905 forks source link

Error from make all #494

Open TypeNaN opened 2 years ago

TypeNaN commented 2 years ago

CC driver/spi.c In file included from driver/spi.c:26:0: include/driver/spi.h:29:21: fatal error: ets_sys.h: No such file or directory

include "ets_sys.h"

                 ^

compilation terminated. make: *** [Makefile:173: build/driver/spi.o] Error 1

TypeNaN commented 2 years ago

install docker before

sudo apt install docker.io

And then

git clone https://github.com/martin-ger/esp_wifi_repeater.git
sudo docker run -it --rm --device=/dev/ttyUSB0 -v $(pwd)/esp_wifi_repeater:/home/esp/esp_wifi_repeater martinfger/iot_devel:1.0
cd esp_wifi_repeater
make
make flash

Clean all (Stop and remove all containers)

To exit from this running container, you can use ctrl+c, ctrl+d or enter exit in the terminal.

sudo docker container stop $(sudo docker container ls -aq)
sudo docker image prune -a
sudo apt remove docker.io
sudo apt autoclean