Skip to content

Commit a18045a

Browse files
committed
πŸ§‘β€πŸ’» Support files updates
1 parent 5f84e7f commit a18045a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5504
-332
lines changed

β€Ž.editorconfig

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,29 @@
11
# editorconfig.org
22
root = true
33

4+
[*]
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
48
[{*.patch,syntax_test_*}]
59
trim_trailing_whitespace = false
610

11+
[{*.c,*.cpp,*.h,*.ino,*.py,Makefile}]
12+
end_of_line = lf
13+
714
[{*.c,*.cpp,*.h,*.ino}]
815
charset = utf-8
9-
10-
[{*.c,*.cpp,*.h,*.ino,Makefile}]
11-
trim_trailing_whitespace = true
12-
insert_final_newline = true
13-
end_of_line = lf
1416
indent_style = space
1517
indent_size = 2
1618

19+
[{Makefile}]
20+
indent_style = tab
21+
indent_size = 2
22+
23+
[*.md]
24+
# Two spaces at the end of the line means newline in Markdown
25+
trim_trailing_whitespace = false
26+
1727
[{*.py}]
1828
indent_style = space
1929
indent_size = 4

β€Ž.github/code_of_conduct.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,9 @@ Project maintainers are responsible for clarifying the standards of acceptable b
2828

2929
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
3030

31-
## Scope
32-
33-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34-
3531
## Enforcement
3632

37-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [marlinfirmware@github.com](mailto:marlinfirmware@github.com). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38-
39-
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
33+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by following GitHub's [reporting abuse or spam article](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
4034

4135
## Attribution
4236

