diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-29 18:34:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-29 18:34:35 +0000 |
| commit | ad50b54530b7068dde3227dfb72f2a641171af61 (patch) | |
| tree | e1190b395650334f834c218ff33583b783f81054 /book/en/src | |
| parent | d11b2ddd3559b29480b9bbcf9d5b7836de190f77 (diff) | |
| parent | 96cd625223404a3b32a62384055ccd4765f92312 (diff) | |
Merge #402
402: Extern task r=AfoHT a=perlindgren
Allows hardware and software task to be externally declared.
CI test, don't merge yet (squash needed).
Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'book/en/src')
| -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 |
