Marlin on Blackpill

Marlin on Blackpill

thingiverse

Want to do your own 3D printer controller? I did one with bluepill stm32F103 but the memory was used to 98% so no space for fancy features..... Now you can find the blackpill with stm32F401 from weact (https://github.com/WeActTC/MiniSTM32F4x1) on aliexpress.... How to compile Marlin-bugfix-2.0.x (2.0.8) downloaded 02_2021 on stm32F401ce blackpill using Platformio in VisualStudioCode: Add blackpill_f401ce.json from https://github.com/platformio/platform-ststm32/blob/develop/boards/blackpill_f401ce.json in ../Marlin-2.0.x/buildroot/share/PlatformIO/boards/. in ../Marlin/src/pins/stm32f4 Create a file "pins_blackpill_f401ce.h" containing the description of the board. add #define FLASH_EEPROM_EMULATION //emulate a EEPROM 4Kb in flash In Marlin/src/pins/pins.h in section // // STM32 ARM Cortex-M4F // add '#elif MB(blackpill_f401ce) '#include "stm32f4/pins_blackpill_f401ce.h" // STM32F4/pins_blackpill_f401ce.h in ../Marlin-2.0.x/Marlin/src/core/boards.h in section // // STM32 ARM Cortex-M4F // add #define BOARD_blackpill_f401ce 4299 // blackpill_f401ce in ../Marlin-2.0.x/platformio.ini change: [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = blackpill_f401ce include_dir = Marlin and add: [env:blackpill_f401ce] platform = ${common_stm32.platform} extends = common_stm32 board = blackpill_f401ce ; change microcontroller board_build.mcu = stm32f401ceu6 ; change MCU frequency board_build.f_cpu = 84000000L upload_protocol = dfu build_flags = ${common_stm32.build_flags} -DHSE_VALUE=25000000 in ../Marlin-2.0.x/Marlin/Configuration.h change: '#define SERIAL_PORT -1 and '#ifndef MOTHERBOARD ' #define MOTHERBOARD BOARD_blackpill_f401ce '#endif Customize Marlin/Configuration.h and Marlin/Configuration_adv.h for your printer.... That's all....

Download Model from thingiverse

With this file you will be able to print Marlin on Blackpill with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Marlin on Blackpill.