From 08e1fcd2e4fa8d5ea000c9870e12b1917ab67e23 Mon Sep 17 00:00:00 2001
From: Ulf Lilleengen <ulf.lilleengen@gmail.com>
Date: Fri, 10 Dec 2021 08:08:56 +0100
Subject: Add example snippet inclusion

---
 docs/modules/ROOT/pages/examples.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'docs/modules/ROOT/pages/examples.adoc')

diff --git a/docs/modules/ROOT/pages/examples.adoc b/docs/modules/ROOT/pages/examples.adoc
index 198633c77..c852f5205 100644
--- a/docs/modules/ROOT/pages/examples.adoc
+++ b/docs/modules/ROOT/pages/examples.adoc
@@ -1,3 +1,11 @@
 = Examples
 
 Embassy provides examples for all HALs supported. You can find them in the `examples/` folder.
+
+
+Main loop example
+
+[source,rust]
+----
+include::example$examples/std/src/bin/tick.rs[]
+----
-- 
cgit 

