1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-02 01:36:34 +02:00

15 lines
304 B
Markdown
Raw Normal View History

2023-03-13 16:09:30 +00:00
# Using it
Let's write a small program using our driver to write to the serial console, and echo incoming
bytes.
```rust,editable,compile_fail
{{#include ../examples/src/main_improved.rs:main}}
2023-03-13 16:09:30 +00:00
```
<details>
* Run the example in QEMU with `make qemu` under `src/bare-metal/aps/examples`.
</details>