-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmake-ccversions
More file actions
34 lines (30 loc) · 954 Bytes
/
make-ccversions
File metadata and controls
34 lines (30 loc) · 954 Bytes
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
#
# Compile a couple of Optiboot variations using several different compilers
#
# A list of compilers that are available.
# This is, um, 4.3.3, 4.6.2, 4.8.1, 4.9.2, and 5.4.0
#
COMPS='
/usr/local/CrossPack-AVR-20100115/bin/
/usr/local/CrossPack-AVR-20121207/bin/
/usr/local/CrossPack-AVR-48/bin/
/usr/local/avr8-atmel-20160624/bin/
/usr/local/avr8-Atmel-3.6.0.487/bin/
'
for c in $COMPS; do
# Pretty print for readability
echo
echo
echo ===========================================================
echo Using compiler in $c
$c/avr-gcc --version | head -1
echo ===========================================================
echo --------------- make GCCROOT=$c atmega328
make GCCROOT=$c atmega328
echo --------------- make GCCROOT=$c atmega1284
make GCCROOT=$c atmega1284
echo --------------- make GCCROOT=$c luminet
make GCCROOT=$c luminet
echo --------------- make GCCROOT=$c mega1280
make GCCROOT=$c mega1280
done