Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 1276 → Rev 1277

/trunk/apps/misc/usb_midi_2x2/release.sh
New file
0,0 → 1,48
# $Id$
 
if [[ "$1" == "" ]]; then
echo "SYNTAX: release.sh <release-directory>"
exit 1
fi
 
RELEASE_DIR=$1
 
if [[ -e $RELEASE_DIR ]]; then
echo "ERROR: the release directory '$RELEASE_DIR' already exists!"
exit 1
fi
 
###############################################################################
echo "Creating $RELEASE_DIR"
 
mkdir $RELEASE_DIR
cp README.txt $RELEASE_DIR
#cp CHANGELOG.txt $RELEASE_DIR
 
###############################################################################
echo "Building for MBHP_CORE_STM32"
 
make cleanall
export MIOS32_FAMILY=STM32F10x
export MIOS32_PROCESSOR=STM32F103RE
export MIOS32_BOARD=MBHP_CORE_STM32
export MIOS32_LCD=clcd
mkdir -p $RELEASE_DIR/MBHP_CORE_STM32
make > $RELEASE_DIR/MBHP_CORE_STM32/log.txt
cp project.hex $RELEASE_DIR/MBHP_CORE_STM32
 
###############################################################################
echo "Building for MBHP_CORE_LPC17"
 
make cleanall
export MIOS32_FAMILY=LPC17xx
export MIOS32_PROCESSOR=LPC1769
export MIOS32_BOARD=MBHP_CORE_LPC17
export MIOS32_LCD=clcd
mkdir -p $RELEASE_DIR/MBHP_CORE_LPC17
make > $RELEASE_DIR/MBHP_CORE_LPC17/log.txt
cp project.hex $RELEASE_DIR/MBHP_CORE_LPC17
 
###############################################################################
make cleanall
echo "Done!"
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property