grblHAL / iMXRT1062

grblHAL driver for NXP iMXRT1062 (Teensy 4.x)
Other
50 stars 37 forks source link

Swapping spindle PWM pin from 13 to 12 breaks comapilation #26

Closed karoria closed 2 years ago

karoria commented 2 years ago

Hi @terjeio As I have shown interest to use teensy4.1 onboard LED as status light with blink patterns, I considered to use GPIO 12 for spindle PWM. But I can't compile that way with following messages in PIO.

Executing task in folder grblHAL_Teensy4: platformio run <

Processing teensy41 (board: teensy41; platform: teensy; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy41.html PLATFORM: Teensy (4.12.0) > Teensy 4.1 HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash DEBUG: Current (jlink) External (jlink) PACKAGES:

Environment Status Duration


teensy41 FAILED 00:00:06.622 ================================= 1 failed, 0 succeeded in 00:00:06.622 ================================= The terminal process "platformio 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

terjeio commented 2 years ago

Ouch - seems like a copy/paste error. Remove line 1177 and it should be ok. I'll commit a fix later as I have some other pending changes.

Thanks for reporting.

karoria commented 2 years ago

It works! Thanks for prompt reply as always.