Compare commits

...

No commits in common. "import-2.1.x" and "2.0.8.2" have entirely different histories.

1210 changed files with 417839 additions and 2212981 deletions

5
.github/FUNDING.yml vendored
View file

@ -1,5 +0,0 @@
# These are supported funding model platforms
github: [thinkyhead]
patreon: thinkyhead
custom: ["http://www.thinkyhead.com/donate-to-marlin"]

View file

@ -1,184 +0,0 @@
name: 🪲 Report a bug
description: Report a bug in a Marlin Configuration
title: "[BUG] (short description)"
labels: ["bug"]
body:
- type: markdown
attributes:
value: >
Do you want to ask a question? Are you looking for support? Please use one of the [support links](https://github.com/MarlinFirmware/Configurations/issues/new/choose).
- type: markdown
attributes:
value: |
**Thank you for reporting a bug in Marlin Firmware!**
## Before Reporting a Bug
- Read and understand Marlin's [Code of Conduct](https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/.github/code_of_conduct.md). You are expected to comply with it, including treating everyone with respect.
- Test with the Configurations [`bugfix-2.1.x` branch](https://github.com/MarlinFirmware/Configurations/archive/bugfix-2.1.x.zip) branch to see whether the issue still exists. This will require testing with the Marlin [`bugfix-2.1.x` branch](https://github.com/MarlinFirmware/Marlin/archive/bugfix-2.1.x.zip).
## Instructions
Please follow the instructions below. Failure to do so may result in your issue being closed. See [Contributing to Marlin](https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.1.x/.github/contributing.md) for additional guidelines.
1. Provide a good title starting with [BUG].
2. Fill out all sections of this bug report form.
3. Always attach configuration files so we can build and test your setup.
- type: dropdown
attributes:
label: Did you test the latest `bugfix-2.1.x` code?
description: >-
Always try the latest code to make sure the issue you are reporting is not already fixed. To download
the latest code just [click this link](https://github.com/MarlinFirmware/Marlin/archive/bugfix-2.1.x.zip). Matching configs can be [downloaded here](https://github.com/MarlinFirmware/Configurations/archive/bugfix-2.1.x.zip).
options:
- Yes, and the problem still exists.
- No, but I will test it now!
validations:
required: true
- type: markdown
attributes:
value: |
# Bug Details
- type: textarea
attributes:
label: Bug Description
description: >-
Describe the bug in this section. Tell us what you were trying to do and what
happened that you did not expect. Provide a clear and concise description of the
problem and include as many details as possible.
When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.
placeholder: |
Marlin doesn't work.
validations:
required: true
- type: input
attributes:
label: Bug Timeline
description: Is this a new bug or an old issue? When did it first start?
- type: textarea
attributes:
label: Expected behavior
description: >-
What did you expect to happen?
placeholder: I expected it to move left.
- type: textarea
attributes:
label: Actual behavior
description: What actually happened instead?
placeholder: It moved right instead of left.
- type: textarea
attributes:
label: Steps to Reproduce
description: >-
Please describe the steps needed to reproduce the issue.
placeholder: |
1. [First Step] ...
2. [Second Step] ...
3. [and so on] ...
- type: markdown
attributes:
value: |
# Your Setup
- type: input
attributes:
label: Version of Marlin Firmware
description: "See the About Menu on the LCD or the output of `M115`. NOTE: For older releases we only patch critical bugs."
validations:
required: true
- type: input
attributes:
label: Printer model
description: Creality Ender-3, Prusa mini, or Kossel Delta?
- type: input
attributes:
label: Electronics
description: Stock electronics, upgrade board, or something else?
- type: input
attributes:
label: LCD/Controller
description: Some Marlin behaviors are determined by the controller. Describe your LCD/Controller model and version.
- type: input
attributes:
label: Other add-ons
description: Please list any other hardware add-ons that could be involved.
- type: dropdown
attributes:
label: Bed Leveling
description: What kind of bed leveling compensation are you using?
options:
- UBL Bilinear mesh
- ABL Bilinear mesh
- ABL Linear grid
- ABL 3-point
- MBL Manual Bed Leveling
- No Bed Leveling
- type: dropdown
attributes:
label: Your Slicer
description: Do you use Slic3r, Prusa Slicer, Simplify3D, IdeaMaker...?
options:
- Slic3r
- Simplify3D
- Prusa Slicer
- IdeaMaker
- Cura
- Other (explain below)
- type: dropdown
attributes:
label: Host Software
description: Do you use OctoPrint, Repetier Host, Pronterface...?
options:
- SD Card (headless)
- Repetier Host
- OctoPrint
- Pronterface
- Cura
- Same as my slicer
- Other (explain below)
- type: markdown
attributes:
value: |
# Attachments
- type: checkboxes
attributes:
label: Don't forget to include
options:
- label: A ZIP file containing your `Configuration.h` and `Configuration_adv.h`.
required: true
- type: markdown
attributes:
value: |
### Optional items to include:
- 'Log output from the host. (`M111 S247` for maximum logging.)'
- Images or videos demonstrating the problem, if it helps to make it clear.
- A G-Code file that exposes the problem, if not affecting _all_ G-code.
- type: textarea
attributes:
label: Additional information & file uploads
description: >-
If you've made any other modifications to the firmware, please describe them in detail.
When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.

View file

@ -1,20 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Configuration Request
url: https://github.com/MarlinFirmware/Configurations/issues/649
about: Request a new Configuration or variant of an existing Configuration here.
- name: Marlin Documentation
url: https://marlinfw.org/
about: Lots of documentation on installing and using Marlin.
- name: MarlinFirmware Facebook group
url: https://www.facebook.com/groups/1049718498464482
about: Please ask and answer questions here.
- name: Marlin on Discord
url: https://discord.gg/n5NJ59y
about: Join the Discord server for support and discussion.
- name: Marlin Discussion Forum
url: http://forums.reprap.org/list.php?415
about: A searchable web forum hosted by RepRap dot org.
- name: Marlin Videos on YouTube
url: https://www.youtube.com/results?search_query=marlin+firmware
about: Tutorials and more from Marlin users all around the world. Great for new users!

View file

@ -1,8 +0,0 @@
# Contributing Changes
- Make a fork of this repository under your account.
- Use Clone or Download to open the repo on your computer.
- Use Git or Github Desktop to checkout the `import-2.1.x` branch.
- Add new configurations and/or make changes to existing ones.
- Commit your changes and push them to your fork.
- Submit a Pull Request to the `import-2.1.x` branch.

View file

@ -1,19 +0,0 @@
### Requirements
* Filling out this template is required. Pull Requests without a clear description may be closed at the maintainers' discretion.
### Description
<!--
We must be able to understand your proposed change from this description. If we can't understand what the code will do from this description, the Pull Request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code recently, so please walk us through the concepts.
-->
### Benefits
<!-- What does this fix or improve? -->
### Related Issues
<!-- Whether this fixes a bug or fulfills a feature request, please list any related Issues here. -->

View file

@ -1,125 +0,0 @@
#
# build-pr.yml
# Build Marlin with the new / updated configs in the PR
#
name: PR Test Build
on:
pull_request:
branches:
- import-2.1.x
paths-ignore:
- '**/*.md'
jobs:
build:
name: Test Build
if: github.repository == 'MarlinFirmware/Configurations'
runs-on: ubuntu-22.04
steps:
- name: Check out the PR
uses: actions/checkout@v4
# Get the list of directories containing changed config files:
- name: Get changed directories
run: |
# Get the base branch of the Pull Request
BASE_BRANCH=$(jq -r .pull_request.base.ref <$GITHUB_EVENT_PATH)
# Get origin for comparison
git fetch --depth=1 origin $BASE_BRANCH
# Use `git diff` to get a list of folders with altered .h files
# between the current commit and the base branch of the Pull Request
DIRS=$(git diff --name-only --diff-filter=AMR origin/$BASE_BRANCH HEAD | grep -E ".+\.h" | while IFS= read -r f; do dirname "$f"; done | uniq)
# Exit if nothing testable changed
[[ -z $DIRS ]] && { echo "No Configuration changes detected."; exit ; }
# Set DIRS in the persistent environment
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v4
with:
path: |
~/.platformio
.pio/libdeps
key: ${{ runner.os }}-pio-v1
restore-keys: |
${{ runner.os }}-pio-
- name: Select Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9' # Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install PlatformIO
run: |
pip install -U platformio
pio upgrade --dev
pio pkg update --global
# Fetch the code from the other repo and compile it:
- name: Clone Marlin
run: |
git clone https://github.com/MarlinFirmware/Marlin.git
# For each directory containing a changed config file, copy the .h files and build the code:
- name: Test all changed config files
run: |
cd Marlin
IFS=$'\n'
for dir in $DIRS; do
# Copy all .h files from the directory into the Marlin subfolder
echo "Building Configurations in $dir ..."
cp ../"$dir"/*.h Marlin/
# Suppress fatal warnings
echo -e "\n#define NO_CONTROLLER_CUSTOM_WIRING_WARNING" >> Marlin/Configuration.h
# Strip out #error lines so it can build
sed -i~ -e "20,30{/#error/d}" "Marlin/Configuration.h"
rm -f "Marlin/Configuration.h~"
# Build Marlin with PlatformIO
MB=$( grep -E "^\s*#define MOTHERBOARD" Marlin/Configuration.h | awk '{ print $3 }' | sed 's/BOARD_//;s/\r//' )
[[ -z $MB ]] && { echo "::error::Can't read MOTHERBOARD setting." ; exit 3; }
BLINE=$( grep -E "define\s+BOARD_$MB\b" Marlin/src/core/boards.h )
BNUM=$( sed -E 's/^.+BOARD_[^ ]+ +([0-9]+)(.|$)+$/\1/' <<<"$BLINE" )
BDESC=$( sed -E 's/^.+\/\/ *(.+)$/\1/' <<<"$BLINE" )
[[ -z $BNUM ]] && { echo "::error::Can't find BOARD_$MB in core/boards.h." ; exit 3; }
if [ "$MB" == "SIMULATED" ]
then
ENVS=$"simulator_linux_release"
# Install Simulator dependencies
sudo apt-get install build-essential
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-net-dev
sudo apt-get install libglm-dev
else
ENVS=( $( grep -EA1 "MB\(.*\b$MB\b.*\)" Marlin/src/pins/pins.h | grep -E "#include.+//.+env:[^ ]+" | grep -oE "env:[^ ]+" | sed -E "s/env://" ) )
fi
[[ -z $ENVS ]] && { echo "::error::Can't find target(s) for $MB ($BNUM)." ; exit 3; }
[[ ${#ENVS[*]} == 1 ]] && TARGET=$ENVS || TARGET="${ENVS[0]}"
echo "Building environment $TARGET for board $MB ($BNUM)..." ; echo
pio run -s -e $TARGET
# Reset the repo directory so the next iteration starts clean
git reset --hard HEAD
done

View file

@ -1,32 +0,0 @@
#
# check-pr.yml
# Close PRs directed at `bugfix-2.x.x`
#
name: PR Bad Target
on:
pull_request_target:
types: [opened]
branches:
- bugfix-2.0.x
- bugfix-2.1.x
jobs:
bad_target:
name: PR Bad Target
if: github.repository == 'MarlinFirmware/Configurations'
runs-on: ubuntu-22.04
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: >
Thanks for your contribution! Unfortunately we can't accept PRs directed at the `bugfix-2.x.x` branch. We make patches to `import-2.x.x` and then generate `bugfix-2.x.x` and `release-x.x.x` from that.
Please redo this PR starting with the current `import-2.1.x` branch and be careful to target `import-2.1.x` when resubmitting the PR.
It may help to set your fork's default branch to `import-2.1.x`.
See [this page](https://marlinfw.org/docs/development/getting_started_pull_requests.html) for full instructions.

View file

@ -1,40 +0,0 @@
#
# deploy.yml
#
# Rebuild the bugfix-2.1.x branch whenever 'import-2.1.x' is pushed
#
name: Deploy
on:
push:
branches:
- import-2.1.x
paths:
- 'config/**'
- 'bin/mfconfig'
jobs:
deploy:
if: github.repository == 'MarlinFirmware/Configurations'
runs-on: ubuntu-22.04
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags
token: ${{ secrets.GITHUB_TOKEN }} # Use the built-in token for authentication
- name: Fetch all branches
run: git fetch --all
- name: Set up Git identity
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Actions"
- name: Build bugfix-2.1.x
run: bin/mfconfig CI
- name: Push bugfix-2.1.x
run: git push -f origin WORK:bugfix-2.1.x

8
.gitignore vendored
View file

@ -2,8 +2,7 @@
# OS
#
applet/
.DS_Store
*.sublime-workspace
*.DS_Store
# Prerequisites
*.d
@ -38,6 +37,5 @@ applet/
*.out
*.app
# Tools
.vscode/
.zed/
# System files
.DS_Store

View file

@ -1,9 +0,0 @@
{
"folders":
[
{
"file_exclude_patterns": [ "*.sublime-project" ],
"path": ".",
},
],
}

View file

@ -1,54 +1,14 @@
# Configurations
Pre-tested Configurations for Marlin Firmware. Links below…
Pre-tested Configurations for Marlin Firmware 2.0.8.2
> [!IMPORTANT]
> Before downloading configurations in ZIP format using the CODE button above you must select the correct branch for your version of Marlin.
Marlin Firmware is configured using two files:
## Release Branches
*Branches that apply to most users*. Select the branch for your version of Marlin:
- `Configuration.h` contains core configuration options like machine geometry.
- `Configuration_adv.h` contains optional settings for advanced and low level features.
Version|File Tree|Download
---|---|---
2.1.2.5|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.5))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.5.zip))
2.1.2.4|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.4))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.4.zip))
2.1.2.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.3.zip))
2.1.2.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.2.zip))
2.1.2.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.1.zip))
2.1.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.2.zip))
2.1.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.1.zip))
2.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.1.zip))
2.0.9.7|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.7))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.7.zip))
2.0.9.6|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.6))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.6.zip))
2.0.9.5|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.5))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.5.zip))
2.0.9.4|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.4))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.4.zip))
2.0.9.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.3.zip))
2.0.9.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.2.zip))
2.0.9.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.1.zip))
2.0.9|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.9))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.9.zip))
2.0.8.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.8.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.8.3.zip))
2.0.8.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.8.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.8.2.zip))
2.0.8.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.8.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.8.1.zip))
2.0.8|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.8))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.8.zip))
2.0.7.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.7.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.7.3.zip))
2.0.7.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.7.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.7.2.zip))
2.0.7.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.7.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.7.1.zip))
2.0.7|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.7))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.7.zip))
2.0.6.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.6.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.6.2.zip))
2.0.6.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.6.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.6.1.zip))
2.0.6|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.6))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.6.zip))
2.0.5|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.5))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.5.zip))
2.0.4|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.4))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.4.zip))
2.0.3|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.3))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.3.zip))
2.0.2|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.2))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.2.zip))
2.0.1|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.1))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.1.zip))
2.0.0|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-2.0.0))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-2.0.0.zip))
1.1.9|([Browse](//github.com/MarlinFirmware/Configurations/tree/release-1.1.9))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/release-1.1.9.zip))
For Graphical LCD these files may also be included:
### Development Branches
- `_Bootscreen.h` provides the bitmap for a custom Boot Screen.
- `_Statusscreen.h` provides bitmaps to customize the Status Screen.
Version|File Tree|Download|Notes
---|---|---|---
bugfix-2.1.x|([Browse](//github.com/MarlinFirmware/Configurations/tree/bugfix-2.1.x))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/bugfix-2.1.x.zip))|Contains unpublished features under development.
bugfix-2.0.x|([Browse](//github.com/MarlinFirmware/Configurations/tree/bugfix-2.0.x))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/bugfix-2.0.x.zip))|Contains upcoming patches for Marlin 2.0.x.
import-2.1.x|([Browse](//github.com/MarlinFirmware/Configurations/tree/import-2.1.x))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/import-2.1.x.zip))|New contributions. Submitted pull requests must be based on this branch.
import-2.0.x|([Browse](//github.com/MarlinFirmware/Configurations/tree/import-2.0.x))|([Download ZIP](//github.com/MarlinFirmware/Configurations/archive/import-2.0.x.zip))|Patches to Marlin 2.0.x configurations.
See the [Configuration page](https://marlinfw.org/docs/configuration/configuration.html) for more information about configuration and individual configuration options.

View file

@ -1,249 +0,0 @@
#!/usr/bin/env python3
#
# mfconfig [manual|init|repath] [source] [dest] [repo-path]
#
# Operate on the MarlinFirmware/Configurations repository.
#
# The MarlinFirmware/Configurations layout could be broken up into branches,
# but this makes management more complicated and requires more commits to
# perform the same operation, so this uses a single branch with subfolders.
#
# init - Initialize the repo with a base commit and changes:
# - Source will be an 'import' branch containing all current configs.
# - Create an empty 'WORK' branch from 'init-repo'.
# - Add Marlin config files, but reset all to defaults.
# - Commit this so changes will be clear in following commits.
# - Add changed Marlin config files and commit.
#
# manual - Import changes from a local Marlin folder, then init.
# - Replace 'default' configs with your local Marlin configs.
# - Wait for manual propagation to the rest of the configs.
# - Run init with the given 'source' and 'dest'
#
# repath - Add path labels to all config files, if needed
# - Add a #define CONFIG_EXAMPLES_DIR to each Configuration*.h file.
#
# CI - Run in CI mode, using the current folder as the repo.
# - For GitHub Actions to update the Configurations repo.
#
import os, sys, subprocess, shutil, datetime, tempfile
from pathlib import Path
# Set to 1 for extra debug commits (no deployment)
DEBUG = 0
# Get the shell arguments into ACTION, IMPORT, and EXPORT
ACTION = sys.argv[1] if len(sys.argv) > 1 else 'manual'
IMPORT = sys.argv[2] if len(sys.argv) > 2 else 'import-2.1.x'
EXPORT = sys.argv[3] if len(sys.argv) > 3 else 'bugfix-2.1.x'
# Get repo paths
CI = os.environ.get('GITHUB_ACTIONS') == 'true'
if ACTION == 'CI':
_REPOS = "."
REPOS = Path(_REPOS)
CONFIGREPO = REPOS
ACTION = 'init'
CI = True
else:
_REPOS = sys.argv[4] if len(sys.argv) > 4 else '~/Projects/Maker/Firmware'
REPOS = Path(_REPOS).expanduser()
CONFIGREPO = REPOS / "Configurations"
def usage():
print(f"Usage: {os.path.basename(sys.argv[0])} [manual|init|repath] [source] [dest] [repo-path]")
if ACTION not in ('manual','init','repath'):
print(f"Unknown action '{ACTION}'")
usage()
sys.exit(1)
CONFIGCON = CONFIGREPO / "config"
CONFIGDEF = CONFIGCON / "default"
CONFIGEXA = CONFIGCON / "examples"
# Configurations repo folder must exist
if not CONFIGREPO.exists():
print(f"Can't find Configurations repo at {_REPOS}")
sys.exit(1)
# Run git within CONFIGREPO
GITSTDERR = subprocess.PIPE if DEBUG else subprocess.DEVNULL
def git(etc):
if DEBUG: print(f"> git {' '.join(etc)}")
result = subprocess.run(["git"] + etc, cwd=CONFIGREPO, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
if result.returncode != 0:
print(f"Git command failed: git {' '.join(etc)}")
print(f"Error output: {result.stderr}")
return result
# Get the current branch name
def branch(): return git(["rev-parse", "--abbrev-ref", "HEAD"])
# git add . ; git commit -m ...
def commit(msg, who="."): git(["add", who]) ; return git(["commit", "-m", msg])
# git checkout ...
def checkout(etc): return git(["checkout"] + ([etc] if isinstance(etc, str) else etc))
# git branch -D ...
def gitbd(name): return git(["branch", "-D", name]).stdout
# git status --porcelain : to check for changes
def changes(): return git(["status", "--porcelain"]).stdout != ""
# Stash uncommitted changes at the destination?
if changes():
print(f"There are uncommitted Configurations repo changes.")
STASH_YES = input("Stash changes? [Y/n] ") ; print()
if STASH_YES not in ('Y','y',''): print("Can't continue") ; sys.exit()
git(["stash", "-m", f"!!GitHub_Desktop<{branch()}>"])
if changes(): print(f"Can't stash changes!") ; sys.exit(1)
def info(msg):
infotag = "[INFO] " if CI else ""
print(f"- {infotag}{msg}")
def add_path_labels():
info("Adding path labels to all configs...")
for fn in CONFIGEXA.glob("**/Configuration*.h"):
fldr = str(fn.parent.relative_to(CONFIGCON)).replace("examples/", "")
with open(fn, 'r') as f:
lines = f.readlines()
emptyline = -1
for i, line in enumerate(lines):
issp = line.isspace()
if emptyline < 0:
if issp: emptyline = i
elif not issp:
if not "CONFIG_EXAMPLES_DIR" in line:
lines.insert(emptyline, f"\n#define CONFIG_EXAMPLES_DIR \"{fldr}\"\n")
with open(fn, 'w') as f: f.writelines(lines)
break
if ACTION == "repath":
add_path_labels()
elif ACTION == "manual":
MARLINREPO = Path(REPOS / "MarlinFirmware")
if not MARLINREPO.exists():
print("Can't find MarlinFirmware at {_REPOS}!")
sys.exit(1)
info(f"Updating '{IMPORT}' from Marlin...")
checkout(IMPORT)
# Replace examples/default with our local copies
for fn in MARLINREPO.glob("Marlin/**/Configuration*.h"):
shutil.copy(fn, CONFIGDEF)
#git add . && git commit -m "Changes from Marlin ($(date '+%Y-%m-%d %H:%M'))."
#commit(f"Changes from Marlin ({datetime.datetime.now()}).")
print(f"Prepare the import branch and continue when ready.")
INIT_YES = input("Ready to init? [y/N] ") ; print()
if INIT_YES not in ('Y','y'): print("Done.") ; sys.exit()
ACTION = 'init'
if ACTION == "init":
print(f"Building branch '{EXPORT}'...")
info("Init WORK branch...")
info(f"Copy {IMPORT} to temporary location...")
# Use the import branch as the source
result = checkout(IMPORT)
if result.returncode != 0:
print(f"Can't find branch '{IMPORT}'!") ; sys.exit()
# Copy to a temporary location
TEMP = Path(tempfile.mkdtemp())
TEMPCON = TEMP / "config"
shutil.copytree(CONFIGCON, TEMPCON)
# Strip #error lines from Configuration.h
for fn in TEMPCON.glob("**/Configuration.h"):
with open(fn, 'r') as f:
lines = f.readlines()
outlines = []
for line in lines:
if not line.startswith("#error"):
outlines.append(line)
with open(fn, 'w') as f:
f.writelines(outlines)
# Create a fresh 'WORK' as a copy of 'init-repo' (README, LICENSE, etc.)
if not CI: gitbd("WORK")
REMOTE = "origin" if CI else "upstream"
checkout(["--no-track", f"{REMOTE}/init-repo", "-b", "WORK"])
# Copy default configurations into the repo
info("Create configs in default state...")
for fn in TEMPCON.glob("**/*"):
if fn.is_dir(): continue
relpath = fn.relative_to(TEMPCON)
os.makedirs(CONFIGCON / os.path.dirname(relpath), exist_ok=True)
if fn.name.startswith("Configuration"):
shutil.copy(TEMPCON / "default" / fn.name, CONFIGCON / relpath)
# DEBUG: Commit the reset for review
if DEBUG > 1: commit("[DEBUG] Create defaults")
def replace_in_file(fn, search, replace):
with open(fn, 'r') as f: lines = f.read()
with open(fn, 'w') as f: f.write(lines.replace(search, replace))
# Update the %VERSION% in the README.md file
replace_in_file(CONFIGREPO / "README.md", "%VERSION%", EXPORT.replace("release-", ""))
# Commit all changes up to now; amend if not debugging
if DEBUG > 1:
commit("[DEBUG] Update README.md version", "README.md")
else:
git(["add", "."])
git(["commit", "--amend", "--no-edit"])
# Copy configured Configuration*.h to the working copy
info("Copy examples into place...")
for fn in TEMPCON.glob("examples/**/Configuration*.h"):
shutil.copy(fn, CONFIGCON / fn.relative_to(TEMPCON))
# Put #define CONFIG_EXAMPLES_DIR .. before the first blank line
add_path_labels()
info("Commit config changes...")
commit("Examples Customizations")
# Copy over all files not matching Configuration*.h to the working copy
info("Copy extras into place...")
for fn in TEMPCON.glob("examples/**/*"):
if fn.is_dir(): continue
if fn.name.startswith("Configuration"): continue
shutil.copy(fn, CONFIGCON / fn.relative_to(TEMPCON))
info("Commit extras...")
commit("Examples Extras")
# Delete the temporary folder
shutil.rmtree(TEMP)
# Push to the remote (if desired)
PUSH_YES = 'N'
if not CI:
print()
PUSH_YES = input(f"Push to upstream/{EXPORT}? [y/N] ")
print()
REMOTE = "origin" if CI else "upstream"
if PUSH_YES.upper() in ('Y','YES'):
info("Push to remote...")
git(["push", "-f", REMOTE, f"WORK:{EXPORT}"])
info("Done.")

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "ADIMLab/Gantry v1"
/**
* Made with Marlin Bitmap Converter
* https://marlinfw.org/tools/u8glib/converter.html
@ -84,29 +86,3 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B01110000,B00111001,B11111111,B10000011,B10011100,B01100011,B10001111,B11111110,B11110111,B00111111,B10000000,
B11110000,B01111101,B11111111,B00000111,B10011110,B00000011,B11011111,B11111100,B01100111,B00100111,B00000000
};
// Saves 279 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[326] PROGMEM = {
0x0F, 0x0C, 0x3F, 0x42, 0xAB, 0x0F, 0x29, 0x31, 0xE7, 0x03, 0x0F, 0x24, 0xF0, 0xE4, 0x0F, 0x24,
0xF0, 0xD4, 0x1F, 0x23, 0xF0, 0xB7, 0x0F, 0x27, 0xEF, 0x00, 0x1F, 0x2B, 0xA2, 0x28, 0x2F, 0x26,
0x01, 0xC3, 0x17, 0x3F, 0x26, 0x52, 0x62, 0x26, 0x3F, 0x27, 0x34, 0xC5, 0x4F, 0x29, 0x13, 0xD3,
0x5F, 0x2D, 0xE4, 0x6F, 0x2A, 0xE4, 0x8F, 0x2A, 0x97, 0xAF, 0x2A, 0x65, 0xF0, 0x0F, 0x2A, 0x43,
0xF0, 0x42, 0x7F, 0x1F, 0x41, 0xF0, 0x65, 0x6F, 0x1D, 0x41, 0xF0, 0x57, 0x7F, 0x1C, 0x31, 0xF0,
0x75, 0x9F, 0x1B, 0x21, 0xF1, 0x9F, 0x19, 0x30, 0xF1, 0xBF, 0x18, 0x30, 0xA4, 0xF0, 0x70, 0x4F,
0x16, 0x21, 0x7A, 0xF0, 0x51, 0x6F, 0x13, 0x20, 0x6C, 0xF0, 0x53, 0x1F, 0x15, 0x20, 0x6E, 0xF0,
0x3F, 0x1B, 0x20, 0x5F, 0x01, 0xF0, 0x2F, 0x1C, 0x11, 0x51, 0x0D, 0xF0, 0x2F, 0x1C, 0x11, 0x7E,
0xF0, 0x1F, 0x1D, 0x11, 0x6F, 0x00, 0x44, 0x5F, 0x1E, 0x12, 0x3F, 0x02, 0x36, 0x3F, 0x1F, 0x2F,
0x09, 0x26, 0x2F, 0x20, 0x2F, 0x13, 0x2F, 0x20, 0x3F, 0x11, 0x3F, 0x1F, 0x4F, 0x11, 0x2F, 0x1F,
0x5F, 0x10, 0x3F, 0x1E, 0x6F, 0x0F, 0x4F, 0x1C, 0x7F, 0x0E, 0x5F, 0x1B, 0x8F, 0x0E, 0x6F, 0xBA,
0x35, 0x93, 0x31, 0x44, 0x31, 0x3F, 0x03, 0x2F, 0x00, 0x35, 0xA3, 0x21, 0x44, 0x32, 0x2F, 0x03,
0x2F, 0x00, 0x35, 0x23, 0x42, 0x21, 0x44, 0x32, 0x2F, 0x03, 0x2E, 0x54, 0x25, 0x22, 0x21, 0x52,
0x42, 0x2A, 0x33, 0x20, 0x1B, 0x54, 0x25, 0x22, 0x21, 0x52, 0x42, 0x28, 0x62, 0x69, 0x20, 0x24,
0x26, 0x21, 0x21, 0x51, 0x52, 0x28, 0x71, 0x69, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x20, 0x10,
0x22, 0x29, 0x10, 0x31, 0x20, 0x38, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x50, 0x22, 0x2A, 0x51,
0x20, 0x37, 0x92, 0x25, 0x22, 0x21, 0x21, 0x40, 0x22, 0x28, 0x71, 0x20, 0x37, 0x92, 0x25, 0x22,
0x21, 0x21, 0x31, 0x22, 0x28, 0x20, 0x31, 0x20, 0x36, 0x33, 0x22, 0x24, 0x32, 0x21, 0x21, 0x31,
0x22, 0x27, 0x30, 0x31, 0x20, 0x36, 0x24, 0x31, 0xA3, 0x21, 0x22, 0x12, 0x22, 0xE0, 0x31, 0x67,
0x25, 0x21, 0x94, 0x21, 0x22, 0x12, 0x22, 0xA0, 0x30, 0x21, 0x66, 0x34, 0x40, 0x84, 0x31, 0x36,
0x30, 0xA2, 0x11, 0x21, 0x01, 0x27
};

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "ADIMLab/Gantry v2"
/**
* Made with Marlin Bitmap Converter
* https://marlinfw.org/tools/u8glib/converter.html
@ -84,29 +86,3 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B01110000,B00111001,B11111111,B10000011,B10011100,B01100011,B10001111,B11111110,B11110111,B00111111,B10000000,
B11110000,B01111101,B11111111,B00000111,B10011110,B00000011,B11011111,B11111100,B01100111,B00100111,B00000000
};
// Saves 279 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[326] PROGMEM = {
0x0F, 0x0C, 0x3F, 0x42, 0xAB, 0x0F, 0x29, 0x31, 0xE7, 0x03, 0x0F, 0x24, 0xF0, 0xE4, 0x0F, 0x24,
0xF0, 0xD4, 0x1F, 0x23, 0xF0, 0xB7, 0x0F, 0x27, 0xEF, 0x00, 0x1F, 0x2B, 0xA2, 0x28, 0x2F, 0x26,
0x01, 0xC3, 0x17, 0x3F, 0x26, 0x52, 0x62, 0x26, 0x3F, 0x27, 0x34, 0xC5, 0x4F, 0x29, 0x13, 0xD3,
0x5F, 0x2D, 0xE4, 0x6F, 0x2A, 0xE4, 0x8F, 0x2A, 0x97, 0xAF, 0x2A, 0x65, 0xF0, 0x0F, 0x2A, 0x43,
0xF0, 0x42, 0x7F, 0x1F, 0x41, 0xF0, 0x65, 0x6F, 0x1D, 0x41, 0xF0, 0x57, 0x7F, 0x1C, 0x31, 0xF0,
0x75, 0x9F, 0x1B, 0x21, 0xF1, 0x9F, 0x19, 0x30, 0xF1, 0xBF, 0x18, 0x30, 0xA4, 0xF0, 0x70, 0x4F,
0x16, 0x21, 0x7A, 0xF0, 0x51, 0x6F, 0x13, 0x20, 0x6C, 0xF0, 0x53, 0x1F, 0x15, 0x20, 0x6E, 0xF0,
0x3F, 0x1B, 0x20, 0x5F, 0x01, 0xF0, 0x2F, 0x1C, 0x11, 0x51, 0x0D, 0xF0, 0x2F, 0x1C, 0x11, 0x7E,
0xF0, 0x1F, 0x1D, 0x11, 0x6F, 0x00, 0x44, 0x5F, 0x1E, 0x12, 0x3F, 0x02, 0x36, 0x3F, 0x1F, 0x2F,
0x09, 0x26, 0x2F, 0x20, 0x2F, 0x13, 0x2F, 0x20, 0x3F, 0x11, 0x3F, 0x1F, 0x4F, 0x11, 0x2F, 0x1F,
0x5F, 0x10, 0x3F, 0x1E, 0x6F, 0x0F, 0x4F, 0x1C, 0x7F, 0x0E, 0x5F, 0x1B, 0x8F, 0x0E, 0x6F, 0xBA,
0x35, 0x93, 0x31, 0x44, 0x31, 0x3F, 0x03, 0x2F, 0x00, 0x35, 0xA3, 0x21, 0x44, 0x32, 0x2F, 0x03,
0x2F, 0x00, 0x35, 0x23, 0x42, 0x21, 0x44, 0x32, 0x2F, 0x03, 0x2E, 0x54, 0x25, 0x22, 0x21, 0x52,
0x42, 0x2A, 0x33, 0x20, 0x1B, 0x54, 0x25, 0x22, 0x21, 0x52, 0x42, 0x28, 0x62, 0x69, 0x20, 0x24,
0x26, 0x21, 0x21, 0x51, 0x52, 0x28, 0x71, 0x69, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x20, 0x10,
0x22, 0x29, 0x10, 0x31, 0x20, 0x38, 0x21, 0x23, 0x26, 0x21, 0x21, 0x20, 0x50, 0x22, 0x2A, 0x51,
0x20, 0x37, 0x92, 0x25, 0x22, 0x21, 0x21, 0x40, 0x22, 0x28, 0x71, 0x20, 0x37, 0x92, 0x25, 0x22,
0x21, 0x21, 0x31, 0x22, 0x28, 0x20, 0x31, 0x20, 0x36, 0x33, 0x22, 0x24, 0x32, 0x21, 0x21, 0x31,
0x22, 0x27, 0x30, 0x31, 0x20, 0x36, 0x24, 0x31, 0xA3, 0x21, 0x22, 0x12, 0x22, 0xE0, 0x31, 0x67,
0x25, 0x21, 0x94, 0x21, 0x22, 0x12, 0x22, 0xA0, 0x30, 0x21, 0x66, 0x34, 0x40, 0x84, 0x31, 0x36,
0x30, 0xA2, 0x11, 0x21, 0x01, 0x27
};

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -29,6 +29,8 @@
#pragma once
#define CONFIG_EXAMPLES_DIR "Alfawise/U20-bltouch"
//
// Status Screen Logo bitmap
//

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -29,6 +29,8 @@
#pragma once
#define CONFIG_EXAMPLES_DIR "Alfawise/U20"
//
// Status Screen Logo bitmap
//

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,12 +0,0 @@
# AliExpress CL-260
Example configuration for the [AliExpress CL-260](//www.aliexpress.com/item/32812528331.html) Ultimaker 2 clone.
> [!NOTE]
> Change `Z_MAX_POS` to 300 for the CL-260MAX.
The setting "works" for my printer and the extruder using my calibration value, but you might want to tweak some settings, e.g enable EEPROM, increase default Z speed, adjust homing speeds,...
Have fun!
\- tobi

View file

@ -0,0 +1,15 @@
This is an example configuration for the CL-260 Ultimaker 2 clone.
Change Z_MAX_POS to 300 for the CL-260MAX.
(The printer is available on AliExpress; be aware that this is not a beginner's
printer -- it needs tweaking and some parts replaced before being decent.)
The printer comes with a quite old Marlin, the sources are available here:
http://www.thingiverse.com/thing:1635830/ and I recommend replacing them.
The setting "works" for my printer and the extruder using my calibration value.
You might want to tweak some settings, e.g enable EEPROM, increase default Z speed, adjust homing speeds,...
Have fun!
--
tobi

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "Anet/A6"
/**
* Custom Status Screen bitmap
*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "Anet/A8"
/**
* Custom Status Screen bitmap
*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "Anet/A8plus"
/**
* Custom Status Screen bitmap
*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "Anet/A9"
/**
* Custom Status Screen bitmap
*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -71,40 +71,3 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B11111111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111100,B01111100,B00111100,B10000100,B00001111,B11111111,
B11111111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00011111,B11111111
};
// Saves 516 bytes
#define COMPACT_CUSTOM_BOOTSCREEN
const unsigned char custom_start_bmp_rle[508] PROGMEM = {
0x17, 0xF6, 0x0F, 0x00, 0xB6, 0xF3, 0x77, 0xDE, 0x8E, 0x5F, 0x03, 0x6F, 0x04, 0xAE, 0xBD, 0x7F,
0x01, 0x4F, 0x05, 0x4F, 0x06, 0x7F, 0x01, 0xAC, 0x7F, 0x04, 0x2F, 0x06, 0x3F, 0x07, 0x4F, 0x04,
0x9C, 0x6F, 0x06, 0x1F, 0x07, 0x2F, 0x08, 0x3F, 0x05, 0x9A, 0x6F, 0x07, 0x1F, 0x08, 0x1F, 0x08,
0x2F, 0x06, 0x9A, 0x6F, 0x07, 0x1F, 0x08, 0x1F, 0x09, 0x1F, 0x07, 0x99, 0x6F, 0x08, 0x0A, 0x1A,
0x1F, 0x09, 0x0B, 0x0A, 0x98, 0x79, 0x2A, 0x0A, 0x1B, 0x0A, 0x1B, 0x0A, 0x29, 0x98, 0x79, 0x2A,
0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xA7, 0x79, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xA7,
0x79, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xA6, 0x89, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A,
0x29, 0xA6, 0x89, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xB5, 0x89, 0x2A, 0x0A, 0x2A, 0x0A,
0x2A, 0x0A, 0x29, 0xB5, 0x89, 0x2A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xB4, 0x99, 0x2A, 0x0A,
0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xB4, 0x98, 0x3A, 0x0A, 0x2A, 0x0A, 0x2A, 0x0A, 0x29, 0xB4, 0xF0,
0x79, 0x1A, 0x2A, 0x0A, 0x2A, 0x0A, 0xF0, 0x94, 0xF0, 0x5B, 0x1A, 0x2A, 0x0A, 0x2A, 0x0A, 0xF0,
0xA3, 0xF0, 0x2D, 0x2A, 0x2A, 0x0A, 0x2A, 0x0A, 0xF0, 0xA3, 0xF0, 0x2C, 0x3A, 0x2A, 0x0A, 0x2A,
0x0A, 0xF0, 0xA3, 0xF0, 0x2B, 0x4A, 0x2A, 0x0A, 0x2A, 0x0A, 0xF0, 0xA3, 0xF0, 0x2B, 0x4A, 0x2A,
0x0A, 0x1B, 0x0A, 0xF0, 0xA3, 0xF0, 0x2C, 0x3A, 0x2A, 0x0F, 0x09, 0x0A, 0xF0, 0xA3, 0xF0, 0x3C,
0x2A, 0x2A, 0x0F, 0x09, 0x0A, 0xF0, 0xA3, 0xF0, 0x6A, 0x1A, 0x2A, 0x0F, 0x08, 0x1A, 0xF0, 0xA3,
0xF0, 0x79, 0x1A, 0x2A, 0x0F, 0x08, 0x1A, 0xF0, 0xA3, 0x98, 0x39, 0x1A, 0x2A, 0x0F, 0x07, 0x2A,
0xF0, 0xA3, 0x8A, 0x2A, 0x0A, 0x2A, 0x0F, 0x06, 0x3A, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A, 0x0F,
0x04, 0x5A, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A, 0x0A, 0xEA, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A,
0x0A, 0xEA, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A, 0x0A, 0xEA, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A,
0x0A, 0xEA, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A, 0x0A, 0xEA, 0x29, 0xC3, 0x8A, 0x2A, 0x0A, 0x2A,
0x0A, 0xEA, 0x29, 0xB4, 0x8A, 0x2A, 0x0A, 0x2A, 0x0A, 0xEA, 0x29, 0xB5, 0x7A, 0x2A, 0x0A, 0x2A,
0x0A, 0xEA, 0x29, 0xB5, 0x7A, 0x2A, 0x0A, 0x2A, 0x0A, 0xEA, 0x29, 0xB5, 0x7A, 0x2A, 0x0A, 0x2A,
0x0A, 0xEA, 0x29, 0xB5, 0x8F, 0x08, 0x0A, 0x1A, 0x1A, 0xEA, 0x29, 0xB5, 0x8F, 0x07, 0x1F, 0x08,
0x1A, 0xEF, 0x08, 0xA7, 0x7F, 0x07, 0x1F, 0x08, 0x1A, 0xF0, 0x0F, 0x07, 0xA7, 0x7F, 0x07, 0x1F,
0x07, 0x2A, 0xF0, 0x0F, 0x06, 0xB7, 0x8F, 0x05, 0x2F, 0x06, 0x3A, 0xF0, 0x1F, 0x04, 0xB9, 0x8F,
0x03, 0x3F, 0x05, 0x4A, 0xF0, 0x2F, 0x02, 0xC9, 0x9F, 0x01, 0x4F, 0x04, 0x5A, 0xF0, 0x3F, 0x00,
0xD9, 0xBC, 0x6F, 0x01, 0x8A, 0xF0, 0x5B, 0xEB, 0xF6, 0x4B, 0xF6, 0x4B, 0xF6, 0x3D, 0xF5, 0x10,
0xF0, 0x0D, 0xF3, 0xA1, 0xF0, 0x51, 0xDF, 0x00, 0xF3, 0x91, 0xF0, 0x51, 0xDF, 0x00, 0xF3, 0x85,
0x24, 0x24, 0x15, 0x8F, 0x02, 0xF3, 0x81, 0x41, 0x11, 0x12, 0x42, 0x01, 0x8F, 0x02, 0xF3, 0x81,
0x41, 0x20, 0x11, 0x51, 0x20, 0x7F, 0x04, 0xF3, 0x02, 0x31, 0x45, 0x11, 0x51, 0x20, 0x7F, 0x04,
0xF3, 0x02, 0x31, 0x10, 0x11, 0x51, 0x51, 0x20, 0x6F, 0x06, 0xF3, 0x64, 0x15, 0x24, 0x11, 0x20,
0x6F, 0x07, 0xF3, 0x63, 0x24, 0x33, 0x10, 0x30, 0x5F, 0x08, 0xF5, 0x7C
};

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "Anet/E16/Stock"
/**
* Custom Status Screen bitmap
*

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Marlin for Anet ET4/ET5 Series
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is required to flash the the [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases) due to incompatibility with the stock bootloader. Once OpenBLT is flashed, Marlin can be updated by SD card just like the original firmware.
## Flashing OpenBLT Bootloader with an ST-Link V2
@ -24,11 +24,11 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
_`GND` is connected to `GND` (black wire), `SWDIO` to `SWDIO` (yellow wire), and `SWCLK` to `SWCLK` (green wire). Your ST-Link pinout may differ from the one pictured, so double-check pinout._
2. Plug in the ST-Link to your computer's USB port & power on your printer.
3. Download & install [STM32 ST-Link Utility](//www.st.com/en/development-tools/stsw-link004.html).
3. Download & install [STM32 ST-Link Utility](https://www.st.com/en/development-tools/stsw-link004.html).
4. Launch STM32 ST-Link Utility & click `Target` then `Connect`.
5. Back up the original motherboard firmware starting at address `0x08000000` with a size of `0x100000`:
<img src="https://i.imgur.com/RGG4B6L.png" width="50%">
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](//github.com/davidtgbe/openblt/releases).
6. Download & extract [OpenBLT bootloader for Anet ET4/ET5 series printers](https://github.com/davidtgbe/openblt/releases).
7. Click on `Target` then `Program...`
8. Set the `Start Address` to `0x08000000`.
9. Under `File Path`, click `Browse` and select `openblt_et4.bin` extracted in Step 6.
@ -46,7 +46,7 @@ A debugging/programming probe (_e.g._, ST-Link, J-Link, or Black Magic Probe) is
2. Power cycle your printer to start the update process.
## Acknowledgements
- [@davidtgbe](//github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](//t.me/anetet4esp), especially [@olidnon](//github.com/olidnon), who lent his motherboard for testing.
- [@uwe](//github.com/uwe) and [@mubes](//github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](//github.com/Ebiroll) (BMP/ESP32).
- [@davidtgbe](https://github.com/davidtgbe) for porting Marlin to the ET4/ET5 series.
- [Telegram Anet ET4 spanish group](https://t.me/anetet4esp), especially [@olidnon](https://github.com/olidnon), who lent his motherboard for testing.
- [@uwe](https://github.com/uwe) and [@mubes](https://github.com/mubes) from Black Magic Probe team, and to [@Ebiroll](https://github.com/Ebiroll) (BMP/ESP32).
- All contributors and testers.

View file

@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnimationExample"
/**
* Animated boot screen example
*
@ -38,7 +40,7 @@
#define CUSTOM_BOOTSCREEN_FRAME_TIME 100 // (ms) Same time for all frames
//#define CUSTOM_BOOTSCREEN_ANIMATED_FRAME_TIME // Each frame also has a duration
#define CUSTOM_BOOTSCREEN_BMPWIDTH 56
#define CUSTOM_BOOTSCREEN_BMPWIDTH 120
const unsigned char custom_start_bmp[] PROGMEM = {
B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
@ -62,7 +64,6 @@ const unsigned char custom_start_bmp[] PROGMEM = {
B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000
};
#ifdef CUSTOM_BOOTSCREEN_ANIMATED
const unsigned char custom_start_bmp1[] PROGMEM = {
B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
@ -219,5 +220,3 @@ const unsigned char custom_start_bmp6[] PROGMEM = {
};
#endif
#endif // CUSTOM_BOOTSCREEN_ANIMATED

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Anycubic Mega Zero 2.0 Support
This configuration is based on the published firmware v0.0.4 from Anycubic. It is **not** the authoritative source, but has been carefully re-built by looking at their firmware and inferring the base version and configuration they used.
This branch is a reverse-engineered version based on the published firmware v0.0.4 from Anycubic. It is **not** the authoritative source, but has been carefully re-built by looking at their firmware and inferring the base version and configuration they used.
## Bitmaps

View file

@ -3,7 +3,7 @@
* Copyright (C) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnyCubic/Mega Zero 2.0/Anycubic V1"
//#define CUSTOM_BOOTSCREEN_TIMEOUT 2000
//#define CUSTOM_BOOTSCREEN_INVERTED

View file

@ -3,7 +3,7 @@
* Copyright (C) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnyCubic/Mega Zero 2.0/Anycubic V1"
//
// Status Screen Logo bitmap
//

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
# Anycubic Mega Zero Support
This configuration is based on the published firmware v0.0.4 from Anycubic. It is **not** the authoritative source, but has been carefully re-built by looking at their firmware and inferring the base version and configuration they used.
This branch is a reverse-engineered version based on the published firmware v0.0.4 from Anycubic. It is **not** the authoritative source, but has been carefully re-built by looking at their firmware and inferring the base version and configuration they used.
## Bitmaps

View file

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnyCubic/Mega Zero/Anycubic V1"
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
const unsigned char custom_start_bmp[] PROGMEM = {

View file

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -28,6 +28,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnyCubic/Mega Zero/Anycubic V1"
//
// Status Screen Logo bitmap
//

View file

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -21,6 +21,8 @@
*/
#pragma once
#define CONFIG_EXAMPLES_DIR "AnyCubic/Mega Zero/BigTreeTech SKR Mini MZ V1.0"
//#define CUSTOM_BOOTSCREEN_TIMEOUT 2000
//#define CUSTOM_BOOTSCREEN_INVERTED

Some files were not shown because too many files have changed in this diff Show more