Source Code Map - schmttc/ECF-Marlin GitHub Wiki

Forked Marlin Repositories

The two main repositories are forked from Marlin/Marlin (Firmware) and Marlin/Configurations. This way we can update our codebase with a fork sync, and create pull requests back.

Unique branches with the “ecf-” prefix are used to host our code and keep it separate from upstream

We follow the branch naming pattern ecf-[model]-[mainboard]

Modified Files

These files impact our printers:

Marlin

  • src\feature\easythreed_ui.cpp - Button behavior main code
  • src\feature\easythreed_ui.h - Button behavior C header file
  • src\pins\stm32f1\pins_MKS_ROBIN_LITE.h - Added pin definitions for EXP1 port reassigned from LCD to Buttons, ET4000+ mainboard
  • src\MarlinCore.cpp - Triggers for UI code

Configurations

config/examples/EasyThreeD/ET4000PLUS/

  • Configured for EasyThreeD K7

Feature Code Reference

Feature Code Reference
Single Button Interface (Print/Pause/Stop Print/Raise Carriage) printButton();
Single Button Status LED blinkLED();
3 Position Filament Feed switch loadButton();
Home Button Uses Marlin button macros
4 Button Leveling Not yet supported
Heated Bed Standard Marlin Functionality
Mainboard
ET4000+ (STM32F1) "MKS Robin Lite" compatible
ET-4000 V2 (ATmega 1284)
CF-M12 (Nation N326455 Rel 7)