Skip to content
Snippets Groups Projects
Commit 83bda327 authored by zdmx's avatar zdmx :crab:
Browse files

specify dependencies as git dependencies in templ

parent 9c081d2f
Branches master
No related tags found
No related merge requests found
...@@ -26,6 +26,17 @@ This repo provides a pure-rust board support crate / runtime + drivers for the h ...@@ -26,6 +26,17 @@ This repo provides a pure-rust board support crate / runtime + drivers for the h
If you are interested in implementing or testing one of the missing features, I am always happy for any help. Just open an issue or reach out via matrix (@zdmx:xatellite.space) or e-mail. If you are interested in implementing or testing one of the missing features, I am always happy for any help. Just open an issue or reach out via matrix (@zdmx:xatellite.space) or e-mail.
## Getting started
To easily set up a project with `flow3-rs` and `flow3-rs-rt`, use cargo generate:
```
cargo generate --git https://git.flow3r.garden/flow3r/flow3-rs
```
This will create a minimal project for you to get started. If you have not used ESP32/Xtensa with Rust before, you will also need to setup the toolchain.
Continue reading below on how to do that.
## Development setup ## Development setup
The hardware of the badge is based on the ESP32S3 which uses the Xtensa-Architecture. Xtensa is currently not supported in mainline LLVM/rustc, so we have to install the Espressif-forks of the toolchain. The hardware of the badge is based on the ESP32S3 which uses the Xtensa-Architecture. Xtensa is currently not supported in mainline LLVM/rustc, so we have to install the Espressif-forks of the toolchain.
......
[package] [package]
name = "template" name = "{{project-name}}"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
...@@ -11,5 +11,5 @@ embassy-time = { version = "=0.1.2", features = ["nightly", "unstable-traits"] } ...@@ -11,5 +11,5 @@ embassy-time = { version = "=0.1.2", features = ["nightly", "unstable-traits"] }
esp-backtrace = { version = "0.7.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] } esp-backtrace = { version = "0.7.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.5.0", features = ["esp32s3"] } esp-println = { version = "0.5.0", features = ["esp32s3"] }
hal = { package = "esp32s3-hal", version = "0.11.0", features = ["embassy", "async", "embassy-time", "embassy-time-systick"] } hal = { package = "esp32s3-hal", version = "0.11.0", features = ["embassy", "async", "embassy-time", "embassy-time-systick"] }
flow3-rs = { path = "../flow3-rs" } flow3-rs = { git = "https://git.flow3r.garden/flow3r/flow3-rs.git" }
flow3-rs-rt = { path = "../flow3-rs-rt" } flow3-rs-rt = { git = "https://git.flow3r.garden/flow3r/flow3-rs.git" }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment