Mbed-os: WIO_EMW3166 target doesn't compile with blinky-baremetal

Created on 12 Jun 2020  路  4Comments  路  Source: ARMmbed/mbed-os

Description of defect

WIO_EMW3166 target fails to compile blinky-baremetal in Mbed OS 6

GCC and Arm Error


[Fatal Error] TLSSocketWrapper.h@28,10: mbedtls/platform.h: No such file or directory
[ERROR] In file included from ./mbed-os/features/netsocket/nsapi.h:42,
                 from ./mbed-os/features/netsocket/EthernetInterface.h:20,
                 from ./mbed-os/targets/TARGET_WICED/wiced_interface/WicedInterface.h:21,
                 from ./mbed-os/targets/TARGET_WICED/wiced_interface/default_wifi_interface.cpp:18:
./mbed-os/features/netsocket/TLSSocketWrapper.h:28:10: fatal error: mbedtls/platform.h: No such file or directory
   28 | #include "mbedtls/platform.h"

Target(s) affected by this defect ?

WIO_EMW3166

Toolchain(s) (name and version) displaying this defect ?

Arm Compiler 6 and GCC 9

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.0.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Mbed CLI 1.10.4

How is this defect reproduced ?

mbed import https://github.com/ARMmbed/mbed-os-example-blinky-baremetal
cd mbed-os-example-blinky
mbed compile -t <toolchain> -m <target>

@ARMmbed/team-seeed @toyowata

CLOSED seeed mirrored bug

All 4 comments

@MarceloSalazar thank you for raising this issue.Please take a look at the following comments:

We cannot automatically identify a release based on the version of Mbed OS that you have provided.
Please provide either a single valid sha of the form #abcde12 or #3b8265d70af32261311a06e423ca33434d8d80de
or a single valid release tag of the form mbed-os-x.y.z .
E.g. '(d0d35c274362)' has not been matched as a valid tag or sha.
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'.This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information, the issue will not be mirroredto our internal defect tracking system or investigated until this has been fully resolved.

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/MBOTRIAGE-2709

mbed-os/features/netsocket should not be available in the baremetal build. Is the value in targets "network-default-interface-type": "WIFI" bringing in the network stack?

@MarceloSalazar @0xc0170
The Wio EMW3166 target uses WicedInterface for the WIFI interface.
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_WICED/wiced_interface

I think the WicedInterface.h and default_wifi_interface.cpp should be guarded as something similar like this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drahnr picture drahnr  路  4Comments

bcostm picture bcostm  路  4Comments

hasnainvirk picture hasnainvirk  路  3Comments

ashok-rao picture ashok-rao  路  4Comments

sarahmarshy picture sarahmarshy  路  4Comments