This repository holds a hacked version of smoothieboard which works with a NUCLEO F411RE: https://developer.mbed.org/platforms/ST-Nucleo-F411RE/ Currently, the motion stuff is working. The ADC is still stubbed and needs to be configured in scan mode.
Smoothie is a free, opensource, high performance G-code interpreter and CNC controller written in Object-Oriented C++ for the LPC17xx micro-controller ( ARM Cortex M3 architecture ). It will run on a mBed, a LPCXpresso, a SmoothieBoard, R2C2 or any other LPC17xx-based board. The motion control part is a port of the awesome grbl.
Documentation can be found here : http://smoothieware.org/
NOTE it is not necessary to build Smoothie yourself unless you want to. prebuilt binaries are availble here http://builds.smoothieware.org/
These are the quick steps to get Smoothie dependencies installed on your computer:
- Pull down a clone of the Smoothie github project to your local machine.
- In the root subdirectory of the cloned Smoothie project, there are install scripts for the supported platforms. Run the install script appropriate for your platform:
- Windows: win_install.cmd
- OS X: mac_install
- Linux: linux_install
- You can then run the BuildShell script which will be created during the install to properly configure the PATH environment variable to point to the required version of GCC for ARM which was just installed on your machine. You may want to edit this script to further customize your development environment.
From a shell, switch into the root Smoothie project directory and run:
make clean make all
To upload you can do
make upload
if you have dfu-util installed.
Alternatively copy the file LPC1768/main.bin to the sdcard calling it firmware.bin and reset.