i’m pretty new to the topic and I’m compiling Marlin for the first time. After 2 days i now figured out that i have to use the Creality V422 configs because i have a V2.2. Motherboard. I’ve been using PIO and
Auto Build Marlin.
But now i’ve got the Error:
“resource”: “/c:/Users/arneh/Downloads/3D Druck/MarlinUpdateBugfix_Richtig/Marlin-2.0.x/Marlin/src/module/motion.cpp”,
“message”: “Der Bezeichner ““HOMING_FEEDRATE_XY”” ist nicht definiert.”,
two times and once for the Z axis and i get the error code:
One time i was able to build Marlin but it failed in the upload after trying to send it 10 times (i think it was with the firmware for the wrong board so this doesn’t rly matter). But every other time the process wasn’t succesfull. Meanwhile I’m trying to use different updates of the firmware (2.0.6; 2.0.5; …) from github but in those i cant find the proper V422 file for my V4.2.2 Motherboard…
If you need any special information I’ll give my best to find it and provide it to you
You should be using the latest stable marlin or bugfix marlin version as a baseline.
When you’ve downloaded the latest Marlin version, what changes have you done to the platformio.ini and where are the configuration files (Configuration.h / Configuration_adv.h) that you used for the 3D printer?
I tried the bugfix file but i also heared that this can make problems on windows, so the bugfix version wont compile properly. The normal files dont include the right motherboard version for my printer (it’s possible to change this preset in the config but i’m not sure which values i have to change so i dont miss any).
I havent done any changes to the platform.ini, i did some changes in the configuration.h and in the configuration_adv.h in order to make my bltouch work right and do some other adjustments like in this video (Ender 3 (Pro) Upgrades - BLTouch sensor with Marlin 2.0 - YouTube). i got bothe the conf and conf_adv from github from an extra config file with many presets just like for my ender3pro
And which ones are you using there for your “Creality V422”? Closest thing I found there was CrealityV427 but not V422.
Also when I look at e.g. the V4.2.7 motherboard (Creality Silent Mainboard V4.2.7- Offizieller globaler Store) it has an STM32F103RE ARM-type microcontroller on there, the video you’ve linked compiles a firmware for an AVR-type ATMega1284P type MCU – a completely different microcontroller and motherboad.
Can you confirm that when you look at your v4.2.2 motherboard the MCU on there is a STM32F103RE and not a ATMega type chip? Should be the same as here
Thus since the board has a STM32F103RE I’d more expect it to use this PlatformIO / Marlin environment
Unfortunately I can’t test it until tomorrow afternoon. I’ll reply as soon as possible if I could make it work or not (I hope the changes I have to make to use my bltouch won’t mess with anything) . Wish me luck