aboutsummaryrefslogtreecommitdiff
path: root/book/en
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-29 18:34:35 +0000
committerGitHub <noreply@github.com>2020-10-29 18:34:35 +0000
commitad50b54530b7068dde3227dfb72f2a641171af61 (patch)
treee1190b395650334f834c218ff33583b783f81054 /book/en
parentd11b2ddd3559b29480b9bbcf9d5b7836de190f77 (diff)
parent96cd625223404a3b32a62384055ccd4765f92312 (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')
-rw-r--r--book/en/src/migration/migration_v5.md11
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