Mbed-os: Online compiler inflated binary sizes

Created on 7 Feb 2017  路  12Comments  路  Source: ARMmbed/mbed-os

Something changed in the online compiler within the last few weeks that's causing inflated binary sizes for projects built using mbed-dev. When I tried to resume work on one of my projects that's using a local copy of mbed-dev rev. 153, I was surprised to find the project no longer linked. I tried an experiment using the blinky template for an mbed LPC11U24, and the mbed-dev version was a whopping 5.9kB larger than the mbed binary version and failed to run. I checked the build macros to see if the toolchain had changed, but they still specify ARM micro.

tools bug

Most helpful comment

3813 and #3815 appear to be related.

All 12 comments

cc @theotherjimmy

3813 and #3815 appear to be related.

Hey guys, not trying to be rude but is this going to be fixed any time soon? I'm losing lots of development time, and at this point I'm debating investing in an offline toolchain.

I have fixed the problem. The fix is in a PR (not here) and pending review and deploy. It might be best for you to invest in an offline toochain in general. You should be able to use GCC ARM Embedded through mbed-cli without issue, but that may not support your targets, if they only use uARM. I think it would be worth setting up the GCC target so that you don't have to worry about online compiler down time internet connection issues when doing development for projects that are supported by GCC.

Thanks @theotherjimmy. I've been clinging to the online compiler so far since I've not been able to match the efficiency of the online 渭ARM toolchain. The last time I looked into this, the version of microlib included with Keil didn't even support C++. The online compiler has been pretty reliable for me before this issue.

further update @neilt6: The PR has been merged. I'll let you know when it's live.

@theotherjimmy: Any update on when the patched toolchain is going to go live?

So, my original patch was reverted as it caused some problems, and I'm working on a new one. I'll let you know when that goes live.

The new patch is live.

Please re-open if it's still a problem

@theotherjimmy Confirmed, projects are compiling again. Thanks!

Sorry that took so long. Please feel free to open new issues related to the online compiler on this repo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bcostm picture bcostm  路  4Comments

drahnr picture drahnr  路  4Comments

hasnainvirk picture hasnainvirk  路  3Comments

chrissnow picture chrissnow  路  4Comments

1domen1 picture 1domen1  路  3Comments