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.01k stars 1.97k forks source link

Im trying to compile Marlin 2 for BlTouch with my offsets but cannot get it to work! #320

Open josh40996 opened 4 years ago

josh40996 commented 4 years ago

I've been trying for 2 days to recompile other folks firmware and also tried editing the stock marlin 2 software to no avail. I am using VSC and Platformio and I have no experience with this kind of software. I keep getting errors, mainly always linked to "libmaple/gpio.h" and "STM32F103RC_btt_512K" when trying to compile.

I was hoping somebody would be able to help me solve the issue, or compile the files for me? Much appreciated!

Here is my latest attempt

Executing task in folder Marlin: C:\Users\Joshu.platformio\penv\Scripts\platformio.exe run <

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:

Environment Status Duration


mega2560 IGNORED mega1280 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K FAILED 00:00:05.890 STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt IGNORED STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano IGNORED mks_robin IGNORED mks_robin_pro IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED chitu_f103 IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED teensy31 IGNORED teensy35 IGNORED esp32 IGNORED linux_native IGNORED SAMD51_grandcentral_m4 IGNORED rumba32_f446ve IGNORED rumba32_mks IGNORED include_tree IGNORED ============================================================================================= 1 failed, 0 succeeded in 00:00:05.890 ============================================================================================= The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

eminentspoon commented 4 years ago

I had similar issues to this when I was looking at getting the latest version of Marlin onto my SKR Mini E3 2.0 today. The issue is caused by PlatformIO changing their default core to STM32DUINO whereas Marlin needs maple. See here (issue 1) for the suggest fix which requires editing the platformio.ini file for the section in question (you'll need to update [env:STM32F103RC_btt_512K])). This issue has been fixed in the latest marlin bugfix-2.0x branch if you wanted to use that instead, copying over the specific config for your printer. Depending on the revision of the SKR mini E3 that you are using, you might have to use the bugfix branch anyway as the main branch doesn't have the details for the SKR mini E3 v2.0 revision.

josh40996 commented 4 years ago

Thank you!

I used the bug fix version and it worked flawlessly!

On Sat, 4 Jul 2020, 17:47 eminentspoon, notifications@github.com wrote:

I had similar issues to this when I was looking at getting the latest version of Marlin onto my SKR Mini E3 2.0 today. The issue is caused by PlatformIO changing their default core to STM32DUINO whereas Marlin needs maple. See here https://reprap.org/forum/read.php?415,874307 (issue 1) for the suggest fix which requires editing the platformio.ini file for the section in question (you'll need to update [env:STM32F103RC_btt_512K])). This issue has been fixed in the latest marlin bugfix-2.0x branch if you wanted to use that instead, copying over the specific config for your printer. Depending on the revision of the SKR mini E3 that you are using, you might have to use the bugfix branch anyway as the main branch doesn't have the details for the SKR mini E3 v2.0 revision.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/320#issuecomment-653787818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFKXE5AASXYFJP74UPUXLTRZ5MLHANCNFSM4OQDGAMA .