From 53ed7bf7edb21180cb18c0bf6a7dbe6168331879 Mon Sep 17 00:00:00 2001 From: Franz Dietrich Date: Thu, 4 Apr 2024 00:01:46 +0200 Subject: fix included examples and markdown(book) (#912) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix included examples and markdown(book) fixes: #911 * fix footnote pre_init * more example link updates * Restore pool example name * Example: pool: Upgrade to heapless v0.8 * Example: pool: thumbv6 unsupported: wild cfg-if Experiment with multi-backend example contained in the example * Example: lm3s6965: Updated cargo.lock * Book: Use cargo xtask for by-example * Docs: Contributing: cargo xtask --------- Co-authored-by: Henrik Tjäder --- book/en/src/by-example/tips/indirection.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'book/en/src/by-example/tips/indirection.md') diff --git a/book/en/src/by-example/tips/indirection.md b/book/en/src/by-example/tips/indirection.md index aa68190..71a198d 100644 --- a/book/en/src/by-example/tips/indirection.md +++ b/book/en/src/by-example/tips/indirection.md @@ -13,14 +13,14 @@ As this example of approach goes completely outside of RTIC resource model with Here's an example where `heapless::Pool` is used to "box" buffers of 128 bytes. -``` rust,noplayground -{{#include ../../../../../rtic/examples/pool.rs}} +```rust,noplayground +{{#include ../../../../../examples/lm3s6965/examples/pool.rs}} ``` -``` console -$ cargo run --target thumbv7m-none-eabi --example pool +```console +$ cargo xtask qemu --verbose --example pool ``` -``` console -{{#include ../../../../../rtic/ci/expected/pool.run}} +```console +{{#include ../../../../../ci/expected/lm3s6965/pool.run}} ``` -- cgit v1.2.3