Skip to content

Commit

Permalink
Used hackathon.md as init for exercise readme
Browse files Browse the repository at this point in the history
  • Loading branch information
HU90m committed Aug 31, 2024
1 parent aa704db commit f993b6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: *.lock
README.md
**/README.md
hackathon.md
.devcontainer/*.*
scripts/rp2040_uf2/pgrm.bin
doc/*
doc/*.md
tests/*.md
scripts/**/*.md
Copyright: lowRISC contributors
License: Apache-2.0

Expand Down
10 changes: 8 additions & 2 deletions hackathon.md → exercises/hardware_access_control/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Hackathon Structured Lab Part 1
<!--
Copyright lowRISC Contributors.
SPDX-License-Identifier: Apache-2.0
-->
# Hardware Access Control Exercise

## Orientation

Expand Down Expand Up @@ -118,8 +122,10 @@ To see this in action, load the `sonata_led_demo` onto your board.

## Where to go from here...

[`led_walk_dynamic`]: exercises/hardware_access_control/led_walk_dynamic.cc

Have a play with the `sonata_led_demo`.
For example, remove the following line in the [`led_walk`](compartments/led_walk.cc) and you will see LED 3 no longer lights up.
For example, remove the following line in the [`led_walk_dynamic`][] and you will see LED 3 no longer lights up.

```cpp
leds[3] = aquire_led(3).value();
Expand Down

0 comments on commit f993b6e

Please sign in to comment.