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

pkg/nimble: Update to 1.8.0 #21108

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Dec 24, 2024

Contribution description

This updates nimble, with all the adjustments that need to go with it.

Testing procedure

Issues/PRs references

Updating this is a prerequisite to using ready-made Rust wrappers on nimble (eg. https://github.com/embassy-rs/trouble/), which is preferable over safely wrapping the whole API surface just once ore.

Current status

Not getting it to build yet; we'll need some patches for upstream problems (not following IWYU) and our dead-code strictness -- and then (currently: after fixing them manually), a few symbols are missing, which should be easy to fix but is still a tedious task.

[edit: It builds now, but is not tested yet]

All patches should be upstreamed.

@github-actions github-actions bot added Area: pkg Area: External package ports Area: BLE Area: Bluetooth Low Energy support labels Dec 24, 2024
@chrysn chrysn added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Dec 24, 2024
@riot-ci
Copy link

riot-ci commented Dec 24, 2024

Murdock results

FAILED

4e75536 DO NOT MERGE: Disable nimble on ESP32

Success Failures Total Runtime
228 0 9238 01m:48s

Artifacts

@chrysn
Copy link
Member Author

chrysn commented Dec 27, 2024

@sjanc, could you help me here? I'm always running into g_ble_ll_data.ll_evq being uninitialized; the place where it would be initialized is ble_ll_init, but that is called from nowhere. Should I just call that (using an exern void ble_ll_init(void) because it's not even in headers), and should it come before or after nimble_port_init?

These were found by hunting down assertion errors' causes.
I don't have the time or experience to debug a platform where I don't
have devkits; let's see if all others (that's just nRF, right?) pass
CI with this.
@github-actions github-actions bot added Platform: ESP Platform: This PR/issue effects ESP-based platforms Area: cpu Area: CPU/MCU ports labels Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BLE Area: Bluetooth Low Energy support Area: cpu Area: CPU/MCU ports Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ESP Platform: This PR/issue effects ESP-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants