mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-01-22 17:41:24 +00:00
.. | ||
Configuration.h | ||
Configuration_adv.h | ||
README.md |
Malyan M300 Build Instructions
Malyan M300 series firmware currently builds using the Arduino IDE. These instructions should guide you through the configuration and compilation.
- Install the Arduino IDE from your favorite source (arduino.cc, windows store, app store)
- Launch the IDE to add the ST boards manager:
- Open the Preferences dialog.
- Add this link in the "Additional Boards Managers URLs" field: https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
- Select "Show verbose ouptut during: compilation."
- Select Tools > Board > Boards Manager.
- Type "Malyan" into the Search field.
- The only board listed will be "STM32 Cores by STMicroelectronics." Any version from 1.8.0 up is fine. Choose install. This will download many tools and packages, be patient.
- Open the Tools > Board submenu, scroll all the way down, and select 3D Printer Boards.
- From the Tools menu, select a board part number Malyan M300:
- From the Tools menu, choose USB Support > CDC No Generic Serial.
- Download the latest Marlin source and unzip it.
- Look in the
Marlin
subdirectory for theConfiguration.h
andConfiguration_adv.h
files. Replace these files with the configurations in theconfig\examples\Malyan\M300
folder. - Open the
Marlin/Marlin.ino
file in Arduino IDE. - From the Sketch menu, select File > Export Compiled Binary.
- When compilation is done you've built the firmware. The next stage is to flash it to the board. To do this look for a line like this:
"path/to/bin/arm-none-eabi-objcopy" -O binary "/path/to/Marlin.ino.elf" "/path/to/Marlin.ino.bin"
The fileMarlin.ino.bin
is your firmware binary. M300 printers require flashing via SD card. Use the SD card that came with the printer if possible. The bootloader is very picky about SD cards. CopyMarlin.ino.bin
to your SD card under three names:firmware.bin
, andfcupdate.flg
. - Insert the SD card into your printer. Make sure the X and Y axes are centered in the middle of the bed. (When X and Y endstops are closed this signals a UI upgrade to the bootloader.)
- Power-cycle the printer. The first flash may take longer. Don't be surprised if the .99 version number doesn't show up until after the UI has launched the default screen.
- Remove the SD card and delete the
fcupdate.flg
file from the card to prevent an accidental re-flash. - Test the endstops and homing directions, run M303 PID autotune, and verify all features are working correctly.
Welcome to Marlin 2.x...