Compiling grbl-lpc on Windows
I’m starting to test out grbl-LPC and wanted to compile my own version.
This is how I did it and is not necessarily the correct way. I used a new windows virtual machine so not to mess up my existing build environment. You can use Virtual box, Vmware, Windows Virtual PC etc.
Install GNU ARM Embedded Toolchain (I used the Windows 32bit .exe version)
Set your Windows PATH to include the git,make and ARM toolchain
This is what my PATH is set to…
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Git\cmd;C:\Program Files (x86)\GnuWin3
2\bin;C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q1-update\bin
Open a Windows Command shell
Download the grbl-LPC source code. I used cprezzi fork
git clone https://github.com/cprezzi/grbl-LPC.git
If you want to download the 4 axis branch version
git clone -b more-axis https://github.com/cprezzi/grbl-LPC.git
Change directory to the downloaded source code, should be \grbl-LPC
Run these comands in the following order
git submodule init
git submodule update
If all goes well, there should be a firmware.bin in the \build directory.
Edit \grbl\config.h if you need special version such as coreXY