Skip to content

Commit

Permalink
Refactor and fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ceigel committed Oct 1, 2020
1 parent 2b89151 commit 499dc4b
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 87,720 deletions.
9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ name = "rfid-audio"
version = "0.1.0"

[dependencies]
cortex-m = "0.5.8"
cortex-m = "0.6.1"
cortex-m-semihosting = "0.3.3"
cortex-m-rtfm = "0.5.1"
embedded-mp3 = { version = "0.1.0", path = "../embedded-mp3" }
panic-itm = "0.4.1"
embedded-sdmmc = "0.3.0"
log = {"version"="0.4.8", features=["max_level_trace", "release_max_level_warn"]}
cortex-m-log = {"version"="0.6.1", features=["itm", "log-integration"]}

[dependencies.stm32f3xx-hal]
features = ["stm32f303xc", "rt"]
version = "0.4.0"
version = "0.4.1"

# this lets you use `cargo fix`!
[[bin]]
Expand All @@ -28,4 +31,4 @@ debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations

[profile.dev]
opt-level = 3
opt-level = 0
2 changes: 1 addition & 1 deletion openocd.gdb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ break HardFault
break rust_begin_unwind

# *try* to stop at the user entry point (it might be gone due to inlining)
tb main.rs:328
tb init

# # send captured ITM to the file itm.fifo
# # (the microcontroller SWO pin must be connected to the programmer SWO pin)
Expand Down
Loading

0 comments on commit 499dc4b

Please sign in to comment.