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 --- TODO | 4 +--- support/scripts/copy-to-ide | 16 ++++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index 31d8419..41e0d99 100644 --- a/TODO +++ b/TODO @@ -1,17 +1,15 @@ Quick TODO -------------------------------------------------------------------- -- cleanup core/comm usb stuff +- update README with new heir - write language unit test - more maple-specific example programs - write gnu-toolchain howto -- rewrite linker scripts and loader code Peripherals ------------------------------------------------------------------- - complete timers and interrupt stuff - I2C wrap up - SPI wrap up -- EEPROM emulation with flash Arduino Library functions to port (these are LGPL) ---------------------------- 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