Skip to content

Commit b152c49

Browse files
pierre-quelinthinkyheadHoverClubMarkMan0Bob-the-Kuhn
authored
Marlin 2.1.2.1 Release
* πŸ› Fix homing_needed_error * πŸ§‘β€πŸ’» Fix D5 warning * 🎨 Misc. formatting * πŸ”§ Added MOTHERBOARD error text * ✏️ ProUI followup * 🎨 Language / menu cleanup * 🎨 Heading cleanup * πŸ› Fix potential I2S buffer overwrite (MarlinFirmware#25113) * πŸ› Fix, Refactor PID scaling (MarlinFirmware#25096) * πŸ› Fix Ender-2 Stock Display with Melzi (MarlinFirmware#25258) * πŸ”§ Overridable Stepper EN init * SDIO retry, hsd clock, etc. * πŸ”§ Refine Input Shaping check (MarlinFirmware#25280) * ✏️ Fix probe invert flag (MarlinFirmware#25282) * πŸ› Fix MKS board Ultipanel support (MarlinFirmware#25278) * πŸ”¨ Fix config.ini URL fetch (MarlinFirmware#25313) * 🩹 Fix G61 axis parameters with no offset (MarlinFirmware#25312) * πŸ”§ Fix build with no Y axis (MarlinFirmware#25311) * πŸ”§ Fix SD sorting sanity checks (MarlinFirmware#25318) * πŸ”¨ Fix test build path with spaces (MarlinFirmware#25329) * πŸ“Ί Melzi v4 with BTT SKR Mini E3 (MarlinFirmware#25321) * πŸ“ Fix Z*_ENDSTOP_ADJUSTMENT comments (MarlinFirmware#25295) * πŸ§‘β€πŸ’» Add SD Card 'hide' method for dev usage (MarlinFirmware#22425) * πŸ§‘β€πŸ’» General 'MediaFile' type alias (MarlinFirmware#24424) * ✨ BigTreeTech Manta M4P, M5P, M8P V1.0 / 1.1, E3 EZ (MarlinFirmware#25001) * πŸ”§ Add a test for extra axes * 🩹 Use 'M205 D' when 'B' is an axis * 🩹 Misc. extra axis updates * 🩹 Safe Bed Leveling updates * 🩹 Various simple fixes * 🩹 Extra axes for Tool Change * 🩹 Extra axis min home with Delta Sensorless Probe * πŸ”¨ Adjust INI comments (MarlinFirmware#25183) * πŸ”¨ Suppress native build warnings * πŸ“ Fix BTT_MINI_12864_V1 comment (MarlinFirmware#25366) * 🚸 SPI endstops for X/Y Dual and Core (MarlinFirmware#25371) * 🎨 Tweak VALIDATE_MESH_TILT * ✏️ Fix README typo (MarlinFirmware#25388) * πŸ› Fix FastPWM calculations (MarlinFirmware#25343) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🚸 Interruptible PLR (MarlinFirmware#25395) * πŸ“Ί Update Re-ARM VIKI2 SPI pins (MarlinFirmware#25411) * πŸ”§ Sanity-check hotend max / preheat temps (MarlinFirmware#25407) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * πŸ§‘β€πŸ’» Fix preheat tests (nested macro limit ~256) Followup to MarlinFirmware#25407 * πŸ”¨ Encrypt some MKS Robin (MarlinFirmware#25349) * πŸ› Fix AVR maths used by Stepper (MarlinFirmware#25338) * πŸ”¨ Fix marlin_custom.* without lib_deps * πŸ”§ Fix Einsy Rambo TMC driver check * ⚑️ Reduce edit_screen code size (MarlinFirmware#25420) * 🎨 Use LIMIT macro * πŸ”¨ Fix env STM32G0B1RE_btt, add …_manta_btt (MarlinFirmware#25431) * πŸ”¨ Fix 'step' type in createTemperatureLookupMarlin.py (MarlinFirmware#25455) * πŸ› Fix ISR_SHAPING_LOOP_CYCLES (MarlinFirmware#25335) * πŸ› Fix Linear Advance E position tracking (MarlinFirmware#25442) Fix regression from MarlinFirmware#24951 * πŸ”§ Fix Sensorless Probe sanity-check err (MarlinFirmware#25417) * πŸ”¨ Update font scripts * πŸ§‘β€πŸ’» Script to make non-accented languages * 🌐 Regenerate language data * πŸ”¨ Improve config.ini example fetch * πŸ› Fix LA retract/feedrate edge case (MarlinFirmware#25445) Followup to MarlinFirmware#25442 * πŸ› Fix apply_power for SPINDLE_SERVO (MarlinFirmware#25465) * πŸ› Fix Flash EEPROM for STM32G0B1CB (MarlinFirmware#25469) * πŸ”¨ VSCode + Devcontainer support (MarlinFirmware#22420) * ✨ BTT Octopus Max EZ 1.0, SKR 3.0 / 3.0 EZ (MarlinFirmware#25387, MarlinFirmware#25495, MarlinFirmware#25535) * ⚑️ Exit from ISR on AVR already does sei Co-Authored-By: tombrazier <68918209+tombrazier@users.noreply.github.com> * πŸ› Fix Anet ET4 SD_SS_PIN (MarlinFirmware#25492) * πŸ”§ Sanity-check PRINTCOUNTER_SAVE_INTERVAL + ESP32 I2S Exp (MarlinFirmware#25527) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * πŸ› Fix long filename read/report (MarlinFirmware#25509) * 🎨 Suppress M122 sign warning (MarlinFirmware#25613) * 🩹 Fix SD partitionTable packing (MarlinFirmware#25648) * 🩹 Fix MARLIN_F446Zx_TRONXY variant (MarlinFirmware#25659) Followup to 9be1554 * πŸ”§ Update thermocouple 2 pin sanity check (MarlinFirmware#25627) * πŸ› Fix MKS Robin Nano 1.3 F4 pin collision (MarlinFirmware#25838) * πŸ”¨ Fix thread-unsafe deque iteration * πŸ”¨ Use 'build_src_filter' * πŸ§‘β€πŸ’» Add IA_CREALITY CI test (MarlinFirmware#25434) * 🌐 Update Slovak language (MarlinFirmware#25305) * 🌐 Update Italian language (MarlinFirmware#25309) * πŸ“ Link to archived RA Control Panel page (MarlinFirmware#25424) * 🚸 Improve CocoaPress Touch UI (MarlinFirmware#25446) * πŸ› Fix UBL 'G29 J' mesh tilt (MarlinFirmware#25453) Fix regression from MarlinFirmware#24214 * πŸ“ Fix a comment * 🌐 Update Italian language (MarlinFirmware#25454) * 🌐 Update Turkish language (MarlinFirmware#25447) * 🩹 Fan Menu / Status fixes Followup to MarlinFirmware#21888 * 🩹 Fix DWIN MarlinUI Fan/E/XY (MarlinFirmware#25502) * ✨ Sovol v1.3.1 (Sovol SV06) (MarlinFirmware#25267) * πŸ§‘β€πŸ’» More IntelliSense-friendly declares * 🎨 Suppress warning (MarlinFirmware#25529) * ⚑️ Misc. optimizations * πŸ› Fix FYSETC Cheetah v2.0 Servo/Probe pins (MarlinFirmware#24635) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🩹 Fix Ender 2 stock LCD (MarlinFirmware#25538) * 🩹 Fix a serial_ternary * 🎨 calibration_stage => stage * 🩹 Reset touch screen calibration on failure (MarlinFirmware#25334) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🎨 Pins header comments Co-Authored-By: Martin Turski <turningtides@outlook.de> * 🎨 LPC_SOFTWARE_SPI => SOFTWARE_SPI Co-Authored-By: Martin Turski <turningtides@outlook.de> * 🩹 Update TRONXY_V10 SPI_FLASH pins * 🩹 Fix Chitu3D V6 default probe pin (MarlinFirmware#25552) * 🎨 Timer tweaks * 🩹 Fix Touch Calibration first point (MarlinFirmware#25298) * πŸ§‘β€πŸ’» Auto Fan / Cooler Fan updates (MarlinFirmware#25554) * πŸ› Fix M23 long filename support (MarlinFirmware#25540) * πŸ”¨ INI Updates Co-Authored-By: Martin Turski <turningtides@outlook.de> * πŸ”§ Fix up WiFi options (MarlinFirmware#25586) * 🎨 Remove unused ProUI : UBLValidMesh (MarlinFirmware#25591) * πŸ”¨ Improve Docker local tests support (MarlinFirmware#25583) * πŸ”¨ MarlinSimUI updates (MarlinFirmware#25589) * 🩹 Fix Ender-3 V2 with no fan * 🩹 Fix displayed mix percentages * 🌐 Update Italian language (MarlinFirmware#25587) * πŸ› Ensure root for 'M503 C' * πŸ§‘β€πŸ’» Update pinsformat.js * πŸ“ Update Ender # labels * 🚸 Support CoreXY without Z (MarlinFirmware#25630) * 🎨 Apply const (MarlinFirmware#25643) * 🎨 Detab some build files * πŸ”§ Move TFT sanity checks * ⚑️ Skip a redundant BLTouch::command (MarlinFirmware#25656) * 🚸 Minor M43 improvements * πŸ§‘β€πŸ’» Clarify G28 R / R0 * πŸ”§ Move FIL_RUNOUT_PIN for Chiron + GLCD * 🩹 Fix AUTOFAN_CASE Followup to MarlinFirmware#25554 * πŸ”¨ Improve runout script check * πŸ”§ Trigorilla / Chiron updates Followup to c3f34e4 * πŸ§‘β€πŸ’» Apply simplified ?: * πŸ§‘β€πŸ’» JyersUI code cleanup * πŸ§‘β€πŸ’» Status Message cleanup * πŸ§‘β€πŸ’» HostUI::continue_prompt method * 🩹 Status / Host Prompt followup (MarlinFirmware#25720) Followup to MarlinFirmware#25679 Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * πŸ› Fix Configuration Embedding (MarlinFirmware#25688) * πŸ”¨ Fix, clean up STM32F1 envs (MarlinFirmware#25697) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🩹 Bail on 'mc.zip' write error (MarlinFirmware#25695) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🚸 Echo G30 out-of-bounds (MarlinFirmware#25671) * 🩹 Fix laser with no PWM compile (MarlinFirmware#25290) * 🩹 Fix Spindle/Laser ENA pin test (MarlinFirmware#25622) * πŸ§‘β€πŸ’» Minor SpindleLaser::set_enabled tweak * 🩹 Correctly add JSON to mc.zip (MarlinFirmware#25706) * πŸ”§ Check renamed LIN_ADVANCE_K (MarlinFirmware#25710) * πŸ› Fix G38 with Z, support 9 axes (MarlinFirmware#25691) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🚸 Permit G38 with Core (MarlinFirmware#25713) * 🎨 Clean up TFT Color UI display items (MarlinFirmware#25712) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * 🩹 Fix UBL safe measure move with extra axes Followup to 7e79fc5 * 🚸 Improve PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED (MarlinFirmware#25681) * πŸ“ Developer note in boards.h * πŸ”¨ Prevent SlowSoftWire + Wire name conflict (MarlinFirmware#25707) * πŸ”§ Extra axis endstop defaults * πŸ§‘β€πŸ’» Change HAL_PATH macro for easier HAL relocation (MarlinFirmware#25743) * πŸ”§ Update config.ini script * πŸ”¨ Servo Timer 1 with STM32F103RC_fysetc (MarlinFirmware#25741) * πŸ§‘β€πŸ’» Use NUM_AXIS_ARRAY * 🩹 Fix TFT sanity error * πŸ”§ Move MMU section * πŸ”§ Fix X2/Y2 axis pins check * πŸ› Fix STM32 USB disconnect behavior (MarlinFirmware#25762) * 🎨 Move G28O inside ProUI * πŸ”¨ MKS Robin2 PIO Env (MarlinFirmware#25792) * 🚸 Faster default Marlin feedrate * πŸ”§ Move SOFT_PWM_SCALE fallback to cpp (MarlinFirmware#25800) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> * πŸ§‘β€πŸ’» M43 updates * πŸ”§ Fix SHAPING_MIN_FREQ check (MarlinFirmware#25358) * πŸ“Œ TH3D EZBoard SD_DETECT_PIN 27 * πŸ§‘β€πŸ’» ftdi_language * 🩹 Improve edit menu rounding * 🩹 Fix null pwm_details * 🚸 Improve EEPROM validation (MarlinFirmware#25860) * 🩹 Fix TFT LVGL compile error (MarlinFirmware#25865) Fixes regression from MarlinFirmware#24302 * πŸ”– Version 2.1.2.1 * 🩹 Prevent Z drop with G28 X/Y * πŸ› Fix G2/G3 limiting_speed (MarlinFirmware#25988) * πŸ› Fix G2/G3 limiting_speed (MarlinFirmware#25988) * πŸ”– Version 2.1.2.1 --------- Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> Co-authored-by: John Robertson <john@cirtech.co.uk> Co-authored-by: MarkMan0 <38912829+MarkMan0@users.noreply.github.com> Co-authored-by: Bob Kuhn <bob.kuhn@att.net> Co-authored-by: xBiohazardx <36756950+xBiohazardx@users.noreply.github.com> Co-authored-by: avionix-g <63542699+avionix-g@users.noreply.github.com> Co-authored-by: Darren Garnier <dgarnier@reinrag.net> Co-authored-by: Martin Turski <quiret@vfemail.net> Co-authored-by: kg333 <matthew@kyengineer.com> Co-authored-by: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Co-authored-by: vyacheslav-shubin <shubin-vv@krista.ru> Co-authored-by: Victor Oliveira <rhapsodyv@gmail.com> Co-authored-by: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com> Co-authored-by: Radek <46979052+radek8@users.noreply.github.com> Co-authored-by: Frederik Kemner <stuff+github@fredo.org> Co-authored-by: Trevin Small <trevincub03@gmail.com> Co-authored-by: ellensp <530024+ellensp@users.noreply.github.com> Co-authored-by: tombrazier <68918209+tombrazier@users.noreply.github.com> Co-authored-by: GuΓ°ni MΓ‘r Gilbert <gudni.m.g@gmail.com> Co-authored-by: Hans-Christian Ebke <ebke@cs.rwth-aachen.de> Co-authored-by: alextrical <35117191+alextrical@users.noreply.github.com> Co-authored-by: Sion Williams <sion5@hotmail.co.uk> Co-authored-by: Eduard Sukharev <sukharev.eh@gmail.com> Co-authored-by: Jason Smith <jason.inet@gmail.com> Co-authored-by: Chris Pepper <p3p@p3psoft.co.uk> Co-authored-by: Roman Moravčík <roman.moravcik@gmail.com> Co-authored-by: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Co-authored-by: Marcio T <mlt4356-github@yahoo.com> Co-authored-by: jamespearson04 <jamespearson04@hotmail.co.uk> Co-authored-by: Abdullah YILMAZ <h.abdullahyilmaz@hotmail.com> Co-authored-by: dwzg <50058606+dwzg@users.noreply.github.com> Co-authored-by: Michael Hill <mhill@hillsoftware.com> Co-authored-by: Davide RombolΓ  <davide.rombola@gmail.com> Co-authored-by: George Fu <nailao_5918@163.com> Co-authored-by: Martin Turski <turningtides@outlook.de> Co-authored-by: Andrew <18502096+classicrocker883@users.noreply.github.com> Co-authored-by: John Unland <junland.foss@gmail.com> Co-authored-by: David Fries <David@Fries.net> Co-authored-by: Dennis Lawler <4824647+drawlerr@users.noreply.github.com> Co-authored-by: Alexey D. Filimonov <alexey@filimonic.net> Co-authored-by: Jay Robson <45777442+jsrobson10@users.noreply.github.com> Co-authored-by: Anson Liu <ansonl@users.noreply.github.com> Co-authored-by: Scott Mikutsky <smikutsky@gmail.com> Co-authored-by: Chris Bagwell <chris@cnpbagwell.com>
1 parent 0ab321f commit b152c49

File tree

567 files changed

+42546
-30452
lines changed

Some content is hidden

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

567 files changed

+42546
-30452
lines changed

β€Ž.devcontainer/Dockerfile

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/python-3/.devcontainer/base.Dockerfile
2+
3+
# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
4+
ARG VARIANT="3.9.0-buster"
5+
FROM python:${VARIANT}
6+
7+
# [Option] Install Node.js
8+
ARG INSTALL_NODE="true"
9+
ARG NODE_VERSION="lts/*"
10+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
11+
12+
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
13+
# COPY requirements.txt /tmp/pip-tmp/
14+
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
15+
# && rm -rf /tmp/pip-tmp
16+
17+
# [Optional] Uncomment this section to install additional OS packages.
18+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
19+
# && apt-get -y install --no-install-recommends <your-package-list-here>
20+
21+
# [Optional] Uncomment this line to install global node packages.
22+
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
23+
24+
25+
RUN pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
26+
RUN platformio update
27+
# To get the test platforms
28+
RUN pip install PyYaml
29+
#ENV PATH /code/buildroot/bin/:/code/buildroot/tests/:${PATH}

β€Ž.devcontainer/devcontainer.json

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.187.0/containers/python-3
3+
{
4+
"name": "Python 3",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"context": "..",
8+
"args": {
9+
// Update 'VARIANT' to pick a Python version: 3, 3.6, 3.7, 3.8, 3.9
10+
"VARIANT": "3.9.0-buster",
11+
// Options
12+
"INSTALL_NODE": "false",
13+
"NODE_VERSION": "lts/*"
14+
}
15+
},
16+
17+
// Set *default* container specific settings.json values on container create.
18+
"settings": {
19+
"python.pythonPath": "/usr/local/bin/python",
20+
"python.languageServer": "Pylance",
21+
"python.linting.enabled": true,
22+
"python.linting.pylintEnabled": true,
23+
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
24+
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
25+
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
26+
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
27+
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
28+
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
29+
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
30+
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
31+
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
32+
},
33+
34+
// Add the IDs of extensions you want installed when the container is created.
35+
"extensions": [
36+
"ms-python.python",
37+
"ms-python.vscode-pylance",
38+
"platformio.platformio-ide",
39+
"marlinfirmware.auto-build",
40+
"editorconfig.editorconfig"
41+
],
42+
43+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
44+
// "forwardPorts": [],
45+
46+
// Use 'postCreateCommand' to run commands after the container is created.
47+
// "postCreateCommand": "pip3 install --user -r requirements.txt",
48+
49+
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
50+
// "remoteUser": "vscode"
51+
}

