File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ SED=$(which gsed sed | head -n1)
9
9
shift
10
10
while [[ $# > 1 ]]; do
11
11
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)
14
15
shift 2
15
16
done
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Marlin Firmware Commands:
8
8
9
9
firstpush ... Push and set-upstream the current branch to 'origin'
10
10
ghpc ........ Push the current branch to its upstream branch
11
- ghtp ........ Set the transfer protolcol for all your remotes
11
+ ghtp ........ Set the transfer protocol for all your remotes
12
12
mfadd ....... Fetch a remote branch from any Marlin fork
13
13
mfclean ..... Attempt to clean up merged and deleted branches
14
14
mfdoc ....... Build the website, serve locally, and browse
@@ -25,4 +25,22 @@ Marlin Firmware Commands:
25
25
26
26
Enter [command] --help for more information.
27
27
28
+ Build / Test Commands:
29
+
30
+ mftest ............... Run a platform test locally with PlatformIO
31
+ build_all_examples ... Build all configurations of a branch, stop on error
32
+
33
+ Modify Configuration.h / Configuration_adv.h:
34
+
35
+ opt_add .............. Add a configuration option (to the top of Configuration.h)
36
+ opt_disable .......... Disable a configuration option (modifies )
37
+ opt_enable ........... Enable a configuration option
38
+ opt_set .............. Set the value of a configuration option
39
+ use_example_configs .. Download configs from a remote branch on GitHub
40
+
41
+ Modify pins files:
42
+
43
+ pins_set ............. Set the value of a pin in a pins file
44
+ pinsformat.js ........ Node.js script to format pins files
45
+
28
46
THIS
You canβt perform that action at this time.
0 commit comments