7 years, 8 months ago.

Problems with export to GCC arm embedded

I'm attempting to export to GCC arm embedded. (select program in Program Workspace, click Export, select target and Toolchain)

Sometimes it works OK, but on most attempts I get the response that has been reported here before, "waiting for mbed . ." then back to "Ready" without any file being downloaded.

Am I doing something wrong?

2 Answers

7 years, 8 months ago.

My experience is that exporting to System Workbench (gcc based) from the online compiler, currently works in that it completes, but produces a project that is nearly empty. No mbed os source files, just a pointer to a git repo to download them. There are also no include paths in the project, the project was not pointing to the linker script, and some of the project settings (especially linker options and fpu) are wrong.

Have you tried using the mbed-cli to make a new project, download the mbed-os files, and export to gcc? I tried this, it wasn't perfect but had more complete project information than exporting from online. Should be able to keep mbed-os files up to date as well using the command mbed update master.

Here are the mbed-cli instructions: https://docs.mbed.com/docs/mbed-os-handbook/en/5.1/dev_tools/cli/

7 years, 8 months ago.

Hi

what is the target and mbed lib in your project? I just tested using latest mbed lib, KL25Z and frdm_gpio demo - exported to gcc_arm, built locally, build without errors

Target is nRF51-DK and lib mbed-dev

posted by Andrew Holmes 22 Aug 2016

Try please latest mbed lib (revision 124) , if that works?

posted by Martin Kojtal 22 Aug 2016

If I select mbed-dev, then Revisions, it looks like it's currently on 144. 124 is dated 09 May. Is that the one you're referring to?

posted by Andrew Holmes 23 Aug 2016