β€Ž.gitignore

+19-26
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,18 @@
2121

2222
# Generated files
2323
_Version.h
24-
bdf2u8g
24+
bdf2u8g.exe
25+
genpages.exe
2526
marlin_config.json
2627
mczip.h
2728
*.gen
2829
*.sublime-workspace
2930

30-
#
3131
# OS
32-
#
3332
applet/
3433
.DS_Store
3534

36-
#
37-
# Misc
38-
#
39-
*~
40-
*.orig
41-
*.rej
42-
*.bak
43-
*.idea
44-
*.i
45-
*.ii
46-
*.swp
47-
tags
48-
49-
#
50-
# C++
51-
#
52-
# Compiled Object files
35+
# Compiled C++ Object files
5336
*.slo
5437
*.lo
5538
*.o
@@ -80,10 +63,7 @@ tags
8063
*.out
8164
*.app
8265

83-
#
84-
# C
85-
#
86-
# Object files
66+
# Compiled C Object files
8767
*.o
8868
*.ko
8969
*.obj
@@ -143,13 +123,13 @@ vc-fileutils.settings
143123
.vscode/*
144124
!.vscode/extensions.json
145125

146-
#Simulation
126+
# Simulation files
147127
imgui.ini
148128
eeprom.dat
149129
spi_flash.bin
150130
fs.img
151131

152-
#cmake
132+
# CMake
153133
CMakeLists.txt
154134
src/CMakeLists.txt
155135
CMakeListsPrivate.txt
@@ -170,3 +150,16 @@ __pycache__
170150

171151
# IOLogger logs
172152
*_log.csv
153+
154+
# Misc.
155+
*~
156+
*.orig
157+
*.rej
158+
*.bak
159+
*.idea
160+
*.i
161+
*.ii
162+
*.swp
163+
tags
164+
*.logs
165+
*.bak

β€ŽMakefile

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
SCRIPTS_DIR := buildroot/share/scripts
2+
CONTAINER_RT_BIN := docker
3+
CONTAINER_RT_OPTS := --rm -v $(PWD):/code -v platformio-cache:/root/.platformio
4+
CONTAINER_IMAGE := marlin-dev
5+
16
help:
27
@echo "Tasks for local development:"
38
@echo "* tests-single-ci: Run a single test from inside the CI"
49
@echo "* tests-single-local: Run a single test locally"
5-
@echo "* tests-single-local-docker: Run a single test locally, using docker-compose"
10+
@echo "* tests-single-local-docker: Run a single test locally, using docker"
611
@echo "* tests-all-local: Run all tests locally"
7-
@echo "* tests-all-local-docker: Run all tests locally, using docker-compose"
8-
@echo "* setup-local-docker: Setup local docker-compose"
12+
@echo "* tests-all-local-docker: Run all tests locally, using docker"
13+
@echo "* setup-local-docker: Build the local docker image"
914
@echo ""
1015
@echo "Options for testing:"
1116
@echo " TEST_TARGET Set when running tests-single-*, to select the"
@@ -34,19 +39,21 @@ tests-single-local:
3439

3540
tests-single-local-docker:
3641
@if ! test -n "$(TEST_TARGET)" ; then echo "***ERROR*** Set TEST_TARGET=<your-module> or use make tests-all-local-docker" ; return 1; fi
37-
docker-compose run --rm marlin $(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) GIT_RESET_HARD=$(GIT_RESET_HARD) ONLY_TEST="$(ONLY_TEST)"
42+
@if ! $(CONTAINER_RT_BIN) images -q $(CONTAINER_IMAGE) > /dev/null ; then $(MAKE) setup-local-docker ; fi
43+
$(CONTAINER_RT_BIN) run $(CONTAINER_RT_OPTS) $(CONTAINER_IMAGE) $(MAKE) tests-single-local TEST_TARGET=$(TEST_TARGET) VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) GIT_RESET_HARD=$(GIT_RESET_HARD) ONLY_TEST="$(ONLY_TEST)"
3844
.PHONY: tests-single-local-docker
3945

4046
tests-all-local:
4147
export PATH="./buildroot/bin/:./buildroot/tests/:${PATH}" \
4248
&& export VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) \
43-
&& for TEST_TARGET in $$(./get_test_targets.py) ; do echo "Running tests for $$TEST_TARGET" ; run_tests . $$TEST_TARGET ; done
49+
&& for TEST_TARGET in $$($(SCRIPTS_DIR)/get_test_targets.py) ; do echo "Running tests for $$TEST_TARGET" ; run_tests . $$TEST_TARGET ; done
4450
.PHONY: tests-all-local
4551

4652
tests-all-local-docker:
47-
docker-compose run --rm marlin $(MAKE) tests-all-local VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) GIT_RESET_HARD=$(GIT_RESET_HARD)
53+
@if ! $(CONTAINER_RT_BIN) images -q $(CONTAINER_IMAGE) > /dev/null ; then $(MAKE) setup-local-docker ; fi
54+
$(CONTAINER_RT_BIN) run $(CONTAINER_RT_OPTS) $(CONTAINER_IMAGE) $(MAKE) tests-all-local VERBOSE_PLATFORMIO=$(VERBOSE_PLATFORMIO) GIT_RESET_HARD=$(GIT_RESET_HARD)
4855
.PHONY: tests-all-local-docker
4956

5057
setup-local-docker:
51-
docker-compose build
58+
$(CONTAINER_RT_BIN) build -t $(CONTAINER_IMAGE) -f docker/Dockerfile .
5259
.PHONY: setup-local-docker

β€ŽMarlin/Configuration.h

+20-20
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* Advanced settings can be found in Configuration_adv.h
3737
*/
38-
#define CONFIGURATION_H_VERSION 02010200
38+
#define CONFIGURATION_H_VERSION 02010201
3939

