-
Notifications
You must be signed in to change notification settings - Fork 25
Marlin Build and Upload (PlatformIO)
The recommended way to compile and upload Marlin to RUMBA32 is via PlatformIO. These steps will detail the process to do this.
- Install the VSCode IDE - download and run the installer from the Setting up Visual Studio Code page.
- Install PlatformIO for VSCode following the instructions here.
- Download/clone an appropriate version of Marlin 2.0 to a known location. Currently, the latest from the Marlin bugfix-2.0.x branch is recommended.
- Open the downloaded Marlin 2.0 in VSCode (File > Open Folder...)
- Open the Configuration.h file and configure it according to your printer's requirements.
The minimum configuration necessary to use RUMBA32 is to change the following lines:
L107: #define SERIAL_PORT -1
L131: #define MOTHERBOARD BOARD_RUMBA32_V1_1
Refer to the Recommended Marlin Configuration page for more detailed information.
- Open the PlatformIO panel, and locate the
env:rumba32
menu:
- Click the
Build
button in theenv:rumba32
menu, and wait for the build process to run. When it is completed, you should see a success message as below:
-
If the compile has succeeded and you are ready to flash the firmware to your RUMBA32 board, connect the board via USB and ensure it is in bootloader mode (hold
BOOT0
, pressRESET
, releaseBOOT0
). Refer to the detailed instructions here if needed. -
Click the
Upload
button in theenv:rumba32
menu. PlatformIO will recompile (if necessary), and then will begin the firmware upload to the board. After a short time, you should see another success message.
- Marlin is now uploaded and running on your RUMBA32 board. You should be able to communicate with it using your chosen host software:
If you cannot communicate with RUMBA32 using your host software, or cannot see a COM port that corresponds to it, it is possible the wrong driver has been loaded - see the steps on the COM Port Troubleshooting page.