Skip to content

dkhayes117/propane-monitor-embassy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

propane-monitor

nrf9160 based project for monitoring propane tanks via cellular communication (LTE-M, Nb-IoT)

Notes

  • Includes a pre-compiled zephyr.bin (secure partition manager) flashed to 0x0000_0000
  • The SPM is required for ARM Trustzone
  • Requires the nightly compiler for Embassy
  • Requires GCC for bare-metal ARM (arm-none-eabi-gcc)
  • Requires Clang

Pre-Reqs

  • Install Rustup
  • Add the target with the command below
    $ rustup target add thumbv8m.main-none-eabihf
  • install probe-run. On Linux, you might have to install libudev and libusb from your package manager before installing probe-run
    $ cargo install probe-run
    probe-run is built on the probe-rs library and supports CMSIS-DAP, ST-Link, and Segger J-Link out of the box. J-Link is recommended for this repo. For Linux, udev rules can be added for user access without root privileges.

Running a Binary

  • run example app.rs as a debug build
    $ cargo run --bin app
  • or run with alias commands defined in .cargo/config.toml
    $ cargo rb app 
  • run example as a release build (production build)
    $ cargo rrb app

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

Async version of propane-monitor using Embassy

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages