|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# mftest Select a test to apply and build
|
|
|
|
# mftest -b [#] Build the auto-detected environment
|
|
|
|
# mftest -u [#] Upload the auto-detected environment
|
|
|
|
# mftest [name] [index] [-y] Set config options and optionally build a test
|
|
|
|
#
|
|
|
|
|
|
|
|
[[ -d Marlin/src ]] || { echo "Please 'cd' to the Marlin repo root." ; exit 1 ; }
|
|
|
|
|
|
|
|
perror() { echo -e "$0: \033[0;31m$1 -- $2\033[0m" ; }
|
|
|
|
errout() { echo -e "\033[0;31m$1\033[0m" ; }
|
|
|
|
bugout() { ((DEBUG)) && echo -e "\033[0;32m$1\033[0m" ; }
|
|
|
|
|
|
|
|
usage() {
|
|
|
|
echo "
|
|
|
|
Usage: mftest [-t|--env=<env|index>] [-n|--num=<num>] [-m|--make] [-y|--build=<Y|n>]
|
|
|
|
mftest [-a|--autobuild]
|
|
|
|
mftest [-r|--rebuild]
|
|
|
|
mftest [-s|--silent]
|
|
|
|
mftest [-u|--autoupload] [-n|--num=<num>]
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-t --env The environment to apply / run, or the menu index number.
|
|
|
|
-n --num The index of the test to run. (In file order.)
|
|
|
|
-m --make Use the make / Docker method for the build.
|
|
|
|
-y --build Skip 'Do you want to build this test?' and assume YES.
|
|
|
|
-h --help Print this help.
|
|
|
|
-a --autobuild PIO Build using the MOTHERBOARD environment.
|
|
|
|
-u --autoupload PIO Upload using the MOTHERBOARD environment.
|
|
|
|
-v --verbose Extra output for debugging.
|
|
|
|
-s --silent Silence build output from PlatformIO.
|
|
|
|
|
|
|
|
env shortcuts: tree due esp lin lp8|lpc8 lp9|lpc9 m128 m256|mega stm|f1 f4 f7 s6 teensy|t31|t32 t35|t36 t40|t41
|
|
|
|
"
|
|
|
|
}
|
|
|
|
|
|
|
|
TESTPATH=buildroot/tests
|
|
|
|
|
|
|
|
STATE_FILE="./.pio/.mftestrc"
|
|
|
|
SED=$(which gsed sed | head -n1)
|
|
|
|
|
|
|
|
shopt -s extglob nocasematch
|
|
|
|
|
|
|
|
# Matching patterns
|
|
|
|
ISNUM='^[0-9]+$'
|
|
|
|
ISCMD='^(restore|opt|exec|use|pins|env)_'
|
|
|
|
ISEXEC='^exec_'
|
|
|
|
ISCONT='\\ *$'
|
|
|
|
|
|
|
|
# Get environment, test number, etc. from the command
|
|
|
|
TESTENV='-'
|
|
|
|
CHOICE=0
|
|
|
|
DEBUG=0
|
|
|
|
|
|
|
|
while getopts 'abhmrsuvyn:t:-:' OFLAG; do
|
|
|
|
case "${OFLAG}" in
|
|
|
|
a) AUTO_BUILD=1 ; bugout "Auto-Build target..." ;;
|
|
|
|
h) EXIT_USAGE=1 ;;
|
|
|
|
m) USE_MAKE=1 ; bugout "Using make with Docker..." ;;
|
|
|
|
n) case "$OPTARG" in
|
|
|
|
*[!0-9]*) perror "option requires a number" $OFLAG ; EXIT_USAGE=2 ;;
|
|
|
|
*) CHOICE="$OPTARG" ; bugout "Got a number: $CHOICE" ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
r) REBUILD=1 ; bugout "Rebuilding previous..." ;;
|
|
|
|
s) SILENT_FLAG="-s" ;;
|
|
|
|
t) TESTENV="$OPTARG" ; bugout "Got a target: $TESTENV" ;;
|
|
|
|
u) AUTO_BUILD=2 ; bugout "Auto-Upload target..." ;;
|
|
|
|
v) DEBUG=1 ; bugout "Debug ON" ;;
|
|
|
|
y) BUILD_YES='Y' ; bugout "Build will initiate..." ;;
|
|
|
|
-) IFS="=" read -r ONAM OVAL <<< "$OPTARG"
|
|
|
|
case "$ONAM" in
|
|
|
|
help) [[ -z "$OVAL" ]] || perror "option can't take value $OVAL" $ONAM ; EXIT_USAGE=1 ;;
|
|
|
|
autobuild) AUTO_BUILD=1 ; bugout "Auto-Build target..." ;;
|
|
|
|
autoupload) AUTO_BUILD=2 ; bugout "Auto-Upload target..." ;;
|
|
|
|
env) case "$OVAL" in
|
|
|
|
'') perror "option requires a value" $ONAM ; EXIT_USAGE=2 ;;
|
|
|
|
*) TESTENV="$OVAL" ; bugout "Got a target: $TESTENV" ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
num) case "$OVAL" in
|
|
|
|
[0-9]+) CHOICE="$OVAL" ; bugout "Got a number: $CHOICE" ;;
|
|
|
|
*) perror "option requires a value" $ONAM ; EXIT_USAGE=2 ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
rebuild) REBUILD=1 ; bugout "Rebuilding previous..." ;;
|
|
|
|
silent) SILENT_FLAG="-s" ;;
|
|
|
|
make) USE_MAKE=1 ; bugout "Using make with Docker..." ;;
|
|
|
|
debug|verbose) DEBUG=1 ; bugout "Debug ON" ;;
|
|
|
|
build) case "$OVAL" in
|
|
|
|
''|y|yes) BUILD_YES='Y' ;;
|
|
|
|
n|no) BUILD_YES='N' ;;
|
|
|
|
*) perror "option value must be y, n, yes, or no" $ONAM ; EXIT_USAGE=2 ;;
|
|
|
|
esac
|
|
|
|
bugout "Build will initiate? ($BUILD_YES)"
|
|
|
|
;;
|
|
|
|
*) perror "Unknown flag" "$OPTARG" ; EXIT_USAGE=2 ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
*) EXIT_USAGE=2 ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
((EXIT_USAGE)) && { usage ; let EXIT_USAGE-- ; exit $EXIT_USAGE ; }
|
|
|
|
|
|
|
|
if ((REBUILD)); then
|
|
|
|
bugout "Rebuilding previous..."
|
|
|
|
# Build with the last-built env
|
|
|
|
[[ -f "$STATE_FILE" ]] || { errout "No previous (-r) build state found." ; exit 1 ; }
|
|
|
|
read TESTENV <"$STATE_FILE"
|
|
|
|
pio run $SILENT_FLAG -d . -e $TESTENV
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
case $TESTENV in
|
|
|
|
tree) pio run -d . -e include_tree ; exit 1 ;;
|
|
|
|
due) TESTENV='DUE' ;;
|
|
|
|
esp) TESTENV='esp32' ;;
|
|
|
|
lin*) TESTENV='linux_native' ;;
|
|
|
|
lp8|lpc8) TESTENV='LPC1768' ;;
|
|
|
|
lp9|lpc9) TESTENV='LPC1769' ;;
|
|
|
|
m128) TESTENV='mega1280' ;;
|
|
|
|
m256) TESTENV='mega2560' ;;
|
|
|
|
mega) TESTENV='mega2560' ;;
|
|
|
|
stm) TESTENV='STM32F103RE' ;;
|
|
|
|
f1) TESTENV='STM32F103RE' ;;
|
|
|
|
f4) TESTENV='STM32F4' ;;
|
|
|
|
f7) TESTENV='STM32F7' ;;
|
|
|
|
s6) TESTENV='FYSETC_S6' ;;
|
|
|
|
teensy) TESTENV='teensy31' ;;
|
|
|
|
t31) TESTENV='teensy31' ;;
|
|
|
|
t32) TESTENV='teensy31' ;;
|
|
|
|
t35) TESTENV='teensy35' ;;
|
|
|
|
t36) TESTENV='teensy35' ;;
|
|
|
|
t40) TESTENV='teensy41' ;;
|
|
|
|
t41) TESTENV='teensy41' ;;
|
|
|
|
[1-9]|[1-9][0-9]) TESTNUM=$TESTENV ; TESTENV=- ;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
if ((AUTO_BUILD)); then
|
|
|
|
#
|
|
|
|
# List environments that apply to the current MOTHERBOARD.
|
|
|
|
#
|
|
|
|
case $(uname | tr '[:upper:]' '[:lower:]') in
|
|
|
|
darwin) SYS='mac' ;;
|
|
|
|
*linux) SYS='lin' ;;
|
|
|
|
win*) SYS='win' ;;
|
|
|
|
msys*) SYS='win' ;;
|
|
|
|
cygwin*) SYS='win' ;;
|
|
|
|
mingw*) SYS='win' ;;
|
|
|
|
*) SYS='uni' ;;
|
|
|
|
esac
|
|
|
|
echo ; echo -n "Auto " ; ((AUTO_BUILD == 2)) && echo "Upload..." || echo "Build..."
|
Squashed commit of the following:
commit 96c1807b7649d2ef06539e4f8cde0b866fe17c62
Merge: 4b9fce2e85 e0f75d4f06
Author: Sergey <sergey@terentiev.me>
Date: Mon Jan 10 12:18:37 2022 +0300
Merge branch '2.0.x' into vanilla_fb_2.0.x
commit e0f75d4f069b80ec78ee911377861aa5e77f2a14
Author: David Ross Smith <5095074+DragRedSim@users.noreply.github.com>
Date: Fri Jan 7 22:44:44 2022 +1100
🚑️ Fix preheat target bug
Fixes Jyers/Marlin#1651
commit 42449b86838ac727eb9c261601f206f1b1f2afcb
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Jan 9 04:39:15 2022 -0600
🌐 Update auto home axis strings
commit e23c696566a2148e41ff6e019b3b5a182df7de20
Author: Roman Moravčík <roman.moravcik@gmail.com>
Date: Sun Jan 9 10:51:16 2022 +0100
🌐 Update Slovak language (#23475)
commit 035f9b8e134b340403a75723119eb791d65fea92
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Jan 9 03:48:17 2022 -0600
🔨 Rename (not copy) with board_build.rename
commit 49f8171f7a541a8b321e1fb3aa3510cfa8eb31d7
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Sun Jan 9 03:37:09 2022 -0500
🚸 BLTouch HS menu item for DWIN Enhanced UI (#23480)
commit 75d0e94d5b3d29abc2d450a5369031b9b396c14c
Author: ClockeNessMnstr <locke.dftc@gmail.com>
Date: Sat Jan 8 15:09:25 2022 -0500
🚸 Do G34 "Z Backoff" at full current
commit 915f610782df36ef241b8c207ea799d8b206aa15
Author: jdegenstein <jdegenstein@users.noreply.github.com>
Date: Thu Jan 6 19:03:02 2022 -0600
📌 LCD_FOR_MELZI for BTT E3 RRF (#23453)
commit 2231e00b2c1acd53449ece7a22f131e40216da8f
Author: Lefteris Garyfalakis <46350667+lefterisgar@users.noreply.github.com>
Date: Thu Jan 6 13:30:41 2022 +0200
🌐 Localize E3V2 Enhanced UI (#23424)
commit 63f2b153967218a15355eb0a179dca579a3d1269
Author: Anson Liu <ansonl@users.noreply.github.com>
Date: Thu Jan 6 06:26:12 2022 -0500
📺 Tune ULTI_CONTROLLER encoder, enable PCA9632 (#23461)
commit f503722c4556631745f35b9ae86d6d3c0c112a77
Author: Kyle Hu <kyle.hu.gz@gmail.com>
Date: Thu Jan 6 15:54:04 2022 +0800
🐛 Fix Artillery Ruby (startup code, build flags) (#23446)
commit 4fd1de7fb7185728d357a155c86fafe438398e78
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Wed Jan 5 06:14:40 2022 -0600
🐛 Define required endstop enums (#23425)
commit 93126c0d0259dcabb09ab26cb237dacb4699cb7e
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Wed Jan 5 01:48:18 2022 -0600
🔨 Strip CR in mftest > awk
commit 80f77ea807f28086f143457d0c4bb7e8065906c6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Wed Jan 5 01:52:02 2022 -0600
🐛 Fix strlen_P parameter error
Fixes #23447
commit 9ff8220b8a455e6d1273fb7ecd5bd868904ebe70
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Jan 3 09:18:10 2022 -0600
🩹 Fix RADDS+RRD encoder button
commit 775486028921d675bda4ea57e4fff4e7a6717c26
Author: hwmland <12407423+hwmland@users.noreply.github.com>
Date: Mon Jan 3 06:54:12 2022 +0100
🩹 RAMPS FET order overridable, E + Laser (#23428)
commit 4efe4788afb6846aa4a17851a838e295f8375940
Author: Jason Smith <jason.inet@gmail.com>
Date: Sun Jan 2 21:27:22 2022 -0800
⬆️ Assert newer GCC in PIO via atmelavr@~3.4 (#23432)
commit 2faf4e2a99d513bed690c910d3c448d14d3c9df3
Author: Jason Smith <jason.inet@gmail.com>
Date: Sun Jan 2 19:17:19 2022 -0800
💚 Fix Teensy CI test (#23433)
commit 9956e6267474c915c649ea3ad5d58791ac6e6fdc
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun Jan 2 09:22:36 2022 -0600
🧑💻 Apply axis conditionals
commit a732427329e81be0cf9a7d10b38d52722a27af8e
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun Jan 2 09:22:06 2022 -0600
🚨 Fix M906 warning
commit 974883d2f6e4484dfb19e17e2d216740f166dd45
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Sun Jan 2 02:23:55 2022 -0600
🔧 Normal FET layout with Spindle/Laser (#23409)
commit 1170ed995e1e92737ff4df2147f0e714d5c568cb
Author: Jason Smith <jason.inet@gmail.com>
Date: Sun Jan 2 00:19:10 2022 -0800
🔧 Update deprecated auto_build.py (#23427)
commit 24f9c3a777a95dbc1854bd2b25a85770895f20fb
Author: Johannes Hörmann <johannes.hoermann@t-online.de>
Date: Sun Jan 2 06:46:55 2022 +0100
🔨 Upload to Optiboot at 115200 (#23403)
commit 5ec384f40caf16c2e92e992e83d70e243abaa786
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Jan 1 22:54:27 2022 -0600
✨ M919 : Chopper Timing (#23400)
commit 6d7ffa6add0b2a845bfe548f8597ad9b5b39b974
Author: Jason Smith <jason.inet@gmail.com>
Date: Fri Dec 31 12:32:28 2021 -0800
🔧 Only warn about enabled CONFIGURATION_EMBEDDING (#23408)
commit dadd7516b5b7e56a379f838e76fd4a1c9fa547c6
Author: Scott Lahteine <github@thinkyhead.com>
Date: Fri Dec 31 07:42:07 2021 -0600
🚑️ Fix thermal conditionals, structure
commit f99732ba752e792bffd25ece8c72bc547a23b24e
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Fri Dec 31 15:22:49 2021 +0700
🔧 DWIN_MARLINUI sanity checks (#23399)
commit 5a9635aa586a41966f95966f412297fff4757ff7
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Wed Dec 29 04:17:41 2021 -0600
🩺 Assert FAN_SOFT_PWM where required (#23383, #23477)
commit 1552c6d2a5713075d01b98036a6fe7fb6ad9c827
Author: Lefteris Garyfalakis <46350667+lefterisgar@users.noreply.github.com>
Date: Wed Dec 29 05:22:01 2021 +0200
🎨 E3V2 corner leveling => tramming (#23375)
commit 06c2ed3c996965b79520d733b668d08437ab5468
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Tue Dec 28 00:23:50 2021 -0500
🚸 DWIN Enhanced improve, fix, and extend (#23240)
- Offset icon change to show mesh leveling status
- Reset extruder position when enter to Move menu
- New live end-stop diagnostic page
- Editable firmware retracts settings for Tune and filament settings menu
- Print Statistics page accessible from the Advanced Settings menu
- Reset printer draws the boot image
- Adds individual axes homing menu
- Adds probe deploy/stow to Probe Settings menu
- Updates lock screen
- Rebuilds main buttons to support text caption in other languages
- Increases probe offset limits to 60 mm
- Fix M303 PID variable update
- Fix Resume/Pause button update
- Fix redraw of print done
- Fix very large file name bug
- Fix bug in bed manual leveling
commit 430c5da54c46c03c67afe53cf325880e27e93b89
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Dec 28 18:29:05 2021 -0600
🚚 Rename L6470 G-code file
commit 5b9f3bd4b1079244cc88a68587398bfcc600eeef
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Dec 28 02:57:24 2021 -0600
🧑💻 Remove extraneous 'inline' hints
commit ccc66a8528a8ae318692c0c9a8032a9d3bfc7e37
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Dec 21 22:15:48 2021 -0600
🎨 Misc. cleanup
commit 8abe314b180b472c53968a7347018fd0803a09cb
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Jan 9 01:06:19 2022 -0600
🔨 Get FIRMWARE_BIN from env
commit dc470eb10f3141187abc89c29e665e32756af03b
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Sun Jan 9 02:29:36 2022 -0500
🐛 Fix EEPROM_INIT_NOW build hash test (#23479)
commit 4c5e57ae89dcc4cf04d0893e435c2b45e6c3237a
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Sun Jan 9 02:24:56 2022 -0500
🩹 Reset DWIN CrealityUI print progress on start (#23481)
commit 5d7328df469053240eeae32426d0669977f94119
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Dec 28 05:02:40 2021 -0600
🧑💻 Add AXIS_COLLISION to catch broken parameters
\
commit 99c237e05e5090d56ef22961b0af4b7858a4af47
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Dec 28 05:43:10 2021 -0600
🚸 Refine stepper-driver-related G-codes (#23372)
commit 56adbc3ebf3ccb5ac1df1fd40620002a2c405e51
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Dec 27 20:52:43 2021 -0600
📝 Consistent pin header orientation
commit 4cfe812c1816345c468769a1cf19ada39fb99fd2
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Dec 27 17:40:53 2021 -0600
📌 Define MKS Monster8 pins for MKS_MINI_12864
Fixes #23324
commit 27d2471ea3f2bfb9b3b00028cc165d44a5b4e429
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Dec 27 14:28:59 2021 -0600
🐛 Fix mffp usage
commit 61b9248c35113943ff299bfb647ff1bf0f48fff8
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun Dec 26 03:20:29 2021 -0600
🎨 Pins and SDIO cleanup
commit c9561a88261afd14d9c013d2096e14e319c363a5
Author: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com>
Date: Sun Dec 26 09:46:13 2021 +0300
🔧 Check Chiron LCD requirements (#23353)
Co-Authored-By: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com>
commit 58c84f17baa2f8291b475854d19e9f117a60bcb1
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Dec 29 03:41:28 2021 -0600
🎨 Simplify some debug echos
commit 73b8320e9caac23873169c8e10344f2f8060b389
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Jan 1 20:01:24 2022 -0600
🔨 Add .vscode/extensions.json
commit 1c3f2498b1c47dcaf1f15f2058c90d7107c87311
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Thu Dec 30 20:35:22 2021 +1300
🐛 Fix RRW Keypad & Zonestar buttons (#23388)
commit 4202baa409f7b8a5ef22ef3541216919462205b0
Author: GHGiampy <83699429+GHGiampy@users.noreply.github.com>
Date: Thu Dec 30 05:37:07 2021 +0100
🩹 Fix Enhanced UI max E speed (#23387)
commit f471eab1a2834c4e65477d978ea9f0349542b302
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Dec 25 22:13:20 2021 -0600
🔖 Marlin 2.0.9.3
commit 4b9fce2e8588f5dea0658e93fa0260830a851874
Merge: ecb08b15be e17d710c5c
Author: Sergey <sergey@terentiev.me>
Date: Mon Dec 27 16:47:22 2021 +0300
Merge branch '2.0.x' into vanilla_fb_2.0.x
commit 9b13ae239953df3b00ad18a241e001723c3f4756
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Sat Dec 25 19:41:01 2021 -0800
🐛 Fix MKS Robin E3 NeoPixel pin default (#23350)
commit e17d710c5c4c96e069f64854e3fcdb77abcf90e1
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Dec 25 22:13:20 2021 -0600
🔖 Marlin 2.0.9.3
commit 06f36dc7467f0053767f307a18933df556074d99
Author: kaidegit <60053077+kaidegit@users.noreply.github.com>
Date: Sun Dec 26 10:12:20 2021 +0800
🐛 Fix open for bin rename (#23351)
commit 98eca9cb23084f0c21ae85b382e6f473eb40ebbf
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Dec 25 03:27:45 2021 -0600
🔧 Move MOTHERBOARD closer to top
commit 626879500388c4a203022c5fc03c32d5a8281348
Author: fflosi <34758322+fflosi@users.noreply.github.com>
Date: Sat Dec 25 05:57:07 2021 -0300
✨ Per-axis TMC hold multiplier (#23345)
commit b4f0922a7caea03b3c3315d48d86109bcc84c4be
Author: Sola <42537573+solawc@users.noreply.github.com>
Date: Fri Dec 24 14:03:32 2021 +0800
✨ MKS TinyBee board support (#23340)
Co-Authored-By: Sola <42537573+solawc@users.noreply.github.com>
commit aef613acd394d72d17cda8b431bcfcc2165c9608
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Thu Dec 23 15:19:39 2021 +0700
🔧 Group FAST_PWM_FAN.options (#23331)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 9ecfa1d2528a57eaa71a25acaac3e87fb45e0eb1
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Date: Tue Dec 21 23:09:55 2021 -0500
✨ BLTouch High Speed mode runtime configuration (#22916, #23337)
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit e0bed1e344946154cc94cb58fbca281b360ee4a9
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Wed Dec 22 15:44:04 2021 +1300
✨ Option to reset EEPROM on first run (#23276)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit d21fa25ab8c369ff800e0451c75fe9f9e6134878
Author: Spencer Owen <owenspencer@gmail.com>
Date: Sat Dec 18 18:58:46 2021 -0700
✨ Creality3D V4.2.3 / Ender-2 Pro board (#23307)
commit 0dc1a58b241217899c88945ea8f6f8dc8f39470e
Author: X-Ryl669 <boite.pour.spam@gmail.com>
Date: Tue Dec 14 07:22:06 2021 +0100
✨ Configurations embed and retrieve (#21321, #23303)
commit f2ca70e2328c3158d54c302dca310bf2ed5d465d
Author: John Lagonikas <39417467+zeleps@users.noreply.github.com>
Date: Wed Dec 8 20:55:09 2021 +0200
🐛 Fix and improve MAX31865 (#23215)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit a6bed228391afe290e8fe4181f624f21dd461b73
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Date: Sat Dec 11 03:38:03 2021 +0800
✨ BigTreeTech SKR mini E3 V3.0 (STM32G0B1RET6) (#23283)
commit efd67cf80d1eebd1470bd7c8b822e9103d70e778
Author: Giuseppe499 <giuseppe499@live.it>
Date: Tue Dec 7 02:53:51 2021 +0100
✨ X Twist Compensation & Calibration (#23238)
commit 15204470a8da2b579dab029cf8bdf6038914e462
Author: ladismrkolj <ladismrkolj@gmail.com>
Date: Sun Dec 5 22:41:39 2021 +0100
🔧 Chamber Fan index option (#23262)
commit 48358d6a5c4eccb4dd1b4d141c38cf45304b4df7
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Fri Dec 3 12:48:48 2021 -0600
🏗️ Fix Maple HAL/STM32F1 PWM (#23211)
commit d7abb891cd91ef991234784a0b707346ac34e53a
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Fri Dec 3 19:31:48 2021 +0100
🏗️ Rework STM32 timer frequency protection (#23187)
commit 52a44eb200b8e14d7738565f50888d34cc5200f0
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Nov 30 15:04:05 2021 -0600
🐛 Fix STM32 FastPWM
commit 9b1c0a75e18faf754a55ec324ac327ba2a25819f
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Nov 27 18:33:32 2021 -0600
🎨 Rename HAL timer elements
commit d75e7784e50dad2b9f598ef559958e9015e64550
Author: schmttc <89831403+schmttc@users.noreply.github.com>
Date: Wed Nov 24 08:52:18 2021 +1100
✨ EasyThreeD ET4000+ board and UI (#23080)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 0e60c8b7e04a6cd2758108bcc80f2ab57deec23c
Author: John Robertson <john@cirtech.co.uk>
Date: Tue Nov 23 21:24:24 2021 +0000
✨ MarkForged YX kinematics (#23163)
commit 018c7b1cf4d3b2b54287f61b478e813041c1c661
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Sun Nov 21 11:25:06 2021 -0800
✨ BigTreeTech Mini 12864 V1.0 (#23130)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit af1d603374a34cfc2d8b34fce269a0a6683d7c68
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com>
Date: Tue Nov 23 21:01:53 2021 +0100
✨ Fan tachometer support (#23086, #23180, #23199)
Co-Authored-By: Scott Lahteine <github@thinkyhead.com>
commit 884308f964ddb92c1371bc9ec96e587ef04336e0
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Nov 16 08:54:30 2021 -0600
🔧 SOUND_MENU_ITEM for E3V2
commit 7269990413a630b134f3e990fe188c522659dca9
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Wed Nov 10 11:31:35 2021 -0500
🚸 Expose sub-options for E3V2 Enhanced (#23099)
commit 2a90d93b17c1014f6a29b0ecc015c7fbc469fbdc
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Wed Nov 17 09:33:42 2021 -0800
📌 Overridable probe-related pins (#23107)
commit 6e284f882388d314517544b6c2e46f7cff7c99e8
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Date: Wed Nov 10 23:56:10 2021 +0800
✨ Support for BIQU B1-SE-Plus strain gauge probe (#23101)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit a2349fc411321ae4ff2bb286af04bb7543963c72
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Fri Dec 24 23:47:52 2021 -0600
🔨 Configurable firmware bin filename
Configuration.h > FIRMWARE_BIN
commit a3964b2b40f97507edb7b25ea4c47b37db2a1aaa
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Fri Dec 24 20:59:28 2021 -0600
🔨 Ignore more generated files
commit 226ee7c1f3e1b8f88759a1dc49f329ab9afb3270
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Fri Dec 24 01:46:51 2021 -0600
🔧 Sanity check MMU2_MENUS
commit 2c12171f46488a31cb5d4d78868892ad2918e298
Author: Attila BODY <attila.body@gmail.com>
Date: Fri Dec 24 06:57:20 2021 +0100
🐛 Fix Robin Nano v3 filament runout pins (#23344)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit d034a9c295c787ee06c76d65ce61f34cb9f0a795
Author: MrAlvin <umo-testing@3iii.dk>
Date: Thu Dec 23 10:47:52 2021 +0100
🚸 Show mm'ss during first hour (#23335)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit d2c7104bb37ca7e10622dfe1e1f0a6e5c3d23240
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Wed Dec 15 07:51:19 2021 +0700
🚸 Change "SD" to "Media" or "SD/FD" (#23297)
commit 570c7e86380adb2071a94a433dc6babf6c8f9e32
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Wed Dec 22 13:48:38 2021 +1300
🐛 Fix Chitu Z_STOP_PIN (#23330)
commit cc4578a3d33b67268d26255139eceff1c805ec52
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Thu Dec 23 07:49:15 2021 +0100
🩹 Fix settings G21 report (#23338)
commit 1db84be66aee65ca120b6f9d3203ac0e19699c30
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Tue Dec 21 01:26:31 2021 -0600
🚑️ FAST_PWM_FAN default 1KHz base freq. (#23326)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 77c9668fe2b897ee142539a0124f359fcb8de070
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Tue Dec 14 19:25:28 2021 +1300
🐛 Fix LCD_BED_LEVELING compile (#23298)
commit 22cf9b444e9185ef173ebf145f3bb9207d266ec4
Author: GHGiampy <83699429+GHGiampy@users.noreply.github.com>
Date: Mon Dec 20 09:44:43 2021 +0100
🧑💻 Option allowing > 127 Neopixels (#23322)
commit 97798d1e47d2211827cccadc31f61b59e0e9e667
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Thu Jul 8 01:33:49 2021 -0500
🎨 Update SKR V2 pins
commit f4b808456ac5b2ce55329a2ad8db00b6cc9510cb
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com>
Date: Tue Dec 14 01:47:57 2021 +0100
🚸 Use M600 for disabled MMU (#21865)
commit 62647369681c3449c7f3ee31d4f4d2da6f3ada9c
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Tue Dec 14 01:41:21 2021 +0100
🐛 Fix TFT_COLOR_UI Release Media issue (#23123)
commit 7a5f103bcf6c3387ab832d64244e252a16e230a6
Author: John Lagonikas <39417467+zeleps@users.noreply.github.com>
Date: Sat Dec 18 01:31:10 2021 +0200
🔧 Warning for IGNORE_THERMOCOUPLE_ERRORS (#23312)
commit 1a8307b196ce5ed791b8f9bf8acfb50a797e45a9
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Dec 18 17:38:29 2021 -0600
📝 Fix a config comment
commit 13a1c86ae832274026e8b3a4031bc28a6fca2db9
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Tue Dec 14 13:18:24 2021 +1300
✨ M115 flag EXTENDED_M20 (#22941)
commit 15656201d281842b9f9101133529a76738b76cdd
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Tue Dec 14 13:13:34 2021 +1300
✏️ Clean up duplicate defs (#23182)
commit f3e372cb4c849bbd77cec949f5fbd632bf84efed
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Tue Dec 14 07:11:52 2021 +0700
🩹 Init fan speed at boot (#23181)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit c781ecc437e27f5efd438a9f2d92bf8b7be3a299
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Dec 13 16:15:46 2021 -0600
🔧 Fix unknown board test
commit daa8fff6c630da27bed2df7bd30c38e7e359c0e8
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun Dec 12 16:16:40 2021 -0600
🩹 SD abort requires open file
See #22566
commit d481bba3275bc9c7fb4a88fac3eb66727d73f504
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Sun Dec 12 11:06:45 2021 +1300
🐛 Fix MARLIN_F103Rx variant SCK / MOSI pins (#23282)
commit 32b08ae04cdeef3362a92ee9c1d56787b0792b4c
Author: Scott Alfter <scott@alfter.us>
Date: Wed Dec 8 23:18:04 2021 -0800
Fix Endstops::report_states (#23280)
Fix regression 4d45fdf0eb
commit f00a0356c7fd9708ebabd4e5a25df0a3d6dd35f6
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Dec 8 18:36:08 2021 -0600
🎨 Misc. probe / endstop cleanup
commit 9871800874edf7e33233ba853735708f823e13a7
Author: Sola <42537573+solawc@users.noreply.github.com>
Date: Thu Dec 9 03:37:45 2021 +0800
🐛 Fix MKS LVGL UI retraction (#23267)
commit 39c2c038be51cd1bfc9cd963baf68307c28f542c
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Thu Dec 9 02:15:31 2021 +0700
🩹 Coerce pin_t in set_pwm_duty macros (#23273)
commit 285d6488a369bd189073fae1cdfea5818a5f2275
Author: Jason Smith <jason.inet@gmail.com>
Date: Wed Dec 8 11:10:37 2021 -0800
🐛 Fix ACTION_ITEM with nullptr (#23195)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit eecbd09a460d255594f418078ce5f96e9e688008
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Thu Dec 9 01:57:50 2021 +0700
🚸 Onboard SD for SKR 2.0 / SKR PRO (#23274)
commit 8d4e4ac11530ba2576244f69802e35485ed05863
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Wed Dec 8 12:40:23 2021 -0600
🎨 Rename MAX31865 elements
commit b77a5d4c8d9b90bdd870ed9590e3f2538f34b8c6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Dec 6 20:18:50 2021 -0600
✏️ MAX31856 => MAX31865
commit c3b8b3e7e6b3571d3d01f2bb1e4298c25d71d051
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Mon Dec 6 15:52:18 2021 -0600
🩹 Fix non-PWM cutter compile (#23169)
commit 7123b15801779efb2dfb9bbc932b7d665a708868
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com>
Date: Mon Dec 6 21:40:18 2021 +0000
🐛 Fix TWIBus Wire.begin call (#23183)
commit 8a2f13d657cb881b7e0365dd0a28b233125d433c
Author: Chris Pepper <p3p@p3psoft.co.uk>
Date: Sun Dec 5 22:18:02 2021 +0000
🐛 HAL_reboot for native HAL (#23246)
commit 251d9fc1d741132f3baa1a7c9c9ead25a65af3c7
Author: tommywienert <53783769+tommywienert@users.noreply.github.com>
Date: Sun Dec 5 23:16:23 2021 +0100
🐛 Fix env:chitu_f103 (#23225)
commit 5eeb9650b5bbaeb2a07436d0e9cc5036dc518723
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Mon Dec 6 10:42:56 2021 +1300
📌 More Longer3D LKx Pro serial tests (#23260)
commit c0addd1d33017e97117ffab1e3145a55750fd2c4
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com>
Date: Sat Dec 4 23:44:10 2021 +0000
✨ M3426 to read i2c MCP3426 ADC (#23184)
commit 05b57278d43fb1bcf7165dae88643dbac2ff7e8d
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Dec 4 17:17:10 2021 -0600
🔧 Cutter pins for SKR 2.0
commit aa3ec2fbfda25381eb4effb65471f206511a823d
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Sun Dec 5 05:14:19 2021 +0700
🚸 Park nozzle on "loud kill" (#23172)
commit 4468516aa29b1319e8d296880ebf395a2e7e1d09
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Sun Dec 5 11:10:29 2021 +1300
✨ BigTree SKR 2 with F429 (#23177)
commit 95d006b4061f15b8a7edfd62ad4760994b28610f
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Sat Dec 4 09:48:54 2021 +1300
🐛 Fix TIMER_TONE for ZM3E4 (#23212)
commit 5b057b4bcfeec871830bab9c6a15bf1e52e53c62
Author: Jiri Jirus <jiri.jirus@cloudaper.com>
Date: Tue Nov 30 21:46:48 2021 +0100
🩹 Assume 4K EEPROM for RUMBA32 BTT (#23205)
commit 77af48e5479eb0840977fc6ad16f1b8ad651efd4
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Nov 30 13:03:31 2021 -0600
🐛 Fix STM32 FastPWM
commit 0f7f709aad290285f10d6bed733f783dee6c324c
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Sat Nov 27 14:59:32 2021 -0800
✏️ Fix Unicode (#23186)
commit a8c0e11cb143cb40637349cccdcc89282382f3d7
Author: Jason Smith <jason.inet@gmail.com>
Date: Sat Nov 27 13:54:39 2021 -0800
🩹 Handle nullptr in CardReader::printLongPath (#23197)
commit 0556da85b0d1aa9dee1fa229296270468cb13180
Author: Anson Liu <ansonl@users.noreply.github.com>
Date: Sat Nov 27 17:58:05 2021 -0500
🩹 UM2 extruder cooling fan on PJ6 (#23194)
commit 93652e5c6fc4d4f141bdc524e01144ef7c6221dd
Author: George Fu <nailao_5918@163.com>
Date: Sun Nov 28 03:26:53 2021 +0800
✨ FYSETC Spider v2.2 (#23208)
commit f3fc1d15a3f7a77e36ce9e072c72bfae127f57d9
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com>
Date: Tue Nov 23 22:33:33 2021 +0100
🩹 Fix include path (#23150)
commit 3148060550eee847ec9d20eedf6bc890c9f4e12a
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Tue Nov 23 13:54:31 2021 -0800
📌 Biqu BX temporary framework workaround (#23131)
commit 5f08864d1fa8146bc909f3b79daa0bf026e94c6b
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Tue Nov 23 14:05:50 2021 -0600
🐛 Fix STM32 set_pwm_duty (#23125)
commit 184fc36a088204a1a6d98afbf3e05f24670e2e77
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Sun Nov 21 20:13:01 2021 +0100
🐛 Fix TFT backlight sleep/wake (#23153)
commit 281ed99868e2ad67be39858aac5ba6a6b46c6fd0
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Sat Nov 20 02:44:53 2021 +0100
⚡️ Reduce calls to set fan PWM (#23149)
commit 2cc4a1b3260e1a559ce91c707e1a7cdc5444ca94
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Wed Nov 17 13:01:44 2021 -0600
🎨 Misc formatting
commit c5bd08755cef48d8dc920053b68da1bbe01a56b0
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Date: Thu Nov 18 01:35:28 2021 +0800
🐛 Init PROBE_ENABLE_PIN (#23133)
commit 99f58f63f264a9968d5b98ad2e1c6e7f2411d57e
Author: luzpaz <luzpaz@users.noreply.github.com>
Date: Wed Nov 17 12:09:01 2021 -0500
🎨 Fix misspelling (#23137)
commit c2a674d2c114eee94debf9f649e66cbdb06afdbb
Author: espr14 <espr14@gmail.com>
Date: Wed Nov 17 18:07:11 2021 +0100
🏗️ Planner::busy() (#23145)
commit feffc1986744cdf10f9e8ca474f4a1aa4ca10dfe
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Nov 16 14:06:36 2021 -0600
🐛 Fix fast PWM WGM code
Followup to #23102
commit f637e1c5017540b32ccf43bf32269905abdd51ee
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Nov 16 12:49:25 2021 -0600
🔨 Bring Makefile up to date
commit 78240a279b5eaa6900d381616e5e252513e82b67
Author: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com>
Date: Tue Nov 16 19:32:43 2021 +0300
🔨 Ignore sim flashdrive file (#23129)
commit 656034d2d9d94208611ee6b684bdfb1441291249
Author: Luc Van Daele <lvd@sound-silence.com>
Date: Tue Nov 16 16:24:53 2021 +0100
🐛 Fix G33, Delta radii, reachable (#22795)
commit 39a81d167ee6e41aa055ceb7c7eceb919573aa61
Author: Mikhail Basov <github@basov.net>
Date: Mon Nov 15 07:46:34 2021 +0300
🚸 LCD_SHOW_E_TOTAL for TFT_COLOR_UI (#23127)
commit cb1570d162680dd0de9e23a1f4ed9fb40b56b72b
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Nov 14 17:19:57 2021 -0600
🐛 Fix SENSORLESS_HOMING for 6-axis
commit 8cb646cc20576ed6cf4462e9ac9125f396a38bd9
Author: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com>
Date: Mon Nov 15 00:15:07 2021 +0300
🚸 Simplify touchscreen calibration for SimUI (#23124)
commit 3cccb21dc9673d641a5b490b3d6a60466f5fd12f
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
Date: Wed Nov 10 11:55:20 2021 -0500
🚸 Fix up E3V2 Enhanced (#23100)
commit 7f4a49cc446addad07c5b1c06066e821f1e4b16c
Author: Scott Lahteine <github@thinkyhead.com>
Date: Fri Oct 22 13:21:26 2021 -0500
🎨 Misc. issue review patches
commit e0c439fe911320d08229ebc24eee2a32cd1ee986
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Sun Nov 14 05:55:31 2021 -0600
⚡️ Controller Fan software PWM (etc.) (#23102)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 49e233e06f8be0d408a3576d77fa1bf5c27ff995
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Fri Nov 12 21:26:19 2021 +0100
🎨 MPX ARM Mini pins cleanup (#23113)
commit b662dd1f9221bc1a489dfb84737a49564f72858f
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Fri Nov 12 12:14:28 2021 -0600
🐛 [LCP1768] Init PWM in set_pwm_duty (#23110)
commit 700cae43abd0108aae612513509dafccba493b61
Author: Skruppy <skruppy@onmars.eu>
Date: Fri Nov 12 15:57:24 2021 +0100
🩹 Fix RGB case light compile (#23108)
commit 1c74c6e7ac943078835dca58e295b2b2fe57f787
Author: George Fu <nailao_5918@163.com>
Date: Wed Nov 10 23:58:20 2021 +0800
🐛 Fix FYSETC Cheetah 2.0 pins for production (#23104)
commit 757a9477db64086bebe2f1fa293ae3ec557b7a2f
Author: Minims <github@minims.fr>
Date: Sun Oct 10 01:10:21 2021 +0200
🩹 Adjust GTR 1.0 ST7920 display delay (#22904)
commit 59d43408f6e2fc33db4efb17dac54b6ebbed4547
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Dec 25 00:57:30 2021 -0600
fix breaks in F() resolution
commit 1d8941d008cbc8dfacd35db140c1e87fc938ee58
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Oct 5 21:35:31 2021 -0500
🔨 Port libsdl2_net required for macOS simulator
commit 17f853d99ceccd06103cb404507b7ed171c306cf
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Tue Nov 9 08:30:02 2021 -0800
⚡️ BTT002 (STM32F407VET6) variant, MK3_FAN_PINS flag (#23093)
commit 6f9f25dbb29edbe5383f2f22a36d204484b19aa8
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Nov 7 01:11:51 2021 -0600
🎨 Misc. code cleanup
commit 0273a6858733d22647583d52df309fe05efd7d9e
Author: VragVideo <91742261+VragVideo@users.noreply.github.com>
Date: Sun Oct 3 06:12:51 2021 +0300
✨ WYH L12864 LCD (Alfawise Ex8) (#22863)
commit 58a26fcaaca2251a6098baad21236b0581f874a3
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Sat Nov 6 23:09:15 2021 -0700
🚸 Indicate Preheating for probe / leveling (#23088)
commit 489aca03ff1f6859ebcc52f0e6af2e3cb4f0c056
Author: Evgeniy Zhabotinskiy <evg-zhabotinsky@users.noreply.github.com>
Date: Sun Nov 7 07:16:18 2021 +0300
🩹 Fix M503 report (#23084)
commit f32e19e1c64b3e495d18707ae571e81efaac2358
Author: Jin <3448324+jinhong-@users.noreply.github.com>
Date: Sun Nov 7 11:53:36 2021 +0800
🍻 Preliminary fix for Max31865 SPI (#22682)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 57bd04b6ce2a36526717bf2e6942c14d81be44ac
Author: dwzg <50058606+dwzg@users.noreply.github.com>
Date: Sun Nov 7 04:48:00 2021 +0100
🐛 Fix JyersUI scrolling filename, etc. (#23082)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
commit 396df93220f037f70035e0e0c08afef436538d4d
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Sun Nov 7 15:27:53 2021 +1300
🐛 Fix DGUS Reloaded status message (#23090)
commit 9b76b58b791502cba0d6617042c37180851fd36f
Author: Scott Lahteine <github@thinkyhead.com>
Date: Thu Nov 4 12:18:23 2021 -0500
🍻 Get/clear reset source earlier
Followup to #23075
commit 9fffed7160ad791e9d81d66ff7d0c0d3e085586d
Author: Skruppy <skruppy@onmars.eu>
Date: Thu Nov 4 18:11:57 2021 +0100
🐛 Prevent AVR watchdogpile (#23075)
commit fd136d5501c51acbbf174ddf2331e747a80e2374
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Thu Nov 4 18:04:04 2021 +0100
🐛 Fix TFT backlight [STM32] (#23062)
commit 89ec1c71f0f90ba926043ebdd8ace007b7912b58
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Date: Thu Nov 4 18:54:38 2021 +0800
🐛 Fix Octopus-Pro Max31865 / SPI (#23072)
commit fc2020c6ecc7d731448509012a41d6ff499419bd
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Thu Nov 4 17:28:42 2021 +0700
🔨 Fix IntelliSense / PIO conflicts (#23058)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
commit f97635de364a27ddf8effd06ce0f18ceae5cf4f1
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Thu Nov 4 14:04:06 2021 +1300
📌 'STOP' auto-assign, some Chitu V9 pins (#22889)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
commit a0a57406a2e266bfc20e8e0d8a834cca3ef67367
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Nov 3 07:06:31 2021 -0500
🔨 Script 'mfprep' finds pending commits
commit 5efef86cfa3ce88224edb68b2aa502dbf8939264
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Nov 3 07:02:21 2021 -0500
🔨 Update git helper scripts
commit 20c747753db6657a505b50db302f7ec9fd3a6e5d
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Nov 2 01:28:00 2021 -0500
🔨 Support ABM in mf scripts
commit 08a9c6158798a59bd6af09b68144041fdc967d4b
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Mon Nov 1 23:15:29 2021 -0700
📌 Default NeoPixel pin for MKS Robin E3/E3D (#23060)
commit 0d91b07797c0d248eab25a64351db959a866bdc7
Author: Andrei M <22990561+andrei-moraru@users.noreply.github.com>
Date: Tue Nov 2 01:47:16 2021 -0400
⚗️ Use pwm_set_duty over analogWrite to set PWM (#23048)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit b033da1782579d27ed05d9acbf0b2ccb433bdbb8
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Mon Nov 1 22:43:40 2021 -0700
🔧 Endstop / DIAG homing conflict warning (#23050)
commit 4dcd872be54d913d26c95666a74a67efd59a0519
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Mon Nov 1 21:23:54 2021 -0700
✨ Allow Low EJERK with LA, optional (#23054)
commit 7e9e2a74358c6033577fc31f3a16af57214e4f3a
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Mon Nov 1 20:23:24 2021 -0700
✨ Artillery Ruby (STM32F401RCT6) (#23029)
commit 0b841941276b246c06b52f65e5e45199d4792785
Author: tombrazier <68918209+tombrazier@users.noreply.github.com>
Date: Mon Nov 1 23:03:50 2021 +0000
🚸 More flexible Probe Temperature Compensation (#23033)
commit efd9329c813f47d7434f2c7acbb09bbce161a735
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Thu Jul 8 01:17:16 2021 -0500
📝 Tweak EXP comments
commit 5cbb820e2984d052c7ca412e06035206e5892790
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Oct 30 23:43:19 2021 -0500
🔨 Help for GDB remote debugging
commit 5a0166489e7d4ec6ce70fc20070f667fd00bccec
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Oct 30 22:43:02 2021 -0500
🩹 Fix linker error (transfer_port_index)
commit 692c9a6312785c728a9df474826acc0aa602771a
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Oct 30 04:16:37 2021 -0500
💚 Update Ender-3 V2 config path
MarlinFirmware/Configurations#600
commit 545d14f9a54f9689f4ef258999cab3222275980b
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Oct 30 01:39:33 2021 -0500
🎨 Adjust Ender-3 V2 DWIN options
commit 7b9e01eb2bd03564ad667746637d8f33899ad5b5
Author: aalku <aalku7@gmail.com>
Date: Sat Oct 30 07:17:20 2021 +0200
✨ Shutdown Host Action (#22908)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 8562f0ec44df99928bca503e77ccc500b8ec7654
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Fri Oct 29 20:46:55 2021 -0500
✨ "Rutilea" ESP32 board (#22880)
commit 6f59d8171f701cbeacf687937de1b0d6a68f6711
Author: Scott Lahteine <github@thinkyhead.com>
Date: Fri Oct 29 20:42:52 2021 -0500
🔧 Configuration version 02000903
commit d29a9014f2a4e496215a7b0503208b44a34915fb
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Oct 27 21:36:06 2021 -0500
🎨 Standard 'cooldown' method
commit 205d867e4bfa1c100ae69670c0a1a820cb8697a0
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Oct 27 20:01:44 2021 -0500
🎨 Standard material presets behavior
commit 84f9490149069a62c056cad9cb83ee7f2b4ee422
Author: Scott Lahteine <github@thinkyhead.com>
Date: Wed Oct 27 21:15:58 2021 -0500
🎨 Define HAS_PREHEAT conditional
commit 1fd42584230f1d45cba2cdb33c2618d42bf2d923
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com>
Date: Sat Oct 30 00:49:12 2021 +0200
🐛 Fix E3V2 (CrealityUI) Tune/Prepare > Zoffset (#23040)
commit e8a55972a7eab13c231733676df8c9e306af4d12
Author: Scott Lahteine <github@thinkyhead.com>
Date: Thu Oct 28 19:22:35 2021 -0500
🐛 Fix EZBoard V2 board name
commit aef413202e69ddbed26bb155041a97abb0dada2e
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Thu Oct 28 03:26:05 2021 -0700
🐛 Fix MKS Robin E3/E3D Z Stop/Probe pins (#23034)
commit cbc7dadf42fc1cc56418caeb7ccba9491175f1ad
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Oct 26 21:54:43 2021 -0500
🎨 Apply HAS_MULTI_HOTEND conditional
commit c508ecc414a5876e6dadfe4ade926bc5b8bc25c3
Author: Zlopi <zlopi.ru@gmail.com>
Date: Wed Oct 27 23:10:46 2021 +0300
🚸 Scroll long filename on MKS TFT (#23031)
commit 384a31765f9080336d90a5404787bf1895dea2e9
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Thu Oct 28 09:06:06 2021 +1300
🩹 Retain LCD pins with motor expansion (#23024)
commit 0f2c4fc40ba87ffb5e345d7e8a16b5714b9a65bd
Author: somehibs <hibs@circuitco.de>
Date: Wed Oct 27 21:00:02 2021 +0100
🐛 Fix serial PORT_RESTORE (and BUFFER_MONITORING) (#23022)
commit 66a274452c20c9cab608e44a61663cd5a76cf9d6
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com>
Date: Wed Oct 27 21:58:32 2021 +0200
🐛 Fix E3V2 (CrealityUI) position display (#23023)
Followup to #23005, #22778
commit 12f8168d1eba025ceb7762f49fc903cb123a8b3b
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Oct 26 19:36:16 2021 -0500
🚸 Tweaks to UBL G29 Q
commit 2142e1dae493502adb1a26c9f81c2e6d43b0e02a
Author: woisy00 <spam@bergermeier.info>
Date: Wed Oct 27 01:05:34 2021 +0200
🐛 Fix AUTOTEMP bug (thermal runaway) (#23025)
Regression from 9823a37
commit 8d21ea55a2e67712ca968807d9c0a86afa750373
Author: tombrazier <68918209+tombrazier@users.noreply.github.com>
Date: Mon Oct 25 06:33:40 2021 +0100
🐛 Add USE_TEMP_EXT_COMPENSATION options (#23007)
commit a0da7e8a1fc1962fa2abf18db627e1985d06b18b
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sun Oct 24 23:33:27 2021 -0500
🔧 Fewer alerts about Z_SAFE_HOMING
commit e2452d6c571db0875cc3fe625a3e68a6e1c75e56
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com>
Date: Fri Oct 22 18:16:07 2021 +0200
🐛 Fix SHOW_REMAINING_TIME option for JyersUI (#22999)
commit 5173a3140da364d1645743cb0f2f0324245da5ea
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Fri Oct 22 08:52:31 2021 -0700
✨ BigTreeTech TFT35 SPI V1.0 (#22986)
commit e44f2b7d2db248c8ddef3574979a1a485137a99d
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Tue Oct 19 06:05:23 2021 -0500
🩹 Fix pragma ignored for older GCC (#22978)
commit ed78f7f4e65b632fa986400c65796233e1a5038e
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Oct 19 05:59:48 2021 -0500
🎨 Refactor MOSFET pins layout (#22983)
commit aa198e41dd01e7c52871611c880cae590aa8cb32
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Oct 19 05:52:41 2021 -0500
🎨 Pragma GCC cleanup
commit 18b38fb58a348112ebfd91e9f6f92c64ad4dfa49
Author: Jason Smith <jason.inet@gmail.com>
Date: Mon Oct 18 01:11:16 2021 -0700
🐛 Fix max chamber fan speed (#22977)
commit 5d79d8fad64a169351a36c5243911218e4ee6b7f
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com>
Date: Mon Oct 18 00:57:54 2021 -0700
🐛 Fix I2C EEPROM SDA/SCL aliases with SKR Mini E3 V2 (#22955)
commit e7a746966d67d50fdeab67ce745a1524d34ccb59
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Mon Oct 18 20:54:20 2021 +1300
🐛 Fix MMU1 compile (#22965)
commit 555f35d46f1b0ae9e2105c23a5f37afe8336e4f4
Author: Mike La Spina <mike.laspina@shaw.ca>
Date: Mon Oct 18 02:40:47 2021 -0500
🎨 Suppress type warning (#22976)
commit de77dfcbbd392c47ed8ec1f711abefe6c10b30f0
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Oct 17 22:10:08 2021 -0500
🎨 Add MKS UI goto_previous_ui
commit af08f16efc8b31f2ae66672ac0df8dedbabdc163
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Oct 17 20:24:41 2021 -0500
🚸 Tweak MKS UI G-code console
commit 01a0f3a8cfc3ec1ae27e6959465fd275c4c895c7
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sun Oct 17 18:11:16 2021 -0500
🎨 Fix up MKS UI defines
commit f80bcdcc5cc03a0fdecdfe3c79f10c5a7436bf7d
Author: Scott Lahteine <github@thinkyhead.com>
Date: Fri Oct 15 00:24:08 2021 -0500
🎨 Refactor Host Actions as singleton
commit 1ead7ce68198d5888b6a19195602679adf0cf7ab
Author: ellensp <530024+ellensp@users.noreply.github.com>
Date: Fri Oct 15 14:38:03 2021 +1300
🔧 Add, update TFT sanity checks (#22928)
commit dffa56463e89504302b95a7a7e7af8016c713bc8
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Date: Tue Oct 12 23:19:05 2021 -0400
⚡️ Formbot ST7920 delays, intentional X2 pins (#22915)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit ae98d2e5eae1d41e1004919643cb34dc517c84e9
Author: Dmytro <svetotled@gmail.com>
Date: Wed Oct 13 05:45:00 2021 +0300
🎨 Update MKS UI for no bed, extruder (#22938)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
commit 5b1ef638ee9630063de0cc096cd408c871e5b72f
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Date: Tue Oct 12 19:40:56 2021 -0400
🐛 Fix IDEX + DISABLE_INACTIVE_EXTRUDER (#22925)
commit f3be03da20708c8dfc990e6e293c4e25a3605e52
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com>
Date: Mon Oct 11 23:42:29 2021 +0100
✨ M261 S I2C output format (#22890)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
commit 64128a5bcb46d9428ff9acc4f45fc79381c90322
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Date: Sun Oct 10 01:05:24 2021 +0200
🐛 Queue string followup (#22900)
commit 0018c94a7992a6bd0e13219504e664dc4703687d
Author: Pyro-Fox <36782094+Pyro-Fox@users.noreply.github.com>
Date: Sat Oct 9 15:09:50 2021 -0700
🐛 LCD string followup (#22892)
commit d48cb1153785178fba59c0f11da75720585baafb
Author: Scott Lahteine <github@thinkyhead.com>
Date: Tue Oct 5 21:19:28 2021 -0500
🐛 Followup to F() in config_line
Followup to 1dafd1887e
commit d9f7de7a24071fecb9bcae3400e3b4ec56c68a8d
Author: Scott Lahteine <github@thinkyhead.com>
Date: Mon Oct 4 19:50:14 2021 -0500
🐛 ExtUI F() followups
Followup to 12b5d997a2
commit 3d102a77ca475c2dc6461152ecc445247b9bfd26
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Sep 28 20:15:52 2021 -0500
🎨 Apply F() to kill / sendinfoscreen
commit 492d70424d3819762ece7ecb4913e94e3cebf232
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Tue Sep 28 19:28:29 2021 -0500
🎨 Apply F() to MKS UI errors, assets
commit 24dbeceb45a72c0b96d42e46ba750f41ac1dd4e2
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Sep 27 13:46:42 2021 -0500
🎨 Apply F() to various reports
commit cabd538fdd03bec0b293cb290bbc3dc123da780a
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Sep 27 13:40:01 2021 -0500
🎨 Apply F() to G-code report header
commit 9cf1c3cf051f7fa946098e7a7873aa0a8797d62a
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Sep 25 23:52:41 2021 -0500
🎨 Apply F() to UTF-8/MMU2 string put
commit c3ae221a109cb99bde634899f5b1b0ff690f29ab
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Sat Sep 25 22:11:48 2021 -0500
🎨 Apply F() to some ExtUI functions
commit 7626d859a65417f03494c1e99d3d29e79b84fd3d
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Sep 27 11:55:08 2021 -0500
🎨 Apply F() to Host Actions strings
commit 360311f2320d6e5a94d17c6ff830146675be732e
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Sep 25 17:05:11 2021 -0500
🎨 Apply F() to status message
commit 433eedd50fb0b1da04a0153de483088c8de9295d
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Sep 27 11:03:07 2021 -0500
🎨 Apply F() to serial macros
commit 46c53f67307f78fc2a42a926a0b8f1f6db2d7ea9
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Sep 25 21:11:31 2021 -0500
🎨 Apply F() to G-code suite and queue
commit 2b9ae0cc33a1996cb6dd1092743d4a3123c1d4c1
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Sep 25 18:43:52 2021 -0500
🎨 Apply F() to G-code subcommands
commit 433a27e475584e73195a89d59ed5ecc20303d53d
Author: Scott Lahteine <github@thinkyhead.com>
Date: Sat Sep 25 18:22:37 2021 -0500
🎨 Update F string declarations
commit 1de265ea5dd09ac4371add0b1bb9c1b595a3c385
Author: Scott Lahteine <thinkyhead@users.noreply.github.com>
Date: Mon Oct 4 00:24:41 2021 -0500
🎨 Axis name string interpolation, with examples (#22879)
commit ecb08b15bed770972a263abb600207a0db8791d1
Merge: 798d12c2af 854ce63358
Author: Sergey <sergey@terentiev.me>
Date: Wed Dec 22 11:58:28 2021 +0300
Merge branch '2.0.x' into vanilla_fb_2.0.x
commit 854ce63358f409340863024edd38fb7d1499fd91
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Sun Dec 19 05:33:21 2021 +0700
🐛 Fix loud_kill heater disable (#23314)
commit 170f77fada009bcd77b02edf7b5d55d5173b00e9
Author: lukrow80 <64228214+lukrow80@users.noreply.github.com>
Date: Tue Nov 23 22:30:13 2021 +0100
🐛 Fix homing current for extra axes (#23152)
Followup to #19112
commit 72b99bf1ba24cb9124668b958039b32a164c68cd
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Date: Sat Oct 9 19:13:19 2021 -0400
🐛 Fix IDEX Duplication Mode Positioning (#22914)
Fixing #22538
commit 1a8583f4fce492240db5d890825b8edd8217025f
Author: Robby Candra <robbycandra.mail@gmail.com>
Date: Wed Nov 24 04:19:32 2021 +0700
🐛 Fix serial_data_available (#23160)
3 years ago
|
|
|
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 1 ; }
|
|
|
|
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 1 ; }
|
|
|
|
ENVS=( $( grep -EA1 "MB\(.*\b$MB\b.*\)" Marlin/src/pins/pins.h | grep -E "#include.+//.+(env|$SYS):[^ ]+" | grep -oE "(env|$SYS):[^ ]+" | $SED -E "s/(env|$SYS)://" ) )
|
|
|
|
[[ -z $ENVS ]] && { errout "Error - Can't find target(s) for $MB ($BNUM)." ; exit 1 ; }
|
|
|
|
ECOUNT=${#ENVS[*]}
|
|
|
|
|
|
|
|
if [[ $ECOUNT == 1 ]]; then
|
|
|
|
TARGET=$ENVS
|
|
|
|
else
|
|
|
|
if [[ $CHOICE == 0 ]]; then
|
|
|
|
# List env names and numbers. Get selection.
|
|
|
|
echo "Available targets for \"$BDESC\" | $MB ($BNUM):"
|
|
|
|
|
|
|
|
IND=0 ; for ENV in "${ENVS[@]}"; do let IND++ ; echo " $IND) $ENV" ; done
|
|
|
|
|
|
|
|
if [[ $ECOUNT > 1 ]]; then
|
|
|
|
for (( ; ; ))
|
|
|
|
do
|
|
|
|
read -p "Select a target for '$MB' (1-$ECOUNT) : " CHOICE
|
|
|
|
[[ -z "$CHOICE" ]] && { echo '(canceled)' ; exit 1 ; }
|
|
|
|
[[ $CHOICE =~ $ISNUM ]] && ((CHOICE >= 1 && CHOICE <= ECOUNT)) && break
|
|
|
|
errout ">>> Invalid environment choice '$CHOICE'."
|
|
|
|
done
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
echo "Detected \"$BDESC\" | $MB ($BNUM)."
|
|
|
|
[[ $CHOICE > $ECOUNT ]] && { echo "Environment selection out of range." ; exit 1 ; }
|
|
|
|
fi
|
|
|
|
TARGET="${ENVS[$CHOICE-1]}"
|
|
|
|
echo "Selected $TARGET"
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "$TARGET" >"$STATE_FILE"
|
|
|
|
|
|
|
|
if ((AUTO_BUILD == 2)); then
|
|
|
|
echo "Uploading environment $TARGET for board $MB ($BNUM)..." ; echo
|
|
|
|
pio run $SILENT_FLAG -t upload -e $TARGET
|
|
|
|
else
|
|
|
|
echo "Building environment $TARGET for board $MB ($BNUM)..." ; echo
|
|
|
|
pio run $SILENT_FLAG -e $TARGET
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
# List available tests and ask for selection
|
|
|
|
#
|
|
|
|
|
|
|
|
if [[ $TESTENV == '-' ]]; then
|
|
|
|
IND=0
|
|
|
|
NAMES=()
|
|
|
|
MENU=()
|
|
|
|
BIGLEN=0
|
|
|
|
for FILE in $( ls -1 $TESTPATH/* | sort -f )
|
|
|
|
do
|
|
|
|
let IND++
|
|
|
|
TNAME=${FILE/$TESTPATH\//}
|
|
|
|
NAMES+=($TNAME)
|
|
|
|
IFS=""
|
|
|
|
ITEM=$( printf "%2i) %s" $IND $TNAME )
|
|
|
|
MENU+=($ITEM)
|
|
|
|
[[ ${#ITEM} -gt $BIGLEN ]] && BIGLEN=${#ITEM}
|
|
|
|
done
|
|
|
|
|
|
|
|
(( BIGLEN += 2 ))
|
|
|
|
THIRD=$(( (${#MENU[@]} + 2) / 3 ))
|
|
|
|
for ((i = 0; i < $THIRD; i++))
|
|
|
|
do
|
|
|
|
COL1=$i ; COL2=$(( $i + $THIRD )) ; COL3=$(( $i + 2 * $THIRD ))
|
|
|
|
FMT="%-${BIGLEN}s"
|
|
|
|
printf "${FMT}${FMT}${FMT}\n" ${MENU[$COL1]} ${MENU[$COL2]} ${MENU[$COL3]}
|
|
|
|
done
|
|
|
|
|
|
|
|
echo
|
|
|
|
for (( ; ; ))
|
|
|
|
do
|
|
|
|
if [[ $TESTNUM -gt 0 ]]; then
|
|
|
|
NAMEIND=$TESTNUM
|
|
|
|
else
|
|
|
|
read -p "Select a test to apply (1-$IND) : " NAMEIND
|
|
|
|
fi
|
|
|
|
[[ -z $NAMEIND ]] && { errout "(canceled)" ; exit 1 ; }
|
|
|
|
TESTENV=${NAMES[$NAMEIND-1]}
|
|
|
|
[[ $TESTNUM -gt 0 ]] && { echo "Preselected test $TESTNUM ... ($TESTENV)" ; TESTNUM='' ; }
|
|
|
|
[[ $NAMEIND =~ $ISNUM ]] && ((NAMEIND >= 1 && NAMEIND <= IND)) && { TESTENV=${NAMES[$NAMEIND-1]} ; echo ; break ; }
|
|
|
|
errout "Invalid selection."
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Get the contents of the test file
|
|
|
|
OUT=$( cat $TESTPATH/$TESTENV 2>/dev/null ) || { errout "Can't find test '$TESTENV'." ; exit 1 ; }
|
|
|
|
|
|
|
|
# Count up the number of tests
|
|
|
|
TESTCOUNT=$( awk "/$ISEXEC/{a++}END{print a}" <<<"$OUT" )
|
|
|
|
|
|
|
|
# User entered a number?
|
|
|
|
(( CHOICE && CHOICE > TESTCOUNT )) && { errout "Invalid test selection '$CHOICE' (1-$TESTCOUNT)." ; exit 1 ; }
|
|
|
|
|
|
|
|
if [[ $CHOICE == 0 ]]; then
|
|
|
|
#
|
|
|
|
# List test descriptions with numbers and get selection
|
|
|
|
#
|
|
|
|
echo "Available '$TESTENV' tests:" ; echo "$OUT" | {
|
|
|
|
IND=0
|
|
|
|
while IFS= read -r LINE
|
|
|
|
do
|
|
|
|
if [[ $LINE =~ $ISEXEC ]]; then
|
|
|
|
DESC=$( "$SED" -E 's/^exec_test \$1 \$2 "([^"]+)".*$/\1/g' <<<"$LINE" )
|
|
|
|
(( ++IND < 10 )) && echo -n " "
|
|
|
|
echo " $IND) $DESC"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
CHOICE=1
|
|
|
|
if [[ $TESTCOUNT > 1 ]]; then
|
|
|
|
for (( ; ; ))
|
|
|
|
do
|
|
|
|
read -p "Select a '$TESTENV' test (1-$TESTCOUNT) : " CHOICE
|
|
|
|
[[ -z "$CHOICE" ]] && { errout "(canceled)" ; exit 1 ; }
|
|
|
|
[[ $CHOICE =~ $ISNUM ]] && ((CHOICE >= 1 && CHOICE <= TESTCOUNT)) && break
|
|
|
|
errout ">>> Invalid test selection '$CHOICE'."
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
# Run the specified test lines
|
|
|
|
#
|
|
|
|
echo -ne "\033[0;33m"
|
|
|
|
echo "$OUT" | {
|
|
|
|
IND=0
|
|
|
|
GOTX=0
|
|
|
|
CMD=""
|
|
|
|
while IFS= read -r LINE
|
|
|
|
do
|
|
|
|
if [[ $LINE =~ $ISCMD || $GOTX == 1 ]]; then
|
|
|
|
((!IND)) && let IND++
|
|
|
|
if [[ $LINE =~ $ISEXEC ]]; then
|
|
|
|
((IND++ > CHOICE)) && break
|
|
|
|
else
|
|
|
|
((!HEADER)) && {
|
|
|
|
HEADER=1
|
|
|
|
echo -e "\n#\n# Test $TESTENV ($CHOICE) $DESC\n#"
|
|
|
|
}
|
|
|
|
((IND == CHOICE)) && {
|
|
|
|
GOTX=1
|
|
|
|
[[ $CMD == "" ]] && CMD="$LINE" || CMD=$( echo -e "$CMD$LINE" | $SED -e 's/\\//g' | $SED -E 's/ +/ /g' )
|
|
|
|
[[ $LINE =~ $ISCONT ]] || { echo "$CMD" ; eval "$CMD" ; CMD="" ; }
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|
|
|
|
echo -ne "\033[0m"
|
|
|
|
|
|
|
|
# Make clear it's a TEST
|
|
|
|
opt_set CUSTOM_MACHINE_NAME "\"Test $TESTENV ($CHOICE)\""
|
|
|
|
|
|
|
|
# Build the test too?
|
|
|
|
if [[ -z "$BUILD_YES" ]]; then
|
|
|
|
echo
|
|
|
|
read -p "Build $TESTENV test #$CHOICE (y/N) ? " BUILD_YES
|
|
|
|
fi
|
|
|
|
|
|
|
|
[[ $BUILD_YES == 'Y' || $BUILD_YES == 'Yes' ]] && {
|
|
|
|
((USE_MAKE)) && make tests-single-local TEST_TARGET=$TESTENV ONLY_TEST=$CHOICE
|
|
|
|
((USE_MAKE)) || pio run $SILENT_FLAG -d . -e $TESTENV
|
|
|
|
echo "$TESTENV" >"$STATE_FILE"
|
|
|
|
}
|