Code to load a LPC1114 over tx/rx. I have only tested with a 1114 chip but it should work with other LPC uControllers
Dependencies: DirectoryList MODSERIAL mbed
Fork of ika_shouyu_poppoyaki by
Diff: main.cpp
- Revision:
- 3:3c380e643e74
- Parent:
- 2:8d75eb0ecd20
- Child:
- 4:55f1977bd11a
--- a/main.cpp Sat Aug 24 14:41:38 2013 +0000 +++ b/main.cpp Sat Aug 24 15:06:33 2013 +0000 @@ -19,6 +19,9 @@ void put_string( char *s ); void get_string( char *s ); +#pragma diag_suppress 1293 + + void print_command( char *command ) { char s[ STR_BUFF_SIZE ]; @@ -273,7 +276,7 @@ char c; static int i = 0; - while ( (c = *s++) ) { + while ( c = *s++ ) { target.putc( c ); leds = i++ & 0x1; }