-
- Downloads
initial commit
Showing
- .cargo/config 11 additions, 0 deletions.cargo/config
- .gdbinit 14 additions, 0 deletions.gdbinit
- .vscode/tasks.json 19 additions, 0 deletions.vscode/tasks.json
- Cargo.toml 36 additions, 6 deletionsCargo.toml
- examples/hello.rs 15 additions, 0 deletionsexamples/hello.rs
- examples/hello_itm.rs 19 additions, 0 deletionsexamples/hello_itm.rs
- memory.x 6 additions, 0 deletionsmemory.x
- src/lib.rs 11 additions, 11 deletionssrc/lib.rs
.cargo/config
0 → 100644
.gdbinit
0 → 100644
.vscode/tasks.json
0 → 100644
[package] | [package] | ||
authors = ["Jorge Aparicio <jorge@japaric.io>"] | authors = ["Per Lindgren <per.lindgren@ltu.se> Jorge Aparicio <jorge@japaric.io>"] | ||
categories = ["embedded", "hardware-support", "no-std"] | categories = ["embedded", "hardware-support", "no-std"] | ||
description = "HAL for the STM32F30x family of microcontrollers" | description = "HAL for the STM32F4xx family of microcontrollers" | ||
keywords = ["arm", "cortex-m", "stm32", "hal"] | keywords = ["arm", "cortex-m", "stm32", "hal"] | ||
license = "MIT OR Apache-2.0" | license = "MIT OR Apache-2.0" | ||
name = "stm32f30x-hal" | name = "stm32f4xx-hal" | ||
repository = "https://github.com/japaric/stm32f30x-hal" | #repository = "https://github.com/japaric/stm32f30x-hal" | ||
version = "0.1.1" | version = "0.1.1" | ||
[dependencies] | [dependencies] | ||
cortex-m = "0.4.0" | cortex-m = "0.4.0" | ||
embedded-hal = "0.1.0" | embedded-hal = "0.1.0" | ||
nb = "0.1.0" | nb = "0.1.0" | ||
stm32f30x = "0.6.0" | |||
[dependencies.stm32f413] | |||
version = "0.2.0" | |||
path = "../stm32f413" | |||
[dependencies.cast] | [dependencies.cast] | ||
default-features = false | default-features = false | ||
version = "0.2.2" | version = "0.2.2" | ||
[dev-dependencies.stm32f413] | |||
features = ["rt"] | |||
version = "0.2.0" | |||
path = "../stm32f413" | |||
[dev-dependencies.cortex-m-rt] | |||
features = ["abort-on-panic"] | |||
version = "0.3.12" | |||
[dev-dependencies] | |||
cortex-m-semihosting = "0.2.0" | |||
cortex-m-rtfm = "0.3.1" | |||
[dev-dependencies.cortex-m-debug] | |||
git = "https://gitlab.henriktjader.com/pln/cortex-m-debug.git" | |||
version = "0.1.2" | |||
branch = "cortex-m-4" | |||
#path = "../cortex-m-debug" | |||
[features] | [features] | ||
rt = ["stm32f30x/rt"] | rt = ["stm32f413/rt"] | ||
\ No newline at end of file | |||
[profile.dev] | |||
codegen-units = 1 | |||
incremental = false | |||
[profile.release] | |||
debug = true | |||
lto = true | |||
\ No newline at end of file |
examples/hello.rs
0 → 100644
examples/hello_itm.rs
0 → 100644
memory.x
0 → 100644
Please register or sign in to comment