Skip to content

"default_lib": "small" no longer supported!? #2823

Closed
@RobMeades

Description

@RobMeades

With the current version of mbed-cli, running mbed compile -s tells me that the target I am in the process of integrating into mbed cannot be supported officially because it is using nano.spec libraries. When did using std libraries become a requirement!? We have very little flash/RAM to play with (128 kbytes/20 kbytes) and we NEED nano.spec to make useful applications fit in it. The difference in flash consumption is huge (blinky plus printf() under GCC_ARM):

"default_lib": "small" 29035 bytes
"default_lib": "std" 72756 bytes

...i.e. it takes up 34% more of our flash for no net gain. There's also a 3 kbyte RAM increase, which is even worse (as we have less left in the first place), but I hope there's some way of configuring that out; please tell me there is.

So, PLEASE explain why this is a requirement, 'cos it's making mbed too heavy weight for us and being so light and nimble was one of mbed's key differentiators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions