.
Dependencies: mbed EthernetInterface mbed-rtos
Fork of Bootloader_K64F by
main.cpp@8:00cefe0d59ed, 2016-04-23 (annotated)
- Committer:
- Sissors
- Date:
- Sat Apr 23 18:24:07 2016 +0000
- Revision:
- 8:00cefe0d59ed
- Parent:
- 7:4ab0430d06e3
- Child:
- 9:56ed3a56ecc3
Basic functionality works over HTTP!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Sissors | 0:9396d3376435 | 1 | #include "mbed.h" |
Sissors | 7:4ab0430d06e3 | 2 | #include "bootloader.h" |
Sissors | 1:782a3ddc329e | 3 | |
Sissors | 1:782a3ddc329e | 4 | int main() |
Sissors | 7:4ab0430d06e3 | 5 | { |
Sissors | 8:00cefe0d59ed | 6 | |
Sissors | 8:00cefe0d59ed | 7 | printf("\r\nTestrun!\r\n"); |
Sissors | 8:00cefe0d59ed | 8 | printf("Press any key to continue\r\n"); |
Sissors | 8:00cefe0d59ed | 9 | getchar(); |
Sissors | 8:00cefe0d59ed | 10 | printf("Starting bootloader\r\n"); |
Sissors | 8:00cefe0d59ed | 11 | wait(1); |
Sissors | 7:4ab0430d06e3 | 12 | write_flash(); |
Sissors | 1:782a3ddc329e | 13 | while(1); |
Sissors | 1:782a3ddc329e | 14 | } |
Sissors | 7:4ab0430d06e3 | 15 | |
Sissors | 7:4ab0430d06e3 | 16 |