Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include directive issue with BLE API #15483

Open
kjsGraspor opened this issue Jan 8, 2024 · 1 comment
Open

Include directive issue with BLE API #15483

kjsGraspor opened this issue Jan 8, 2024 · 1 comment

Comments

@kjsGraspor
Copy link

kjsGraspor commented Jan 8, 2024

Description of defect

I am trying to add the BLE API to my project running on a infineon CY8CKIT-062-BLE dev board. But it the file structure and the "includes" for most of the API does not match. For example "mbed-os-example-blinky-baremetal/.\mbed-os\connectivity\FEATURE_BLE\source/BLE.cpp:88: undefined reference to `ble::createBLEInstance()'"

My mbed_app files is setup:
mbed_app.json

And I have added the Ble utils library.

Target(s) affected by this defect ?

CY8CKIT-062-BLE

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

mbed cli 1.8.3 and

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

mbed-os-6.17.0

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

mbed cli 1.8.3

How is this defect reproduced ?

  1. Run mbed-os-example-blinky-baremeta
  2. Update the mbed-os to 6.17.0
  3. Add mbed-app.json as state above.
  4. Add ble utils lib.
  5. Compile with mbed compile -m CY8CKIT_062_BLE -t GCC_ARM
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 3, 2024

Hi,

please post your question to https://forums.mbed.com/ instead. You might find better support for your query.

cc @ARMmbed/team-cypress

@github-project-automation github-project-automation bot moved this to Needs Triage in Issue Workflow Aug 28, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in Issue Severity Aug 28, 2024
vishwamartur added a commit to vishwamartur/mbed-os that referenced this issue Nov 2, 2024
Related to ARMmbed#15483

Implement the `createBLEInstance()` function in `connectivity/FEATURE_BLE/source/cordio/source/BLEInstanceBaseImpl.cpp`.

* Return a valid `BLEInstanceBase` object from the `createBLEInstance()` function.
* Ensure the `createBLEInstance()` function is correctly linked and resolves the undefined reference error.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ARMmbed/mbed-os/issues/15483?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Untriaged
Status: Needs Triage
Development

No branches or pull requests

3 participants