Skip to content

Commit

Permalink
update deps, fix flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed Oct 14, 2024
1 parent 6a8d6f4 commit 101cdf4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[target.thumbv7m-none-eabi]
runner = 'arm-none-eabi-gdb'
runner = 'probe-rs run --chip STM32F103C8Tx'
rustflags = [
"-C", "link-arg=-Tlink.x",
#"-C", "link-arg=-Tdefmt.x",
]

[build]
target = "thumbv7m-none-eabi"

[env]
DEFMT_LOG = "info"
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ features = ["stm32f103", "rtic", "high"]
default-target = "x86_64-unknown-linux-gnu"

[dependencies]
cortex-m = "0.7.6"
cortex-m-rt = "0.7.1"
defmt = { version = "0.3.8", optional = true }
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.3"
nb = "1.1"
embedded-dma = "0.2.0"
bxcan = "0.8.0"
Expand Down Expand Up @@ -73,7 +74,7 @@ stm32f103 = ["stm32f1/stm32f103", "has-can", "stm32-usbd"]
stm32f105 = ["stm32f1/stm32f107", "connectivity"]
stm32f107 = ["stm32f1/stm32f107", "connectivity"]

defmt = ["stm32f1/defmt"]
defmt = ["dep:defmt", "stm32f1/defmt"]

# Devices with 64 or 128 Kb ROM
medium = []
Expand Down

0 comments on commit 101cdf4

Please sign in to comment.