finish deploy code

This commit is contained in:
Pavol Rusnak 2011-04-02 01:46:56 +02:00
parent 8b871d5d47
commit 1b0e861f3e
2 changed files with 11 additions and 0 deletions

View file

@ -17,3 +17,10 @@ obj/edubrm.bin: obj/edubrm.axf
clean:
rm -f obj/*.o obj/edubrm.{axf,bin,map}
deploy:
dfu-util -d 0471:df55 -c 0 -t 2048 -R -D /opt/LPCXpresso/bin/LPCXpressoWIN.enc || :
sleep 1
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -info-target
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -flash-erase
crt_emu_lpc11_13_nxp -g -2 -pLPC1343 -wire=winusb -flash-load=obj/edubrm.axf

4
firmware/obj/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.o
edubrm.axf
edubrm.bin
edubrm.map