From ffdd368642dee3c3c5713fbcbeb6f02d7a9deb7a Mon Sep 17 00:00:00 2001 From: "Scofield, Thomas" Date: Thu, 25 Jul 2019 23:37:21 -0400 Subject: [PATCH] Add additional info to help new users --- DOCKER_README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/DOCKER_README.md b/DOCKER_README.md index d3d8310..d560165 100644 --- a/DOCKER_README.md +++ b/DOCKER_README.md @@ -5,10 +5,28 @@ Minimal docker environment for building arm-embedded projects Run interactively with ```docker run -it --rm -v `pwd`:/root ryankurte/docker-arm-embedded /bin/bash```. This will create a temporal instance (changes will be dropped on exit) with a binding from the current directory to the root user home directory. +If you are using selinux you may need to add a ```:z``` to the end of the -v parameter to indicate the mount is shared. + +```docker run -it --rm -v `pwd`:/root:z ryankurte/docker-arm-embedded /bin/bash``` + +https://docs.docker.com/storage/bind-mounts/ + +### Building grbl-LPC +Update the grbl/config.h and uncomment the CPU_MAP define statement for the board you are compiling for + +``` +git submodule init +git submodule update +make +``` + +The resulting firmware file is build/firmware.bin + ## Includes: - build-essential (native) - make, cmake - gawk, genromfs, ccache - arm-none-eabi from [launchpad.net](https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded) - [Yotta](http://yotta.mbed.com/) - \ No newline at end of file + +