-
- Downloads
Initial commit
parents
Branches
No related tags found
Showing
- .cargo-ok 0 additions, 0 deletions.cargo-ok
- .cargo/config 42 additions, 0 deletions.cargo/config
- .gitignore 14 additions, 0 deletions.gitignore
- .vscode/README.md 109 additions, 0 deletions.vscode/README.md
- .vscode/STM32F401.svd 0 additions, 0 deletions.vscode/STM32F401.svd
- .vscode/STM32F411.svd 0 additions, 0 deletions.vscode/STM32F411.svd
- .vscode/extensions.json 12 additions, 0 deletions.vscode/extensions.json
- .vscode/launch.json 93 additions, 0 deletions.vscode/launch.json
- .vscode/tasks.json 35 additions, 0 deletions.vscode/tasks.json
- Cargo.toml 72 additions, 0 deletionsCargo.toml
- README.md 135 additions, 0 deletionsREADME.md
- build.rs 31 additions, 0 deletionsbuild.rs
- examples/allocator.rs 56 additions, 0 deletionsexamples/allocator.rs
- examples/crash.rs 96 additions, 0 deletionsexamples/crash.rs
- examples/device.rs 62 additions, 0 deletionsexamples/device.rs
- examples/exception.rs 37 additions, 0 deletionsexamples/exception.rs
- examples/hello.rs 16 additions, 0 deletionsexamples/hello.rs
- examples/itm.rs 33 additions, 0 deletionsexamples/itm.rs
- examples/panic.rs 28 additions, 0 deletionsexamples/panic.rs
- examples/rtt-timing.rs 53 additions, 0 deletionsexamples/rtt-timing.rs
.cargo-ok
0 → 100644
.cargo/config
0 → 100644
.gitignore
0 → 100644
.vscode/README.md
0 → 100644
.vscode/STM32F401.svd
0 → 100644
This diff is collapsed.
.vscode/STM32F411.svd
0 → 100644
This diff is collapsed.
.vscode/extensions.json
0 → 100644
.vscode/launch.json
0 → 100644
.vscode/tasks.json
0 → 100644
Cargo.toml
0 → 100644
[package] | ||
authors = ["Per Lindgren <per.lindgren@ltu.se>"] | ||
edition = "2018" | ||
readme = "README.md" | ||
name = "app" | ||
version = "0.1.0" | ||
[dependencies] | ||
cortex-m = "0.6.4" | ||
cortex-m-rt = "0.6.13" | ||
cortex-m-semihosting = "0.3.7" | ||
cortex-m-rtic = "0.5.5" | ||
# Panic handlers, comment all but one to generate doc! | ||
panic-halt = "0.2.0" | ||
# Uncomment for the panic example. | ||
panic-itm = "0.4.2" | ||
# Uncomment for the rtt-timing example. | ||
panic-rtt-target = { version = "0.1.1", features = ["cortex-m"] } | ||
# Uncomment for the panic example. | ||
panic-semihosting = "0.5.6" | ||
# Tracing | ||
rtt-target = { version = "0.3.0", features = ["cortex-m"] } | ||
[dependencies.stm32f4] | ||
version = "0.12.1" | ||
features = ["stm32f411", "rt"] | ||
# Uncomment for the allocator example. | ||
# alloc-cortex-m = "0.4.0" | ||
# Uncomment for the device example. | ||
# Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`, | ||
# and then use `cargo build --examples device` to build it. | ||
# [dependencies.stm32f3] | ||
# features = ["stm32f303", "rt"] | ||
# version = "0.7.1" | ||
# this lets you use `cargo fix`! | ||
[[bin]] | ||
name = "app" | ||
test = false | ||
bench = false | ||
[profile.dev] | ||
incremental = false | ||
codegen-units = 1 | ||
[profile.release] | ||
codegen-units = 1 # better optimizations | ||
debug = true # symbols are nice and they don't increase the size on Flash | ||
lto = true # better optimizations | ||
# [features] | ||
# nightly = ["cortex-m/inline-asm"] | ||
# # this lets you use `cargo fix`! | ||
# [[bin]] | ||
# name = "app" | ||
# test = false | ||
# bench = false | ||
# [profile.release] | ||
# codegen-units = 1 # better optimizations | ||
# debug = true # symbols are nice and they don't increase the size on Flash | ||
# lto = true # better optimizations |
README.md
0 → 100644
build.rs
0 → 100644
examples/allocator.rs
0 → 100644
examples/crash.rs
0 → 100644
examples/device.rs
0 → 100644
examples/exception.rs
0 → 100644
examples/hello.rs
0 → 100644
examples/itm.rs
0 → 100644
examples/panic.rs
0 → 100644
examples/rtt-timing.rs
0 → 100644
Please register or sign in to comment