4040
//===========================================================================
4141
//============================= Getting Started =============================
@@ -242,24 +242,6 @@
242242
//#define SINGLENOZZLE_STANDBY_FAN
243243
#endif
244244

245-
// @section multi-material
246-
247-
/**
248-
* Multi-Material Unit
249-
* Set to one of these predefined models:
250-
*
251-
* PRUSA_MMU1 : PrΕ―Ε‘a MMU1 (The "multiplexer" version)
252-
* PRUSA_MMU2 : PrΕ―Ε‘a MMU2
253-
* PRUSA_MMU2S : PrΕ―Ε‘a MMU2S (Requires MK3S extruder with motion sensor, EXTRUDERS = 5)
254-
* EXTENDABLE_EMU_MMU2 : MMU with configurable number of filaments (ERCF, SMuFF or similar with PrΕ―Ε‘a MMU2 compatible firmware)
255-
* EXTENDABLE_EMU_MMU2S : MMUS with configurable number of filaments (ERCF, SMuFF or similar with PrΕ―Ε‘a MMU2 compatible firmware)
256-
*
257-
* Requires NOZZLE_PARK_FEATURE to park print head in case MMU unit fails.
258-
* See additional options in Configuration_adv.h.
259-
* :["PRUSA_MMU1", "PRUSA_MMU2", "PRUSA_MMU2S", "EXTENDABLE_EMU_MMU2", "EXTENDABLE_EMU_MMU2S"]
260-
*/
261-
//#define MMU_MODEL PRUSA_MMU2
262-
263245
// A dual extruder that uses a single stepper motor
264246
//#define SWITCHING_EXTRUDER
265247
#if ENABLED(SWITCHING_EXTRUDER)
@@ -393,6 +375,24 @@
393375
//#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle
394376
//#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle
395377

