2 years, 12 months ago.

Error when exporting for Nucleo F767ZI from developer.mbed.org/compiler


I'm trying to export a simple Nucleo F767ZI project with GCC (ARM Embedded) toolchain, and I get an error.

The project is the unmodified blinky example for Nucleo F767ZI. Compiling it online produces a .bin file without error as expected. 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.

I've published the project here: https://developer.mbed.org/users/yp/code/NucleoF767-mbed-os-example-blinky/

I'm trying to know which gcc flags are used for the Nucleo F767.



1 Answer

2 years, 12 months ago.


Thanks for getting in touch and sorry for the issues you are having.

What i can suggest is that you look at using our offline build option mbed-cli: https://github.com/ARMmbed/mbed-cli https://www.youtube.com/watch?v=PI1Kq9RSN_Y

Here you are able to import all your code from the online IDE and create new repositories, compile the same and also export to IDE all offline :)

Once you are all installed the commands we shall use are:

* $ mbed import https://developer.mbed.org/users/yp/code/NucleoF767-mbed-os-example-blinky/
* $ cd NucleoF767-mbed-os-example-blinky
* $ mbed deploy
* $ mbed compile -t GCC_ARM -m NUCLEO_F767ZI 

The compiled binary is then located in the "BUILD" folder in the root directory of "NucleoF767-mbed-os-example-blinky"

If you need any help, let me know :)

Best Regards,

Andrea, team mbed

Thanks, Andrea. It was more to let you know about the issue. I already use the mbed library distribution ("mbed 2") to successfully compile offline with my own handmade makefile, and I just wanted to compare the gcc flags. I can wait until the export feature in the online compiler is supported for the Nucleo F767. Edit: actually that's fixed now. Thanks!

posted by Y P 04 Mar 2017