AlanFord / grbl-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
Other
0 stars 0 forks source link

Consolidate configuration settings #4

Open AlanFord opened 7 years ago

AlanFord commented 7 years ago

Rather than modifying configuration settings throughout the header files, we should consider creating sections at the end of the header files for our hardware (similar to that created for other hardware platforms).

Look at lines 37-39 of config.h. // Define CPU pin map and default settings. // NOTE: OEMs can avoid the need to maintain/update the defaults.h and cpu_map.h files and use only // one configuration file by placing their specific defaults and pin map at the bottom of this file. // If doing so, simply comment out these two defines and see instructions below.

define DEFAULTS_GENERIC

define DEFAULTS_ABC_AXIS

define CPU_MAP_2560_INITIAL