MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.28k stars 19.24k forks source link

Compiling Marlin for Ender 6 3D printer fails #21538

Closed glsolomon closed 3 years ago

glsolomon commented 3 years ago

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

Was Trying to compile latest Bugfix-2.0.x with Ender 6 Config.h files. It Failed. The terminal output is below: Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS D:\A> platformio run -e STM32F103RET6_creality Processing STM32F103RET6_creality (platform: ststm32@~12.0; board: genericSTM32F103RE; framework: arduino) ------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 (12.0.0) > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:

Environment Status Duration


STM32F103RET6_creality FAILED 00:00:25.180 ========================= 1 failed, 0 succeeded in 00:00:25.180 ========================= PS D:\A> echo "done" >C:\Users\fredl\AppData\Local\Temp\ipc PS D:\A>

Bug Timeline

This is the first time that I have tried compiling Marlin. Following "Teaching Tech's" youtube video titled "Updated Marlin Firmware Setup Guide - VS Code and auto build Marlin

Expected behavior

I expected it to compile without errors.

Actual behavior

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS D:\A> platformio run -e STM32F103RET6_creality Processing STM32F103RET6_creality (platform: ststm32@~12.0; board: genericSTM32F103RE; framework: arduino) ------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html PLATFORM: ST STM32 (12.0.0) > STM32F103RE (64k RAM. 512k Flash) HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash DEBUG: Current (jlink) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES:

Environment Status Duration


STM32F103RET6_creality FAILED 00:00:25.180 ========================= 1 failed, 0 succeeded in 00:00:25.180 ========================= PS D:\A> echo "done" >C:\Users\fredl\AppData\Local\Temp\ipc PS D:\A>

Steps to Reproduce

1 Open Folder Containing unzipped Marlin-Bugfix 2.0x

  1. Opened Marlin Folder
  2. Copied then Config files from the Ender 6 in the "Examples" folder under the Configurations-bugfix-2.0x folder 4 started VS 5 Opened Folder containing unzipped Marlin-Bugfix 2.0x files 6 Clicked on "Auto Build Marlin" icon in left margin 7 Clicked on the spanner at the left top. Compilation starts until error is detected.

Version of Marlin Firmware

Creality V4.3.1

Printer model

Creality Ender 6 V4.3.1 for board STM32F103RE

Electronics

Stock Electronics

Add-ons

No response

Your Slicer

Cura

Host Software

OctoPrint

ellensp commented 3 years ago

duplicate of https://github.com/MarlinFirmware/Marlin/issues/21274

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.