An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
 
 
 
Go to file
Noah Gaeta c7b5ea98fd fix: SPI flash 2025-02-10 13:44:48 -05:00
doc Update log. 2019-08-30 07:13:51 -04:00
grbl fix: SPI flash 2025-02-10 13:44:48 -05:00
.gitignore feat: improved build process 2024-12-06 10:48:48 -05:00
COPYING Grbl v1.0e huge beta release. Overrides and new reporting. 2016-09-21 19:08:24 -06:00
Makefile feat: add version as apart of build info 2024-12-06 12:04:56 -05:00
README.md feat: added readme doc 2024-12-06 11:01:31 -05:00

README.md

mo_grbl

This project is a customized fork of GRBL, tailored to support multiple machine types and board configurations. The firmware includes build targets for each machine, allowing seamless configuration and flashing.

Setup

Prerequisites

  1. Arduino CLI: Ensure Arduino CLI is installed. On macOS, you can install it with Homebrew:
brew install arduino-cli

Arduino AVR Core: Install the AVR core for Arduino boards:

arduino-cli core install arduino:avr

Make Utility: The make utility is typically pre-installed on macOS. If not, install it:

brew install make

Building the Firmware

This GRBL fork supports different configurations for machine-specific firmware. The build process uses make commands to compile firmware for the desired machine. Build Targets

RC Mini Firmware:

make build_rcmini

The compiled firmware will be output as build/rcmini.hex.

Bamboo Firmware:

make build_bamboo

The compiled firmware will be output as build/bamboo.hex.

Both Machines:

make

This builds firmware for both RC Mini and Bamboo, placing the output files in the build directory.

Flashing the Firmware

After building, you can flash the firmware to your connected Arduino.

Flash RC Mini firmware:

make flash_rcmini

Flash Bamboo firmware:

make flash_bamboo

These commands will:

  • Detect a connected Arduino on a /dev/cu.usbmodem* port.
  • Compile the project if necessary.
  • Flash the respective firmware to the Arduino.

To remove compiled files and clean the build directory:

make clean

Troubleshooting

No Arduino Detected: Ensure your Arduino is connected and recognized by your computer. Run the following command to verify its presence:

ls /dev/cu.usbmodem*