Git Product home page Git Product logo

Comments (19)

phil-barrett avatar phil-barrett commented on July 21, 2024

This may be related. When enabling ganging (uncommenting #define Y_GANGED 1 in my_machine.h), it uses the next available axis motor rather than the last one. So when N_AXIS is 3, it uses A as the ganged motor. When N_AXIS is 4, it uses B. This is a change from the earlier versions of grblHAL when B was always the motor that was used for ganging.

I don't know if it was intentional, there may be a good reason to do it this way. But someone upgrading a 3 Axis machine with a ganged axis to the latest grblHAL will have to either say they have 4 axes or change their wiring. That is a pretty common configuration - lots of WorkBees out there. I would estimate more than half of my customers have a dual motor Y gantry.

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

Odd, I do not get the error. N_ABC_MOTORS is defined in grbl/driver_opts.h, is N_GANGED somehow getting defined to 1 for you there when it should not? Can you check that?

This may be related. When enabling ganging (uncommenting #define Y_GANGED 1 in my_machine.h), it uses the next available axis motor rather than the last one.

I do not believe it is in any way related. Pin assignments is done in grbl/motor_pins.h and it uses defined values from grbl/driver_opts.h to do that. Could it be the Arduino build system messing up - it copies the source code to a temp folder before compiling and sometims that fails (by not copying all changed files).

I don't know if it was intentional, there may be a good reason to do it this way.

This is intentional, and is warned about in the changelog.

One of the reasons behind this was to always leave the unused motor pins from top down so that they could be reassigned as aux outputs without too complex preprocessor code. This approach may also have made the pins vs. motor assignment preprocessor code simpler?

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

I don't see it anywhere in the driver_opts.h. I will dredge through the build output to see if there is something. Strange that it changes. I will drop in a bunch more "warning #ifs" to try and track down where it happens. Dredging though #ifs makes my head hurt.

I understand why you made the change. I will post a note for my customers to be aware of it. Early adopter tax?

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

Calculating number of motors is done here.

I forgot about the new $pins command when I replied, what is the output when N_AXIS is four? Are all five motors having pins assigned?

I understand why you made the change. I will post a note for my customers to be aware of it. Early adopter tax?

I guess so, the good thing is that the settings are now consistent across drivers and easier to set up in the map file.
The RP2040 driver will get ganged/squared axis support configured the same way even when using shift registers for the step/dir signals...

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

In the case of N_AXIS == 4 and Y_GANGED == 1, it works correctly. ioSender see XYZA and the B motor is correctly ganged to Y. Here is the $pins output. It shows the Y ganging (though is ambiguous - could we have Y1 and Y2 instead of just Y in both cases?) this is for T41BB5X_Pro_map.h, by the way.

$pins
[PIN:40,Emergency stop]
[PIN:16,Feed hold]
[PIN:17,Cycle start]
[PIN:15,Probe]
[PIN:20,X limit min]
[PIN:21,Y limit min]
[PIN:22,Z limit min]
[PIN:23,A limit min]
[PIN:36,Aux input 0]
[PIN:30,Aux input 1]
[PIN:31,Aux input 2]
[PIN:14,Aux input 3]
[PIN:2,X step]
[PIN:4,Y step]
[PIN:6,Z step]
[PIN:8,A step]
[PIN:26,Y step]
[PIN:3,X dir]
[PIN:5,Y dir]
[PIN:7,Z dir]
[PIN:9,A dir]
[PIN:27,Y dir]
[PIN:10,X enable]
[PIN:35,Y enable]
[PIN:39,Z enable]
[PIN:38,A enable]
[PIN:37,Y enable]
[PIN:12,Spindle on]
[PIN:11,Spindle direction]
[PIN:19,Flood]
[PIN:18,Mist]
[PIN:34,Aux out 0]
[PIN:32,Aux out 1]
[PIN:33,Aux out 2]

When I have N_AXIS 4 (in grbl/config.h) and #define Y_GANGED 1 in my_machine.h, I see this output from the compiler

d:\documents\arduino\libraries\grblhal_teensy4\src\grbl/driver_opts.h:76:2: warning: #warning "N_ABC_AXIS == 1" [-Wcpp]
#warning "N_ABC_AXIS == 1"
^
d:\documents\arduino\libraries\grblhal_teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^

Here is the code I added to driver_opts.h starting at line 73.

#if N_ABC_AXIS == 1
#warning "N_ABC_AXIS == 1"
#endif

#if N_ABC_AXIS == 2
#warning "N_ABC_AXIS == 2"
#endif

#if N_ABC_AXIS == 3
#warning "N_ABC_AXIS == 3"
#endif

#if N_ABC_AXIS == 4
#warning "N_ABC_AXIS == 4"
#endif

#if N_GANGED == 0
#warning "N_GANGED == 0"
#endif

#if N_GANGED == 1
#warning "N_GANGED == 1"
#endif

#if N_GANGED == 2
#warning "N_GANGED == 2"
#endif

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

With N_AXIS set to 5 in grbl/config.h, I get these errors:

In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:424:4: error: #error "B_AXIS pins are not available"
#error "B_AXIS pins are not available"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:427:29: error: 'M4_STEP_PIN' undeclared here (not in a function)
#define B_STEP_PIN M4_STEP_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:357:68: note: in expansion of macro 'B_STEP_PIN'
{ .id = Output_StepB, .port = &stepB, .pin = B_STEP_PIN, .group = PinGroup_StepperStep },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:237:29: error: 'M5_STEP_PIN' undeclared here (not in a function)
#define Y2_STEP_PIN M5_STEP_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:366:68: note: in expansion of macro 'Y2_STEP_PIN'
{ .id = Output_StepY, .port = &stepY2, .pin = Y2_STEP_PIN, .group = PinGroup_StepperStep },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:430:29: error: 'M4_DIRECTION_PIN' undeclared here (not in a function)
#define B_DIRECTION_PIN M4_DIRECTION_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:378:68: note: in expansion of macro 'B_DIRECTION_PIN'
{ .id = Output_DirB, .port = &dirB, .pin = B_DIRECTION_PIN, .group = PinGroup_StepperDir },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:240:29: error: 'M5_DIRECTION_PIN' undeclared here (not in a function)
#define Y2_DIRECTION_PIN M5_DIRECTION_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:387:68: note: in expansion of macro 'Y2_DIRECTION_PIN'
{ .id = Output_DirY, .port = &dirY2, .pin = Y2_DIRECTION_PIN, .group = PinGroup_StepperDir },

Also,

In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

though is ambiguous - could we have Y1 and Y2 instead of just Y in both cases?

I think so, more work has to be done on the $pins reporting. $pins output should also be extended to include pins such as UART, PWM, I2C etc. which are not plain GPIO. One step at a time...

What happens if you compile 5 axes for the pro board? Still erroring out? If not then your T41U5XBB_map.h is bad?
I just copied it from github, again it compiles without errors for me.

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

Both the Pro and regular board have the same errors. Both map files are from the repo - I pulled them down July 10. This is the full build output from Arduino when N_AXIS is set to 5 (in grbl/config.h). Using the Pro map file (selected from my_machine.h) Unfortunately, it wraps lines so the output is hard to read.

Note the section ResolveLibrary(grblHAL_Teensy4.h) starting at actual line 9. There are several errors that say "Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c" (the file name changes, same path, though). The log file for N_AXIS 4 build is the same except no error messages (i.e., same ResolveLibrary, Alternatives for, and so on messages).

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\philba\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\philba\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Documents\Arduino\libraries -fqbn=teensy:avr:teensy41:usb=serial,speed=600,opt=o2std,keys=en-us -ide-version=10815 -build-path C:\Users\philba\AppData\Local\Temp\arduino_build_838793 -warnings=none -build-cache C:\Users\philba\AppData\Local\Temp\arduino_cache_662115 -verbose D:\Documents\Arduino\libraries\grblHAL_Teensy4\examples\grblHAL_Teensy4_Upload\grblHAL_Teensy4_Upload.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\philba\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\philba\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\Documents\Arduino\libraries -fqbn=teensy:avr:teensy41:usb=serial,speed=600,opt=o2std,keys=en-us -ide-version=10815 -build-path C:\Users\philba\AppData\Local\Temp\arduino_build_838793 -warnings=none -build-cache C:\Users\philba\AppData\Local\Temp\arduino_cache_662115 -verbose D:\Documents\Arduino\libraries\grblHAL_Teensy4\examples\grblHAL_Teensy4_Upload\grblHAL_Teensy4_Upload.ino
Using board 'teensy41' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Using core 'teensy4' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\sketch\grblHAL_Teensy4_Upload.ino.cpp" -o nul
Alternatives for grblHAL_Teensy4.h: [[email protected]]
ResolveLibrary(grblHAL_Teensy4.h)
-> candidates: [[email protected]]
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\sketch\grblHAL_Teensy4_Upload.ino.cpp" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\bluetooth\hc_05.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\eeprom\eeprom_24AAxxx.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\eeprom\eeprom_24AAxxx.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\eeprom\eeprom_24LC16B.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\eeprom\eeprom_24LC16B.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c" -o nul
Alternatives for lwipopts.h: [[email protected]]
ResolveLibrary(lwipopts.h)
-> candidates: [[email protected]]
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\coolant_control.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\corexy.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\gcode.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\grbllib.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\limits.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\maslow.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\motion_control.c" -o nul
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\my_plugin.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\nuts_bolts.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\nvs_buffer.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\override.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\pid.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\planner.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\protocol.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\report.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\settings.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\sleep.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\spindle_control.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\state_machine.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\stepper.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\stream.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\system.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\tool_change.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl\wall_plotter.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\keypad\keypad.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\keypad\keypad.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\main.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\mcp3221.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\mcp3221.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\my_plugin.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\my_plugin.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\TCPStream.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\TCPStream.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\WsStream.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\WsStream.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\base64.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\ftpd.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\ftpd.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\multipartparser.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\networking.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\networking.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\sfifo.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\sfifo.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\sha1.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\strutils.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\urldecode.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\utils.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\vfs.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\networking\vfs.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\odometer\odometer.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\odometer\odometer.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\plasma\thc.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\plasma\thc.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\sdcard\sdcard.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\sdcard\sdcard.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\sdcard\ymodem.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\sdcard\ymodem.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\spindle\huanyang.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\spindle\huanyang.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\spindle\modbus.c" -o nul
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\uart.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\uart.c
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\usb_serial_ard.cpp" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\usb_serial_ard.cpp
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\usb_serial_pjrc.c" -o nul
Error while detecting libraries included by D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\usb_serial_pjrc.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\api_lib.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\api_msg.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\err.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\netbuf.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\netdb.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\netifapi.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\sockets.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\api\tcpip.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\httpd\fs.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\httpd\httpd.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\lwiperf\lwiperf.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\mdns\mdns.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\mqtt\mqtt.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\netbiosns\netbiosns.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_asn1.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_core.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_icmp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_interfaces.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_ip.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_snmp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_system.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_tcp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_mib2_udp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_msg.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_netconn.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_pbuf_stream.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_raw.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_scalar.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_table.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_threadsync.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmp_traps.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmpv3.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmpv3_dummy.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\snmp\snmpv3_mbedtls.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\sntp\sntp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\apps\tftp\tftp_server.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\arch\checksum.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\arch\memcpy.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\arch\sys_arch.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\def.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\dns.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\inet_chksum.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\init.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ip.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\autoip.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\dhcp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\etharp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\icmp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\igmp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\ip4.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\ip4_addr.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv4\ip4_frag.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\dhcp6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\ethip6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\icmp6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\inet6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\ip6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\ip6_addr.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\ip6_frag.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\mld6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\ipv6\nd6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\mem.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\memp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\netif.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\pbuf.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\raw.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\stats.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\sys.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\tcp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\tcp_in.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\tcp_out.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\timeouts.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\core\udp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\lwip_k6x.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\lwip_t41.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ethernet.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ethernetif.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\lowpan6.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\auth.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\ccp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\chap-md5.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\chap-new.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\chap_ms.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\demand.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\eap.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\ecp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\eui64.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\fsm.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\ipcp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\ipv6cp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\lcp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\magic.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\mppe.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\multilink.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\polarssl\arc4.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\polarssl\des.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\polarssl\md4.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\polarssl\md5.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\polarssl\sha1.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\ppp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\pppapi.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\pppcrypt.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\pppoe.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\pppol2tp.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\pppos.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\upap.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\utils.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\ppp\vj.c
Using cached library dependencies for file: D:\Documents\Arduino\libraries\teensy41_ethernet-master\src\netif\slipif.c
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\sketch\grblHAL_Teensy4_Upload.ino.cpp" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\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\philba\AppData\Local\Temp\arduino_build_838793\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/precompile_helper" "C:\Program Files (x86)\Arduino\hardware\teensy\avr/cores/teensy4" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793" "C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -x c++-header -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr/cores/teensy4" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793/pch/Arduino.h" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793/pch/Arduino.h.gch"
Using previously compiled file: C:\Users\philba\AppData\Local\Temp\arduino_build_838793\pch\Arduino.h.gch
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Users\philba\AppData\Local\Temp\arduino_build_838793/pch" "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\sketch\grblHAL_Teensy4_Upload.ino.cpp" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\sketch\grblHAL_Teensy4_Upload.ino.cpp.o"
Compiling libraries...
Compiling library "grblHAL_Teensy4"
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\libraries\grblHAL_Teensy4\driver.c.o"
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\libraries\grblHAL_Teensy4\ioports.c.o"
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\libraries\grblHAL_Teensy4\i2c.c.o"
"C:\Program Files (x86)\Arduino\hardware\teensy/../tools/arm/bin/arm-none-eabi-gcc" -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=154 -DARDUINO=10815 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4" "-ID:\Documents\Arduino\libraries\grblHAL_Teensy4\src" "-ID:\Documents\Arduino\libraries\teensy41_ethernet-master\src" "D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c" -o "C:\Users\philba\AppData\Local\Temp\arduino_build_838793\libraries\grblHAL_Teensy4\enet.c.o"
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c:22:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c:24:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c:22:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c:24:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\ioports.c:35:42: warning: 'analog_n_in' defined but not used [-Wunused-variable]
static uint_fast8_t aux_n_in, aux_n_out, analog_n_in;
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c:12:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c:12:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:424:4: error: #error "B_AXIS pins are not available"
#error "B_AXIS pins are not available"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:427:29: error: 'M4_STEP_PIN' undeclared here (not in a function)
#define B_STEP_PIN M4_STEP_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:357:68: note: in expansion of macro 'B_STEP_PIN'
{ .id = Output_StepB, .port = &stepB, .pin = B_STEP_PIN, .group = PinGroup_StepperStep },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:237:29: error: 'M5_STEP_PIN' undeclared here (not in a function)
#define Y2_STEP_PIN M5_STEP_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:366:68: note: in expansion of macro 'Y2_STEP_PIN'
{ .id = Output_StepY, .port = &stepY2, .pin = Y2_STEP_PIN, .group = PinGroup_StepperStep },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:430:29: error: 'M4_DIRECTION_PIN' undeclared here (not in a function)
#define B_DIRECTION_PIN M4_DIRECTION_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:378:68: note: in expansion of macro 'B_DIRECTION_PIN'
{ .id = Output_DirB, .port = &dirB, .pin = B_DIRECTION_PIN, .group = PinGroup_StepperDir },
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:240:29: error: 'M5_DIRECTION_PIN' undeclared here (not in a function)
#define Y2_DIRECTION_PIN M5_DIRECTION_PIN
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:387:68: note: in expansion of macro 'Y2_DIRECTION_PIN'
{ .id = Output_DirY, .port = &dirY2, .pin = Y2_DIRECTION_PIN, .group = PinGroup_StepperDir },
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:148:28: warning: 'LimitB' defined but not used [-Wunused-variable]
static gpio_t stepB, dirB, LimitB;
^
Using previously compiled file: C:\Users\philba\AppData\Local\Temp\arduino_build_838793\libraries\grblHAL_Teensy4\main.c.o
Using library grblHAL_Teensy4 at version 1.1.7 in folder: D:\Documents\Arduino\libraries\grblHAL_Teensy4
Using library teensy41_ethernet-master at version 2.0.2 in folder: D:\Documents\Arduino\libraries\teensy41_ethernet-master
Error compiling for board Teensy 4.1.

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

Does it compile if you remove the guard for the M4 motor defines? Change

#if N_ABC_MOTORS == 2
#define M4_AVAILABLE
#define M4_STEP_PIN         (26u)
#define M4_DIRECTION_PIN    (27u)
#define M4_LIMIT_PIN        (28u)
#define M4_ENABLE_PIN       (37u)
#endif

to

#define M4_AVAILABLE
#define M4_STEP_PIN         (26u)
#define M4_DIRECTION_PIN    (27u)
#define M4_LIMIT_PIN        (28u)
#define M4_ENABLE_PIN       (37u)

If you add warnings for N_ABC_MOTORS what is the output? It should be 2 but is 1?.

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

In the case of N_AXIS 5, N_ABC_MOTORS is 3. (should be 2?)

In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c:22:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\T41BB5X_Pro_map.h:25:2: error: #error "Axis configuration is not supported!"
#error "Axis configuration is not supported!"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:80:2: warning: #warning "N_ABC_AXIS == 2" [-Wcpp]
#warning "N_ABC_AXIS == 2"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:92:2: warning: #warning "N_GANGED == 0" [-Wcpp]
#warning "N_GANGED == 0"
^
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/driver_opts.h:114:2: warning: #warning "driver_opts: N_ABC_MOTORS == 3" [-Wcpp]
#warning "driver_opts: N_ABC_MOTORS == 3"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:72:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:27:

Here is the code in drivr_opts.h that generates that output:

#ifndef X_GANGED
#define X_GANGED            0
#endif
#ifndef X_AUTO_SQUARE
#define X_AUTO_SQUARE       0
#endif
#ifndef Y_GANGED
#define Y_GANGED            0
#endif
#ifndef Y_AUTO_SQUARE
#define Y_AUTO_SQUARE       0
#endif
#ifndef Z_GANGED
#define Z_GANGED            0
#endif
#ifndef Z_AUTO_SQUARE
#define Z_AUTO_SQUARE       0
#endif
#ifndef X_GANGED_LIM_MAX
#define X_GANGED_LIM_MAX    0
#endif
#ifndef Y_GANGED_LIM_MAX
#define Y_GANGED_LIM_MAX    0
#endif
#ifndef Z_GANGED_LIM_MAX
#define Z_GANGED_LIM_MAX    0
#endif

#if X_AUTO_SQUARE && !X_GANGED
#undef X_GANGED
#define X_GANGED 1
#endif
#if Y_AUTO_SQUARE && !Y_GANGED
#undef Y_GANGED
#define Y_GANGED 1
#endif
#if Z_AUTO_SQUARE && !Z_GANGED
#undef Z_GANGED
#define Z_GANGED 1
#endif


#if N_ABC_AXIS == 1
#warning "N_ABC_AXIS == 1"
#endif

#if N_ABC_AXIS == 2
#warning "N_ABC_AXIS == 2"
#endif

#if N_ABC_AXIS == 3
#warning "N_ABC_AXIS == 3"
#endif

#if N_ABC_AXIS == 4
#warning "N_ABC_AXIS == 4"
#endif

#if N_GANGED == 0
#warning "N_GANGED == 0"
#endif

#if N_GANGED == 1
#warning "N_GANGED == 1"
#endif

#if N_GANGED == 2
#warning "N_GANGED == 2"
#endif

#define N_GANGED (X_GANGED + Y_GANGED + Z_GANGED)
#define N_AUTO_SQUARED (X_AUTO_SQUARE + Y_AUTO_SQUARE + Z_AUTO_SQUARE)
#define N_ABC_MOTORS (N_ABC_AXIS + N_GANGED)

#if N_ABC_MOTORS == 1
#warning "driver_opts: N_ABC_MOTORS == 1"
#endif
#if N_ABC_MOTORS == 2
#warning "driver_opts: N_ABC_MOTORS == 2"
#endif
#if N_ABC_MOTORS == 3
#warning "driver_opts: N_ABC_MOTORS == 3"
#endif

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

And finally, when N_AXIS is 4, N_ABC_MOTORS is 2. Off by one error somewhere?

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

And finally, when N_AXIS is 4, N_ABC_MOTORS is 2. Off by one error somewhere?

Thanks, this is obviously wrong.

Change
#define N_ABC_MOTORS (N_ABC_AXIS + N_GANGED)
to
#define N_ABC_MOTORS N_ABC_AXIS

Compiles? Somehow N_GANGED is not 0?

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

N_ABC_MOTORS is only defined in driver_opts.h and not modified elsewhere. Is the Arduino build system playing games with us?
Have you tried with deleting the arduino_build_* and arduino_cache_* folders created by the IDE in your temp folder?
If not, close the IDE and do so. Search for %TEMP% to open your temp folder.

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

Closed Arduino IDE, emptied temp folder (it did contain arduino build and cache dirs). No change, same problem.

Changed
#define N_ABC_MOTORS (N_ABC_AXIS + N_GANGED)
to
#define N_ABC_MOTORS N_ABC_AXIS

Now that causes an expected error and not the cascade of other errors.

In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:199:2: error: #error "B-axis motor is used for ganged Y motor"
#error "B-axis motor is used for ganged Y motor"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\enet.c:22:

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

Ok, so Y_GANGED is non-zero, I assume you have commented out Y_GANGED and Y_AUTO_SQUARE in my_machine.h so it must be set non-zero somewhere else - but where is that? Y_GANGED is set in my_machine.h if commented in, set to1 or 0 in driver_opts.h if unset depending on whether Y_AUTO_SQUARE is uncommented in in my_machine.h, and referenced in motor_pins.h. Let us explicitly set it to 0 by adding

#undef Y_GANGED
#define Y_GANGED 0

just before

#define N_GANGED (X_GANGED + Y_GANGED + Z_GANGED)
#define N_AUTO_SQUARED (X_AUTO_SQUARE + Y_AUTO_SQUARE + Z_AUTO_SQUARE)
#define N_ABC_MOTORS (N_ABC_AXIS + N_GANGED)

in driver_opts.h and try again. Still failing?

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

But, that change causes N_AXIS 4 to get this same error for the A AXIS [edit - this was in response to an earlier comment, the the immediately previous one]

In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.c:87:0:
D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\grbl/motor_pins.h:164:2: error: #error "A-axis motor is used for ganged Y motor"
#error "A-axis motor is used for ganged Y motor"
^
In file included from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\driver.h:37:0,
from D:\Documents\Arduino\libraries\grblHAL_Teensy4\src\i2c.c:12:

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

I need to do a quick reset here. In the past, setting N_AXIS to 5 allowed ganging of an axis. I was assuming that is still the case and duplicated the previous settings in my_machine and map files. But, I am a bit slow sometimes - N_AXIS 5 and Y_GANGED 1 should generate an error in the new system. Though, the cascade of errors led me to think it was a problem. The onslaught of errors is a consequence of the Arduino IDE, unlike a real Make system that will exit on first error return.

Am I right here?

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024

In the past, setting N_AXIS to 5 allowed ganging of an axis.

Possibly due to no checks beeing done in the past. If N_AXIS is 5 you have to have a six motor BOB if enabling a ganged/squared axis.
Now it triggers the error, as it should, if the configuration is for more motors than available.

The onslaught of errors is a consequence of the Arduino IDE, unlike a real Make system that will exit on first error return.

I just tried with STM32CubeIDE, there is a bunch of error generated but nothing like the Arduino output. I guess it depends on how many places driver.h is beeing included.

21:46:42 **** Build of configuration Debug F411 Nucleo64 for project GRBL Driver STM32F401 ****
make -j6 all 
arm-none-eabi-gcc "../spindle/huanyang.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"spindle/huanyang.d" -MT"spindle/huanyang.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "spindle/huanyang.o"
arm-none-eabi-gcc "../spindle/modbus.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"spindle/modbus.d" -MT"spindle/modbus.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "spindle/modbus.o"
arm-none-eabi-gcc "../sdcard/sdcard.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"sdcard/sdcard.d" -MT"sdcard/sdcard.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "sdcard/sdcard.o"
arm-none-eabi-gcc "../sdcard/ymodem.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"sdcard/ymodem.d" -MT"sdcard/ymodem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "sdcard/ymodem.o"
arm-none-eabi-gcc "../odometer/odometer.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"odometer/odometer.d" -MT"odometer/odometer.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "odometer/odometer.o"
arm-none-eabi-gcc "../motors/trinamic.c" -mcpu=cortex-m4 -std=gnu11 -g -DUSE_HAL_DRIVER -DDEBUG -DSTM32F411xE -DNUCLEO_F411 -c -I"D:/Projects/STM/GRBL Driver STM32F401" -I../Inc -I../Drivers/CMSIS/Include -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I"D:/Projects/STM/GRBL Driver STM32F401/FatFs" -I../USB_DEVICE/App -I../USB_DEVICE/Target -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"motors/trinamic.d" -MT"motors/trinamic.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "motors/trinamic.o"
In file included from ../Inc/driver.h:132,
                 from ../odometer/odometer.c:27:
../Inc/st_morpho_map.h:32:2: error: #error "Axis configuration is not supported!"
   32 | #error "Axis configuration is not supported!"
      |  ^~~~~
In file included from ../Inc/driver.h:132,
                 from ../sdcard/sdcard.h:30,
                 from ../sdcard/sdcard.c:22:
../Inc/st_morpho_map.h:32:2: error: #error "Axis configuration is not supported!"
   32 | #error "Axis configuration is not supported!"
      |  ^~~~~
In file included from ../Inc/driver.h:132,
                 from ../spindle/huanyang.h:30,
                 from ../spindle/huanyang.c:24:
../Inc/st_morpho_map.h:32:2: error: #error "Axis configuration is not supported!"
   32 | #error "Axis configuration is not supported!"
      |  ^~~~~
In file included from ../Inc/driver.h:132,
                 from ../sdcard/sdcard.h:30,
                 from ../sdcard/ymodem.c:28:
../Inc/st_morpho_map.h:32:2: error: #error "Axis configuration is not supported!"
   32 | #error "Axis configuration is not supported!"
      |  ^~~~~
In file included from ../Inc/driver.h:132,
                 from ../motors/trinamic.c:25:
../Inc/st_morpho_map.h:32:2: error: #error "Axis configuration is not supported!"
   32 | #error "Axis configuration is not supported!"
      |  ^~~~~
make: *** [sdcard/subdir.mk:24: sdcard/ymodem.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sdcard/subdir.mk:22: sdcard/sdcard.o] Error 1
make: *** [motors/subdir.mk:19: motors/trinamic.o] Error 1
make: *** [odometer/subdir.mk:19: odometer/odometer.o] Error 1
make: *** [spindle/subdir.mk:22: spindle/huanyang.o] Error 1
"make -j6 all" terminated with exit code 2. Build might be incomplete.

21:46:43 Build Failed. 11 errors, 0 warnings. (took 1s.74ms)

Am I right here?

I am not sure - it depends on compiler settings?

[edit]
If you ment your whole comment by the question then yes, for the casdading errors - then the answer above.

from imxrt1062.

phil-barrett avatar phil-barrett commented on July 21, 2024

Sorry to have wasted your time. I should have done some study before posting. Will close.

On the upgrading-ganged-machines issue. I will craft a map file that swaps A and B pins so that the customer doesn't have to change their wiring.

from imxrt1062.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.