rename into subdir
This commit is contained in:
parent
d13332c1b6
commit
4a7f688de9
9 changed files with 18 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
/target
|
||||
/**/target
|
||||
|
|
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
|
@ -6,13 +6,13 @@
|
|||
"configurations": [
|
||||
{
|
||||
"name": "Cortex Debug",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceFolder}/target/thumbv7m-none-eabi/debug/bluepill-rust-blinky",
|
||||
"cwd": "${workspaceFolder}/bluepill-rs",
|
||||
"executable": "${workspaceFolder}/bluepill-rs/target/thumbv7m-none-eabi/debug/bluepill-rs",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"preLaunchTask": "cargo build",
|
||||
"servertype": "openocd",
|
||||
"svdFile": "${workspaceFolder}/STM32F103.svd",
|
||||
"svdFile": "${workspaceFolder}/bluepill-rs/STM32F103.svd",
|
||||
"configFiles": [
|
||||
"interface/stlink.cfg",
|
||||
"target/stm32f1x.cfg"
|
||||
|
|
3
.vscode/tasks.json
vendored
3
.vscode/tasks.json
vendored
|
@ -4,6 +4,9 @@
|
|||
{
|
||||
"type": "cargo",
|
||||
"command": "build",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/bluepill-rs"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
|
|
9
Cargo.lock → bluepill-rs/Cargo.lock
generated
9
Cargo.lock → bluepill-rs/Cargo.lock
generated
|
@ -30,7 +30,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "bluepill-rust-blinky"
|
||||
name = "bluepill-rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"cortex-m",
|
||||
|
@ -61,6 +61,7 @@ checksum = "8ec610d8f49840a5b376c69663b6369e71f4b34484b9b2eb29fb918d92516cb9"
|
|||
dependencies = [
|
||||
"bare-metal 0.2.5",
|
||||
"bitfield",
|
||||
"critical-section",
|
||||
"embedded-hal 0.2.7",
|
||||
"volatile-register",
|
||||
]
|
||||
|
@ -85,6 +86,12 @@ dependencies = [
|
|||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "critical-section"
|
||||
version = "1.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7059fff8937831a9ae6f0fe4d658ffabf58f2ca96aa9dec1c889f936f705f216"
|
||||
|
||||
[[package]]
|
||||
name = "embedded-dma"
|
||||
version = "0.2.0"
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "bluepill-rust-blinky"
|
||||
name = "bluepill-rs"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
@ -8,8 +8,8 @@ edition = "2021"
|
|||
[dependencies]
|
||||
embedded-hal = "1.0.0"
|
||||
nb = "1"
|
||||
cortex-m = "0.7.6"
|
||||
cortex-m-rt = "0.7.1"
|
||||
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
||||
cortex-m-rt = { version = "0.7.1", features = ["device"] }
|
||||
# Panic behaviour, see https://crates.io/keywords/panic-impl for alternatives
|
||||
panic-halt = "0.2.0"
|
||||
|
Loading…
Reference in a new issue