aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-07-22 07:29:35 +0000
committerGitHub <noreply@github.com>2021-07-22 07:29:35 +0000
commitc62fd967d77ccf72c08ea720c21777e367ab4125 (patch)
treef0f469dcf5414577e088c0c606a334448e5d0bbe /ci
parent2f3b5cba805d7e7b736869249f46298e59bc944d (diff)
parent5805a05fac2fc5824009586b3ee2fd36dc27fbbf (diff)
Merge #498
498: book: update the resources chapter r=AfoHT a=japaric see individual commit messages for details. what's still left to do is adjust the very last section about `#[task_local]` and `#[lock_free]` but I plan to do that as a follow up. I didn't find an in-tree example for those two attributes (are they field attributes? where do they fit in the syntax?); a quick scan of the rtic-syntax crate seems to indicate that `task_local` has been removed (?) and that `lock_free` still exists. Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/expected/lock-free.run14
-rw-r--r--ci/expected/resource.run4
2 files changed, 16 insertions, 2 deletions
diff --git a/ci/expected/lock-free.run b/ci/expected/lock-free.run
new file mode 100644
index 0000000..56f47a0
--- /dev/null
+++ b/ci/expected/lock-free.run
@@ -0,0 +1,14 @@
+GPIOA/start
+ GPIOA/counter = 1
+GPIOA/end
+GPIOB/start
+ GPIOB/counter = 2
+GPIOB/end
+GPIOA/start
+ GPIOA/counter = 3
+GPIOA/end
+GPIOB/start
+ GPIOB/counter = 4
+GPIOB/end
+GPIOA/start
+ GPIOA/counter = 5
diff --git a/ci/expected/resource.run b/ci/expected/resource.run
index ca12f0e..9b60960 100644
--- a/ci/expected/resource.run
+++ b/ci/expected/resource.run
@@ -1,2 +1,2 @@
-UART1: shared = 1
-UART0: shared = 2
+UART1: local_to_uart1 = 1
+UART0: local_to_uart0 = 1