esp_wifi_repeater icon indicating copy to clipboard operation
esp_wifi_repeater copied to clipboard

Error from make all

Open TypeNaN opened this issue 2 years ago • 1 comments

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 avatar May 28 '22 13:05 TypeNaN

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

TypeNaN avatar May 28 '22 14:05 TypeNaN