An implementation of https://github.com/thunderace/Esp8266-Arduino-Makefile
-
sudo apt install perl
-
sudo cpan YAML
-
Either clone or submodule/subtree this repository into your project.
-
Copy the Makefile out of the example folder into your project's root directory and change the location of "include ../esp8266Arduino.mk" to the correct path
-
Add all of your libraries to PROJECT_ROOT/libraries. Each library must be in it's own folder.
-
run "make" to make
-
run "make upload" to upload to your ESP8266
Edit the .ld in the ld/ folder to change your logical block size for SPIFFS