stm32: update stm32-metapac, fixes memory.x for many families.
This commit is contained in:
parent
8b0cfde9a6
commit
72029ca0c6
2 changed files with 6 additions and 10 deletions
|
@ -72,7 +72,7 @@ rand_core = "0.6.3"
|
|||
sdio-host = "0.5.0"
|
||||
critical-section = "1.1"
|
||||
#stm32-metapac = { version = "15" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-59b1f65bd109c3ef35782e6c44062208d0ef3d0e" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cdd0f8e7cb79cbd126e2480f1b747fb01c901910" }
|
||||
|
||||
vcell = "0.1.3"
|
||||
nb = "1.0.0"
|
||||
|
@ -97,7 +97,7 @@ proc-macro2 = "1.0.36"
|
|||
quote = "1.0.15"
|
||||
|
||||
#stm32-metapac = { version = "15", default-features = false, features = ["metadata"]}
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-59b1f65bd109c3ef35782e6c44062208d0ef3d0e", default-features = false, features = ["metadata"] }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cdd0f8e7cb79cbd126e2480f1b747fb01c901910", default-features = false, features = ["metadata"] }
|
||||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
|
|
|
@ -10,14 +10,10 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
|
||||
if cfg!(any(
|
||||
// too little RAM to run from RAM.
|
||||
feature = "stm32f103c8",
|
||||
feature = "stm32c031c6",
|
||||
feature = "stm32wb55rg",
|
||||
feature = "stm32l073rz",
|
||||
feature = "stm32h503rb",
|
||||
// wrong ram size in stm32-data
|
||||
feature = "stm32wl55jc",
|
||||
feature = "stm32u5a5zj",
|
||||
feature = "stm32f103c8", // 20 kb
|
||||
feature = "stm32c031c6", // 6 kb
|
||||
feature = "stm32l073rz", // 20 kb
|
||||
feature = "stm32h503rb", // 32 kb
|
||||
// no VTOR, so interrupts can't work when running from RAM
|
||||
feature = "stm32f091rc",
|
||||
)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue