Fixing examples and tests, modules now import user imports correctly

Fmt

Correct syntax crate

UI test fix

Fix build script

Cleanup

More cleanup
This commit is contained in:
Emil Fresk 2020-10-11 19:41:57 +02:00
parent 524273c96a
commit 5b8e6a22ab
28 changed files with 147 additions and 245 deletions

View file

@ -12,12 +12,8 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream
stmts.push(quote!(rtic::export::interrupt::disable();));
// Populate the FreeQueue
for fq in &app.software_tasks {
// Get the task name
let name = fq.0;
let task = fq.1;
for (name, task) in &app.software_tasks {
let cap = task.args.capacity;
let fq_ident = util::fq_ident(name);
stmts.push(quote!(