aboutsummaryrefslogtreecommitdiffstats
path: root/copy-to-ide
blob: 5585ed93520e38c123b319addac3eb7d891bc824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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