Skip to content

build_marlin_for_meeb_3dp_linux_cmd

cccc edited this page Jun 2, 2020 · 8 revisions

A simple instructions

Use ubutnut 16.04 system as a example

Setup python

sudo apt install python
sudo apt install python-pip

Install the depend

sudo apt install lib32z1

Clone the Marlin

git clone --recursive https://github.com/MarlinFirmware/Marlin.git -b bugfix-2.0.x my_marlin

Install the Platformio

pip install --upgrade pip
pip install -U https://github.com/platformio/platformio-core/archive/master.zip
platformio update

Setup the udev

copy the ./my_marlin/buildroot/etc/udev/rules.d/99-platformio-udev.rules to /etc/udev/rules.d/

and reset the system.

Copy the config template files for your meeb_3dp board

All template files are in the Marlin_v2 folder of this repository, use ender3 printer as a example, copy 4 files:

  • Marlin_v2\_Statusscreen.h to my_marlin\Marlin
  • Marlin_v2\_Bootscreen.h to my_marlin\Marlin
  • Marlin_v2\ender3\Configuration.h to my_marlin\Marlin
  • Marlin_v2\ender3\Configuration_adv.h to my_marlin\Marlin

Do your change

Configuration.h and Configuration_adv.h can be modified.

Compile and upload

Connect your meeb_3dp board with USB cable. Use lsusb to make sure the USB is worked.

pio run -e STM32F103RC_cc_meeb_3dp -t upload