Hello,
I am compiling Marlin for an SKR 3 EZ
I started from Marlin 2.1.1 as a base
I integrated modifications found in Configuration.h and Configuration_adv.h of the official V1 firmware for skr pro into my configs.
One of these changes makes the compilation fail with the error message below. It is the activation of the onboard SD slot
#define SDSUPPORT (in Configuration.h)
Did any of you had this error already and was able to resolve it?
In the meantime, I commented back this line, defined the SDCARD_CONNECTION as LCD in adv, and compilation succeeds.
That’s just a workaround, as obviously I would like to have the option to use that slot (I am sure yet what LCD I will use, I have several lying around).
Compiling .pio\build\STM32H743Vx_btt\src\src\feature\host_actions.cpp.o
Marlin\src\HAL\STM32\sdio.cpp: In function ‘void HAL_SD_MspInit(SD_HandleTypeDef*)’:
Marlin\src\HAL\STM32\sdio.cpp:91:26: error: ‘PinMap_SD’ was not declared in this scope; did you mean ‘PinMap_USB’?
91 | pinmap_pinout(PC_12, PinMap_SD);
| ^~~~~~~~~
| PinMap_USB
*** [.pio\build\STM32H743Vx_btt\src\src\HAL\STM32\sdio.cpp.o] Error 1