snapwire/readme.org

29 lines
671 B
Org Mode

requirements
https://github.com/esp8266/arduino-esp8266fs-plugin
https://github.com/esp8266/arduino-esp8266fs-plugin/files/2936951/ESP8266FS.zip
pip install esptool
esptool -p /dev/ttyUSB0
make sure to set the spiffs size in the arduino before uploading to allocate space for files
# Build with defaults shows default figwheel dev page
clojure -m figwheel.main
# build with our custom figwheel-main options
clojure -m figwheel.main --build dev --repl
http://localhost:9500/
http://localhost:9500/figwheel-extra-main/devcards
app config
clojure -m figwheel.main --print-config --build dev
#+BEGIN_SRC sh
clojure -m figwheel.main --build prod --repl
#+END_SRC