Building Ender 5 Plus Firmware

Table of Contents
- Disclaimer
- Get the Sources
- Display Software (DGUS Tool V 7.30)
- Compiling with Arduino
- Compiling with PlatformIO (recommended)
Disclaimer
If you break your system with this information, itβs not my fault. This is just a page with random notes.
I have not flashed anything with this yet. This is a minimal howto, to setup the environment.
Get the Sources
See: https://www.creality3dofficial.com/pages/firmware-download
See: https://drive.google.com/open?id=16596EvFWv9C9ClbavmHPc4J3MJ4N3h
Download the file Ender-5PlusBLTouch_0904_V1.70.1 BL Source code.zip
Rename the file to e5plus.zip
, and extract with 7-zip (from https://www.7-zip.org/)
I did this with the option -spf
(Use fully qualified file paths):
7z x -spf e5plus.zip
You will have two folders Creality_7.32_Screen_20190904
and Ender-5PlusBLTouch_0904_V1.70.1 BL
.
The display part is 'written' with DGUS Tool V 7.30, the Marlin firmware is written in C++ and the Arduino framework.
Display Software (DGUS Tool V 7.30)
You can find the software here: http://www.dwin.com.cn/home/English/download?cate_id=4.
Unzip the archive and run DGUS Tool V7.30.exe
.
Compiling with Arduino
This is not my recommend approach, because every Arduino installation is messed up with a personal list of dependencies, and Arduino IDE provides no sensible dependency management.
Compiling with PlatformIO (recommended)
A minimal platformio.ini
file, to build with Visual Studio Code and PlatformIO, is given below.
It will take care of missing dependencies.
[platformio]
src_dir = Marlin
env_default = megaatmega2560
[common]
lib_deps =
U8glib@1.19.1
TMC2130Stepper
Adafruit NeoPixel
LiquidCrystal
https://github.com/lincomatic/LiquidTWI2.git
https://github.com/trinamic/TMC26XStepper.git
build_flags = -I $BUILDSRC_DIR -fmax-errors=5
[env:megaatmega2560]
platform = atmelavr
framework = arduino
board = megaatmega2560
build_flags = ${common.build_flags}
board_f_cpu = 16000000L
lib_deps = ${common.lib_deps}
monitor_baud = 250000
upload_port = /dev/cu.wchusbserial1410 # modify this for your system
Flashing only works, while the PSU is off.