Full Project inside an Enclosure:
- CMake
- Arduino SDK
- Ruby 2.3+ (although setup script installs it if not found)
Checkout the repo into weather-pod
folder:
cd weather-pod
bin/build
The process to build and upload manually is super simple too:
rm -rf build && mkdir build && cd build
cmake ..
make
make upload
You can also connect to a serial device like so:
make WeatherPod-serial
It was created using Arli — Arduino project generator and a library manager, that relies on CMake and the arduino-cmake project.
The following projects made this project so easy:
-
arli
is the command line Ruby gem that provides most of the functionality here; and -
arduino-library
is a Ruby gem that handles searching and downloading JSON database -
arli-cmake
— a project that bridgesarduino-cmake
andarli
, by providing some additional CMake helpers, and integration withArlifile.cmake
. -
arduino-cmake
— this is the primary CMake build infrastructure that Arli uses to make light-weight and flexible Arduino projects that build out of the box.