Issues building firmware Ender 3 v2 Creality 4.2.2 board STM32F103RET6_creality_maple

Trying to compile firmware for my Ender 3 v2 with Creality 4.2.2 board, however I keep running into STM32F103RET6_creality_maple error. Any help would be appreciated!

================================================= [FAILED] Took 7.17 seconds =================================================

Environment Status Duration


STM32F103RET6_creality_maple FAILED 00:00:07.166
=========================================== 1 failed, 0 succeeded in 00:00:07.166 ===========================================
The terminal process “C:\Users\allen.platformio\penv\Scripts\platformio.exe ‘run’” terminated with exit code: 1.

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

Any other error messages in the lines previous to that one you posted?

Cheers,
Norm.

Yes, I had the v4 error which I fixed to v4.2.2. Wouldnt even start trying to compile until I did.

Sorry. I meant, did you see any errors during the compilation which has failed?

Also, is this post of any use? Issue building STM32F103RET6_creality.

Cheers,
Norm.

  • I downloaded the latest nightly Marlin v2.0.x bugfix zip archive.
  • I downloaded the nightly bugfix config zip archive for v2.0.x
  • I uncompressed both.
  • I copied the bugfix config from examples/creality/Ender3 V2/CrealityV422/CrealityUI/* to Marlin/* overwriting the two config files already there.
  • I edited platformio.ini and changed:
    • default_envs to STM32F103RET6_creality_maple
    • board to STM32F103RET6_creality_maple
  • Saved the ini file.
  • pio run -t clean
  • pio run

The result was a clean compilation:

Building .pio/build/STM32F103RE_creality_maple/firmware-20220220-135443.bin
======================================= [SUCCESS] Took 89.78 seconds =======================================

Environment                 Status    Duration
--------------------------  --------  ------------
STM32F103RE_creality_maple  SUCCESS   00:01:29.781

My environment is Linux Mint 20.3 64 bit on a dual core, 16 year old laptop. Python version is 3.8.10.

I do not own a 3D printer, yet. :wink:

Edited because my spelling is atrocious.

Cheers,
Norm.

Ill check that when I get home. I didn’t notice any other errors, but I’m using jyers marlin.

I used the official version from Download | Marlin Firmware.

Cheers,
Norm.