β€Ž.github/contributing.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ The following is a set of guidelines for contributing to Marlin, hosted by the [
2626

2727
## Code of Conduct
2828

29-
This project and everyone participating in it is governed by the [Marlin Code of Conduct](code_of_conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [marlinfirmware@github.com](mailto:marlinfirmware@github.com).
29+
This project and everyone participating in it is governed by the [Marlin Code of Conduct](code_of_conduct.md). By participating, you are expected to uphold this code. Please report unacceptable behavior by following GitHub's [reporting abuse or spam article](https://docs.github.com/en/communities/maintaining-your-safety-on-github/reporting-abuse-or-spam).
3030

3131
## I don't want to read this whole thing I just have a question!!!
3232

33-
> **Note:** Please don't file an issue to ask a question. You'll get faster results by using the resources below.
33+
> [!NOTE]
34+
> Please don't file an issue to ask a question. You'll get faster results by using the resources below.
3435
3536
We have a Message Board and a Facebook group where our knowledgable user community can provide helpful advice if you have questions.
3637

@@ -55,7 +56,8 @@ This section guides you through submitting a Bug Report for Marlin. Following th
5556

5657
Before creating a Bug Report, please test the "nightly" development branch, as you might find out that you don't need to create one. When you are creating a Bug Report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](ISSUE_TEMPLATE/bug_report.yml), the information it asks for helps us resolve issues faster.
5758

58-
> **Note:** Regressions can happen. If you find a **Closed** issue that seems like your issue, go ahead and open a new issue and include a link to the original issue in the body of your new one. All you need to create a link is the issue number, preceded by #. For example, #8888.
59+
> [!NOTE]
60+
> Regressions can happen. If you find a **Closed** issue that seems like your issue, go ahead and open a new issue and include a link to the original issue in the body of your new one. All you need to create a link is the issue number, preceded by #. For example, #8888.
5961
6062
#### How Do I Submit A (Good) Bug Report?
6163

β€Ž.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ bdf2u8g.exe
2525
genpages.exe
2626
marlin_config.json
2727
mczip.h
28+
language*.csv
29+
out-csv/
30+
out-language/
2831
*.gen
2932
*.sublime-workspace
3033

@@ -130,7 +133,9 @@ spi_flash.bin
130133
fs.img
131134

132135
# CMake
136+
buildroot/share/cmake/*
133137
CMakeLists.txt
138+
!buildroot/share/cmake/CMakeLists.txt
134139
src/CMakeLists.txt
135140
CMakeListsPrivate.txt
136141
build/

β€Ž.vscode/extensions.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"platformio.platformio-ide"
77
],
88
"unwantedRecommendations": [
9+
"ms-vscode-remote.remote-containers",
910
"ms-vscode.cpptools-extension-pack"
1011
]
1112
}

β€ŽMakefile

+11-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CONTAINER_IMAGE := marlin-dev
55

66
help:
77
@echo "Tasks for local development:"
8+
@echo "* format-pins: Reformat all pins files
89
@echo "* tests-single-ci: Run a single test from inside the CI"
910
@echo "* tests-single-local: Run a single test locally"
1011
@echo "* tests-single-local-docker: Run a single test locally, using docker"
@@ -27,7 +28,7 @@ help:
2728

2829
tests-single-ci:
2930
export GIT_RESET_HARD=true
30-
$(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET)
31+
$(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) PLATFORMIO_BUILD_FLAGS=-DGITHUB_ACTION
3132
.PHONY: tests-single-ci
3233

3334
tests-single-local:
@@ -57,3 +58,12 @@ tests-all-local-docker:
5758
setup-local-docker:
5859
$(CONTAINER_RT_BIN) build -t $(CONTAINER_IMAGE) -f docker/Dockerfile .
5960
.PHONY: setup-local-docker
61+
62+
PINS := $(shell find Marlin/src/pins -mindepth 2 -name '*.h')
63+
64+
.PHONY: $(PINS)
65+
66+
$(PINS): %:
67+
@echo "Formatting $@" && node buildroot/share/scripts/pinsformat.js $@
68+
69+
format-pins: $(PINS)

β€ŽMarlin/Makefile

+20-20
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ HARDWARE_MOTHERBOARD ?= 1020
6363

6464
ifeq ($(OS),Windows_NT)
6565
# Windows
66-
ARDUINO_INSTALL_DIR ?= ${HOME}/Arduino
67-
ARDUINO_USER_DIR ?= ${HOME}/Arduino
66+
ARDUINO_INSTALL_DIR ?= ${HOME}/AppData/Local/Arduino
67+
ARDUINO_USER_DIR ?= ${HOME}/Documents/Arduino
6868
else
6969
UNAME_S := $(shell uname -s)
7070
ifeq ($(UNAME_S),Linux)
@@ -82,11 +82,11 @@ endif
8282

8383
# Arduino source install directory, and version number
8484
# On most linuxes this will be /usr/share/arduino
85-
ARDUINO_INSTALL_DIR ?= ${HOME}/Arduino
86-
ARDUINO_VERSION ?= 106
85+
ARDUINO_INSTALL_DIR ?= ${HOME}/AppData/Local/Arduino # C:/Users/${USERNAME}/AppData/Local/Arduino
86+
ARDUINO_VERSION ?= 10819
8787

8888
# The installed Libraries are in the User folder
89-
ARDUINO_USER_DIR ?= ${HOME}/Arduino
89+
ARDUINO_USER_DIR ?= ${HOME}/Documents/Arduino
9090

9191
# You can optionally set a path to the avr-gcc tools.
9292
# Requires a trailing slash. For example, /usr/local/avr-gcc/bin/
@@ -656,18 +656,18 @@ ifeq ($(HARDWARE_VARIANT), $(filter $(HARDWARE_VARIANT),arduino Teensy Sanguino)
656656
# Old libraries (avr-core 1.6.21 < / Arduino < 1.6.8)
657657
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SPI
658658
# New libraries (avr-core >= 1.6.21 / Arduino >= 1.6.8)
659-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SPI/src
659+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/arduino/avr/1.8.6/libraries/SPI/src
660660
endif
661661

662662
ifeq ($(IS_MCU),1)
663-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/cores/arduino
663+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/arduino/avr/1.8.6/cores/arduino
664664

665665
# Old libraries (avr-core 1.6.21 < / Arduino < 1.6.8)
666666
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SPI
667667
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SoftwareSerial
668668
# New libraries (avr-core >= 1.6.21 / Arduino >= 1.6.8)
669-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SPI/src
670-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/SoftwareSerial/src
669+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/arduino/avr/1.8.6/libraries/SPI/src
670+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/arduino/avr/1.8.6/libraries/SoftwareSerial/src
671671
endif
672672

673673
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/LiquidCrystal/src
@@ -681,17 +681,17 @@ ifeq ($(WIRE), 1)
681681
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/Wire
682682
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/Wire/utility
683683
# New libraries (avr-core >= 1.6.21 / Arduino >= 1.6.8)
684-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/Wire/src
685-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/libraries/Wire/src/utility
684+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/avr/1.8.6/libraries/Wire/src
685+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/avr/1.8.6/libraries/Wire/src/utility
686686
endif
687687
ifeq ($(NEOPIXEL), 1)
688688
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/Adafruit_NeoPixel
689689
endif
690690
ifeq ($(U8GLIB), 1)
691-
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib
692-
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib/csrc
693-
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib/cppsrc
694-
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib/fntsrc
691+
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib-HAL
692+
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib-HAL/src
693+
# VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib
694+
# VPATH += $(ARDUINO_INSTALL_DIR)/libraries/U8glib/src
695695
endif
696696
ifeq ($(TMC), 1)
697697
VPATH += $(ARDUINO_INSTALL_DIR)/libraries/TMCStepper/src
@@ -700,9 +700,9 @@ endif
700700

701701
ifeq ($(HARDWARE_VARIANT), arduino)
702702
HARDWARE_SUB_VARIANT ?= mega
703-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/arduino/avr/variants/$(HARDWARE_SUB_VARIANT)
703+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/avr/1.8.6/variants/$(HARDWARE_SUB_VARIANT)
704704
else ifeq ($(HARDWARE_VARIANT), Sanguino)
705-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/marlin/avr/variants/sanguino
705+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/avr/1.8.6/variants/sanguino
706706
else ifeq ($(HARDWARE_VARIANT), archim)
707707
VPATH += $(ARDUINO_INSTALL_DIR)/packages/ultimachine/hardware/sam/1.6.9-b/system/libsam
708708
VPATH += $(ARDUINO_INSTALL_DIR)/packages/ultimachine/hardware/sam/1.6.9-b/system/CMSIS/CMSIS/Include/
@@ -718,7 +718,7 @@ else ifeq ($(HARDWARE_VARIANT), archim)
718718
LDLIBS = $(ARDUINO_INSTALL_DIR)/packages/ultimachine/hardware/sam/1.6.9-b/variants/archim/libsam_sam3x8e_gcc_rel.a
719719
else
720720
HARDWARE_SUB_VARIANT ?= standard
721-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/$(HARDWARE_VARIANT)/variants/$(HARDWARE_SUB_VARIANT)
721+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/avr/1.8.6/variants/$(HARDWARE_SUB_VARIANT)
722722
endif
723723

724724
LIB_SRC = wiring.c \
@@ -733,7 +733,7 @@ endif
733733

734734
ifeq ($(HARDWARE_VARIANT), Teensy)
735735
LIB_SRC = wiring.c
736-
VPATH += $(ARDUINO_INSTALL_DIR)/hardware/teensy/cores/teensy
736+
VPATH += $(ARDUINO_INSTALL_DIR)/packages/arduino/hardware/teensy/cores/teensy
737737
endif
738738

739739
LIB_CXXSRC = WMath.cpp WString.cpp Print.cpp SPI.cpp
@@ -880,7 +880,7 @@ AVRDUDE_WRITE_FLASH = -Uflash:w:$(BUILD_DIR)/$(TARGET).hex:i
880880
ifeq ($(shell uname -s), Linux)
881881
AVRDUDE_CONF = /etc/avrdude/avrdude.conf
882882
else
883-
AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/hardware/tools/avr/etc/avrdude.conf
883+
AVRDUDE_CONF = $(ARDUINO_INSTALL_DIR)/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf
884884
endif
885885
AVRDUDE_FLAGS = -D -C$(AVRDUDE_CONF) \
886886
-p$(PROG_MCU) -P$(AVRDUDE_PORT) -c$(AVRDUDE_PROGRAMMER) \

β€ŽMarlin/Marlin.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Marlin Firmware
44
5-
(c) 2011-2020 MarlinFirmware
5+
(c) 2011-2024 MarlinFirmware
66
Portions of Marlin are (c) by their respective authors.
77
All code complies with GPLv2 and/or GPLv3
88
@@ -27,7 +27,7 @@ Configuration
2727
- https://github.com/MarlinFirmware/Configurations
2828
Example configurations for several printer models.
2929
30-
- https://www.youtube.com/watch?v=3gwWVFtdg-4
30+
- https://youtu.be/3gwWVFtdg-4
3131
A good 20-minute overview of Marlin configuration by Tom Sanladerer.
3232
(Applies to Marlin 1.0.x, so Jerk and Acceleration should be halved.)
3333
Also... https://www.google.com/search?tbs=vid%3A1&q=configure+marlin

β€ŽMarlin/config.ini

+40
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,50 @@
33
# config.ini - Options to apply before the build
44
#
55
[config:base]
6+
#
7+
# ini_use_config - A comma-separated list of actions to apply to the Configuration files.
8+
# The actions will be applied in the listed order.
9+
# - none
10+
# Ignore this file and don't apply any configuration options
11+
#
12+
# - base
13+
# Just apply the options in config:base to the configuration
14+
#
15+
# - minimal
16+
# Just apply the options in config:minimal to the configuration
17+
#
18+
# - all
19+
# Apply all 'config:*' sections in this file to the configuration
20+
#
21+
# - another.ini
22+
# Load another INI file with a path relative to this config.ini file (i.e., within Marlin/)
23+
#
24+
# - https://me.myserver.com/path/to/configs
25+
# Fetch configurations from any URL.
26+
#
27+
# - example/Creality/Ender-5 Plus @ bugfix-2.1.x
28+
# Fetch example configuration files from the MarlinFirmware/Configurations repository
29+
# https://raw.githubusercontent.com/MarlinFirmware/Configurations/bugfix-2.1.x/config/examples/Creality/Ender-5%20Plus/
30+
#
31+
# - example/default @ release-2.0.9.7
32+
# Fetch default configuration files from the MarlinFirmware/Configurations repository
33+
# https://raw.githubusercontent.com/MarlinFirmware/Configurations/release-2.0.9.7/config/default/
34+
#
35+
# - [disable]
36+
# Comment out all #defines in both Configuration.h and Configuration_adv.h. This is useful
37+
# to start with a clean slate before applying any config: options, so only the options explicitly
38+
# set in config.ini will be enabled in the configuration.
39+
#
40+
# - [flatten] (Not yet implemented)
41+
# Produce a flattened set of Configuration.h and Configuration_adv.h files with only the enabled
42+
# #defines and no comments. A clean look, but context-free.
43+
#
644
ini_use_config = none
745

846
# Load all config: sections in this file
947
;ini_use_config = all
48+
# Disable everything and apply subsequent config:base options
49+
;ini_use_config = [disable], base
1050
# Load config file relative to Marlin/
1151
;ini_use_config = another.ini
1252
# Download configurations from GitHub

β€Žbuildroot/bin/build_example

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ $SED -i~ -e "20,30{/#error/d}" Marlin/Configuration.h
3232
rm Marlin/Configuration.h~
3333
unset IFS; set +f
3434

35+
# Suppress fatal warnings
36+
echo -e "\n#define NO_CONTROLLER_CUSTOM_WIRING_WARNING" >> Marlin/Configuration.h
37+
3538
echo "Building the firmware now..."
3639
$HERE/mftest -s -a -n1 || { echo "Failed"; exit 1; }
3740

β€Žbuildroot/bin/pins_set

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ SED=$(which gsed sed | head -n1)
99
shift
1010
while [[ $# > 1 ]]; do
1111
PIN=$1 ; VAL=$2
12-
eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*[[:blank:]]*\(#define \+${PIN}\b\).*$/{s//\2 ${VAL}/;h};\${x;/./{x;q0};x;q9}' Marlin/src/pins/$DIR/pins_${NAM}.h" ||
13-
(echo "ERROR: pins_set Can't find ${PIN}" >&2 && exit 9)
12+
FOUT="${DIR}/pins_${NAM}.h"
13+
eval "${SED} -i '/^[[:blank:]]*\(\/\/\)*[[:blank:]]*\(#define \+${PIN}\b\).*$/{s//\2 ${VAL}/;h};\${x;/./{x;q0};x;q9}' Marlin/src/pins/${FOUT}" ||
14+
(echo "ERROR: pins_set Can't find ${PIN} in ${FOUT}" >&2 && exit 9)
1415
shift 2
1516
done

β€Žbuildroot/bin/uncrust

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
#
55

66
TMPDIR=`mktemp -d`
7+
HERE=`dirname "$0"`
78

89
# Reformat a single file to tmp/
9-
if uncrustify -l CPP -c ./buildroot/share/extras/uncrustify.cfg -f "$1" >$TMPDIR/uncrustify.out ; then
10+
if uncrustify -l CPP -c "$HERE/../share/extras/uncrustify.cfg" -f "$1" >$TMPDIR/uncrustify.out ; then
1011
cp "$TMPDIR/uncrustify.out" "$1" ; # Replace the original file
1112
else
1213
echo "Something went wrong with uncrustify."

β€Žbuildroot/bin/use_example_configs

+15-6
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,37 @@
88
# use_example_configs release-2.0.9.4:Creality/CR-10/CrealityV1
99
#
1010
# If a configpath has spaces (or quotes) escape them or enquote the path
11+
# If no branch: prefix is given use configs based on the current branch name.
12+
# e.g., For `latest-2.1.x` name the working branch something like "my_work-2.1.x."
13+
# The branch or tag must first exist at MarlinFirmware/Configurations.
14+
# The fallback branch is bugfix-2.1.x.
1115
#
1216

1317
which curl >/dev/null && TOOL='curl -L -s -S -f -o wgot'
1418
which wget >/dev/null && TOOL='wget -q -O wgot'
1519

1620
CURR=$(git branch 2>/dev/null | grep ^* | sed 's/\* //g')
17-
[[ $CURR == "bugfix-2.0.x" ]] && BRANCH=bugfix-2.0.x || BRANCH=bugfix-2.1.x
18-
19-
REPO=$BRANCH
21+
case "$CURR" in
22+
bugfix-2.*.x ) BRANCH=$CURR ;;
23+
*-2.1.x|2.1.x ) BRANCH=latest-2.1.x ;;
24+
*-2.0.x|2.0.x ) BRANCH=latest-2.0.x ;;
25+
*-1.1.x|1.1.x ) BRANCH=latest-1.1.x ;;
26+
*-1.0.x|1.0.x ) BRANCH=latest-1.0.x ;;
27+
* ) BRANCH=bugfix-2.1.x ;;
28+
esac
2029

2130
if [[ $# > 0 ]]; then
2231
IFS=: read -r PART1 PART2 <<< "$@"
23-
[[ -n $PART2 ]] && { UDIR="$PART2" ; REPO="$PART1" ; } \
32+
[[ -n $PART2 ]] && { UDIR="$PART2" ; BRANCH="$PART1" ; } \
2433
|| { UDIR="$PART1" ; }
2534
RDIR="${UDIR// /%20}"
26-
echo "Fetching $UDIR configurations from $REPO..."
35+
echo "Fetching $UDIR configurations from $BRANCH..."
2736
EXAMPLES="examples/$RDIR"
2837
else
2938
EXAMPLES="default"
3039
fi
3140

32-
CONFIGS="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$REPO/config/${EXAMPLES}"
41+
CONFIGS="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$BRANCH/config/${EXAMPLES}"
3342

3443
restore_configs
3544

0 commit comments

Comments
Β (0)