diff options
author | 2021-11-09 08:59:36 +0000 | |
---|---|---|
committer | 2021-11-09 08:59:36 +0000 | |
commit | ae034aec14bf44e83e2720c81b98031d38992133 (patch) | |
tree | bf1c83bdc512696a67c14f9a6746b49c0aba0e6b /macros/src | |
parent | 7155b55ac8ff4e5f8860bd6f81c39d31756af633 (diff) | |
parent | 0492d98916fb05f0ce0906b42bf7f2ee292f4b18 (diff) | |
download | rtic-ae034aec14bf44e83e2720c81b98031d38992133.tar.gz rtic-ae034aec14bf44e83e2720c81b98031d38992133.tar.zst rtic-ae034aec14bf44e83e2720c81b98031d38992133.zip |
Merge #550
550: Release 0.6.0-rc.3 due to breaking change in rtic-syntax naming of shared and local r=korken89 a=AfoHT
`rtic-syntax` got the old multicore concept of `Locations` removed, see https://github.com/rtic-rs/rtic-syntax/pull/61
This updates `cortex-m-rtic` to match this
Co-authored-by: Henrik Tjäder <henrik@grepit.se>
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/codegen/post_init.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/codegen/post_init.rs b/macros/src/codegen/post_init.rs index 07fbd03c..8bd3a7dd 100644 --- a/macros/src/codegen/post_init.rs +++ b/macros/src/codegen/post_init.rs @@ -14,7 +14,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> Vec<TokenStream2> { let mangled_name = util::static_shared_resource_ident(name); // If it's live let cfgs = res.cfgs.clone(); - if analysis.shared_resource_locations.get(name).is_some() { + if analysis.shared_resources.get(name).is_some() { stmts.push(quote!( // We include the cfgs #(#cfgs)* @@ -31,7 +31,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> Vec<TokenStream2> { let mangled_name = util::static_local_resource_ident(name); // If it's live let cfgs = res.cfgs.clone(); - if analysis.local_resource_locations.get(name).is_some() { + if analysis.local_resources.get(name).is_some() { stmts.push(quote!( // We include the cfgs #(#cfgs)* |