Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.13 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.13 KB

Simulavr in Docker

Using this example you can work with simulavr inside container. Not need to install anything on your host machine except Docker

How to install Docker

Use official manual: https://docs.docker.com/engine/install/

How to use

Run container, which contains simulavr and necessary environment:
docker compose -f docker-compose.yml -p simulavr up -d

Login into container:
docker compose -p simulavr exec simulavr /bin/bash

After you finished your work with container use this command to shut down it:
docker compose -f docker-compose.yml -p simulavr down

Example

Folder avr-project is mapped by default into container, and you will be in this folder after login into container. You can use it as a shader work directory between container and your host machine.
You can use Makefile in this directory to make a "hello world" test (run commands in /avr-project folder inside of container):

make
make run

It will build simple.c and run it in the simulavr. Read more about this example here.