ARMmbed / mbed-os-example-cellular

This is an example based on mbed-os cellular APIs that demonstrates a TCP or UDP echo transaction with a public echo server.

Repository from Github https://github.comARMmbed/mbed-os-example-cellularRepository from Github https://github.comARMmbed/mbed-os-example-cellular

Compilation in online compiler fails

sarahmarshy opened this issue · comments

Fails with this error:

Error: Attempt to override undefined parameter 'lwip.ethernet-enabled' in 'application[*]'

Removing this line from mbed_app.json -
"lwip.ethernet-enabled": false,

Results in this error:

Error: Attempt to override undefined parameter 'lwip.ppp-enabled' in 'application[*]'

You can continue like this until there is no error from mbed_app.json but actual compilation errors, presumably because these features are not turned on/off.

Can you provide me with the command you are using for compilation ?

I can't reproduce your issue locally (with mbed-cli) ? I don't know how online IDE is wired up. Can you try moving this line:
"target.features_add": ["LWIP", "COMMON_PAL"],
before any lwip overrides ?

Okay @sarahmarshy I got to the bottom of this. Online compiler uses latest release, i.e., mbed-os-5.4.7 tag.
Cellular APIs will be released in mbed-os-5.5.0. Closing this , as it is irrelevant.