-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor examples for handling many boards
The current way examples are done in the repository and shipped in the SDK does not make sense when you have many boards in my opinion so this restructure moves examples that are not specific to any particular platform (e.g hello world) to be generic to every platform supported by Microkit. Signed-off-by: Ivan-Velickovic <[email protected]>
- Loading branch information
1 parent
9bc4568
commit 1b9cb3b
Showing
57 changed files
with
189 additions
and
805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Copyright 2021, Breakaway Consulting Pty. Ltd. | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
--> | ||
# Example - Ethernet | ||
|
||
This example shows an ethernet system for the TQMa8XQP platform. | ||
It also includes a driver for the general purpose timer on the platform. | ||
|
||
## Building | ||
|
||
```sh | ||
mkdir build | ||
make BUILD_DIR=build MICROKIT_BOARD=tqma8xqp1gb MICROKIT_CONFIG=<debug/release/benchmark> MICROKIT_SDK=/path/to/sdk | ||
``` | ||
|
||
## Running | ||
|
||
See instructions for your board in the manual. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
Copyright 2024, UNSW | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
--> | ||
# Example - Hello World | ||
|
||
This is a basic hello world example that has a single protection domain | ||
that simply prints "hello, world!" upon initialisation. | ||
|
||
All supported platforms are supported in this example. | ||
|
||
## Building | ||
|
||
```sh | ||
mkdir build | ||
make BUILD_DIR=build MICROKIT_BOARD=<board> MICROKIT_CONFIG=<debug/release/benchmark> MICROKIT_SDK=/path/to/sdk | ||
``` | ||
|
||
## Running | ||
|
||
See instructions for your board in the manual. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- | ||
Copyright 2024, UNSW | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
--> | ||
# Example - Hierarchy | ||
|
||
This example shows off the parent/child PD concept in Microkit as | ||
well as fault handling. The parent 'restarter' PD recieves faults | ||
from the 'crasher' PD that is intentionally crashing and then | ||
resets the crasher's program counter. | ||
|
||
All supported platforms are supported in this example. | ||
|
||
## Building | ||
|
||
```sh | ||
mkdir build | ||
make BUILD_DIR=build MICROKIT_BOARD=<board> MICROKIT_CONFIG=<debug/release/benchmark> MICROKIT_SDK=/path/to/sdk | ||
``` | ||
|
||
## Running | ||
|
||
See instructions for your board in the manual. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.