mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-17 08:02:38 +02:00
Add note about QEMU UART.
This commit is contained in:
parent
c7831953bb
commit
790f4c88d5
@ -1,5 +1,9 @@
|
|||||||
# Let's write a UART driver
|
# Let's write a UART driver
|
||||||
|
|
||||||
|
The QEMU 'virt' machine has a [PL011][1] UART, so let's write a driver for that.
|
||||||
|
|
||||||
```rust,editable,compile_fail
|
```rust,editable,compile_fail
|
||||||
{{#include examples/src/pl011.rs:Example}}
|
{{#include examples/src/pl011.rs:Example}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[1]: https://developer.arm.com/documentation/ddi0183/g
|
||||||
|
Loading…
x
Reference in New Issue
Block a user