1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-01-05 16:10:31 +02:00

Add links to exercise template archive.

This commit is contained in:
Andrew Walbran 2023-03-30 15:35:06 +01:00
parent d0ef072cf2
commit c17e8abbd7
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,9 @@ Hints:
[nRF52833 datasheet](https://infocenter.nordicsemi.com/pdf/nRF52833_PS_v1.5.pdf) if you want, but
it shouldn't be necessary for this exercise.
Download the [exercise template](../../exercises.zip) and look in the `compass` directory for the
following files.
`src/main.rs`:
```rust,compile_fail

View File

@ -4,6 +4,9 @@ The QEMU aarch64 virt machine has a [PL031][1] real-time clock at 0x9010000. For
should write a driver for it and use it to print the current time to the serial console. You can use
the [`chrono`][2] crate for date/time formatting.
Download the [exercise template](../../exercises.zip) and look in the `rtc` directory for the
following files.
`src/main.rs`:
```rust,compile_fail
{{#include rtc/src/main.rs:top}}