Skip to content

Add devcontainer and build script - #1

Open
marcodotsh wants to merge 1 commit into
LaviniumRTSS2025from
devcontainer
Open

Add devcontainer and build script#1
marcodotsh wants to merge 1 commit into
LaviniumRTSS2025from
devcontainer

Conversation

@marcodotsh

Copy link
Copy Markdown
Collaborator

This PR adds a devcontainer to define a development environment to build the Lavinium project. It should install all needed dependencies to make the compilation succeed.

It si defined using a Dockerfile, making it possible to also use it directly with a container manager like Podman or Docker (this may need some testing, as I used it from inside Visual Studio Code).

It also includes a build script in .devcontianer/build_lavinium.sh, that should compile the Lavinium project.

To make tests work, here are the two env variable to use, one pointing to built binaries and the other to a RISC-V sysroot:

LAVINIUM_PATH="/workspaces/Lavinium/build/install/bin"
SYSROOT="/opt/riscv/riscv32-unknown-elf"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant