Executing task in folder uCNC: C:\Users\Wiethaus\.platformio\penv\Scripts\platformio.exe run Processing AVR-UNO (board: uno; platform: atmelavr; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/uno.html PLATFORM: Atmel AVR (5.1.0) > Arduino Uno HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 31.50KB Flash DEBUG: Current (simavr) External (avr-stub, simavr) PACKAGES: - framework-arduino-avr @ 5.2.0 - toolchain-atmelavr @ 1.70300.191015 (7.3.0) LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 6 compatible libraries Scanning dependencies... Dependency Graph |-- EEPROM @ 2.0 |-- SPI @ 1.0 |-- Wire @ 1.0 Building in release mode Compiling .pio\build\AVR-UNO\src\main.cpp.o Compiling .pio\build\AVR-UNO\src\src\cnc.c.o Compiling .pio\build\AVR-UNO\src\src\core\interpolator.c.o Compiling .pio\build\AVR-UNO\src\src\core\io_control.c.o Compiling .pio\build\AVR-UNO\src\src\core\motion_control.c.o Compiling .pio\build\AVR-UNO\src\src\core\parser.c.o Compiling .pio\build\AVR-UNO\src\src\core\parser_expr.c.o Compiling .pio\build\AVR-UNO\src\src\core\planner.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic_cartesian.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic_corexy.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic_delta.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic_linear_delta.c.o Compiling .pio\build\AVR-UNO\src\src\hal\kinematics\kinematic_scara.c.o Compiling .pio\build\AVR-UNO\src\src\hal\mcus\avr\mcu_avr.c.o Compiling .pio\build\AVR-UNO\src\src\hal\mcus\esp32\esp32_arduino.cpp.o In file included from uCNC\src\core\../hal/boards/../mcus/mcudefs.h:33:0, from uCNC\src\core\../hal/boards/boarddefs.h:44, from uCNC\src\core\../cnc_hal_config_helper.h:49, from uCNC\src\core\../cnc.h:135, from uCNC\src\core\io_control.c:21: uCNC\src\core\io_control.c: In function 'io_set_pinvalue': uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO25_OCRREG' undeclared (first use in this function); did you mean 'DIO25_OUTREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5123:3: note: in expansion of macro '__indirect__' __indirect__(diopin, OCRREG) = (uint16_t)pwmvalue; \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5475:29: note: in expansion of macro 'mcu_set_pwm' #define io25_set_pwm(value) mcu_set_pwm(PWM0, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io25_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1005:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM0, value); ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: note: each undeclared identifier is reported only once for each function it appears in #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5123:3: note: in expansion of macro '__indirect__' __indirect__(diopin, OCRREG) = (uint16_t)pwmvalue; \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5475:29: note: in expansion of macro 'mcu_set_pwm' #define io25_set_pwm(value) mcu_set_pwm(PWM0, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io25_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1005:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM0, value); ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO25_TMRAREG' undeclared (first use in this function); did you mean 'DIO25_OCRREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5061:25: note: in definition of macro 'SETFLAG' #define SETFLAG(x, y) ((x) |= (y)) /* Set byte y in byte x*/ ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5126:12: note: in expansion of macro '__indirect__' SETFLAG(__indirect__(diopin, TMRAREG), __indirect__(diopin, ENABLE_MASK)); \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5475:29: note: in expansion of macro 'mcu_set_pwm' #define io25_set_pwm(value) mcu_set_pwm(PWM0, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io25_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1005:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM0, value); Compiling .pio\build\AVR-UNO\src\src\hal\mcus\esp32\mcu_esp32.c.o ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO25_ENABLE_MASK' undeclared (first use in this function); did you mean 'DIN_ONCHANGE_MASK'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5061:32: note: in definition of macro 'SETFLAG' #define SETFLAG(x, y) ((x) |= (y)) /* Set byte y in byte x*/ ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5126:43: note: in expansion of macro '__indirect__' SETFLAG(__indirect__(diopin, TMRAREG), __indirect__(diopin, ENABLE_MASK)); \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5475:29: note: in expansion of macro 'mcu_set_pwm' #define io25_set_pwm(value) mcu_set_pwm(PWM0, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io25_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ Compiling .pio\build\AVR-UNO\src\src\hal\mcus\esp8266\esp8266_arduino.cpp.o uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1005:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM0, value); ^~~~~~~Compiling .pio\build\AVR-UNO\src\src\hal\mcus\esp8266\mcu_esp8266.c.o ~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO26_OCRREG' undeclared (first use in this function); did you mean 'DIO25_OCRREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5123:3: note: in expansion of macro '__indirect__' __indirect__(diopin, OCRREG) = (uint16_t)pwmvalue; \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5494:29: note: in expansion of macro 'mcu_set_pwm' #define io26_set_pwm(value) mcu_set_pwm(PWM1, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io26_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1010:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM1, value); ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO26_TMRAREG' undeclared (first use in this function); did you mean 'DIO25_TMRAREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5061:25: note: in definition of macro 'SETFLAG' #define SETFLAG(x, y) ((x) |= (y)) /* Set byte y in byte x*/ Compiling .pio\build\AVR-UNO\src\src\hal\mcus\lpc176x\lpc176x_arduino.cpp.o ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5126:12: note: in expansion of macro '__indirect__' SETFLAG(__indirect__(diopin, TMRAREG), __indirect__(diopin, ENABLE_MASK)); \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5494:29: note: in expansion of macro 'mcu_set_pwm' #define io26_set_pwm(value) mcu_set_pwm(PWM1, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io26_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) Compiling .pio\build\AVR-UNO\src\src\hal\mcus\lpc176x\mcu_lpc176x.c.o ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1010:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM1, value); ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO26_ENABLE_MASK' undeclared (first use in this function); did you mean 'DIO25_ENABLE_MASK'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5061:32: note: in definition of macro 'SETFLAG' #define SETFLAG(x, y) ((x) |= (y)) /* Set byte y in byte x*/ ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5126:43: note: in expansion of macro '__indirect__' SETFLAG(__indirect__(diopin, TMRAREG), __indirect__(diopin, ENABLE_MASK)); \ ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5494:29: note: in expansion of macro 'mcu_set_pwm' #define io26_set_pwm(value) mcu_set_pwm(PWM1, value) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6047:38: note: in expansion of macro 'io26_set_pwm' #define _io_hal_set_pwm_(pin, value) io##pin##_set_pwm(value) ^~ uCNC\src\core\../hal/io_hal.h:6048:36: note: in expansion of macro '_io_hal_set_pwm_' #define io_hal_set_pwm(pin, value) _io_hal_set_pwm_(pin, value) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:52:32: note: in expansion of macro 'io_hal_set_pwm' #define io_set_pwm(pin, value) io_hal_set_pwm(pin, value) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1010:4: note: in expansion of macro 'io_set_pwm' io_set_pwm(PWM1, value); ^~~~~~~~~~ uCNC\src\core\io_control.c: In function 'io_get_pinvalue': uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO25_OCRREG' undeclared (first use in this function); did you mean 'DIO25_OUTREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5133:30: note: in expansion of macro '__indirect__' #define mcu_get_pwm(diopin) (__indirect__(diopin, OCRREG)) ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5476:22: note: in expansion of macro 'mcu_get_pwm' #define io25_get_pwm mcu_get_pwm(PWM0) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6049:31: note: in expansion of macro 'io25_get_pwm' #define _io_hal_get_pwm_(pin) io##pin##_get_pwm ^~ uCNC\src\core\../hal/io_hal.h:6050:29: note: in expansion of macro '_io_hal_get_pwm_' #define io_hal_get_pwm(pin) _io_hal_get_pwm_(pin) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:53:25: note: in expansion of macro 'io_hal_get_pwm' #define io_get_pwm(pin) io_hal_get_pwm(pin) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1860:10: note: in expansion of macro 'io_get_pwm' return io_get_pwm(PWM0); ^~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5050:32: error: 'DIO26_OCRREG' undeclared (first use in this function); did you mean 'DIO25_OCRREG'? #define __indirect__ex__(X, Y) DIO##X##_##Y ^ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5051:28: note: in expansion of macro '__indirect__ex__' #define __indirect__(X, Y) __indirect__ex__(X, Y) ^~~~~~~~~~~~~~~~ uCNC\src\core\../hal/boards/../mcus/avr/mcumap_avr.h:5133:30: note: in expansion of macro '__indirect__' #define mcu_get_pwm(diopin) (__indirect__(diopin, OCRREG)) ^~~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:5495:22: note: in expansion of macro 'mcu_get_pwm' #define io26_get_pwm mcu_get_pwm(PWM1) ^~~~~~~~~~~ uCNC\src\core\../hal/io_hal.h:6049:31: note: in expansion of macro 'io26_get_pwm' #define _io_hal_get_pwm_(pin) io##pin##_get_pwm ^~ uCNC\src\core\../hal/io_hal.h:6050:29: note: in expansion of macro '_io_hal_get_pwm_' #define io_hal_get_pwm(pin) _io_hal_get_pwm_(pin) ^~~~~~~~~~~~~~~~ uCNC\src\core\../core/io_control.h:53:25: note: in expansion of macro 'io_hal_get_pwm' #define io_get_pwm(pin) io_hal_get_pwm(pin) ^~~~~~~~~~~~~~ uCNC\src\core\io_control.c:1864:10: note: in expansion of macro 'io_get_pwm' return io_get_pwm(PWM1); ^~~~~~~~~~ *** [.pio\build\AVR-UNO\src\src\core\io_control.c.o] Error 1 ================================================= [FAILED] Took 1.81 seconds ================================================= Environment Status Duration ------------- -------- ------------ AVR-UNO FAILED 00:00:01.806 =========================================== 1 failed, 0 succeeded in 00:00:01.806 =========================================== * The terminal process "C:\Users\Wiethaus\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. * Terminal will be reused by tasks, press any key to close it.