File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -606,6 +606,26 @@ make -j8 build_args='-DHW_SOURCE=\"hw_ubox_single.c\" -DHW_HEADER=\"hw_ubox_sing
606
606
cd $DIR
607
607
cp $FWPATH /build/BLDC_4_ChibiOS.bin $COPYDIR /VESC_default.bin
608
608
609
+ # ################### HW 100_500 ########################
610
+
611
+ COPYDIR=100_500
612
+ mkdir -p $COPYDIR
613
+ rm -f $COPYDIR /*
614
+
615
+ # default
616
+ cd $FWPATH
617
+ touch conf_general.h
618
+ make -j8 build_args=' -DHW_SOURCE=\"hw_100_500.c\" -DHW_HEADER=\"hw_100_500.h\"' USE_VERBOSE_COMPILE=no
619
+ cd $DIR
620
+ cp $FWPATH /build/BLDC_4_ChibiOS.bin $COPYDIR /VESC_default.bin
621
+
622
+ # default with HW limits disabled
623
+ cd $FWPATH
624
+ touch conf_general.h
625
+ make -j8 build_args=' -DDISABLE_HW_LIMITS -DHW_SOURCE=\"hw_100_500.c\" -DHW_HEADER=\"hw_100_500.h\"' USE_VERBOSE_COMPILE=no
626
+ cd $DIR
627
+ cp $FWPATH /build/BLDC_4_ChibiOS.bin $COPYDIR /VESC_default_no_hw_limits.bin
628
+
609
629
# Clean
610
630
cd $FWPATH
611
631
make clean
You can’t perform that action at this time.
0 commit comments