Attempt to upgrade various crates
This commit is contained in:
@@ -27,16 +27,17 @@ target = "thumbv6m-none-eabi"
|
||||
# * no-vectorize-loops turns off the loop vectorizer (seeing as the M0+ doesn't
|
||||
# have SIMD)
|
||||
rustflags = [
|
||||
"-C", "linker=flip-link",
|
||||
"-C", "link-arg=--nmagic",
|
||||
"-C", "link-arg=-Tlink.x",
|
||||
"-C", "inline-threshold=5",
|
||||
"-C", "link-arg=-Tdefmt.x",
|
||||
"-C", "no-vectorize-loops",
|
||||
]
|
||||
|
||||
# This runner will make a UF2 file and then copy it to a mounted RP2040 in USB
|
||||
# Bootloader mode:
|
||||
runner = "elf2uf2-rs -d"
|
||||
# runner = "elf2uf2-rs -d"
|
||||
|
||||
# This runner will find a supported SWD debug probe and flash your RP2040 over
|
||||
# SWD:
|
||||
# runner = "probe-run --chip RP2040"
|
||||
runner = "probe-rs run --chip RP2040 --protocol swd"
|
||||
2214
Cargo.lock
generated
2214
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
36
Cargo.toml
36
Cargo.toml
@@ -4,35 +4,17 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.7"
|
||||
cortex-m-rt = "0.7.3"
|
||||
embedded-hal = "0.2.7"
|
||||
panic-halt = "0.2.0"
|
||||
cortex-m = { version = "0.7.7", features = [ "critical-section-single-core" ] }
|
||||
cortex-m-rt = "0.7.5"
|
||||
defmt = "1.0.1"
|
||||
defmt-rtt = "1.0.0"
|
||||
embedded-hal = "1.0.0"
|
||||
rp2040-boot2 = "0.3.0"
|
||||
rp2040-hal = "0.9.1"
|
||||
rp2040-pac = "0.5.0"
|
||||
critical-section = "1.0.0"
|
||||
rp2040-hal = "0.11.0"
|
||||
tiny-rng = "0.2.0"
|
||||
probe-rs = "0.30.0"
|
||||
panic-probe = { version = "1.0.0", features = [ "print-rtt" ] }
|
||||
|
||||
|
||||
[features]
|
||||
default = ["rt", "critical-section-impl", "rom-func-cache"]
|
||||
|
||||
# Minimal startup / runtime for Cortex-M microcontrollers
|
||||
rt = ["rp2040-pac/rt"]
|
||||
|
||||
# This enables a fix for USB errata 5: USB device fails to exit RESET state on busy USB bus.
|
||||
# Only required for RP2040 B0 and RP2040 B1, but it also works for RP2040 B2 and above
|
||||
rp2040-e5 = ["rp2040-hal/rp2040-e5"]
|
||||
|
||||
# Memoize(cache) ROM function pointers on first use to improve performance
|
||||
rom-func-cache = ["rp2040-hal/rom-func-cache"]
|
||||
|
||||
# Disable automatic mapping of language features (like floating point math) to ROM functions
|
||||
disable-intrinsics = ["rp2040-hal/disable-intrinsics"]
|
||||
|
||||
# This enables ROM functions for f64 math that were not present in the earliest RP2040s
|
||||
rom-v2-intrinsics = ["rp2040-hal/rom-v2-intrinsics"]
|
||||
|
||||
# critical section that is safe for multicore use
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
logging = []
|
||||
@@ -14,7 +14,7 @@ use hal::{
|
||||
fugit::RateExtU32,
|
||||
};
|
||||
|
||||
use panic_halt as _;
|
||||
use panic_probe as _;
|
||||
|
||||
mod sprite;
|
||||
mod dpad;
|
||||
|
||||
Reference in New Issue
Block a user