Skip to content

Commit ceaac68

Browse files
AlexJones0marnovandermaas
authored andcommitted
Update auto demo docs to mention environment
Explicitly state the legacy toolchain environment required to build the automotive demo's legacy component, and add example commands that show entering and exiting that environment to build the component. Also point out that this is only available on Linux systems.
1 parent e3bfa32 commit ceaac68

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

examples/automotive/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,16 @@ Ethernet cable.
3939
## Building
4040

4141
The cheriot componenents of this demo are built along with the rest of the examples.
42-
However, the legacy component needs to be build seperately.
42+
However, the legacy component needs to be built seperately. The legacy component
43+
requires the legacy RISC-V toolchain that is available on Linux systems in the
44+
`build-legacy-software` Nix environment. So, to build the full demo, you can run:
4345

4446
```sh
47+
# In the normal `nix develop` environment.
4548
xmake -P examples
49+
# Enter an environment with the legacy toolchain, and build the legacy component.
50+
nix develop .#build-legacy-software
4651
xmake -P examples/automotive/legacy/
52+
# Exit the overlaid legacy environment
53+
exit
4754
```

0 commit comments

Comments
 (0)