Flashing from source - kad/Marlin GitHub Wiki
PlatformIO CLI
-
Install PlatformIO Core CLI
-
Download and unpack to some directory release source archive
-
To compile binary firmware file from source:
pio run -e anycubic_mega_zero_melzi
-
To flash compiled binary to the printer (only for stock motherboard):
pio run -e anycubic_mega_zero_melzi_ -t upload
Notes:
- Replace
anycubic_mega_zero_melzi
with desired build variant - It is also possible to use VSCode PlatformIO extensions for build and upload firmware.
- Replace