@@ -129,7 +129,7 @@ check_sketch_param_Serial() {
129
129
if [ -n " $_serialx " ]; then
130
130
echo " Sketch requires to enable all Serial" >> $LOG_FILE
131
131
echo " Sketch requires to enable all Serial"
132
- param=" $param ,Other_serial=enable_SerialAll "
132
+ param=" $param ,xserial=SerialAll "
133
133
fi
134
134
}
135
135
@@ -139,7 +139,7 @@ check_sketch_param_USB_HID() {
139
139
if [ -n " $_usb_hid " ]; then
140
140
echo " Sketch requires to enable USB HID" >> $LOG_FILE
141
141
echo " Sketch requires to enable USB HID"
142
- param=" $param ,USB_interface=enable_HID "
142
+ param=" $param ,usb=HID "
143
143
fi
144
144
}
145
145
@@ -212,7 +212,7 @@ build() {
212
212
local _param=$4
213
213
214
214
# ex: ./arduino --board STM32:stm32:Nucleo_144:Nucleo_144_board=NUCLEO_F429ZI --verify $INO_FILE >> $LOG_FILE 2>&1
215
- ./arduino --board STM32:stm32:${_pack} :board_part_num =${_target}${_param} --verify ${_sketch} >> $LOG_FILE 2>&1
215
+ ./arduino --board STM32:stm32:${_pack} :pnum =${_target}${_param} --verify ${_sketch} >> $LOG_FILE 2>&1
216
216
check_result $? $_target
217
217
}
218
218
269
269
fi
270
270
271
271
# Manage board
272
- board_list=(` grep -E " .+\.menu\.board_part_num \.[^\.]+=" $DEFAULT_BOARD_FILE | grep -i -E " $boards_pattern " | cut -d' =' -f1 | cut -d' .' -f1,4 | sort -t. -k1r,1r -k2` )
272
+ board_list=(` grep -E " .+\.menu\.pnum \.[^\.]+=" $DEFAULT_BOARD_FILE | grep -i -E " $boards_pattern " | cut -d' =' -f1 | cut -d' .' -f1,4 | sort -t. -k1r,1r -k2` )
273
273
TOTAL_BOARD=${# board_list[@]}
274
274
if [ $TOTAL_BOARD -ne 0 ]; then
275
275
echo " Number of board(s) to build: $TOTAL_BOARD "
0 commit comments