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.16k stars 19.21k forks source link

Compiling of Configuration.h giving me a FAILED message #24200

Closed ChrisFix13 closed 2 years ago

ChrisFix13 commented 2 years ago

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

Yes, I'm actually working with that code only.

Description

I am trying to setup my Big Tree Tech SKR V1.4 for my new Creality Ender 3 Pro, so I'm following a step by step guide using a YT video. I did all of the changes needed prior to compiling the Configuration.h file and it should be an easy/quick thing to do. For some reason I get errors and the process ends. So The compiling fails. ### Steps to Reproduce
  1. Change the files from platformio.ini, Configuration.h, and Configuration_adv.h like in the video here (https://www.youtube.com/watch?v=-Gdk0wHg51w&ab_channel=TeachingTech). The process starts at minute 8:26 and the problem I have is at minute 10:47.
  2. When I compile my files I get the following in the terminal:

Executing task in folder Marlin-bugfix-2.0.x: C:\Users\Christian Jensen.platformio\penv\Scripts\platformio.exe run <

Warning! src_filter configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_build_flags configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_flags instead
Warning! src_filter configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_build_flags configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use build_src_flags instead Warning! src_filter configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:STM32F103CB_malyan] is deprecated and will be removed in the next release! Please use build_src_filter instead
Warning! src_filter configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use build_src_filter instead Warning! src_filter configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use build_src_filter instead Processing LPC1768 (board: nxp_lpc1768; platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/0.1.3.zip; framework: arduino) -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1768.html PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1768 HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink) PACKAGES:

Environment Status Duration


LPC1768 FAILED 00:00:05.624 ================================================================================================= 1 failed, 0 succeeded in 00:00:05.624 =================================================================================================The terminal process "C:\Users\Christian Jensen.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

  1. I don't know what to do, don't want to mess with the other files so please help.

Expected behavior: [What you expect to happen] Expected it to compile fine and give me access to the bin file.

Actual behavior: [What actually happens] Gave me a FAIL message and 5 Problems, 4 from the types.h file and 1 from SanityCheck.h file

Additional Information

Error_Files.zip Capture Error1

eromaredo commented 2 years ago

This is probably issue with a Platform.IO, not Marlin. Here is an issue https://github.com/platformio/platformio-core/issues/4270 and temporary fix.

ellensp commented 2 years ago

Error message is clear #error "Leveling in Marlin requires three or more axes, with Z as the vertical axis." You have a bad Config files

You have not enabled any stepper drivers So marlin think your don't have any axes

You need to define your stepper drivers eg

define X_DRIVER_TYPE TMC2209

define Y_DRIVER_TYPE TMC2209

define Z_DRIVER_TYPE TMC2209

define E0_DRIVER_TYPE TMC2209

This is a recent change so most tutorials are out of date

ellensp commented 2 years ago

This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.

ChrisFix13 commented 2 years ago

Thank you so much @ellensp, I appreciate the help and you were right! Also, thanks for the other message, I will check them if ever I have another problem!

github-actions[bot] commented 2 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.