aboutsummaryrefslogtreecommitdiff
path: root/docs/modules/ROOT/pages/basic_application.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules/ROOT/pages/basic_application.adoc')
-rw-r--r--docs/modules/ROOT/pages/basic_application.adoc13
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/modules/ROOT/pages/basic_application.adoc b/docs/modules/ROOT/pages/basic_application.adoc
index 73774c71b..6d0d04383 100644
--- a/docs/modules/ROOT/pages/basic_application.adoc
+++ b/docs/modules/ROOT/pages/basic_application.adoc
@@ -6,13 +6,22 @@ So you've got one of the xref:examples.adoc[examples] running, but what now? Let
6 6
7The full example can be found link:https://github.com/embassy-rs/embassy/tree/master/docs/modules/ROOT/examples/basic[here]. 7The full example can be found link:https://github.com/embassy-rs/embassy/tree/master/docs/modules/ROOT/examples/basic[here].
8 8
9=== Bare metal
10
11The first thing you'll notice is a few declarations, two of which indicate that Embassy is suitable for bare metal development:
12
13[source,rust]
14----
15include::example$basic/src/main.rs[lines="1..2"]
16----
17
9=== Rust Nightly 18=== Rust Nightly
10 19
11The first thing you'll notice is a few declarations stating that Embassy requires some nightly features: 20The next declaration is a Rust Unstable feature, which means that Embassy requires Rust Nightly:
12 21
13[source,rust] 22[source,rust]
14---- 23----
15include::example$basic/src/main.rs[lines="1..3"] 24include::example$basic/src/main.rs[lines="3"]
16---- 25----
17 26
18=== Dealing with errors 27=== Dealing with errors