378+
// @section multi-material
379+
380+
/**
381+
* Multi-Material Unit
382+
* Set to one of these predefined models:
383+
*
384+
* PRUSA_MMU1 : PrΕ―Ε‘a MMU1 (The "multiplexer" version)
385+
* PRUSA_MMU2 : PrΕ―Ε‘a MMU2
386+
* PRUSA_MMU2S : PrΕ―Ε‘a MMU2S (Requires MK3S extruder with motion sensor, EXTRUDERS = 5)
387+
* EXTENDABLE_EMU_MMU2 : MMU with configurable number of filaments (ERCF, SMuFF or similar with PrΕ―Ε‘a MMU2 compatible firmware)
388+
* EXTENDABLE_EMU_MMU2S : MMUS with configurable number of filaments (ERCF, SMuFF or similar with PrΕ―Ε‘a MMU2 compatible firmware)
389+
*
390+
* Requires NOZZLE_PARK_FEATURE to park print head in case MMU unit fails.
391+
* See additional options in Configuration_adv.h.
392+
* :["PRUSA_MMU1", "PRUSA_MMU2", "PRUSA_MMU2S", "EXTENDABLE_EMU_MMU2", "EXTENDABLE_EMU_MMU2S"]
393+
*/
394+
//#define MMU_MODEL PRUSA_MMU2
395+
396396
// @section psu control
397397

