Skip to content

Mbed CLI 2 not linking BlueNrg HCI drivers #364

@boraozgen

Description

@boraozgen

Description of defect

When building the examples with Mbed CLI 2 for DISCO_L562QE, I noticed that the BlueNrg HCI drivers do not get linked, resulting in a Please provide an implementation for the HCI driver error on initialization.

I then noticed that mbed-ble-blue_nrg CMake library does not get linked anywhere. I added this to the main CMake file:

target_link_libraries(${APP_TARGET} PRIVATE mbed-ble-blue_nrg)

and it started working. Of course this should be done in the Mbed CMake files according to the target configuration.

Otherwise CLI 2 builds for NRF52_DK without issues (had some problems with path lengths but it is Windows specific).

Target(s) affected by this defect ?

DISCO_L562QE

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

GCC for arm-none-eabi 9.3.1

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

mbed-os-6.9.0

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

mbed-tools 7.5.0

How is this defect reproduced ?

Try building + running an example for DISCO_L562QE with Mbed CLI 2.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions