mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 14:22:33 +00:00
6801c6496c
Commit bbe1eebc
has changed the order of TIM candidates when using the
time-driver-any feature. For instance, in the case of STM32F3, it
previously returned TIM2 but now returns TIM15. Consequently, the
"multiprio" example no longer works as it requires three *free* CC
register (for alarms), while TIM15 provides only one (CC1 is always
reserved for regular time keeping).
This commit was successfully tested on STM32F3. Additionally, I
verified that all the examples using a timer for STM32F0 and STM32F4
still build correctly.
Fixes #2749
39 lines
1.8 KiB
TOML
39 lines
1.8 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32f4-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
# Change stm32f429zi to your chip name, if necessary.
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f429zi", "unstable-pac", "memory-x", "time-driver-tim4", "exti", "chrono"] }
|
|
embassy-sync = { version = "0.6.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.6.3", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.3.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-usb = { version = "0.3.0", path = "../../embassy-usb", features = ["defmt" ] }
|
|
embassy-net = { version = "0.4.0", path = "../../embassy-net", features = ["defmt", "tcp", "dhcpv4", "medium-ethernet", ] }
|
|
embassy-net-wiznet = { version = "0.1.0", path = "../../embassy-net-wiznet", features = ["defmt"] }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
embedded-hal = "0.2.6"
|
|
embedded-hal-bus = { version = "0.2", features = ["async"] }
|
|
embedded-io = { version = "0.6.0" }
|
|
embedded-io-async = { version = "0.6.1" }
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
futures-util = { version = "0.3.30", default-features = false }
|
|
heapless = { version = "0.8", default-features = false }
|
|
nb = "1.0.0"
|
|
embedded-storage = "0.3.1"
|
|
micromath = "2.0.0"
|
|
usbd-hid = "0.8.1"
|
|
static_cell = "2"
|
|
chrono = { version = "^0.4", default-features = false}
|
|
|
|
[profile.release]
|
|
debug = 2
|