Added "CQ STARM" target.

This commit is contained in:
NIIBE Yutaka
2010-10-20 10:14:03 +09:00
parent 670f648d5c
commit 04f8bdf625
6 changed files with 320 additions and 1 deletions

15
src/configure vendored
View File

@@ -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"