Closed PhilippeSimier closed 2 years ago
I propose a solution in file espXArduino.mk ligne 632
upload: $(BUILD_OUT)/$(TARGET).bin size
$(PYTHON) $(ARDUINO_HOME)/tools/esptool.py --port $(SERIAL_PORT) --baud $(UPLOAD_SPEED) write_flash 0x10000 $(BUILD_OUT)/$(TARGET).bin
I have installed your repository
sudo apt-get install python-is-python3 git clone https://github.com/thunderace/Esp8266-Arduino-Makefile.git
~/Esp8266-Arduino-Makefile$ ./esp32-install.sh ~/Esp8266-Arduino-Makefile$ cd example/esp32/SimpleWiFiServer/ ~/Esp8266-Arduino-Makefile/example/esp32/SimpleWiFiServer$ ls libraries Makefile Makefile.atmegazero_esp32s2 Makefile.git SimpleWiFiServer.ino
philippe@philippe:~/Esp8266-Arduino-Makefile/example/esp32/SimpleWiFiServer$ make the compilation is good
philippe@philippe:~/Esp8266-Arduino-Makefile/example/esp32/SimpleWiFiServer$ make upload ...... esptool.py v3.2-dev Merged 25 ELF sections
Memory usage Ram: 32560 bytes Flash: 744446 bytes
chip esp8266 --port /dev/ttyUSB0 --baud 115200 write_flash 0x0 ./build.lolin32-2.0.0/SimpleWiFiServer.bin /bin/bash: chip : commande introuvable make: [../../../espXArduino.mk:633 : upload] Erreur 127 (ignorée)
for upload the right command is :
philippe@philippe:~/Esp8266-Arduino-Makefile/example/esp32/SimpleWiFiServer$ ../../../esp32-2.0.0/tools/esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x10000 ./build.lolin32-2.0.0/SimpleWiFiServer.bin