.
Dependencies: mbed EthernetInterface mbed-rtos
Fork of Bootloader_K64F by
main.cpp@7:4ab0430d06e3, 2016-04-23 (annotated)
- Committer:
- Sissors
- Date:
- Sat Apr 23 15:10:04 2016 +0000
- Revision:
- 7:4ab0430d06e3
- Parent:
- 4:8d109a566486
- Child:
- 8:00cefe0d59ed
Serial bootloader functional.
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 | 7:4ab0430d06e3 | 6 | printf("\r\nThis is a test!\r\n"); |
Sissors | 7:4ab0430d06e3 | 7 | |
Sissors | 7:4ab0430d06e3 | 8 | wait(2); |
Sissors | 7:4ab0430d06e3 | 9 | write_flash(); |
Sissors | 1:782a3ddc329e | 10 | while(1); |
Sissors | 1:782a3ddc329e | 11 | } |
Sissors | 7:4ab0430d06e3 | 12 | |
Sissors | 7:4ab0430d06e3 | 13 |