zephyr: update to zephyr 4.4.0#19157
Conversation
Changed in zephyr commit e24d3b92a3a2b016d932d075fad0b2d9e1922f22, the only option for connectable advertising is now BT_LE_ADV_OPT_CONN, whose value is _BT_LE_ADV_OPT_CONNECTABLE|_BT_LE_ADV_OPT_ONE_TIME. Signed-off-by: Damien George <damien@micropython.org>
It was removed in zephyr commit b348fd4d7a6ba92aa45ae8d96ad018c0e0cf11db. Signed-off-by: Damien George <damien@micropython.org>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19157 +/- ##
=======================================
Coverage 98.46% 98.46%
=======================================
Files 176 176
Lines 22811 22811
=======================================
Hits 22460 22460
Misses 351 351 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Otherwise there is a compiler error. Likely due to the update to use zephyr SDK 1.0.1. Signed-off-by: Damien George <damien@micropython.org>
To be consistent with the setting in `prj.conf`, so that the function `uart_console_in_debug_hook_install()` is enabled. Signed-off-by: Damien George <damien@micropython.org>
|
Code size report: |
0c4b872 to
74f21df
Compare
Updates the Zephyr port build instructions and CI to use the latest Zephyr release tag. Tested on frdm_k64f and nucleo_wb55rg. Signed-off-by: Damien George <damien@micropython.org>
74f21df to
6fee5cf
Compare
|
@VynDragon maybe you would like to review this PR? Are you using zephyr 4.4.0? |
|
More of a mainline/ bleeding edge user. What do you need validated? Just see if it builds and runs with some random mcus? I do not use QEMU otherwise. |
I tested on hardware mentioned above. Also CI runs the qemu build over the test suite. So there's nothing much extra to do in that regard. Just if you could take a look at the changes and see if anything jumps out at you as being wrong or could be improved. |
|
I don't see anything wrong, but I am not qualified on the changes pertaining to QEMU, STM, and BLE (but switching to BT_LE_ADV_OPT_CONN looks correct). |
|
OK, thanks for looking! |
Summary
This PR updates the zephyr port to work with zephyr 4.4.0, which was released two weeks ago.
Testing
Tested on
frdm_k64fandnucleo_wb55rgusing all possible tests in the test suite, include BLE tests on the WB55. There are no regressions.(Note that the WB55 needs the latest HCI WS firmware to work correctly.)
Will also be tested under CI.
Generative AI
I did not use generative AI tools when creating this PR.