11 years, 3 months ago.

How to get object files from mbed development platform?

How can I to download or export the object files of a project from the mbed cloud to the local system?

Cause: In a local environment I cannot successfully compile a project which contains "EthernetInterface" and "mbed-rtos".

Problems are some include files from these, which cause undefined labels. I tried several changes in the code and Makefile, but failed to compile the complete project. Tested with targets "Sourcery" and "GCC ARM", LPC1768.

A project having only "mbed" and "SDFileSystem" compiles fine.

Alternatively and even preferred would be two libraries with "EthernetInterface" and "mbed-rtos". Or, a sample of a Makefile containing the two for the environments "GCC ARM Embedded" or "CodeSourcery".

2 Answers

11 years, 3 months ago.

Hello Stephan Grammer,

I published mine "in work" makefile, I will update it to the newest mbed version. That makefile was created for git repo mbed, I bet is different at the moment with online mbed version, thus you will need to modify it first.

I have been using it for GCC ARM and KL25Z, it should provide you good starting point.

Here's the link : https://github.com/0xc0170/mbed_gcc_kl25

Regards, 0xc0170

11 years, 3 months ago.

hello Martin, thanks for your offer. Looking on the (.h) filetree of the exported code, it's a major work. I'd still appreciate to get objs or libs. Regards, Stephan