diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-03-13 02:54:24 -0500 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-03-13 02:54:24 -0500 |
commit | 8be3c78e0ad7a36ce6beaffcf3ec755861f23ca0 (patch) | |
tree | c7fd082c7aee97eaca32558115d20c784ed63951 /copy-to-ide | |
parent | 9a0efba240f4848994e292adda7b5d1d4c78931b (diff) | |
download | librambutan-8be3c78e0ad7a36ce6beaffcf3ec755861f23ca0.tar.gz librambutan-8be3c78e0ad7a36ce6beaffcf3ec755861f23ca0.zip |
actual files needed for IDE get copied
Diffstat (limited to 'copy-to-ide')
-rwxr-xr-x | copy-to-ide | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/copy-to-ide b/copy-to-ide index 5585ed9..cb36b0d 100755 --- a/copy-to-ide +++ b/copy-to-ide @@ -9,12 +9,39 @@ DEST=`pwd`/../maple-ide/hardware/leaflabs/cores/maple/ ARCH=`uname -a` FILES=" + stm32lib/inc/cortexm3_macro.h 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 + stm32lib/inc/stm32f10x_adc.h + stm32lib/inc/stm32f10x_fsmc.h + stm32lib/inc/stm32f10x_dac.h + stm32lib/inc/stm32f10x_rtc.h + stm32lib/inc/stm32f10x_spi.h + stm32lib/inc/stm32f10x_pwr.h + stm32lib/inc/stm32f10x_iwdg.h + stm32lib/inc/stm32f10x_exti.h + stm32lib/inc/stm32f10x_bkp.h + stm32lib/inc/stm32f10x_i2c.h + stm32lib/inc/stm32f10x_dma.h + stm32lib/inc/stm32f10x_gpio.h + stm32lib/inc/stm32f10x_nvic.h + stm32lib/inc/stm32f10x_wwdg.h + stm32lib/inc/stm32f10x_lib.h + stm32lib/inc/stm32f10x_type.h + stm32lib/inc/stm32f10x_usart.h + stm32lib/inc/stm32f10x_tim.h + stm32lib/inc/stm32f10x_can.h + stm32lib/inc/stm32f10x_sdio.h + stm32lib/inc/stm32f10x_flash.h + stm32lib/inc/stm32f10x_dbgmcu.h + stm32lib/inc/stm32f10x_systick.h + stm32lib/inc/stm32f10x_crc.h + stm32lib/inc/stm32f10x_rcc.h + stm32lib/inc/stm32f10x_map.h lib/systick.c lib/timers.c lib/adc.c @@ -65,6 +92,17 @@ FILES=" wiring/comm/HardwareUsb.cpp main.cxx" +# First see if this folder exists +if !(test -d $DEST/lanchon-stm32) +then + mkdir $DEST/lanchon-stm32 +fi + +# Then copy over linker files +cp -v stm32conf/* $DEST +cp -v stm32conf/lanchon-stm32/* $DEST/lanchon-stm32 + +# Finally the source files cd src cp -v $FILES $DEST |