comparison BSDmakefile @ 20:35cf31794a42

Fix debug & load targets for BMP.
author Daniel O'Connor <darius@dons.net.au>
date Wed, 14 Nov 2012 12:47:10 +1030
parents afdd22502c2a
children 5c9d2e3d6591
comparison
equal deleted inserted replaced
19:d078651f5353 20:35cf31794a42
66 66
67 .PATH: ${PERIPHDIR}/src 67 .PATH: ${PERIPHDIR}/src
68 .PATH: ${COREDIR} 68 .PATH: ${COREDIR}
69 .PATH: ${SYSDIR} 69 .PATH: ${SYSDIR}
70 70
71 debug: 71 DBGPORT= /dev/cu.usbmodemfa1421
72 ${GDB} --eval-command="target remote 127.0.0.1:61234" ${PROG}.elf
73
74 load:
75 ${GDB} --eval-command="target remote 127.0.0.1:61234" --eval-command "load" ${PROG}.elf
76
77 png2bin: png2bin.c
78 gcc ${.CURDIR}/png2bin.c -o ${.OBJDIR}/png2bin -O2 -Wall -I/opt/local/include -L/opt/local/lib -lpng
79 72
80 .include "${.CURDIR}/BSDmakefile.arm" 73 .include "${.CURDIR}/BSDmakefile.arm"