Unmodified blinky example for Nucleo F767ZI. When exporting the project with Export Target: NUCLEO-F767ZI, Export Toolchain: GCC (ARM Embedded), Export All Files: any, an alert is displayed: "An error occured during export. Please contact support." No file is downloaded.
main.cpp@0:e75f32a698b8, 2017-02-23 (annotated)
- Committer:
- yp
- Date:
- Thu Feb 23 15:15:49 2017 +0000
- Revision:
- 0:e75f32a698b8
Export to gcc error
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yp | 0:e75f32a698b8 | 1 | #include "mbed.h" |
yp | 0:e75f32a698b8 | 2 | |
yp | 0:e75f32a698b8 | 3 | DigitalOut led1(LED1); |
yp | 0:e75f32a698b8 | 4 | |
yp | 0:e75f32a698b8 | 5 | // main() runs in its own thread in the OS |
yp | 0:e75f32a698b8 | 6 | // (note the calls to wait below for delays) |
yp | 0:e75f32a698b8 | 7 | int main() { |
yp | 0:e75f32a698b8 | 8 | while (true) { |
yp | 0:e75f32a698b8 | 9 | led1 = !led1; |
yp | 0:e75f32a698b8 | 10 | wait(0.5); |
yp | 0:e75f32a698b8 | 11 | } |
yp | 0:e75f32a698b8 | 12 | } |
yp | 0:e75f32a698b8 | 13 |