From 25cdeb830b5e52d90ae9e34aa4696be58338c193 Mon Sep 17 00:00:00 2001 From: ashelly Date: Fri, 22 May 2015 10:24:48 -0400 Subject: [PATCH] Splitting Cpu map into separate files. Makes comparison, addition of new ones easier --- grbl/cpu_map.h | 228 +------------------------------------- grbl/cpu_map_atmega2560.h | 114 +++++++++++++++++++ grbl/cpu_map_atmega328p.h | 122 ++++++++++++++++++++ 3 files changed, 241 insertions(+), 223 deletions(-) create mode 100644 grbl/cpu_map_atmega2560.h create mode 100644 grbl/cpu_map_atmega328p.h diff --git a/grbl/cpu_map.h b/grbl/cpu_map.h index 872e0bf..8623fdc 100644 --- a/grbl/cpu_map.h +++ b/grbl/cpu_map.h @@ -33,121 +33,7 @@ #ifdef CPU_MAP_ATMEGA328P // (Arduino Uno) Officially supported by Grbl. - // Define serial port pins and interrupt vectors. - #define SERIAL_RX USART_RX_vect - #define SERIAL_UDRE USART_UDRE_vect - - // Define step pulse output pins. NOTE: All step bit pins must be on the same port. - #define STEP_DDR DDRD - #define STEP_PORT PORTD - #define X_STEP_BIT 2 // Uno Digital Pin 2 - #define Y_STEP_BIT 3 // Uno Digital Pin 3 - #define Z_STEP_BIT 4 // Uno Digital Pin 4 - #define STEP_MASK ((1<