Sign inSign up

lihram/nxt-cross-compiler

By lihram

•Updated almost 8 years ago

Lego Mindstorms NXT compiler toolchain

Image
0

993

lihram/nxt-cross-compiler repository overview

Basic guide:

This is used to compile basic nxtOSEK programs. See the official examples⁠.

The container can be run interactive via the following command: run docker run --rm -it -v ${pwd}:/home/nxt/code lihram/nxt-cross-compiler

This launches an interactive shell in the container, mounting the current working directory into the working directory. To compile the source, run make all.

Note: As the code folder is inside the nxtOSEK folder, you need to ensure that your makefile references $(NXTOSEK)/ecrobot/ecrobot.mak instead of the typical ../../ecrobot/ecrobot.mak provided in the samples of nxtOSEK. The docker file provides the NXTOSEK environment variable to make this easier for you.

Alternatively, it can be used like an executable, where you pass the make arguments directly to the docker run command, like so: docker run --rm -v ${pwd}:/home/nxt/code/ lihram/nxt-cross-compiler make all

Tag summary

Content type

Image

Digest

Size

1016.9 MB

Last updated

almost 8 years ago

docker pull lihram/nxt-cross-compiler