Added "CQ STARM" target.
This commit is contained in:
15
src/configure
vendored
15
src/configure
vendored
@@ -23,7 +23,7 @@
|
||||
help=no
|
||||
target=OLIMEX_STM32_H103
|
||||
verbose=no
|
||||
with_dfu=no
|
||||
with_dfu=default
|
||||
debug=no
|
||||
|
||||
# Process each option
|
||||
@@ -68,6 +68,7 @@ Configuration:
|
||||
supported targes are:
|
||||
OLIMEX_STM32_H103
|
||||
STM32_PRIMER2
|
||||
CQ_STARM
|
||||
--enable-debug debug with virtual COM port [no]
|
||||
--with-dfu build image for DFU [<target specific>]
|
||||
EOF
|
||||
@@ -82,6 +83,18 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# --with-dfu option
|
||||
case $target in
|
||||
CQ_STARM)
|
||||
if test "$with_dfu" = "default"; then
|
||||
with_dfu=yes;
|
||||
fi ;;
|
||||
*)
|
||||
if test "$with_dfu" = "default"; then
|
||||
with_dfu=no;
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
if test "$debug" = "yes"; then
|
||||
DEBUG_MAKE_OPTION="ENABLE_DEBUG=1"
|
||||
DEBUG_DEFINE="#define DEBUG 1"
|
||||
|
||||
Reference in New Issue
Block a user