commit | 2d18f171c2eb59ee372bf4e65b05f65ebd80abf7 | [log] [tgz] |
---|---|---|
author | Christina Quast <chrysh.ng+git@gmail.com> | Sat Nov 22 19:48:48 2014 +0100 |
committer | Christina Quast <chrysh.ng+git@gmail.com> | Sat Nov 22 19:48:48 2014 +0100 |
tree | b1729ed69e1838760d0117bb142fd2b889d9a50b |
minimal testprog (not working)
diff --git a/minimal/Makefile b/minimal/Makefile new file mode 100644 index 0000000..18c1589 --- /dev/null +++ b/minimal/Makefile
@@ -0,0 +1,7 @@ + + +default: + arm-none-eabi-gcc -c -mcpu=cortex-m3 -mthumb -g test.c -o test.o + arm-none-eabi-ld -T test.ld test.o startup.o pio.o pmc.o -o test.elf + arm-none-eabi-as -mcpu=cortex-m3 -g startup.s -o startup.o + arm-none-eabi-objcopy -O binary test.elf test.bin