aboutsummaryrefslogtreecommitdiffstats
path: root/copy-to-ide
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-03-12 12:25:30 -0500
committerbnewbold <bnewbold@robocracy.org>2010-03-12 12:25:30 -0500
commit9a0efba240f4848994e292adda7b5d1d4c78931b (patch)
treedb5b414603cc7e1291cf5e91b9f765cdc5edbef0 /copy-to-ide
parent254f10ffb242ab2af76000952a2bef4b1d7e0966 (diff)
downloadlibrambutan-9a0efba240f4848994e292adda7b5d1d4c78931b.tar.gz
librambutan-9a0efba240f4848994e292adda7b5d1d4c78931b.zip
script to copy src files to IDE; renamed README
Diffstat (limited to 'copy-to-ide')
-rwxr-xr-xcopy-to-ide70
1 files changed, 70 insertions, 0 deletions
diff --git a/copy-to-ide b/copy-to-ide
new file mode 100755
index 0000000..5585ed9
--- /dev/null
+++ b/copy-to-ide
@@ -0,0 +1,70 @@
+#!/bin/sh
+
+# This hackish script copies the necessary library files into the Maple IDE
+# repository.
+
+# Change this
+DEST=`pwd`/../maple-ide/hardware/leaflabs/cores/maple/
+
+ARCH=`uname -a`
+
+FILES="
+ stm32lib/src/stm32f10x_flash.c
+ stm32lib/src/stm32f10x_nvic.c
+ stm32lib/src/stm32f10x_rcc.c
+ stm32lib/inc/stm32f10x_nvic.h
+ stm32lib/inc/stm32f10x_rcc.h
+ stm32lib/inc/stm32f10x_flash.h
+ lib/systick.c
+ lib/timers.c
+ lib/adc.c
+ lib/syscalls.c
+ lib/stm32f10x_it.c
+ lib/exti.c
+ lib/gpio.c
+ lib/nvic.c
+ lib/usart.c
+ lib/util.c
+ lib/usb.h
+ lib/usb.c
+ lib/timers.h
+ lib/gpio.h
+ lib/nvic.h
+ lib/systick.h
+ lib/util.h
+ lib/adc.h
+ lib/usb_regs.h
+ lib/exti.h
+ lib/usart.h
+ lib/stm32f10x_conf.h
+ lib/bootVect.h
+ lib/libmaple.h
+ lib/libmaple_types.h
+ wiring/bits.h
+ wiring/comm/HardwareUsb.h
+ wiring/comm/HardwareSerial.h
+ wiring/io.h
+ wiring/wiring.h
+ wiring/WProgram.h
+ wiring/Print.h
+ wiring/pwm.h
+ wiring/binary.h
+ wiring/wiring_math.h
+ wiring/ext_interrupts.h
+ wiring/time.h
+ wiring/wiring.c
+ wiring/wiring_shift.c
+ wiring/wiring_analog.c
+ wiring/time.c
+ wiring/pwm.c
+ wiring/ext_interrupts.c
+ wiring/wiring_digital.c
+ wiring/wiring_math.cpp
+ wiring/Print.cpp
+ wiring/comm/HardwareSerial.cpp
+ wiring/comm/HardwareUsb.cpp
+ main.cxx"
+
+cd src
+cp -v $FILES $DEST
+