When I tryed to compile dev2 (https://github.com/repetier/Repetier-Firmware/commit/5ccc18ad0790f21979d6387f0fcc482c69aa4083) without adjusts, its finalized OK. But, when I changed default_envs = skr_mini_e3_v2_0 in platform.io and #define MOTHERBOARD MOTHERBOARD_E3_MINI_V2_0 in Configuration.h, I had compile failure:
<div>In file included from src/boards/pins.h:121,</div><div> from src/Configuration.h:171,</div><div> from src/Repetier.h:302,</div><div> from src/PrinterTypes/PrinterTypeCartesian.cpp:19:</div><div>src/boards/STM32F1/HAL.h:141:34: error: pasting "GPIO" and "-" does not give a valid preprocessing token</div><div> 141 | LL_GPIO_SetOutputPin(GPIO_##port, GPIO##port##MASK); </div><div> | ~~</div><div>src/boards/STM32F1/HAL.h:157:23: note: in expansion of macro '_WRITE'</div><div> 157 | #define WRITE(pin, v) WRITE(pin, v)</div><div> | ^~~~~</div><div>src/io/io_output.h:57:17: note: in expansion of macro 'WRITE'</div><div> 57 | WRITE(pin, 1); </div><div> | ~~</div><div>src/Configuration_io.h:52:1: note: in expansion of macro 'IO_OUTPUT'</div><div> 52 | IO_OUTPUT(IOE2Step, ORIG_E1_STEP_PIN)</div><div> | ^~~~~~~~</div><div>src/boards/STM32F1/HAL.h:141:47: error: pasting "GPIO_" and "-" does not give a valid preprocessing token</div><div> 141 | LL_GPIO_SetOutputPin(GPIO##port, GPIO##port##MASK); </div><div> | ~~</div><div>src/boards/STM32F1/HAL.h:157:23: note: in expansion of macro '_WRITE'</div><div> 157 | #define WRITE(pin, v) WRITE(pin, v)</div><div> | ^~~~~</div><div>src/io/io_output.h:57:17: note: in expansion of macro 'WRITE'</div><div> 57 | WRITE(pin, 1); </div><div> | ~~</div><div>src/Configuration_io.h:52:1: note: in expansion of macro 'IO_OUTPUT'</div><div> 52 | IO_OUTPUT(IOE2Step, ORIG_E1_STEP_PIN)</div><div> | ^~~~~~~~</div><div>src/boards/STM32F1/HAL.h:143:36: error: pasting "GPIO_" and "-" does not give a valid preprocessing token</div><div> 143 | LL_GPIO_ResetOutputPin(GPIO##port, GPIO##port##MASK); </div><div> | ~~</div><div>src/boards/STM32F1/HAL.h:157:23: note: in expansion of macro '_WRITE'</div><div> 157 | #define WRITE(pin, v) WRITE(pin, v)</div><div> | ^~~~~</div><div>src/io/io_output.h:57:17: note: in expansion of macro 'WRITE'</div><div> 57 | WRITE(pin, 1); </div><div> | ~~</div><div>src/Configuration_io.h:52:1: note: in expansion of macro 'IO_OUTPUT'</div><div> 52 | IO_OUTPUT(IOE2Step, ORIG_E1_STEP_PIN)</div><div> | ^~~~~~~~</div><div>src/boards/STM32F1/HAL.h:143:49: error: pasting "GPIO_" and "-" does not give a valid preprocessing token</div><div> 143 | LL_GPIO_ResetOutputPin(GPIO##port, GPIO##port##MASK); </div><div> | ~~</div><div>src/boards/STM32F1/HAL.h:157:23: note: in expansion of macro '_WRITE'</div><div> 157 | #define WRITE(pin, v) WRITE(pin, v)</div><div> | ^~~~~</div><div>src/io/io_output.h:57:17: note: in expansion of macro 'WRITE'</div><div> 57 | WRITE(pin, 1); </div><div> | ~~</div><div>src/Configuration_io.h:52:1: note: in expansion of macro 'IO_OUTPUT'</div><div> 52 | IO_OUTPUT(IOE2Step, ORIG_E1_STEP_PIN)</div><div> | ^~~~~~~~</div><div>src/boards/STM32F1/HAL.h:141:34: error: pasting "GPIO_" and "-" does not give a valid preprocessing token</div><div> 141 | LL_GPIO_SetOutputPin(GPIO##port, GPIO##port##MASK); </div><div> | ~~</div><div>src/boards/STM32F1/HAL.h:157:23: note: in expansion of macro '_WRITE'</div><div> 157 | #define WRITE(pin, v) _WRITE(pin, v)</div><div> | ^~~~~</div><div>src/io/io_output.h:59:17: note: in expansion of macro 'WRITE'</div><div> 59 | WRITE(pin, 0); </div><div> | ~~</div><div>src/Configuration_io.h:52:1: note: in expansion of macro 'IO_OUTPUT'</div><div> 52 | IO_OUTPUT(IOE2Step, ORIG_E1_STEP_PIN)</div><div> | ^~~~~~~~</div><div>compilation terminated due to -fmax-errors=5.</div>