From 3b11433f360c62419df9c4bf61bcaf1b69d06ec7 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 31 May 2010 19:02:00 -0400 Subject: updated TODO, copy-to-ide --- support/scripts/copy-to-ide | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'support/scripts/copy-to-ide') diff --git a/support/scripts/copy-to-ide b/support/scripts/copy-to-ide index 2af1620..571936e 100755 --- a/support/scripts/copy-to-ide +++ b/support/scripts/copy-to-ide @@ -20,7 +20,13 @@ FILES="LICENSE ./wirish/main.cxx ./wirish/*.cpp ./wirish/comm/*.cpp - ./wirish/comm/*.h" + ./wirish/comm/*.h + ./support/ld/flash.ld + ./support/ld/ram.ld + ./support/ld/jtag.ld + ./support/ld/libcs3-lanchon-stm32.a + ./support/ld/names.inc" + echo "First make sure DEST exists: $DEST" if !(test -d $DEST/lanchon-stm32) @@ -28,11 +34,9 @@ then mkdir $DEST/lanchon-stm32 fi -echo "Then copy over linker files..." -cp stm32conf/* $DEST -cp stm32conf/lanchon-stm32/* $DEST/lanchon-stm32 +echo "Then delete the old files..." +rm $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.ld $DEST/*.inc $DEST/*.a -echo "Finally delete the old and copy the new source files!" -rm $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx +echo "Finally copy the new source files!" cp $FILES $DEST echo "Done." -- cgit v1.2.3