diff options
| author | Per Lindgren <per.lindgren@ltu.se> | 2020-10-24 19:38:49 +0200 |
|---|---|---|
| committer | Per Lindgren <per.lindgren@ltu.se> | 2020-10-29 19:29:46 +0100 |
| commit | 96cd625223404a3b32a62384055ccd4765f92312 (patch) | |
| tree | e1190b395650334f834c218ff33583b783f81054 /book | |
| parent | d11b2ddd3559b29480b9bbcf9d5b7836de190f77 (diff) | |
extern task
Diffstat (limited to 'book')
| -rw-r--r-- | book/en/src/migration/migration_v5.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/book/en/src/migration/migration_v5.md b/book/en/src/migration/migration_v5.md index 5cf818c..44af15e 100644 --- a/book/en/src/migration/migration_v5.md +++ b/book/en/src/migration/migration_v5.md @@ -36,7 +36,6 @@ mod app { This works also for ram functions, see examples/ramfunc.rs - ## Module instead of Const With the support of attributes on modules the `const APP` workaround is not needed. @@ -125,3 +124,13 @@ struct whateveryouwant { ``` would work equally well. + +--- + +## Additions + +### Extern tasks + +Both software and hardware tasks can now be defined external to the `mod app`. Previously this was possible only by implementing a trampoline calling out the task implementation. + +See examples `examples/extern_binds.rs` and `examples/extern_spawn.rs`.
\ No newline at end of file |
