Subversion Repositories svn.mios32

Rev

Rev 1953 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1953 Rev 2427
Line 18... Line 18...
18
mkdir $RELEASE_DIR
18
mkdir $RELEASE_DIR
19
cp README.txt $RELEASE_DIR
19
cp README.txt $RELEASE_DIR
20
#cp CHANGELOG.txt $RELEASE_DIR
20
#cp CHANGELOG.txt $RELEASE_DIR
21
21
22
###############################################################################
22
###############################################################################
-
 
23
configs=( stm32f1 lpc17 stm32f4 )
-
 
24
for i in "${configs[@]}"; do
23
echo "Building for MBHP_CORE_STM32"
25
  echo "Building for $i"
24
-
 
-
 
26
  source ../../../../source_me_${i}
25
make cleanall
27
  make cleanall
26
export MIOS32_FAMILY=STM32F10x
-
 
27
export MIOS32_PROCESSOR=STM32F103RE
-
 
28
export MIOS32_BOARD=MBHP_CORE_STM32
-
 
29
export MIOS32_LCD=universal
-
 
30
mkdir -p $RELEASE_DIR/$MIOS32_BOARD
28
  mkdir -p $RELEASE_DIR/$MIOS32_BOARD
31
make > $RELEASE_DIR/$MIOS32_BOARD/log.txt
29
  make > $RELEASE_DIR/$MIOS32_BOARD/log.txt || exit 1
32
cp project.hex $RELEASE_DIR/$MIOS32_BOARD
-
 
33
-
 
34
###############################################################################
-
 
35
echo "Building for MBHP_CORE_LPC17"
-
 
36
-
 
37
make cleanall
-
 
38
export MIOS32_FAMILY=LPC17xx
-
 
39
export MIOS32_PROCESSOR=LPC1769
-
 
40
export MIOS32_BOARD=MBHP_CORE_LPC17
-
 
41
export MIOS32_LCD=universal
-
 
42
mkdir -p $RELEASE_DIR/$MIOS32_BOARD
-
 
43
make > $RELEASE_DIR/$MIOS32_BOARD/log.txt
-
 
44
cp project.hex $RELEASE_DIR/$MIOS32_BOARD
-
 
45
-
 
46
###############################################################################
-
 
47
echo "Building for MBHP_CORE_STM32F4"
-
 
48
-
 
49
make cleanall
-
 
50
export MIOS32_FAMILY=STM32F4xx
-
 
51
export MIOS32_PROCESSOR=STM32F407VG
-
 
52
export MIOS32_BOARD=MBHP_CORE_STM32F4
-
 
53
export MIOS32_LCD=universal
-
 
54
mkdir -p $RELEASE_DIR/$MIOS32_BOARD
-
 
55
make > $RELEASE_DIR/$MIOS32_BOARD/log.txt
-
 
56
cp project.hex $RELEASE_DIR/$MIOS32_BOARD
30
  cp project.hex $RELEASE_DIR/$MIOS32_BOARD
-
 
31
done
57
32
58
###############################################################################
33
###############################################################################
59
make cleanall
34
make cleanall
60
echo "Done!"
35
echo "Done!"