mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
Brutally yank out multicore
This commit is contained in:
parent
c5e6d1fa49
commit
76cf14c520
30 changed files with 704 additions and 739 deletions
|
|
@ -201,12 +201,12 @@ mod tests;
|
|||
///
|
||||
/// Attributes can be applied to the functions inside this block. These attributes will be forwarded
|
||||
/// to the interrupt handlers generated by the `app` attribute.
|
||||
|
||||
#[proc_macro_attribute]
|
||||
pub fn app(args: TokenStream, input: TokenStream) -> TokenStream {
|
||||
let mut settings = Settings::default();
|
||||
settings.optimize_priorities = true;
|
||||
settings.parse_binds = true;
|
||||
settings.parse_cores = cfg!(feature = "heterogeneous") || cfg!(feature = "homogeneous");
|
||||
settings.parse_extern_interrupt = true;
|
||||
settings.parse_schedule = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue