The app-template for the nrf9160, with the SPM already included.
app-template
is part of the Knurling project, Ferrous Systems' effort at
improving tooling used to develop for embedded systems.
- disables
flip-link
(need to figure out how to make that work) - includes a pre-compiled
zephyr.bin
with some linker tricks
- 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
probe-run is built on the probe-rs library and supports$ cargo install probe-run
CMSIS-DAP
,ST-Link
, andSegger 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.
- run example
hello.rs
as a debug build$ cargo run --example hello
- or run with alias commands defined in .cargo/config.toml
$ cargo rex hello
- run example as a release build (production build)
$ cargo rrex hello
- run main.rs file
$ cargo run
$ cargo run --release
Licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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.