Hi, I've tried everything with my Uno and mega 2560. To install GRBL.
- I use to have grbl working on another uno, but now after maybe uninstalling java it does not allow me to Flash GRBL.
-I have tried everything with an Elitebook Windows 7 64 bit. I tried 1 clone uno and mega, then purchased genuine ones again...
-Deleted and reinstalled Arduino and libraries.
- Updated all drivers.
I can't even use XLoader to flash mega to either clone or genuine Megas..
My business is at a hold until I figure this out.
I can post the error I get
Arduino: 1.8.8 (Windows 7), Board: "Arduino/Genuino Uno"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_759772 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_483675 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Owner\Documents\grbl-1.1e.20161208\grbl\examples\grblUpload\grblUpload.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Owner\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10808 -build-path C:\Users\Owner\AppData\Local\Temp\arduino_build_759772 -warnings=none -build-cache C:\Users\Owner\AppData\Local\Temp\arduino_cache_483675 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Owner\Documents\grbl-1.1e.20161208\grbl\examples\grblUpload\grblUpload.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\sketch\\grblUpload.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\sketch\\grblUpload.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\coolant_control.c" -o nul
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\eeprom.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\gcode.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\jog.c
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\limits.c" -o nul
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\main.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\motion_control.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\nuts_bolts.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\planner.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\print.c
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\probe.c" -o nul
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\protocol.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\report.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\serial.c
Using cached library dependencies for file: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\settings.c
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\sleep.c" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\spindle_control.c" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\stepper.c" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\system.c" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\sketch\\grblUpload.ino.cpp" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\sketch\\grblUpload.ino.cpp" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\sketch\\grblUpload.ino.cpp.o"
Compiling libraries...
Compiling library "grbl-Mega-5X-edge"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\coolant_control.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\coolant_control.c.o"
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\print.c.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\limits.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\limits.c.o"
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\gcode.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\eeprom.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\protocol.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\jog.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\report.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\settings.c.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\probe.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\probe.c.o"
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\motion_control.c.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\spindle_control.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\spindle_control.c.o"
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\serial.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\main.c.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\stepper.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\stepper.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\system.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\system.c.o"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge" "C:\\Users\\Owner\\Documents\\Arduino\\libraries\\grbl-Mega-5X-edge\\sleep.c" -o "C:\\Users\\Owner\\AppData\\Local\\Temp\\arduino_build_759772\\libraries\\grbl-Mega-5X-edge\\sleep.c.o"
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\planner.c.o
Using previously compiled file: C:\Users\Owner\AppData\Local\Temp\arduino_build_759772\libraries\grbl-Mega-5X-edge\nuts_bolts.c.o
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:21:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c: In function 'coolant_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:335:31: error: 'DDRH' undeclared (first use in this function)
#define COOLANT_MIST_DDR DDRH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:27:3: note: in expansion of macro 'COOLANT_MIST_DDR'
COOLANT_MIST_DDR |= (1 << COOLANT_MIST_BIT); // Configure as output pin.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:335:31: note: each undeclared identifier is reported only once for each function it appears in
#define COOLANT_MIST_DDR DDRH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:27:3: note: in expansion of macro 'COOLANT_MIST_DDR'
COOLANT_MIST_DDR |= (1 << COOLANT_MIST_BIT); // Configure as output pin.
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:44:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:21:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c: In function 'coolant_get_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:336:31: error: 'PORTH' undeclared (first use in this function)
#define COOLANT_MIST_PORT PORTH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\nuts_bolts.h:59:30: note: in definition of macro 'bit_istrue'
#define bit_istrue(x,mask) ((x & mask) != 0)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:46:20: note: in expansion of macro 'COOLANT_MIST_PORT'
if (bit_istrue(COOLANT_MIST_PORT,(1 << COOLANT_MIST_BIT))) {
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:21:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c: In function 'coolant_stop':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:336:31: error: 'PORTH' undeclared (first use in this function)
#define COOLANT_MIST_PORT PORTH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:66:5: note: in expansion of macro 'COOLANT_MIST_PORT'
COOLANT_MIST_PORT &= ~(1 << COOLANT_MIST_BIT);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c: In function 'coolant_set_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:336:31: error: 'PORTH' undeclared (first use in this function)
#define COOLANT_MIST_PORT PORTH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\coolant_control.c:97:4: note: in expansion of macro 'COOLANT_MIST_PORT'
COOLANT_MIST_PORT |= (1 << COOLANT_MIST_BIT);
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:23:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c: In function 'limits_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRE' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:273:28: note: in expansion of macro '_DDR'
#define MIN_LIMIT_DDR(i) _DDR(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:37:5: note: in expansion of macro 'MIN_LIMIT_DDR'
MIN_LIMIT_DDR(0) &= ~(1<<MIN_LIMIT_BIT(0));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: note: each undeclared identifier is reported only once for each function it appears in
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:273:28: note: in expansion of macro '_DDR'
#define MIN_LIMIT_DDR(i) _DDR(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:37:5: note: in expansion of macro 'MIN_LIMIT_DDR'
MIN_LIMIT_DDR(0) &= ~(1<<MIN_LIMIT_BIT(0));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRJ' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:273:28: note: in expansion of macro '_DDR'
#define MIN_LIMIT_DDR(i) _DDR(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:38:5: note: in expansion of macro 'MIN_LIMIT_DDR'
MIN_LIMIT_DDR(1) &= ~(1<<MIN_LIMIT_BIT(1));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRL' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:273:28: note: in expansion of macro '_DDR'
#define MIN_LIMIT_DDR(i) _DDR(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:41:5: note: in expansion of macro 'MIN_LIMIT_DDR'
MIN_LIMIT_DDR(3) &= ~(1<<MIN_LIMIT_BIT(3));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRG' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:303:28: note: in expansion of macro '_DDR'
#define MAX_LIMIT_DDR(i) _DDR(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:53:5: note: in expansion of macro 'MAX_LIMIT_DDR'
MAX_LIMIT_DDR(3) &= ~(1<<MAX_LIMIT_BIT(3));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRF' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:303:28: note: in expansion of macro '_DDR'
#define MAX_LIMIT_DDR(i) _DDR(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:56:5: note: in expansion of macro 'MAX_LIMIT_DDR'
MAX_LIMIT_DDR(4) &= ~(1<<MAX_LIMIT_BIT(4));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTE' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:274:29: note: in expansion of macro '_PORT'
#define MIN_LIMIT_PORT(i) _PORT(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:88:7: note: in expansion of macro 'MIN_LIMIT_PORT'
MIN_LIMIT_PORT(0) |= (1<<MIN_LIMIT_BIT(0)); // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTJ' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:274:29: note: in expansion of macro '_PORT'
#define MIN_LIMIT_PORT(i) _PORT(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:89:7: note: in expansion of macro 'MIN_LIMIT_PORT'
MIN_LIMIT_PORT(1) |= (1<<MIN_LIMIT_BIT(1)); // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTL' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:274:29: note: in expansion of macro '_PORT'
#define MIN_LIMIT_PORT(i) _PORT(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:92:9: note: in expansion of macro 'MIN_LIMIT_PORT'
MIN_LIMIT_PORT(3) |= (1<<MIN_LIMIT_BIT(3)); // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTG' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:304:29: note: in expansion of macro '_PORT'
#define MAX_LIMIT_PORT(i) _PORT(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:104:9: note: in expansion of macro 'MAX_LIMIT_PORT'
Using library grbl-Mega-5X-edge in folder: C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge (legacy) MAX_LIMIT_PORT(3) |= (1<<MAX_LIMIT_BIT(3)); // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:304:29: note: in expansion of macro '_PORT'
#define MAX_LIMIT_PORT(i) _PORT(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:107:9: note: in expansion of macro 'MAX_LIMIT_PORT'
MAX_LIMIT_PORT(4) |= (1<<MAX_LIMIT_BIT(4)); // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c: At top level:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:148:20: error: 'PINE' undeclared here (not in a function)
#define PIN(pin) PIN##pin
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:149:21: note: in expansion of macro 'PIN'
#define _PIN(pin) PIN(pin)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:305:28: note: in expansion of macro '_PIN'
#define MAX_LIMIT_PIN(i) _PIN(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:171:64: note: in expansion of macro 'MAX_LIMIT_PIN'
static volatile uint8_t * const max_limit_pins[N_AXIS] = {&MAX_LIMIT_PIN(0), &MAX_LIMIT_PIN(1), &MAX_LIMIT_PIN(2), &MAX_LIMIT_PIN(3), &MAX_LIMIT_PIN(4)};
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:148:20: error: 'PINJ' undeclared here (not in a function)
#define PIN(pin) PIN##pin
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:149:21: note: in expansion of macro 'PIN'
#define _PIN(pin) PIN(pin)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:305:28: note: in expansion of macro '_PIN'
#define MAX_LIMIT_PIN(i) _PIN(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:171:83: note: in expansion of macro 'MAX_LIMIT_PIN'
static volatile uint8_t * const max_limit_pins[N_AXIS] = {&MAX_LIMIT_PIN(0), &MAX_LIMIT_PIN(1), &MAX_LIMIT_PIN(2), &MAX_LIMIT_PIN(3), &MAX_LIMIT_PIN(4)};
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:148:20: error: 'PING' undeclared here (not in a function)
#define PIN(pin) PIN##pin
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:149:21: note: in expansion of macro 'PIN'
#define _PIN(pin) PIN(pin)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:305:28: note: in expansion of macro '_PIN'
#define MAX_LIMIT_PIN(i) _PIN(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:171:121: note: in expansion of macro 'MAX_LIMIT_PIN'
static volatile uint8_t * const max_limit_pins[N_AXIS] = {&MAX_LIMIT_PIN(0), &MAX_LIMIT_PIN(1), &MAX_LIMIT_PIN(2), &MAX_LIMIT_PIN(3), &MAX_LIMIT_PIN(4)};
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:148:20: error: 'PINF' undeclared here (not in a function)
#define PIN(pin) PIN##pin
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:149:21: note: in expansion of macro 'PIN'
#define _PIN(pin) PIN(pin)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:305:28: note: in expansion of macro '_PIN'
#define MAX_LIMIT_PIN(i) _PIN(MAX_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:171:140: note: in expansion of macro 'MAX_LIMIT_PIN'
static volatile uint8_t * const max_limit_pins[N_AXIS] = {&MAX_LIMIT_PIN(0), &MAX_LIMIT_PIN(1), &MAX_LIMIT_PIN(2), &MAX_LIMIT_PIN(3), &MAX_LIMIT_PIN(4)};
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:148:20: error: 'PINL' undeclared here (not in a function)
#define PIN(pin) PIN##pin
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:149:21: note: in expansion of macro 'PIN'
#define _PIN(pin) PIN(pin)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:275:28: note: in expansion of macro '_PIN'
#define MIN_LIMIT_PIN(i) _PIN(MIN_LIMIT_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\limits.c:172:121: note: in expansion of macro 'MIN_LIMIT_PIN'
static volatile uint8_t * const min_limit_pins[N_AXIS] = {&MIN_LIMIT_PIN(0), &MIN_LIMIT_PIN(1), &MIN_LIMIT_PIN(2), &MIN_LIMIT_PIN(3), &MIN_LIMIT_PIN(4)};
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c:21:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c: In function 'probe_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:354:27: error: 'DDRK' undeclared (first use in this function)
#define PROBE_DDR DDRK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c:31:3: note: in expansion of macro 'PROBE_DDR'
PROBE_DDR &= ~(PROBE_MASK); // Configure as input pins
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:354:27: note: each undeclared identifier is reported only once for each function it appears in
#define PROBE_DDR DDRK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c:31:3: note: in expansion of macro 'PROBE_DDR'
PROBE_DDR &= ~(PROBE_MASK); // Configure as input pins
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:356:27: error: 'PORTK' undeclared (first use in this function)
#define PROBE_PORT PORTK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c:35:5: note: in expansion of macro 'PROBE_PORT'
PROBE_PORT |= PROBE_MASK; // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c: In function 'probe_get_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:355:27: error: 'PINK' undeclared (first use in this function)
#define PROBE_PIN PINK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\probe.c:53:37: note: in expansion of macro 'PROBE_PIN'
uint8_t probe_get_state() { return((PROBE_PIN & PROBE_MASK) ^ probe_invert_mask); }
^
exit status 1
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:23:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function 'st_wake_up':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:255:7: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(1) |= (1 << STEPPER_DISABLE_BIT(1));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: note: each undeclared identifier is reported only once for each function it appears in
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:255:7: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(1) |= (1 << STEPPER_DISABLE_BIT(1));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTK' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:256:7: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(2) |= (1 << STEPPER_DISABLE_BIT(2));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTA' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:258:9: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(3) |= (1 << STEPPER_DISABLE_BIT(3));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function 'st_go_idle':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:327:7: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(1) |= (1 << STEPPER_DISABLE_BIT(1));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTK' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:328:7: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(2) |= (1 << STEPPER_DISABLE_BIT(2));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTA' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:243:35: note: in expansion of macro '_PORT'
#define STEPPER_DISABLE_PORT(i) _PORT(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:330:9: note: in expansion of macro 'STEPPER_DISABLE_PORT'
STEPPER_DISABLE_PORT(3) |= (1 << STEPPER_DISABLE_BIT(3));
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function '__vector_11':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:212:30: note: in expansion of macro '_PORT'
#define _DIRECTION_PORT(i) _PORT(DIRECTION_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:213:29: note: in expansion of macro '_DIRECTION_PORT'
#define DIRECTION_PORT(i) _DIRECTION_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:427:5: note: in expansion of macro 'DIRECTION_PORT'
DIRECTION_PORT(0) = (DIRECTION_PORT(0) & ~(1 << DIRECTION_BIT(0))) | st.dir_outbits[0];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTL' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:212:30: note: in expansion of macro '_PORT'
#define _DIRECTION_PORT(i) _PORT(DIRECTION_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:213:29: note: in expansion of macro '_DIRECTION_PORT'
#define DIRECTION_PORT(i) _DIRECTION_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:429:5: note: in expansion of macro 'DIRECTION_PORT'
DIRECTION_PORT(2) = (DIRECTION_PORT(2) & ~(1 << DIRECTION_BIT(2))) | st.dir_outbits[2];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTA' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:212:30: note: in expansion of macro '_PORT'
#define _DIRECTION_PORT(i) _PORT(DIRECTION_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:213:29: note: in expansion of macro '_DIRECTION_PORT'
#define DIRECTION_PORT(i) _DIRECTION_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:431:5: note: in expansion of macro 'DIRECTION_PORT'
DIRECTION_PORT(3) = (DIRECTION_PORT(3) & ~(1 << DIRECTION_BIT(3))) | st.dir_outbits[3];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function '__vector_16':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:715:5: note: in expansion of macro 'STEP_PORT'
STEP_PORT(0) = (STEP_PORT(0) & ~(1 << STEP_BIT(0))) | step_port_invert_mask[0];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTL' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:717:5: note: in expansion of macro 'STEP_PORT'
STEP_PORT(2) = (STEP_PORT(2) & ~(1 << STEP_BIT(2))) | step_port_invert_mask[2];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTA' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:719:7: note: in expansion of macro 'STEP_PORT'
STEP_PORT(3) = (STEP_PORT(3) & ~(1 << STEP_BIT(3))) | step_port_invert_mask[3];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function 'st_reset':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTF' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:809:5: note: in expansion of macro 'STEP_PORT'
STEP_PORT(0) = (STEP_PORT(0) & ~(1 << STEP_BIT(0))) | step_port_invert_mask[0];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTL' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:815:5: note: in expansion of macro 'STEP_PORT'
STEP_PORT(2) = (STEP_PORT(2) & ~(1 << STEP_BIT(2))) | step_port_invert_mask[2];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:146:22: error: 'PORTA' undeclared (first use in this function)
#define PORT(port) PORT##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:147:23: note: in expansion of macro 'PORT'
#define _PORT(port) PORT(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:180:25: note: in expansion of macro '_PORT'
#define _STEP_PORT(i) _PORT(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:181:24: note: in expansion of macro '_STEP_PORT'
#define STEP_PORT(i) _STEP_PORT(i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:818:7: note: in expansion of macro 'STEP_PORT'
STEP_PORT(3) = (STEP_PORT(3) & ~(1 << STEP_BIT(3))) | step_port_invert_mask[3];
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c: In function 'stepper_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRF' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:179:23: note: in expansion of macro '_DDR'
#define STEP_DDR(i) _DDR(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:844:5: note: in expansion of macro 'STEP_DDR'
STEP_DDR(0) |= 1<<STEP_BIT(0);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRL' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:179:23: note: in expansion of macro '_DDR'
#define STEP_DDR(i) _DDR(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:846:5: note: in expansion of macro 'STEP_DDR'
STEP_DDR(2) |= 1<<STEP_BIT(2);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRA' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:179:23: note: in expansion of macro '_DDR'
#define STEP_DDR(i) _DDR(STEP_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:848:7: note: in expansion of macro 'STEP_DDR'
STEP_DDR(3) |= 1<<STEP_BIT(3);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:144:21: error: 'DDRK' undeclared (first use in this function)
#define DDR(port) DDR##port
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:145:22: note: in expansion of macro 'DDR'
#define _DDR(port) DDR(port)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:242:34: note: in expansion of macro '_DDR'
#define STEPPER_DISABLE_DDR(i) _DDR(STEPPER_DISABLE_PORT_##i)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\stepper.c:859:5: note: in expansion of macro 'STEPPER_DISABLE_DDR'
STEPPER_DISABLE_DDR(2) |= 1<<STEPPER_DISABLE_BIT(2);
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:22:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c: In function 'spindle_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:384:31: error: 'DDRH' undeclared (first use in this function)
#define SPINDLE_PWM_DDR DDRH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:31:3: note: in expansion of macro 'SPINDLE_PWM_DDR'
SPINDLE_PWM_DDR |= (1<<SPINDLE_PWM_BIT); // Configure as PWM output pin.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:384:31: note: each undeclared identifier is reported only once for each function it appears in
#define SPINDLE_PWM_DDR DDRH
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:31:3: note: in expansion of macro 'SPINDLE_PWM_DDR'
SPINDLE_PWM_DDR |= (1<<SPINDLE_PWM_BIT); // Configure as PWM output pin.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:372:39: error: 'TCCR4A' undeclared (first use in this function)
#define SPINDLE_TCCRA_REGISTER TCCR4A
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:32:3: note: in expansion of macro 'SPINDLE_TCCRA_REGISTER'
SPINDLE_TCCRA_REGISTER = SPINDLE_TCCRA_INIT_MASK; // Configure PWM output compare timer
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:378:42: error: 'WGM40' undeclared (first use in this function)
#define SPINDLE_TCCRA_INIT_MASK ((1<<WGM40) | (1<<WGM41))
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:32:28: note: in expansion of macro 'SPINDLE_TCCRA_INIT_MASK'
SPINDLE_TCCRA_REGISTER = SPINDLE_TCCRA_INIT_MASK; // Configure PWM output compare timer
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:378:55: error: 'WGM41' undeclared (first use in this function)
#define SPINDLE_TCCRA_INIT_MASK ((1<<WGM40) | (1<<WGM41))
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:32:28: note: in expansion of macro 'SPINDLE_TCCRA_INIT_MASK'
SPINDLE_TCCRA_REGISTER = SPINDLE_TCCRA_INIT_MASK; // Configure PWM output compare timer
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:373:39: error: 'TCCR4B' undeclared (first use in this function)
#define SPINDLE_TCCRB_REGISTER TCCR4B
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:33:3: note: in expansion of macro 'SPINDLE_TCCRB_REGISTER'
SPINDLE_TCCRB_REGISTER = SPINDLE_TCCRB_INIT_MASK;
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:379:42: error: 'WGM42' undeclared (first use in this function)
#define SPINDLE_TCCRB_INIT_MASK ((1<<WGM42) | (1<<WGM43) | (1<<CS41))
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:33:28: note: in expansion of macro 'SPINDLE_TCCRB_INIT_MASK'
SPINDLE_TCCRB_REGISTER = SPINDLE_TCCRB_INIT_MASK;
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:379:55: error: 'WGM43' undeclared (first use in this function)
#define SPINDLE_TCCRB_INIT_MASK ((1<<WGM42) | (1<<WGM43) | (1<<CS41))
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:33:28: note: in expansion of macro 'SPINDLE_TCCRB_INIT_MASK'
SPINDLE_TCCRB_REGISTER = SPINDLE_TCCRB_INIT_MASK;
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:379:68: error: 'CS41' undeclared (first use in this function)
#define SPINDLE_TCCRB_INIT_MASK ((1<<WGM42) | (1<<WGM43) | (1<<CS41))
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:33:28: note: in expansion of macro 'SPINDLE_TCCRB_INIT_MASK'
SPINDLE_TCCRB_REGISTER = SPINDLE_TCCRB_INIT_MASK;
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:380:37: error: 'OCR4A' undeclared (first use in this function)
#define SPINDLE_OCRA_REGISTER OCR4A // 16-bit Fast PWM mode requires top reset value stored here.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:34:3: note: in expansion of macro 'SPINDLE_OCRA_REGISTER'
SPINDLE_OCRA_REGISTER = SPINDLE_OCRA_TOP_VALUE; // Set the top value for 16-bit fast PWM mode
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:324:35: error: 'DDRG' undeclared (first use in this function)
#define SPINDLE_ENABLE_DDR DDRG
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:35:3: note: in expansion of macro 'SPINDLE_ENABLE_DDR'
SPINDLE_ENABLE_DDR |= (1<<SPINDLE_ENABLE_BIT); // Configure as output pin.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:327:35: error: 'DDRE' undeclared (first use in this function)
#define SPINDLE_DIRECTION_DDR DDRE
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:36:3: note: in expansion of macro 'SPINDLE_DIRECTION_DDR'
SPINDLE_DIRECTION_DDR |= (1<<SPINDLE_DIRECTION_BIT); // Configure as output pin.
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:44:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:22:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c: In function 'spindle_get_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:325:35: error: 'PORTG' undeclared (first use in this function)
#define SPINDLE_ENABLE_PORT PORTG
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\nuts_bolts.h:59:30: note: in definition of macro 'bit_istrue'
#define bit_istrue(x,mask) ((x & mask) != 0)
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:48:20: note: in expansion of macro 'SPINDLE_ENABLE_PORT'
if (bit_istrue(SPINDLE_ENABLE_PORT,(1<<SPINDLE_ENABLE_BIT)) && (SPINDLE_TCCRA_REGISTER & (1<<SPINDLE_COMB_BIT))) {
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:22:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:372:39: error: 'TCCR4A' undeclared (first use in this function)
#define SPINDLE_TCCRA_REGISTER TCCR4A
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:48:69: note: in expansion of macro 'SPINDLE_TCCRA_REGISTER'
if (bit_istrue(SPINDLE_ENABLE_PORT,(1<<SPINDLE_ENABLE_BIT)) && (SPINDLE_TCCRA_REGISTER & (1<<SPINDLE_COMB_BIT))) {
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:375:39: error: 'COM4C1' undeclared (first use in this function)
#define SPINDLE_COMB_BIT COM4C1
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:48:98: note: in expansion of macro 'SPINDLE_COMB_BIT'
if (bit_istrue(SPINDLE_ENABLE_PORT,(1<<SPINDLE_ENABLE_BIT)) && (SPINDLE_TCCRA_REGISTER & (1<<SPINDLE_COMB_BIT))) {
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:328:35: error: 'PORTE' undeclared (first use in this function)
#define SPINDLE_DIRECTION_PORT PORTE
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:50:9: note: in expansion of macro 'SPINDLE_DIRECTION_PORT'
if (SPINDLE_DIRECTION_PORT & (1<<SPINDLE_DIRECTION_BIT)) { return(SPINDLE_STATE_CCW); }
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c: In function 'spindle_stop':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:372:39: error: 'TCCR4A' undeclared (first use in this function)
#define SPINDLE_TCCRA_REGISTER TCCR4A
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:62:3: note: in expansion of macro 'SPINDLE_TCCRA_REGISTER'
SPINDLE_TCCRA_REGISTER &= ~(1<<SPINDLE_COMB_BIT); // Disable PWM. Output voltage is zero.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:375:39: error: 'COM4C1' undeclared (first use in this function)
#define SPINDLE_COMB_BIT COM4C1
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:62:34: note: in expansion of macro 'SPINDLE_COMB_BIT'
SPINDLE_TCCRA_REGISTER &= ~(1<<SPINDLE_COMB_BIT); // Disable PWM. Output voltage is zero.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:325:35: error: 'PORTG' undeclared (first use in this function)
#define SPINDLE_ENABLE_PORT PORTG
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:66:5: note: in expansion of macro 'SPINDLE_ENABLE_PORT'
SPINDLE_ENABLE_PORT &= ~(1<<SPINDLE_ENABLE_BIT); // Set pin to low
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c: In function 'spindle_set_speed':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:374:39: error: 'OCR4C' undeclared (first use in this function)
#define SPINDLE_OCR_REGISTER OCR4C
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:75:3: note: in expansion of macro 'SPINDLE_OCR_REGISTER'
SPINDLE_OCR_REGISTER = pwm_value; // Set PWM output level.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:372:39: error: 'TCCR4A' undeclared (first use in this function)
#define SPINDLE_TCCRA_REGISTER TCCR4A
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:89:7: note: in expansion of macro 'SPINDLE_TCCRA_REGISTER'
Thank you!
SPINDLE_TCCRA_REGISTER &= ~(1<<SPINDLE_COMB_BIT); // Disable PWM. Output voltage is zero.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:375:39: error: 'COM4C1' undeclared (first use in this function)
#define SPINDLE_COMB_BIT COM4C1
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:89:38: note: in expansion of macro 'SPINDLE_COMB_BIT'
SPINDLE_TCCRA_REGISTER &= ~(1<<SPINDLE_COMB_BIT); // Disable PWM. Output voltage is zero.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c: In function 'spindle_set_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:328:35: error: 'PORTE' undeclared (first use in this function)
#define SPINDLE_DIRECTION_PORT PORTE
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:185:7: note: in expansion of macro 'SPINDLE_DIRECTION_PORT'
SPINDLE_DIRECTION_PORT &= ~(1<<SPINDLE_DIRECTION_BIT);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:325:35: error: 'PORTG' undeclared (first use in this function)
#define SPINDLE_ENABLE_PORT PORTG
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\spindle_control.c:200:9: note: in expansion of macro 'SPINDLE_ENABLE_PORT'
SPINDLE_ENABLE_PORT |= (1<<SPINDLE_ENABLE_BIT);
^
In file included from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\grbl.h:48:0,
from C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c:22:
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c: In function 'system_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:341:29: error: 'DDRK' undeclared (first use in this function)
#define CONTROL_DDR DDRK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c:27:3: note: in expansion of macro 'CONTROL_DDR'
CONTROL_DDR &= ~(CONTROL_MASK); // Configure as input pins
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:341:29: note: each undeclared identifier is reported only once for each function it appears in
#define CONTROL_DDR DDRK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c:27:3: note: in expansion of macro 'CONTROL_DDR'
CONTROL_DDR &= ~(CONTROL_MASK); // Configure as input pins
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:343:29: error: 'PORTK' undeclared (first use in this function)
#define CONTROL_PORT PORTK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c:31:5: note: in expansion of macro 'CONTROL_PORT'
CONTROL_PORT |= CONTROL_MASK; // Enable internal pull-up resistors. Normal high operation.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c: In function 'sleep_enable':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:33:3: error: 'TCNT3' undeclared (first use in this function)
TCNT3 = 0; // Reset timer3 counter register
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:33:3: note: each undeclared identifier is reported only once for each function it appears in
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c: In function 'system_control_get_state':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:34:3: error: 'TIMSK3' undeclared (first use in this function)
TIMSK3 |= (1<<TOIE3); // Enable timer3 overflow interrupt
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\cpu_map.h:342:29: error: 'PINK' undeclared (first use in this function)
#define CONTROL_PIN PINK
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\system.c:44:18: note: in expansion of macro 'CONTROL_PIN'
uint8_t pin = (CONTROL_PIN & CONTROL_MASK);
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:34:17: error: 'TOIE3' undeclared (first use in this function)
TIMSK3 |= (1<<TOIE3); // Enable timer3 overflow interrupt
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c: In function 'sleep_disable':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:39:32: error: 'TIMSK3' undeclared (first use in this function)
static void sleep_disable() { TIMSK3 &= ~(1<<TOIE3); } // Disable timer overflow interrupt
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:39:47: error: 'TOIE3' undeclared (first use in this function)
static void sleep_disable() { TIMSK3 &= ~(1<<TOIE3); } // Disable timer overflow interrupt
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c: In function 'sleep_init':
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:47:3: error: 'TCCR3B' undeclared (first use in this function)
TCCR3B = 0; // Normal operation. Overflow.
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:48:3: error: 'TCCR3A' undeclared (first use in this function)
TCCR3A = 0;
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:49:28: error: 'CS32' undeclared (first use in this function)
TCCR3B = (TCCR3B & ~((1<<CS32) | (1<<CS31))) | (1<<CS30); // Stop timer
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:49:40: error: 'CS31' undeclared (first use in this function)
TCCR3B = (TCCR3B & ~((1<<CS32) | (1<<CS31))) | (1<<CS30); // Stop timer
^
C:\Users\Owner\Documents\Arduino\libraries\grbl-Mega-5X-edge\sleep.c:49:54: error: 'CS30' undeclared (first use in this function)
TCCR3B = (TCCR3B & ~((1<<CS32) | (1<<CS31))) | (1<<CS30); // Stop timer
^
Error compiling for board Arduino/Genuino Uno.