bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2.02k stars 1.98k forks source link

Can't compile your BIGTREETECH-SKR-mini-E3/firmware/V2.0/Marlin-2.0.x-SKR-mini-E3-V2.0/Marlin/ #334

Closed zonalimitatore closed 4 years ago

zonalimitatore commented 4 years ago

Try different time with platformio....nothing to do.I receive this:

Processing STM32F103RC_btt_512K (platform: ststm32; board: genericSTM32F103RC; framework: arduino) -------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html PLATFORM: ST STM32 7.0.0 > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink) PACKAGES:

jtrmal commented 4 years ago

bigtreetech/BIGTREETECH-SKR-mini-E3#302

zonalimitatore commented 4 years ago

I've try to follow that,but return this:

In file included from Marlin\src\HAL\STM32F1\dogm../../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\STM32F1\dogm../../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\STM32F1\dogm../../../inc/MarlinConfig.h:30, from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_fsmc.cpp:29: Marlin\src\HAL\STM32F1\dogm../../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\esp_wifi.cpp.o Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\servo.cpp.o [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_fsmc.cpp.o] Error 1 In file included from Marlin\src\HAL\STM32F1../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\STM32F1../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\STM32F1../../inc/MarlinConfig.h:30, from Marlin\src\HAL\STM32F1\onboard_sd.cpp:15: Marlin\src\HAL\STM32F1../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\onboard_sd.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\HAL_spi_L6470.cpp:28: Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. In file included from c:\users\bax\desktop\marlin-bugfix-2.0.6\marlin\src\hal\stm32f1\hal.h:36, from c:\users\bax\desktop\marlin-bugfix-2.0.6\marlin\src\hal\hal.h:26, from Marlin\src\HAL\shared\backtrace../../../core/../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\backtrace../../../core/serial.h:24, from Marlin\src\HAL\shared\backtrace\backtrace.cpp:28: c:\users\bax\desktop\marlin-bugfix-2.0.6\marlin\src\hal\stm32f1\fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\backtrace\backtrace.cpp.o] Error 1 [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\HAL_spi_L6470.cpp.o] Error 1 In file included from Marlin\src\HAL\shared\backtrace../../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared\backtrace../../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared\backtrace../../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\backtrace\unwmemaccess.cpp:18: Marlin\src\HAL\shared\backtrace../../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\backtrace\unwmemaccess.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\eeprom_if_i2c.cpp:28: Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\eeprom_if_i2c.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\eeprom_if_spi.cpp:28: Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\eeprom_if_spi.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\esp_wifi.cpp:23: Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\esp_wifi.cpp.o] Error 1 In file included from Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/HAL.h:36, from Marlin\src\HAL\shared../../inc/../HAL/HAL.h:26, from Marlin\src\HAL\shared../../inc/MarlinConfig.h:30, from Marlin\src\HAL\shared\servo.cpp:54: Marlin\src\HAL\shared../../inc/../HAL/./STM32F1/fastio.h:30:10: fatal error: libmaple/gpio.h: No such file or directory 30 | #include <libmaple/gpio.h> | ^~~~~ compilation terminated. *** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\shared\servo.cpp.o] Error 1

sam01508 commented 4 years ago

Hi, I've been through this for the version 2 board. Are you using the latest Bugfix version of marlin and the Bugfix config file? Thats what fixed it for me. The No such file or directory error I had when the st stm32 updated from 6.1.1 to 7.1.1 but this also has now been fixed, but I copied and pasted the earlier platform in the platform ini file so it read : [env:STM32F103RC_btt_512K] platform = ststm32@<6.2.0 board = genericSTM32F103RC

zonalimitatore commented 4 years ago

Solved thanks