mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 22:35:19 +01:00
Now handling SysTick as well
This commit is contained in:
parent
0e134a41b5
commit
6277183906
6 changed files with 61 additions and 17 deletions
|
|
@ -114,11 +114,13 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 {
|
|||
})
|
||||
.collect();
|
||||
|
||||
let rt_err = util::rt_err_ident();
|
||||
|
||||
quote!(
|
||||
/// Implementation details
|
||||
pub mod #name {
|
||||
/// Always include the device crate which contains the vector table
|
||||
use #device as you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml;
|
||||
use #device as #rt_err;
|
||||
|
||||
#(#monotonic_imports)*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue