Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.19 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.19 KB

Disaster Radio is a work-in-progress long-range, low-bandwidth wireless disaster recovery mesh network powered by the sun.

  • firmware/ is the ESP8266 firmware
  • web/ is the web app served up by the ESP8266

The web/ dir includes a simulator server that presents the same API as the ESP8266 to the client. This makes development of the web app possible without having the Disaster Radio hardware hooked up.

Initial setup

./fetch_deps.sh # download dependencies
cp settings.mk.example settings.mk # create initial personal settings file

Then edit settings.mk to suit your needs.

Building firmware

make

Flashing firmware

make flash

Building web app

See web/README.md

Building and uploading SPIFFS image

To build:

make fs

To build and upload:

make flash_fs

If building doesn't work then try this first:

touch web/static/*

Adding libraries

If you're including new libraries in the firmware then you wil need to add them to LIBS = in config.mk.

Make sure to also include the approprate commands for fetching the new libraries in fetch_deps.sh.

License

  • firmware/: Dual licensed under both GPLv3 and AGPLv3
  • web/: AGPLv3