diff options
-rw-r--r-- | TODO | 4 | ||||
-rwxr-xr-x | support/scripts/copy-to-ide | 16 |
2 files changed, 11 insertions, 9 deletions
@@ -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." |