Skip to content

Blinky baremetal fails to compile due to config problems with Nanostack #13109

Closed
@MarceloSalazar

Description

@MarceloSalazar

Description of defect

Few targets that support Nanostack drivers with RTOS fail to compile blinky-baremetal.

The targets shouldn't fail to compile The Nanostack component should be ignored as are not included in the bare-metal app.

Target(s) affected by this defect ?

KW41

 [Fatal Error] NanostackRfPhyKw41z.cpp@17,10: common_functions.h: No such file or directory
    [ERROR] ./mbed-os/features/nanostack/targets/TARGET_NXP/TARGET_KW41Z/NanostackRfPhyKw41z.cpp:17:10: fatal error: common_functions.h: No such file or directory
    17 | #include "common_functions.h"

TB_SENSE_12

    [Fatal Error] NanostackRfPhyEfr32.cpp@22,10: 'ns_types.h' file not found
    [ERROR] ./mbed-os/features/nanostack/targets/TARGET_Silicon_Labs/TARGET_SL_RAIL/NanostackRfPhyEfr32.cpp:22:10: fatal error: 'ns_types.h' file not found
    #include "ns_types.h"

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/mbed-os-maintainers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions