File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ function build(){
19
19
args+=" -fqbn $fqbn "
20
20
21
21
if [ " $OS_IS_LINUX " == " 1" ]; then
22
- args+=" $ARDUINO_ESP32_PATH /libraries"
23
- args+=" $chunk_index $chunks_cnt "
22
+ args+=" -p $ARDUINO_ESP32_PATH /libraries"
23
+ args+=" -i $chunk_index -m $chunks_cnt "
24
24
${BUILD_SKETCHES} ${args}
25
25
else
26
26
if [ " $OS_IS_WINDOWS " == " 1" ]; then
@@ -32,8 +32,7 @@ function build(){
32
32
fi
33
33
34
34
for sketch in ${sketches} ; do
35
- args+=" -s $sketch "
36
- ${BUILD_SKETCH} ${args}
35
+ ${BUILD_SKETCH} ${args} " -s $sketch "
37
36
done
38
37
fi
39
38
}
Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
114
114
fqbn+=$opts
115
115
fqbn=" [\" $fqbn \" ]"
116
116
fi
117
+ else
118
+ # An FQBN was passed. Make it look like a JSON array.
119
+
120
+ len=1
121
+ fqbn=" [\" $fqbn \" ]"
117
122
fi
118
123
119
124
if [ -z " $fqbn " ]; then
You can’t perform that action at this time.
0 commit comments