Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 7 months ago.
Export project to GCC (arm embedded)
I can't select GCC(arm embedded) when attempting to export my C027 project. Is this a bug or a deficiency?
1 Answer
7 years, 7 months ago.
Hi Neil,
Thanks for getting in touch, at this moment there are issues with exporting from the online-IDE which is why you seeing the errors, this is being worked on but until then i can suggest using our offline build option mbed-cli.
This will allow you to everything in the online-IDE import libraries, compile etc and even export to the needed toolchain.
It is located here. https://github.com/ARMmbed/mbed-cli
After installing CLI The commands would look something like this to download a blinky example using lpc1768.
- $ cd "TO DESIRED DIRECTORY"
- $ mbed import https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-blinky/
- $ cd "TO NEW CREATED FOLDER"
- $ mbed deploy
- $ mbed compile -t GCC_ARM -m lpc1768
You have now compiled the program, to export follow below
- $ mbed export -i uvision5 -m lpc1768
If you need anything else, let me know
Regards,
Andrea, team mbed
so why was it broken in the first place? i need to export a project so i can compile locally like i have always done. Also noticed that NO export just the files to zip and none of the exports provide a makefile they are all commercial app project files. The only two exports that might be useful to me gcc codesourcery and cmis and neither work. why was a broken system deployed in the first place??? and how can we go back to the working system?
posted by 17 May 2017