398398
/**
@@ -2662,7 +2662,7 @@
26622662

26632663
//
26642664
// Elefu RA Board Control Panel
2665-
// http://www.elefu.com/index.php?route=product/product&product_id=53
2665+
// https://web.archive.org/web/20140823033947/http://www.elefu.com/index.php?route=product/product&product_id=53
26662666
//
26672667
//#define RA_CONTROL_PANEL
26682668

β€ŽMarlin/Configuration_adv.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* Basic settings can be found in Configuration.h
3232
*/
33-
#define CONFIGURATION_ADV_H_VERSION 02010200
33+
#define CONFIGURATION_ADV_H_VERSION 02010201
3434

3535
// @section develop
3636

@@ -839,20 +839,20 @@
839839
//#define Z_MULTI_ENDSTOPS // Other Z axes have their own endstops
840840
#if ENABLED(Z_MULTI_ENDSTOPS)
841841
#define Z2_USE_ENDSTOP _XMAX_ // Z2 endstop board plug. Don't forget to enable USE_*_PLUG.
842-
#define Z2_ENDSTOP_ADJUSTMENT 0 // Z2 offset relative to Y endstop
842+
#define Z2_ENDSTOP_ADJUSTMENT 0 // Z2 offset relative to Z endstop
843843
#endif
844844
#ifdef Z3_DRIVER_TYPE
845845
//#define INVERT_Z3_VS_Z_DIR // Z3 direction signal is the opposite of Z
846846
#if ENABLED(Z_MULTI_ENDSTOPS)
847847
#define Z3_USE_ENDSTOP _YMAX_ // Z3 endstop board plug. Don't forget to enable USE_*_PLUG.
848-
#define Z3_ENDSTOP_ADJUSTMENT 0 // Z3 offset relative to Y endstop
848+
#define Z3_ENDSTOP_ADJUSTMENT 0 // Z3 offset relative to Z endstop
849849
#endif
850850
#endif
851851
#ifdef Z4_DRIVER_TYPE
852852
//#define INVERT_Z4_VS_Z_DIR // Z4 direction signal is the opposite of Z
853853
#if ENABLED(Z_MULTI_ENDSTOPS)
854854
#define Z4_USE_ENDSTOP _ZMAX_ // Z4 endstop board plug. Don't forget to enable USE_*_PLUG.
855-
#define Z4_ENDSTOP_ADJUSTMENT 0 // Z4 offset relative to Y endstop
855+
#define Z4_ENDSTOP_ADJUSTMENT 0 // Z4 offset relative to Z endstop
856856
#endif
857857
#endif
858858
#endif

β€ŽMarlin/Version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* Marlin release version identifier
3030
*/
31-
//#define SHORT_BUILD_VERSION "2.1.2"
31+
//#define SHORT_BUILD_VERSION "2.1.2.1"
3232

3333
/**
3434
* Verbose version identifier which should contain a reference to the location
@@ -41,7 +41,7 @@
4141
* here we define this default string as the date where the latest release
4242
* version was tagged.
4343
*/
44-
//#define STRING_DISTRIBUTION_DATE "2022-12-17"
44+
//#define STRING_DISTRIBUTION_DATE "2023-05-16"
4545

4646
/**
4747
* Defines a generic printer name to be output to the LCD after booting Marlin.

0 commit comments

Comments
Β (0)