mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
commit
4931ea7d95
@ -40,7 +40,7 @@ boot_23xx.c boot_23xx.h: src/boot_23xx.armasm mkbootc
|
||||
arm-none-eabi-objdump -d obj/boot_23xx.armobj | ./mkbootc boot_23xx
|
||||
|
||||
clean:
|
||||
rm -f bin/lpc2k_pgm cksum_test obj/*.o core core.* obj/*.armobj bin/pseudoterm
|
||||
rm -f bin/lpc2k_pgm cksum_test obj/*.o obj/*.d core core.* obj/*.armobj bin/pseudoterm
|
||||
|
||||
install:
|
||||
install -m 0755 bin/lpc2k_pgm $(prefix)/bin
|
||||
|
||||
2
boards/msba2-common/tools/obj/.gitignore
vendored
Normal file
2
boards/msba2-common/tools/obj/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.o
|
||||
*.d
|
||||
@ -1,3 +0,0 @@
|
||||
obj/boot_23xx.d: src/boot_23xx.c src/boot_23xx.h
|
||||
|
||||
src/boot_23xx.h:
|
||||
@ -1,3 +0,0 @@
|
||||
obj/boot_2xxx.d: src/boot_2xxx.c src/boot_2xxx.h
|
||||
|
||||
src/boot_2xxx.h:
|
||||
@ -1,8 +0,0 @@
|
||||
obj/chipinfo.d: src/chipinfo.c src/chipinfo.h src/boot_2xxx.h \
|
||||
src/boot_23xx.h
|
||||
|
||||
src/chipinfo.h:
|
||||
|
||||
src/boot_2xxx.h:
|
||||
|
||||
src/boot_23xx.h:
|
||||
@ -1,5 +0,0 @@
|
||||
obj/control_2xxx.d: src/control_2xxx.c src/control_2xxx.h src/serial.h
|
||||
|
||||
src/control_2xxx.h:
|
||||
|
||||
src/serial.h:
|
||||
@ -1,19 +0,0 @@
|
||||
obj/download.d: src/download.c src/lpc2k_pgm.h src/download.h \
|
||||
src/serial.h src/ihex.h src/uuencode.h src/chipinfo.h src/boot.h \
|
||||
src/control_2xxx.h
|
||||
|
||||
src/lpc2k_pgm.h:
|
||||
|
||||
src/download.h:
|
||||
|
||||
src/serial.h:
|
||||
|
||||
src/ihex.h:
|
||||
|
||||
src/uuencode.h:
|
||||
|
||||
src/chipinfo.h:
|
||||
|
||||
src/boot.h:
|
||||
|
||||
src/control_2xxx.h:
|
||||
@ -1,3 +0,0 @@
|
||||
obj/ihex.d: src/ihex.c src/ihex.h
|
||||
|
||||
src/ihex.h:
|
||||
@ -1,8 +0,0 @@
|
||||
obj/lpc2k_pgm.d: src/lpc2k_pgm.c src/lpc2k_pgm.h src/serial.h \
|
||||
src/download.h
|
||||
|
||||
src/lpc2k_pgm.h:
|
||||
|
||||
src/serial.h:
|
||||
|
||||
src/download.h:
|
||||
@ -1,5 +0,0 @@
|
||||
obj/pseudoterm.d: src/pseudoterm.c src/serial.h src/download.h
|
||||
|
||||
src/serial.h:
|
||||
|
||||
src/download.h:
|
||||
@ -1,3 +0,0 @@
|
||||
obj/serial.d: src/serial.c src/serial.h
|
||||
|
||||
src/serial.h:
|
||||
@ -1,3 +0,0 @@
|
||||
obj/uuencode.d: src/uuencode.c src/uuencode.h
|
||||
|
||||
src/uuencode.h:
|
||||
@ -47,11 +47,13 @@
|
||||
#include "download.h"
|
||||
|
||||
int programming_done = 0;
|
||||
int programming_status = 0;
|
||||
|
||||
int done_program(int i)
|
||||
{
|
||||
printf("Programming done.\n");
|
||||
programming_done = 1;
|
||||
programming_status = i;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -96,6 +98,6 @@ int main(int argc, char **argv)
|
||||
|
||||
close_serial_port();
|
||||
|
||||
return 0;
|
||||
return programming_status;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user