Firmware for Monstick devices.
Written using Ivory Tower framework
nix-shell
make <TARGET>Run make to build all applications.
Specific application can be built with make APP
loaded with make APP-load and make APP-run.
To load Blink test application run
make blink-test-loadto also issue run and start application after loading use::
make blink-test-runto just run gdb with new binary without loading::
make blink-test-gdb
# issuing 'load' in gdb == blink-test-load
# running both 'load' and 'run' == blink-test-runPeriodically send temperature / humidity readings over LoraWAN. Sample is packed using Cayenne Low Power protocol using ivory-tower-cayenne library.
To configure RN2483 radio copy
provided user.conf.sample
to user.conf, edit as needed and run make lorawan again.
cp user.conf.sample user.confLog sensor readings to UART
Blinks red and green LEDs
Allows control of SI7006 internal heater via UART '0'-'9' characters
Bridge debug UART to radio modem UART
Raw radio command example
Manually with BlackMagic Probe::
arm-none-eabi-gdb \
--ex 'target extended-remote /dev/ttyACM0' \
--ex 'monitor swdp_scan' \
--ex 'attach 1' \
--ex 'load' build/lorawan/image