bigtreetech / BIGTREETECH-SKR-MINI-V1.1

ARM Cortex-M3 series STM32F103RCT6 chip with 32-bit CPU 72MHz. Equipped with highly modular open source firmware Marlin2.0, convenient for users DIY and secondary development, exempt from the worries of the core code;
34 stars 49 forks source link

unable to compile #3

Closed Udo-Nbg closed 5 years ago

Udo-Nbg commented 5 years ago

stm32f103RMarlin-bugfix-2.0V20190126-2004P-16div stm32f103RMarlin-bugfix-2.0V20190126-2004P-128div

both Versions are not to compile. also the originial Version without changes.

WayeeCool commented 5 years ago

I had the same issue and opened an issue about it. It's been a week, still no response and no update from bigtreetech. I was able to figure out the error preventing compile and correct it but the firmware is far from finished and I am surprised that bigtreetech is actually shipping a product without firmware support.

To fix the issue #include "spi.h" needs to be changed to #include "SPI.h" on line 40 of Marlin/src/sd/Sd2Card.cpp. The PlatformIO compiler seems to be case-sensitive and fixing this capitalization issue results in a successful compile with no critical errors.

Udo-Nbg commented 5 years ago

Thank You but this DID NOT SOLVE THE PROBLEM

Environment BIGTREE_SKR_MINI [ERROR]

jmdearras commented 5 years ago

I get many "duplicate inline statements".

Udo-Nbg commented 5 years ago

SOLVED

look at this: https://github.com/MarlinFirmware/Marlin/issues/14053?fbclid=IwAR3EkbqhnLRONBdWv-P7qqvf3UwBPdfdNoptKzOukwBU0lwfK4EUIO6gTgk#issuecomment-495023530

search for: "with the https://github.com/yangwenxiong/Marlin/tree/bugfix-2.0.x and the attached config files, it should compile and run, Configuration.zip"

Udo-Nbg commented 5 years ago

Marlin-bugfix-2.0.x branch 4350 ist the Solve. It will compile successfully.