-
Notifications
You must be signed in to change notification settings - Fork 627
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
[nrf fromtree/fromlist] add dmm component #1817
Commits on Jul 1, 2024
-
[nrf noup] tree-wide: support NCS Partition Manager (PM) definitions
Partition Manager (PM) is a component of the nRF Connect SDK (NCS) which uses yaml files to resolve flash partition placement with a holistic view of the entire device, including each firmware image present on the flash device, and various subsystems, such as settings and NFFS. When this NCS extension is used, various source files which would use partition information from devicetree in "vanilla" zephyr instead use defines generated by PM instead. This commit removes support for HEX_FILES_TO_MERGE, as it conflicts with PM. The settings subsystem pm.yml defines a partition 'settings_storage'. The nffs subsystem pm.yml defines 'nffs_storage'. Leverage label translation to avoid patching partition names. Refer to the NCS documentation page for this feature for more details. This is a long-running out of tree patch which has been worked on by several people. The following sign-offs are in alphabetical order by first name. Signed-off-by: Andrzej Głąbek <[email protected]> Signed-off-by: Andrzej Puzdrowski <[email protected]> Signed-off-by: Håkon Øye Amundsen <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]> Signed-off-by: Joakim Andersson <[email protected]> Signed-off-by: Johann Fischer <[email protected]> Signed-off-by: Martí Bolívar <[email protected]> Signed-off-by: Ole Sæther <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Sigvart Hovland <[email protected]> Signed-off-by: Thomas Stenersen <[email protected]> Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Øyvind Rønningstad <[email protected]> Signed-off-by: Trond Einar Snekvik <[email protected]> Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Tomasz Moń <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit fbfb4df)
Configuration menu - View commit details
-
Copy full SHA for e683785 - Browse repository at this point
Copy the full SHA e683785View commit details -
[nrf noup] boards: add nrf54l15/nrf54l15/cpuapp/ns as board variant
This commit adds the nRF54l15//nrf54l15/cpuapp/ns board variant to sdk-zephyr. It allows to build nRF54l15pdk with TF-M in nRF Connect SDK. This is done as a nrf noup patch as the out-of-tree board extension feature is not available. When zephyrproject-rtos/zephyr#69548 is completed, then this commit can be reverted and the variant be placed in sdk-nrf repository. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 8217fd3)
Configuration menu - View commit details
-
Copy full SHA for 8dd103c - Browse repository at this point
Copy the full SHA 8dd103cView commit details -
[nrf noup] kernel: Disable boot banner if NCS_BOOT_BANNER is enabled
Zephyr's boot banner should not be used if NCS boot banner is enabled. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 67b7cca)
Configuration menu - View commit details
-
Copy full SHA for 9408e84 - Browse repository at this point
Copy the full SHA 9408e84View commit details -
[nrf noup] boards: nordic: 54L: Complete rewrite of the 54l_ns DT
Complete rewrite of the 54l_ns DT board definition. Now the secure board and non-secure board re-use a lot more code, giving us a more maintainable solution. Signed-off-by: Sebastian Bøe <[email protected]> (cherry picked from commit 5e11b5f)
Configuration menu - View commit details
-
Copy full SHA for 0fb8231 - Browse repository at this point
Copy the full SHA 0fb8231View commit details -
[nrf noup] Revert "modules: mbedtls: fix pk ecc functions undefined r…
…eferences" This reverts commit b876bd2. That needs mbed TLS 3.6.0 to work, as pk_ecc.c was added in that version. To be reverted, when mbed TLS is updated to 3.6.0 in NCS. Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit 590a64a)
Configuration menu - View commit details
-
Copy full SHA for 9558189 - Browse repository at this point
Copy the full SHA 9558189View commit details -
[nrf noup] Bluetooth: Mesh: remove legacy adv support
Removes explicit support for the legacy advertiser due to incompatibility with SDC. The legacy advertiser can be used (experimentally) with the Zephyr Link Layer enabled, but is not recommended. Signed-off-by: Håvard Reierstad <[email protected]> (cherry picked from commit 60fce5e)
Configuration menu - View commit details
-
Copy full SHA for 86abcc0 - Browse repository at this point
Copy the full SHA 86abcc0View commit details -
[nrf noup] Bluetooth: Mesh: Disable processing of ext ADV packets
Disable processing of extended ADV packets by mesh scanner. This is done to prevent loss of scan time due to reception of pointer packets while scanning for mesh packets. Signed-off-by: Ingar Kulbrandstad <[email protected]> (cherry picked from commit 18285a0)
Configuration menu - View commit details
-
Copy full SHA for ee9d284 - Browse repository at this point
Copy the full SHA ee9d284View commit details -
[nrf noup] board: nordic: thingy53: Default to update only MCUboot type
Changes the default MCUboot mode to update only for the thingy53, to align with previous bootloader builds Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 48cb4e7)
Configuration menu - View commit details
-
Copy full SHA for 51bda5d - Browse repository at this point
Copy the full SHA 51bda5dView commit details -
[nrf noup] samples/../smp_svr: fix nrf54l15pdk ext flash dts overlay
Align to changes in DTS: renamed: rram0 -> cpuapp_rram sized up cpauapp_rram region szie as part of it was reserved for cpuflpr_rram (which is not used by this config). Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit c3898cc)
Configuration menu - View commit details
-
Copy full SHA for 685a735 - Browse repository at this point
Copy the full SHA 685a735View commit details -
[nrf noup] dts: nordic: Add support for BICR generation
This will be replaced by a different solution upstream (NCSDK-27673). Migrate the existing BICR bindings from NCS 2.4.99-cs3 to NCS 2.7.0. They are updated to remove obsoleted values. Enable generating bicr.hex for Application core by default. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit eb8e8ef)
Configuration menu - View commit details
-
Copy full SHA for 95fbf6c - Browse repository at this point
Copy the full SHA 95fbf6cView commit details -
[nrf noup] dts: nordic: LFXO crystal settings adjustment
Adjustment LFXO CLOAD value. New value is a resualt of DK's characterization. Signed-off-by: Karol Lisak <[email protected]> (cherry picked from commit fa10fde)
Configuration menu - View commit details
-
Copy full SHA for 0ad36a6 - Browse repository at this point
Copy the full SHA 0ad36a6View commit details -
[nrf noup] samples: sysbuild: hello_world: support PM on nRF53
PM support is still required for nRF53 in the context of NCS. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit b42e02d)
Configuration menu - View commit details
-
Copy full SHA for e8a7c17 - Browse repository at this point
Copy the full SHA e8a7c17View commit details -
[nrf noup] settings: nvs: use dedicated lookup cache hash function
Introduce NVS_LOOKUP_CACHE_FOR_SETTINGS Kconfig option that enables a dedicated hash function for the NVS lookup cache that takes advantage of the NVS ID allocation scheme used by the NVS settings backend. As such, this option should only be used if an application uses NVS via the settings layer. Signed-off-by: Damian Krolik <[email protected]> (cherry picked from commit 3198700)
Configuration menu - View commit details
-
Copy full SHA for 83f3672 - Browse repository at this point
Copy the full SHA 83f3672View commit details -
[nrf noup] entropy: Add fake entropy nRF PRNG driver
This adds temporary entropy driver simulation for nRF54h20 device since final entropy source is not available yet. TODO: Remove this commit when proper solution will be available. Jira: NCSDK-25947 Signed-off-by: Kamil Gawor <[email protected]> Signed-off-by: Robert Lubos <[email protected]> (cherry picked from commit c80ee99)
Configuration menu - View commit details
-
Copy full SHA for a902788 - Browse repository at this point
Copy the full SHA a902788View commit details -
[nrf noup] bluetooth: conn: Allow for an extra ref in bt_conn_send_cb
Allow for an additional buffer reference if callback is provided. This can be used to extend lifetime of the net buffer until the data transmission is confirmed by ACK of the remote. Jira: NCSDK-27422 Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit c735ea2)
Configuration menu - View commit details
-
Copy full SHA for 178b807 - Browse repository at this point
Copy the full SHA 178b807View commit details -
[nrf noup] bluetooth: att: Allow ATT sent callback after data TX is done
By default, the BLE stack calls sent callback for ATT data when the data is passed to BLE controller for transmission. Enabling this Kconfig option delays calling the sent callback until data transmission is finished by BLE controller (the callback is delayed until receiving the num complete packets event). Jira: NCSDK-27422 Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit 3611f46)
Configuration menu - View commit details
-
Copy full SHA for d74e0b5 - Browse repository at this point
Copy the full SHA d74e0b5View commit details -
[nrf noup] boards: nordic: Turn off MRAM suspend for NRF54H20 DK
Turn off suspending MRAM for NRF54H20 DK This change is required so sections of code depending on critical timings will not have unacceptable latency. Turn on NRFS globally so turning off suspending MRAM for NRF54H20 DK will work. Signed-off-by: Jan Zyczkowski <[email protected]> (cherry picked from commit 58284ff) (cherry picked from commit 9b6cae8) (cherry picked from commit 2c2f60d)
Configuration menu - View commit details
-
Copy full SHA for 10c0de0 - Browse repository at this point
Copy the full SHA 10c0de0View commit details
Commits on Jul 3, 2024
-
[nrf fromtree] cmake: update zephyr_file to use cmake_path()
Since the introduction of zephyr_file() then the minimum required CMake version has become 3.20. Update zephyr_file() to use cmake_path insteasd of set(). This allows us to normalize the path and thereby also remove duplicates in the list as paths are normalized. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 8b3d4c6)
Configuration menu - View commit details
-
Copy full SHA for 06cfbf0 - Browse repository at this point
Copy the full SHA 06cfbf0View commit details -
[nrf fromtree] sysbuild: introduce sysbuild_root for root adjustment
Fixes: #73066 Introduce sysbuild_root CMake module similar to the Zephyr root CMake module. The sysbuild_root CMake module works similar to existing root module, but with the difference that root paths are adjusted relative to APP_DIR which is the main image, instead of relative to sysbuild. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 24acc7d)
Configuration menu - View commit details
-
Copy full SHA for 100befc - Browse repository at this point
Copy the full SHA 100befcView commit details
Commits on Jul 5, 2024
-
[nrf fromlist] soc: nordic: nrf54h: poweroff: Add support for s2ram
Add functions for local domain suspend to RAM. Add matching resume procedure. Add pm_s2ram function for determining source of reset. Add preserving NVIC and MPU state in retained RAM when CPU is powered off during S2RAM procedure. Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21acc82 - Browse repository at this point
Copy the full SHA 21acc82View commit details -
[nrf fromlist] drivers: timer: nrf_grtc: Add GRTC fix for app and rad…
… cores Currently function `z_nrf_grtc_wakeup_prepare()` should be available only for the GRTC manager (`CONFIG_NRF_GRTC_START_SYSCOUNTER` is active). Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a12db72 - Browse repository at this point
Copy the full SHA a12db72View commit details -
[nrf fromlist] arch: arm: cortex_m: pm_s2ram: Minor typo fix
Fix typo in `PM_S2RAM_CUSTOM_MARKING` description. Upstream PR: zephyrproject-rtos/zephyr#73095 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c408f2 - Browse repository at this point
Copy the full SHA 8c408f2View commit details -
[nrf fromtree] drivers: adc: Update adc driver to support nRF54L15 de…
…vice Expands driver to cover nRF54L15 features like AIN as GPIO configuration, new reference voltage, different set of supported gain options. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 5f1fdc4)
Configuration menu - View commit details
-
Copy full SHA for 8cc4ea9 - Browse repository at this point
Copy the full SHA 8cc4ea9View commit details -
[nrf fromtree] drivers: adc: Update adc driver to support nRF54H20 de…
…vice Expands driver to cover nRF54H20 features like 8bit sample width. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 13196ec)
Configuration menu - View commit details
-
Copy full SHA for 48eb3d2 - Browse repository at this point
Copy the full SHA 48eb3d2View commit details -
[nrf fromtree] dts: Update SAADC compatible and expand nRF54H20 dtsi
Adds full description of the adc node and support for memory regions. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 15fa37d)
Configuration menu - View commit details
-
Copy full SHA for 110da5b - Browse repository at this point
Copy the full SHA 110da5bView commit details -
[nrf fromtree] samples: drivers: adc: Add overlay for nRF54H20 PDK
Adds configuration to play with nRF54H20 PDK board. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit 3c4ea76)
Configuration menu - View commit details
-
Copy full SHA for f64b952 - Browse repository at this point
Copy the full SHA f64b952View commit details -
[nrf fromtree] tests: drivers: adc: Add overlay for nRF54H20 board
Adds configuration for making tests work. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit ba30517)
Configuration menu - View commit details
-
Copy full SHA for 61d6b1a - Browse repository at this point
Copy the full SHA 61d6b1aView commit details -
[nrf fromtree] boards: Enable adc node for nRF54H20 DK
Enables adc node to make it usable in tests/examples. Signed-off-by: Karol Lasończyk <[email protected]> (cherry picked from commit a04b2ad)
Configuration menu - View commit details
-
Copy full SHA for aa3cb9d - Browse repository at this point
Copy the full SHA aa3cb9dView commit details -
[nrf fromlist] drivers: adc: saadc: Extend gains support for nRF54L15
Add support for gains: 1/2, 1/3, 2/5, 1/4. Upstream PR: zephyrproject-rtos/zephyr#74929 Signed-off-by: Karol Lasończyk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a61309 - Browse repository at this point
Copy the full SHA 0a61309View commit details -
[nrf fromtree] boards: nordic: nrf54h20: Add ADC to the list of suppo…
…rted peripherals ADC driver was aligned to nrf54h20 target. Enable ADC Twister tests on that platform. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit a3e1e39)
Configuration menu - View commit details
-
Copy full SHA for 3b99ea9 - Browse repository at this point
Copy the full SHA 3b99ea9View commit details -
[nrf fromtree] samples: drivers: adc: adc_dt: Add nrf54h20 to platfor…
…m_allow Enable test execution on nrf54h20dk. Overlay file already exists. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit cc9bd6d)
Configuration menu - View commit details
-
Copy full SHA for 4d4f00e - Browse repository at this point
Copy the full SHA 4d4f00eView commit details -
[nrf fromtree] samples: drivers: adc: adc_sequence: Enable test execu…
…tion on nrf54h20 Add overlay file for nrf54h20 cpuapp target. Add nrf54h20 target to platform_allow. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 48fc687)
Configuration menu - View commit details
-
Copy full SHA for ded7e9f - Browse repository at this point
Copy the full SHA ded7e9fView commit details
Commits on Jul 9, 2024
-
[nrf fromlist] bluetooth: tester: Adjust Broadcaster ext adv pars
This change removes the BT_LE_PER_ADV_OPT_USE_TX_POWER option for extended advertisement in BLE Audio PTS tests. The Broadcaster setup options was hardcoded to include the BT_LE_PER_ADV_OPT_USE_TX_POWER option. This causes incompabilities for any controller not support it, and since the option is not required for the audio tests it should not be used here. Upstream PR: zephyrproject-rtos/zephyr#73361 signed-off-by: Frode van der Meeren <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36fbc3f - Browse repository at this point
Copy the full SHA 36fbc3fView commit details
Commits on Jul 10, 2024
-
[nrf fromtree] Bluetooth: Controller: Add Kconfigs to enable Connecti…
…on Subrating Add Kconfigs to enable experimental subrating HCI commands. Signed-off-by: Timothy Keys <[email protected]> (cherry picked from commit 570c86d) Signed-off-by: Timothy Keys <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6325a5 - Browse repository at this point
Copy the full SHA f6325a5View commit details -
[nrf fromlist] tests: boards: nrf: qdec: add tests for qdec for nrf
Expand testing for QDEC at nrf platforms. It uses general sensor API, however there are also nrf driver specific assumptions. Upstream PR: zephyrproject-rtos/zephyr#74677 Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e6f706 - Browse repository at this point
Copy the full SHA 6e6f706View commit details -
[nrf fromlist] tests: drivers: pwm: extend test coverage
Extend nrf pwm driver test coverage by testing invalid port number Upstream PR: zephyrproject-rtos/zephyr#75583 Signed-off-by: Piotr Krzyzanowski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d402753 - Browse repository at this point
Copy the full SHA d402753View commit details
Commits on Jul 11, 2024
-
Revert "[nrf fromtree] Bluetooth: Controller: Add Kconfigs to enable …
…Connection Subrating" This reverts commit f6325a5. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae7e261 - Browse repository at this point
Copy the full SHA ae7e261View commit details -
[nrf fromtree] Bluetooth: host: tests: Switch to one-time adv
This patch removes all uses of the adv auto-resume feature in the host bsim tests, except for the test of that feature itself, and instead makes all adv starts explicit. The auto-resume feature is planned for deprecation. And, explicit starting of adv makes what happens in the test more explicit as well. Signed-off-by: Aleksander Wasaznik <[email protected]> (cherry picked from commit 765b244)
Configuration menu - View commit details
-
Copy full SHA for 3eaa549 - Browse repository at this point
Copy the full SHA 3eaa549View commit details -
[nrf fromtree] Bluetooth: Host: Fix not clearing IDs and keys upon bt…
…_disable() Expectation: After calling `bt_disable()` it is possible to use the Bluetooth APIs as if `bt_enable()` was never called. This was not the case for `bt_id_create()`, it was not possible to set the default identity. This prevented an application developer to restart the stack as a different identity. Keys also need to be cleared to avoid the following pattern: 1. Pair two devices 2. Central calls `bt_disable()` and `bt_enable()`. The central will now generate a new identity address. 3. Connect the two devices. 4. Re-establish encryption. Now the central will try to use the previously used keys. The procedure will fail because the peripheral does not have any keys associated with the new central address. The API documentation is updated accordingly. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 3ce106c)
Configuration menu - View commit details
-
Copy full SHA for 4289609 - Browse repository at this point
Copy the full SHA 4289609View commit details -
[nrf fromtree] Bluetooth: Host: Fix connection establishment upon RPA…
… timeout Before this commit, the following bugs were present: - When `CONFIG_BT_FILTER_ACCEPT_LIST` was set, connection establishment was cancelled upon RPA timeout. This required the application to restart the initiator every RPA timeout. - When `CONFIG_BT_FILTER_ACCEPT_LIST` was not set, the RPA was not updated while the initiator was running. This commit unifies the RPA timeout handling for both these cases. Upon RPA timeout the initiator is cancelled and restarted when the controller raises the LE Connection Complete event. The workqueue state is checked when restarting the initiator to prevent it being restarted when the timeout is hit. Corresponding test cases have been added to ensure that this feature works. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit ff80c0b)
Configuration menu - View commit details
-
Copy full SHA for 9b5cdf5 - Browse repository at this point
Copy the full SHA 9b5cdf5View commit details -
[nrf fromtree] tests: bsim: Use the pre_init_f instead of post_init_f
When using the post_init_f to initialize the `bst_result`, it is not possible to mark the test as passed immediately as the `bst_result` will be initialized after the test completes. This change should overcome this limitation. Bluetooth mesh tests are kept as is as we are not sure if this will change the behavior. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 1aa33fe)
Configuration menu - View commit details
-
Copy full SHA for 210e6fd - Browse repository at this point
Copy the full SHA 210e6fdView commit details -
[nrf fromtree] Bluetooth: Document reasons for HCI command timeouts
When reading the error message: "ASSERTION_FAIL: command opcode 0x0c03 timeout with err -11" it may not be obvious what is wrong with their setup unless you are very familiar with HCI. This commit adds some more documentation to make this more obvious. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 3609d97)
Configuration menu - View commit details
-
Copy full SHA for c52d1a8 - Browse repository at this point
Copy the full SHA c52d1a8View commit details -
[nrf fromtree] ztest: Add macros for comparing strings
These macros allows us to compare strings in a simpler way. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit a35d5e7)
Configuration menu - View commit details
-
Copy full SHA for 0519762 - Browse repository at this point
Copy the full SHA 0519762View commit details -
[nrf fromtree] Bluetooth: Host: Add a test for connection creation ti…
…meout It seemed like there was lacking test coverage for this functionality. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit b30d2d1)
Configuration menu - View commit details
-
Copy full SHA for 6f9185d - Browse repository at this point
Copy the full SHA 6f9185dView commit details -
[nrf fromtree] Bluetooth: Host: Allow conn create timeout longer than…
… RPA timeout zephyrproject-rtos/zephyr#72674 fixed a bug where this configuration did not work. Now that this configuration is tested, we should mark it as supported. The timeout check that was present in the code before was useless and was not working because the check was run before a default timeout of 0 was converted to a timeout. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 9cf6839)
Configuration menu - View commit details
-
Copy full SHA for a090dd8 - Browse repository at this point
Copy the full SHA a090dd8View commit details -
[nrf fromtree] Bluetooth: Document that bt_disable() doesn't touch ca…
…llbacks A naive implementation would look like ```c void bt_init() { bt_le_conn_cb_register(); bt_enable(); } ``` When the app later adds the possibility to enable and disable Bluetooth, it may happen that the application developer calls `bt_init()` instead of `bt_enable()`. This results in invalid behavior. This kind of bug is currently a bit harder to debug as the callback register APIs do not reject registering a callback twice. Improving the API documentation is the first step towards making this a bit more user friendly. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 2712b32)
Configuration menu - View commit details
-
Copy full SHA for a31d85b - Browse repository at this point
Copy the full SHA a31d85bView commit details -
[nrf fromtree] Bluetooth: Add support for Path Loss Monitoring feature
This commit adds host support for the Path Loss Monitoring feature see Bluetooth Core specification, Version 5.4, Vol 6, Part B, Section 4.6.32. Limited logic is required, just adding a wrapper around the HCI command and callback for HCI event. Add new zone - BT_CONN_LE_PATH_LOSS_ZONE_UNAVAILABLE, to convert 0xFF path loss to a useful zone. Add new Kconfigs and functionality to the bt shell. Signed-off-by: Sean Madigan <[email protected]> (cherry picked from commit 0b327db)
Configuration menu - View commit details
-
Copy full SHA for eda539a - Browse repository at this point
Copy the full SHA eda539aView commit details -
[nrf fromtree] Bluetooth: Host: Conn callback list to use slist
This allows us to use functionality provided by slist. First use case: Avoid adding an element twice. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 6e6bb26)
Configuration menu - View commit details
-
Copy full SHA for f52fa08 - Browse repository at this point
Copy the full SHA f52fa08View commit details -
[nrf fromtree] Bluetooth: Host: Avoid registering callback twice
Callbacks can only be registered once. Otherwise the slist will become circular. In this commit we have choosen to ignore the second registration call if the callback has already been registed. The alternative is to trigger an assertion. That doesn't work if the assertions are turned off. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 2ec3cd3)
Configuration menu - View commit details
-
Copy full SHA for d7edc33 - Browse repository at this point
Copy the full SHA d7edc33View commit details -
[nrf fromtree] Bluetooth: Host: Rename callback_list -> conn_cbs
This improves consistency with other callback lists like scan_cbs and pa_sync_cbs. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 3eb975d)
Configuration menu - View commit details
-
Copy full SHA for 7121d33 - Browse repository at this point
Copy the full SHA 7121d33View commit details -
[nrf fromtree] Bluetooth: Host: Callback registering functions to ret…
…urn status Returning a status code will allow the application developer to detect logic issues. We consider this as not breaking the API. If `-Werror -Wunused-result` is enabled, the application developer needs to validate the return code. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 5098bf3)
Configuration menu - View commit details
-
Copy full SHA for 7f325e5 - Browse repository at this point
Copy the full SHA 7f325e5View commit details -
[nrf fromtree] Bluetooth: Host: Support concurrent initiating and sca…
…nning The HCI command LE Read Supported States command returns if the controller supports running the scanner and initiator roles in parallel. This commit utilizes this information in the host: - It does not prevent initiating a connection when the scanner is running - It does not prevent the host from restarting the background scanner when there the host wants to auto-initiate a connection. - It does not stop the scanner when the host wants to auto-initiate a connection. To support this feature, the scanner and initiator always have to use the same address. This because the HCI command LE Set Random Address cannot be issued after the initiator or scanner has started. 1. When privacy is disabled, the scanner has to use its identity address to ensure it uses the same address as the initiator. 2. Only one identity is supported. To simplify the implementation, it is a requirement to use extended advertising commands to avoid interfering with the random address used by the advertiser(s). Also, it is a requirement to never use time-limited scanning, as RPA this feature does not work when privacy is being used. See zephyrproject-rtos/zephyr#73634. The changes in this commit will be tested out of tree as the Zephyr Bluetooth Controller does not support this functionality. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 9984adf)
Configuration menu - View commit details
-
Copy full SHA for b7107e2 - Browse repository at this point
Copy the full SHA b7107e2View commit details -
[nrf fromtree] checkpatch: Add exception to BRACKED_SPACE rule for ma…
…cros When brackets are used in macros, there may sometimes be a space in front of them. The checkpatch script should allow this. The change includes the example that triggered the need for this change. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit f78c51d)
Configuration menu - View commit details
-
Copy full SHA for 0910dfa - Browse repository at this point
Copy the full SHA 0910dfaView commit details -
[nrf fromtree] Bluetooth: Host: Add the API bt_hci_err_to_str()
This API converts a HCI error code to a string. This can be useful if application developers want to print them in the applications. Later we can also use them in the host to improve debuggability. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit bfba19d)
Configuration menu - View commit details
-
Copy full SHA for a539dbe - Browse repository at this point
Copy the full SHA a539dbeView commit details -
[nrf fromtree] cocinelle: Parse ztest test functions
We want to able to use cocinelle on ztest functions as well when transforming APIs. Provide a simple macro so that test functions are recognized. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit fc37736)
Configuration menu - View commit details
-
Copy full SHA for 3fdac3f - Browse repository at this point
Copy the full SHA 3fdac3fView commit details -
[nrf fromtree] cocinelle: Add a sematic patch file for ztest string a…
…ssertions ztest now provides functionality to compare strings. These are simpler to use than the strcmp ways. The semantic patch transforms many of the commonly used patterns. It does not handle variable length macros. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 470a0fc)
Configuration menu - View commit details
-
Copy full SHA for 6ad7ed5 - Browse repository at this point
Copy the full SHA 6ad7ed5View commit details -
[nrf fromtree] Bluetooth: Host: Add log entry for connection creation…
… timeout This makes it more clear what is happening when the host cancels connection creation where the controller raises the connection complete event with status set to "UNKNOWN CONNECTION IDENTIFIER (0x02)". This is especially useful for developers not familiar with this detail in the spec. See also: Core_v5.4, Vol 4, Part E, Section 7.8.13, LE Create Connection Cancel command. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 1b33616)
Configuration menu - View commit details
-
Copy full SHA for 764855d - Browse repository at this point
Copy the full SHA 764855dView commit details -
[nrf fromtree] Bluetooth: Host: Define bt_att_err_to_str()
This can be useful if application developers want to print them in the applications. Later we can also use them in the host to improve debuggability. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 94d712e)
Configuration menu - View commit details
-
Copy full SHA for 9a82da9 - Browse repository at this point
Copy the full SHA 9a82da9View commit details -
[nrf fromtree] Bluetooth: Host: Define bt_gatt_err_to_str()
The function reuses the ATT implementation. To make the function simpler to use, the function handles both positive and negative values. Unfortunately the APIs do not document if the API returns an errno val or a GATT return value. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 4e30803)
Configuration menu - View commit details
-
Copy full SHA for c658a1d - Browse repository at this point
Copy the full SHA c658a1dView commit details -
[nrf fromtree] bluetooth: correct
bt_le_scan_param
scan typeThe `type` parameter of `struct bt_le_scan_param` is documented as taking a `BT_LE_SCAN_TYPE_*` value, not a `BT_HCI_LE_SCAN_*` value. In practice this makes no difference as the values are defined as the same integer, but does result in `<zephyr/bluetooth/hci.h>` not needing to be included. Signed-off-by: Jordan Yates <[email protected]> (cherry picked from commit cf870e8)
Configuration menu - View commit details
-
Copy full SHA for 2ed7a5f - Browse repository at this point
Copy the full SHA 2ed7a5fView commit details -
[nrf fromtree] Bluetooth: host: disallow scan with timeout when BT_PR…
…IVACY=y See comment in code. Fixes #73634 Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit be61ae4)
Configuration menu - View commit details
-
Copy full SHA for 1c98844 - Browse repository at this point
Copy the full SHA 1c98844View commit details -
[nrf fromtree] Bluetooth: Controller: Add Kconfigs to enable Connecti…
…on Subrating Add Kconfigs to enable experimental subrating HCI commands. Signed-off-by: Timothy Keys <[email protected]> (cherry picked from commit 570c86d)
Configuration menu - View commit details
-
Copy full SHA for 00266aa - Browse repository at this point
Copy the full SHA 00266aaView commit details -
[nrf noup] soc: arm: nordic: Add Flash/RAM region size for nRF53/91
fixup! [nrf noup] soc: arm: nRF91: Add SPU Flash/RAM alignment The nRF54L15 doesn't use the SPU for setting the security attributes for flash/RAM regions. In order to avoid having multiple Kconfigs with similar meaning I renamed the alignment Kconfig option to something more generic in order to use the same symbol for all the TrustZone enabled devices. Ref: NCSDK-25023 Signed-off-by: Georgios Vasilakis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb9682f - Browse repository at this point
Copy the full SHA fb9682fView commit details -
[nrf noup] boards: Fix MPC configuration for nRF54L15
fixup! [nrf noup] boards: add nrf54l15/nrf54l15/cpuapp/ns as board variant The nRF54L15 is using the SAU and the MPC to configure the security attributes for TrustZone. The SPU is only used for the configuration of the peripherals. This sets the Kconfig configurations for TrustZone which use the correct region size(based on the MPC) for nRF54L15. Ref: NCSDK-25023 Signed-off-by: Georgios Vasilakis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e16bd76 - Browse repository at this point
Copy the full SHA e16bd76View commit details
Commits on Jul 12, 2024
-
[nrf noup] board: nordic: thingy53: Default MCUboot to use all RAM
squash! [nrf noup] board: nordic: thingy53: Default to update only MCUboot type Changes the thingy53 default configuration for sysbuild to enable using all RAM in the MCUboot image Signed-off-by: Jamie McCrae <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 494802d - Browse repository at this point
Copy the full SHA 494802dView commit details
Commits on Jul 15, 2024
-
[nrf noup] test-spec: fix depencies for nrf_desktop tag
Should be executed only when bluetooth is changing. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bd44c8 - Browse repository at this point
Copy the full SHA 2bd44c8View commit details -
[nrf noup] test-spec: fix dep for soc/nordic
Folder renamed at HWMv2: soc/arm/nordic_nrf->soc/nordic Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c80ab6 - Browse repository at this point
Copy the full SHA 8c80ab6View commit details -
[nrf noup] test-spec: fix dep for samples/bluetooth/hci_ipc
Renamed: samples/bluetooth/hci_rpc->samples/bluetooth/hci_ipc Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc58168 - Browse repository at this point
Copy the full SHA cc58168View commit details -
[nrf noup] test-spec: fix depencies for rpc tag
Update dependent sources. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f1391e - Browse repository at this point
Copy the full SHA 1f1391eView commit details -
[nrf noup] test-spec: remove gazell tag
No longer used. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e619fe2 - Browse repository at this point
Copy the full SHA e619fe2View commit details -
[nrf noup] test-spec: fix depencies for nfc tag
Update dependent sources. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20ab87f - Browse repository at this point
Copy the full SHA 20ab87fView commit details -
[nrf fromlist] tests: drivers: add more test cases to the i2c_bme688 …
…test suite Test NACK handling, bus recovery and FAST speed read. Upstream PR: zephyrproject-rtos/zephyr#74844 Signed-off-by: Bartosz Miller <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 855520b - Browse repository at this point
Copy the full SHA 855520bView commit details -
[nrf fromlist] modules: hal_nordic: nrfs: fix buffer used in nrfs send
In function nrfs_backend_send_work tx_data buffer was used in function ipc_service_send instead of data_to_send. This is fixed and also tx_data and rx_data are moved to coresponding functions preventing such issues in future. Upstream PR: zephyrproject-rtos/zephyr#75803 Signed-off-by: Lukasz Stepnicki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ce5c50 - Browse repository at this point
Copy the full SHA 6ce5c50View commit details -
[nrf fromlist] tests: drivers: mbox: Add negative tests for MBOX driver
Add negative test cases for the MBOX driver. Confirm that driver implementation is aligned with the MBOX API documentation available at https://docs.zephyrproject.org/latest/hardware/peripherals/mbox.html Enable test execution on nRF54H20 Application and PPR cores. Upstream PR: zephyrproject-rtos/zephyr#75114 Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57b2ffe - Browse repository at this point
Copy the full SHA 57b2ffeView commit details -
[nrf fromlist] tests: drivers: mbox: mbox_error_cases: Enable test on…
… nRF54l15 Add overlay that enables execution of mbox_error_cases on nrf54l15pdk/nrf54l15/cpuapp. Upstream PR: zephyrproject-rtos/zephyr#75114 Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee4b0a3 - Browse repository at this point
Copy the full SHA ee4b0a3View commit details -
[nrf fromtree] samples: drivers: mbox: Extend mbox sample
Print on what board/core sample is executing. Print how many bytes of data can be sent in the mbox message (show use of mbox_mtu_get_dt()). Print how many channels are available for incoming and/or outgoing messages (show use of mbox_max_channels_get_dt()). Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit c6ef694)
Configuration menu - View commit details
-
Copy full SHA for 597a7d2 - Browse repository at this point
Copy the full SHA 597a7d2View commit details -
[nrf fromtree] samples: drivers: mbox: Fix overlays for nrf54h20
Add sample configuration 'nrf54h20_app_ppr' where: - cpuapp sends messages to cpuppr vevif channel 15, - cpuppr sends messages to cpuapp bellboard channel 18. Add sample configuration 'nrf54h20_rad_app' where: - cpuapp sends messages to cpurad bellboard channel 12, - cpurad sends messages to cpuapp bellboard channel 18. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 92b0d6d)
Configuration menu - View commit details
-
Copy full SHA for 147d97b - Browse repository at this point
Copy the full SHA 147d97bView commit details -
[nrf fromlist] samples: drivers: mbox: Disable UART Flow Control on n…
…rf54h20 Nrf54h20dk has UART Flow Control enabled by default on all cores. It's a source of problem when mbox sample is run in Twister. Twister opens serial port only on host core, thus nobody confirms reception of logs from remote core. As a result, remote core stucks on printing boot banner. Twister fails sample due to the timeout while waiting for messages from remote to host. Disable Flow Control on remote core when mbox sample is executed on nrf54h20. Upstream PR: zephyrproject-rtos/zephyr#75309 Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6093f49 - Browse repository at this point
Copy the full SHA 6093f49View commit details -
[nrf noup] test-spec: make rs and fem tags more specific
Still trigger on all code changes but excluded non-code folders. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 303a836 - Browse repository at this point
Copy the full SHA 303a836View commit details -
[nrf noup] test-spec: make find-my tag more specific
Base on compilation dependencies. Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9772e05 - Browse repository at this point
Copy the full SHA 9772e05View commit details -
[nrf noup] soc: nordic: nrf54l: Skip clock configuration from ns
Do not permit configuring clocks from non-secure as NRF_OSCILLATORS is a not supported as a non-secure peripheral Signed-off-by: Sebastian Bøe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b386341 - Browse repository at this point
Copy the full SHA b386341View commit details -
[nrf noup] soc: nordic: nrf54l: Port Soc.c to be compatible with TFM
In this patch we do several things to be able to configure power and clocks when NRF_OSCILLATORS and NRF_REGULATORS is secure. We port soc.c to TF-M so that the TF-M image can do the same configuration that would normally be done by the Zephyr image. This is done by explicitly including autoconf.h for instance. We also ifdef-out the configuration when nordicsemi_nrf54l_init is invoked from a non-secure image, because the peripherals are secure. Signed-off-by: Sebastian Bøe <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c989b97 - Browse repository at this point
Copy the full SHA c989b97View commit details
Commits on Jul 16, 2024
-
[nrf noup] ci: Enable action-manifest-pr
This action will automatically manage a PR to sdk-nrf once a PR to sdk-zephyr is created. This includes: - Creating an initial PR - Updating and (optionally) rebase it once the PR to sdk-nrf is merged. The action can be disabled by adding the string "manifest-pr-skip" to the title or body of the PR. This will simplify cherry-picking changes from upstream zephyr. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c465557 - Browse repository at this point
Copy the full SHA c465557View commit details -
[nrf fromlist] Bluetooth: Host: Rework enabling of scanner
To make the scanner module more understandable and more streamlined, I reworked the update mechanism of the scanner. The scanner tracks now the parameters that were used to enable it and the reason why it is running. This facilitates state logic and allows other modules to "start the scanner", altough it is already running. This is mostly a refactoring and not a functional change. Added a test to verify the behavior. Upstream PR: zephyrproject-rtos/zephyr#73923 Signed-off-by: Jan Müller <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for daf34bb - Browse repository at this point
Copy the full SHA daf34bbView commit details -
[nrf fromtree] ci: test_plan: fix handling of v2 boards
Handling of board changes was broken and did not support v2 boards, fix this to optimize CI execution on localized changes of board files. Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 94b9790)
Configuration menu - View commit details
-
Copy full SHA for 0ebe45e - Browse repository at this point
Copy the full SHA 0ebe45eView commit details -
[nrf fromtree] arch: kconfig: Set flash size/address to 0 by default …
…when !XIP Many boards/SoCs in-tree do this: if !XIP config FLASH_SIZE default 0 config FLASH_BASE_ADDRESS default 0 endif And many other boards are missing this configuration (e.g. stm32 series). Making this the default helps get non-XIP just working Signed-off-by: Grant Ramsay <[email protected]> (cherry picked from commit c5642a7)
Configuration menu - View commit details
-
Copy full SHA for 71d9abc - Browse repository at this point
Copy the full SHA 71d9abcView commit details -
[nrf fromtree] ci: move github runners from macos-11 to macos-14
Move the GitHub runners currently on macos-11 to macos-14 as the former is no longer supported by GitHub. Signed-off-by: Henrik Brix Andersen <[email protected]> (cherry picked from commit fa4537d)
Configuration menu - View commit details
-
Copy full SHA for a53ce8a - Browse repository at this point
Copy the full SHA a53ce8aView commit details -
[nrf fromtree] scripts: west_commands: Fix west boards for SoC and ar…
…ch in modules Fixes #71761 The `west boards` command parses extra BOARD_ROOTs from Zephyr modules, so that the boards defined in those modules are automatically listed. In HWMv2, OOT boards can be described in terms of OOT SoCs, which means that extra SOC_ROOTs must also be provided. Otherwise, an error message will be displayed when attempting to list all boards. Therefore, every Zephyr module SOC_ROOT should be included as well. In HWMv1 (deprecated), OOT boards can be defined in terms of OOT archs, but module ARCH_ROOTs had never been included automatically. The fix for this is long overdue, but it's included for symmetry. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 7a10c7d)
Configuration menu - View commit details
-
Copy full SHA for 3f3ea87 - Browse repository at this point
Copy the full SHA 3f3ea87View commit details -
[nrf fromtree] scripts: list_hardware: Find all SoCs before checking …
…runner configs When validating the flash runner configurations in `soc.yml`, the only SoCs that were considered had to be defined under this structure: family: - series: - socs: - name: ... However, the `family` and `series` keys are optional, so the `soc.yml` files can also be arranged like this: family: - socs: - name: ... series: - socs: - name: ... socs: - name: ... The solution is to move the validation code further down, so that it can reuse the SoC data that was already correctly parsed while initializing a `Systems` instance. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 9b68230)
Configuration menu - View commit details
-
Copy full SHA for d3de867 - Browse repository at this point
Copy the full SHA d3de867View commit details -
[nrf fromlist] cmake: cleanup hwm_v2.cmake module code
Upstream PR: zephyrproject-rtos/zephyr#72857 Cleanup the Kconfig generating code in hwm_v2.cmake by moving common logic inside the kconfig_gen() helper function. This prepares the code for board extension feature. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit d39cc46b56294b6eb297a67478334c23db8c8ca3)
Configuration menu - View commit details
-
Copy full SHA for 2b981e6 - Browse repository at this point
Copy the full SHA 2b981e6View commit details -
[nrf noup] revertme: Cover up merge conflicts
This automated patch is inserted before a cherry-pick of: ad16407 cmake: scripts: support board extension This allows the above commit to be applied cleanly, even though it appears to conflict with the following commit(s): ec3b301 [nrf fromlist] scripts: support soc/boards in Zephyr modules The conflicts are left to be fixed in a follow-up patch, instead of doing so in the cherry-pick itself. Signed-off-by: Grzegorz Swiderski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 433e4f9 - Browse repository at this point
Copy the full SHA 433e4f9View commit details -
[nrf fromlist] cmake: scripts: support board extension
Upstream PR: zephyrproject-rtos/zephyr#72857 Fixes: #69548 Support extending an existing board with new board variants. This commit introduces the following changes to allow a board to be extended out-of-tree. The board yaml schema is extended to support an extend field which will be used to identify the board to be extended. A board 'plank' can be extended like this: > board: > extend: plank > variants: > - name: ext > qualifier: soc1 For the rest of the build system this means that there is no longer a single board directory. The existing CMake variable BOARD_DIR is kept and reference the directory which defines the board. A new CMake variable BOARD_DIRECTORIES provides a list of all directories which defines board targets for the board. This means the directory which defines the board as well as all directories that extends the board. Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit ad16407aca8ccde1aaa57d4d1dcb15bb4d0bfc25)
Configuration menu - View commit details
-
Copy full SHA for 211b520 - Browse repository at this point
Copy the full SHA 211b520View commit details -
[nrf noup] revertme: Resolve merge conflicts
This patch finalizes the 3-way merge between: ad16407 cmake: scripts: support board extension and: ec3b301 [nrf fromlist] scripts: support soc/boards in Zephyr modules Signed-off-by: Grzegorz Swiderski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e49f12 - Browse repository at this point
Copy the full SHA 5e49f12View commit details -
[nrf fromlist] cmake: scripts: support SoC extension
Upstream PR: zephyrproject-rtos/zephyr#72857 Fixes: #72374 Support extending an existing SoC with new CPU clusters. This commit introduces the following changes to allow an SoC to be extended out-of-tree. The SoC yaml schema is extended to support an extend field which will be used to identify the SoC to be extended with extra CPU clusters. A SoC 'a_soc' can be extended like this: > socs: > extend: a_soc > cpuclusters: > - name: extra_core Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit c602935faf814c161ea78d19e5a858f7022978c2)
Configuration menu - View commit details
-
Copy full SHA for 9c91f88 - Browse repository at this point
Copy the full SHA 9c91f88View commit details -
[nrf fromlist] tests: add twister tests for CMake board and SoC exten…
…sion Upstream PR: zephyrproject-rtos/zephyr#72857 This commit adds new tests for verifying the functionality of the board and SoC extension feature. It does so by defining: - A new CPU cluster on an existing SoC - Two new board variants on top of an existing board The new board variants are defined on top of the existing `native_sim` board, so that the following native_sim board targets are available for the test. Existing board targets: - native_sim/native - native_sim/native/64 Extended board targets: - native_sim/native/one - native_sim/native/64/two The new CPU cluster is defined for the existing `an521` SoC. Existing CPU Clusters on an521: - cpu0 - cpu1 New CPU Cluster: - cputest For SoC tests the mps2 board is used. This means that for testing, the following board targets using the an521 SoC are: - mps2/an521/cpu0 - mps2/an521/cpu1 - mps2/an521/cputest Signed-off-by: Torsten Rasmussen <[email protected]> (cherry picked from commit 04dda379d7ea202712c68aba60b473cd4b5774ef)
Configuration menu - View commit details
-
Copy full SHA for 5e6ca27 - Browse repository at this point
Copy the full SHA 5e6ca27View commit details -
[nrf fromlist] scripts: west_commands: run: Add priority to run once …
…config Upstream PR: zephyrproject-rtos/zephyr#72857 Adds an optional priority parameter to the flash runner run once configuration which allows for deciding upon which file should ultimately be used Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 88a4c4ecf6906c7b66e6f42402f1f3e22456ff05)
Configuration menu - View commit details
-
Copy full SHA for e401311 - Browse repository at this point
Copy the full SHA e401311View commit details -
[nrf fromlist] scripts: list_hardware: Do not check qualifiers for ru…
…n once config Upstream PR: zephyrproject-rtos/zephyr#72857 Removes validating the qualifiers for flash run once configuration as files may be present that contain information for qualifiers that are not present in a single repository but are spaced out in other repositories, or might be optional Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit b72acf47e550090878fa87145c9766504c3deb13)
Configuration menu - View commit details
-
Copy full SHA for d2701ba - Browse repository at this point
Copy the full SHA d2701baView commit details -
[nrf fromlist] scripts: gen_dts_cmake: Support variable target name i…
…n dts.cmake Upstream PR: zephyrproject-rtos/zephyr#73903 Instead of hardcoding the name `devicetree_target`, we can update the generated `dts.cmake` to accept `DEVICETREE_TARGET` as input variable. This will become useful in multi-image builds, where we would like to process multiple devicetrees. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit cd187c719ae9162a2ab6bd6aeff511a4cc684bdc)
Configuration menu - View commit details
-
Copy full SHA for d53b51e - Browse repository at this point
Copy the full SHA d53b51eView commit details -
[nrf fromlist] sysbuild: dts: Introduce sysbuild_dt_* API
Upstream PR: zephyrproject-rtos/zephyr#73903 Add new functions to `sysbuild_extensions.cmake`, which will mirror the familiar dt_* API from Zephyr `extensions.cmake`. For example: dt_nodelabel(<var> NODELABEL <label>) gets the following sysbuild counterpart, with one extra argument: sysbuild_dt_nodelabel(<var> IMAGE <image> NODELABEL <label>) This API allows sysbuild to retrieve devicetree information for a given <image>, only after its respective `ExternalZephyrProject_Cmake()` call. This works by importing the generated `dts.cmake` files from each image's build directory, and creating multiple CMake targets to hold the generated properties - much like how the `CMakeCache.txt` and `.config` are also imported to be used by the related `sysbuild_get()` function. The dt_* API itself also has to be updated, in order to read properties from a variable `DEVICETREE_TARGET` set in the parent scope. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 3bf9a41a20ae52adc3ccadc2ff79425160f8ad73)
Configuration menu - View commit details
-
Copy full SHA for 1e0d975 - Browse repository at this point
Copy the full SHA 1e0d975View commit details -
[nrf fromlist] modules: hal_nordic: nrfx: Add nrfx_config_ext.h
Upstream PR: zephyrproject-rtos/zephyr#74316 Taking a cue from `nrfx/templates`, introduce this file so that it can be overridden out-of-tree to add external nRF product definitions. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 6ee6468dc7f7a1391d1961e696bbc671ae350c2f)
Configuration menu - View commit details
-
Copy full SHA for d12380d - Browse repository at this point
Copy the full SHA d12380dView commit details -
Revert "[nrf noup] cmake: modules: Add ZEPHYR_NRF_MODULE_DIR to snipp…
…ets root" This reverts commit 3a41bb5. NCS snippet root should have been set in `zephyr/module.yml`. Signed-off-by: Grzegorz Swiderski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0439c7a - Browse repository at this point
Copy the full SHA 0439c7aView commit details
Commits on Jul 17, 2024
-
[nrf noup] soc: nrf54l: Add custom section for KMU
Add a custom section in the linker which should always be placed in the top of RAM. This will be used by the KMU to push keys into it. Since when you provision a key into the KMU you need to set specific a memory location for the PUSH operation we need to keep this memory location static across images/dfus. This is a noup since the KMU is not supported upstream. Ref: NCSDK-25121 Signed-off-by: Georgios Vasilakis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3845240 - Browse repository at this point
Copy the full SHA 3845240View commit details
Commits on Jul 18, 2024
-
[nrf fromtree] drivers: mbox: add initial driver for nRF VEVIF event
Add a mailbox driver for VEVIF events (VPR irq). The driver can be built in either 'rx' or 'tx' configuration. The VPR sends the event, so it uses the 'tx' configuration, while the master core uses the 'rx' configuration of the driver to receive the VPR events. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit bace4a1) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e9f725 - Browse repository at this point
Copy the full SHA 4e9f725View commit details -
[nrf fromtree] dts: nordic: nrf54l15: Add mbox VEVIF nodes
Add a mbox VEVIF nodes to be used for communicating FLPR -> APP. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit c7b3651) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edf474b - Browse repository at this point
Copy the full SHA edf474bView commit details -
[nrf fromtree] drivers: mbox: nrf: Change VEVIFs and BELLBOARD nomenc…
…lature Renaming 'LOCAL' to 'RX' and 'REMOTE' to 'TX'. This seems more descriptive and intuitive to use. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 8091e93) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a050bcb - Browse repository at this point
Copy the full SHA a050bcbView commit details -
[nrf fromtree] dts: nordic: Align boards dts to new VEVIF, BELLBOARD …
…nomenclature After changing the VEVIF and BELLBOARD names, the dts for the individual boards must be aligned. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 9473e32) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c24516 - Browse repository at this point
Copy the full SHA 5c24516View commit details -
[nrf fromtree] samples: mbox: Add nRF54L15 to MBOX sample targets
Add nRF54L15 APP and FLPR cores to ping-pong sample application. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit bd40190) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06cf8bd - Browse repository at this point
Copy the full SHA 06cf8bdView commit details -
[nrf fromtree] samples: ipc: icmsg: Align icmsg sample for nRF54L15
Add nRF54L15 APP and FLPR cores to icmsg sample application. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 2cb0a07) Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 245675d - Browse repository at this point
Copy the full SHA 245675dView commit details -
[nrf fromlist] samples: drivers: mbox: Disable UART Flow Control on n…
…rf54h20 and nrf54l15 Nrf54h20dk and nrf54l15 have UART Flow Control enabled by default on all cores. It's a source of problem when mbox sample is run in Twister. Twister opens serial port only on host core, thus nobody confirms reception of logs from remote core. As a result, remote core stucks on printing boot banner. Twister fails sample due to the timeout while waiting for messages from remote to host. Disable Flow Control on remote core when mbox sample is executed on nrf54h20 or nrf54l15. Upstream PR: zephyrproject-rtos/zephyr#75309 Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 611d398 - Browse repository at this point
Copy the full SHA 611d398View commit details -
[nrf fromlist] drivers: mbox: Fix error code in Nordic's implementation
According to the official MBOX API documentation available at https://docs.zephyrproject.org/latest/hardware/peripherals/mbox.html mbox_sen() shall return -EMSGSIZE – If the supplied data size is unsupported by the driver. Fix error code returned by the mbox_send(). Upstream PR: zephyrproject-rtos/zephyr#75114 Signed-off-by: Sebastian Głąb <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdab5cd - Browse repository at this point
Copy the full SHA bdab5cdView commit details -
[nrf fromlist] wifi_mgmt: Add new API to reset Wi-Fi statistics
Upstream PR: zephyrproject-rtos/zephyr#75768 Add a new offload API to reset Wi-Fi statistics from the Wi-Fi driver. Signed-off-by: Kapil Bhatt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 40ff936 - Browse repository at this point
Copy the full SHA 40ff936View commit details -
[nrf fromlist] net: wifi: Add reset command for Wi-Fi statistics
Upstream PR: zephyrproject-rtos/zephyr#75768 Add "reset" as a subcommand of wifi statistics. Also add help option in statistics command. Signed-off-by: Kapil Bhatt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2af3400 - Browse repository at this point
Copy the full SHA 2af3400View commit details -
[nrf fromlist] scripts: ci: test_plan: use find_modules only when com…
…mits are provided Current implementation will not work if comits were not provided. ie. use case with list of changed files will fail as args.commits is None. Upstream PR: zephyrproject-rtos/zephyr#75927 Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba97e9d - Browse repository at this point
Copy the full SHA ba97e9dView commit details
Commits on Jul 19, 2024
-
[nrf fromlist] scripts: list_boards: Reintroduce Board.dir as @Property
Upstream PR: zephyrproject-rtos/zephyr#72857 In the `Board` class, the `dir` member was renamed to `directories`, both to indicate that it is now a list (in HWMv2 with board extensions) and to reflect the addition of the `BOARD_DIRECTORIES` CMake variable. Considering that the build system also keeps the `BOARD_DIR` variable, and for the sake of backwards compatibility and brevity, it should be useful to retain `Board.dir` in Python as well, symmetrically. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 25fd4b16e8c488792d0d8450e1b822292f94d3c3)
Configuration menu - View commit details
-
Copy full SHA for a51f1aa - Browse repository at this point
Copy the full SHA a51f1aaView commit details -
[nrf fromlist] scripts: Undo Board.{dir -> directories[0]} renames
Upstream PR: zephyrproject-rtos/zephyr#72857 `Board.dir` can be used in place of `Board.directories[0]` for brevity. Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit 103f7b59548cf5d809d1f105c5c0e2e94396cdfc)
Configuration menu - View commit details
-
Copy full SHA for af38d0b - Browse repository at this point
Copy the full SHA af38d0bView commit details
Commits on Jul 22, 2024
-
[nrf noup] ci: add suit-dfu-test to test-spec
Add triggers for SUIT DFU tests. Signed-off-by: Krzysztof Szromek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 037880d - Browse repository at this point
Copy the full SHA 037880dView commit details -
[nrf noup] drivers: flash: kconfig: nrf_rram region resolution
adjusting region resolution to match erase-block-size Signed-off-by: Mateusz Michalek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 66628ac - Browse repository at this point
Copy the full SHA 66628acView commit details
Commits on Jul 23, 2024
-
[nrf fromlist] test: drivers: pwm: add fast PWM
Add fast PWM instance for the nRF54H20 device. Upstream PR: zephyrproject-rtos/zephyr#75047 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8abfdb - Browse repository at this point
Copy the full SHA b8abfdbView commit details -
[nrf fromlist] tests: kernel: timer: Fix failing tests
This commit provides an additional threshold value for comparison when a custom k_busy_wait() implementation is chosen. Upstream PR: zephyrproject-rtos/zephyr#73068 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a13f25 - Browse repository at this point
Copy the full SHA 3a13f25View commit details -
[nrf fromlist] tests: kernel: timer: Exclude nRF54H20 PPR core
The nRF54H20 PPR target has not enough memory to run some of kernel/timer tests. Upstream PR: zephyrproject-rtos/zephyr#73068 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 652c155 - Browse repository at this point
Copy the full SHA 652c155View commit details -
[nrf fromlist] drivers: spi: nrfx_spim: Add support for device PM
Enable the device runtime power management on the SPIM shim. Upstream PR: zephyrproject-rtos/zephyr#75715 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbeccb4 - Browse repository at this point
Copy the full SHA fbeccb4View commit details -
[nrf fromlist] tests: drivers: spi: nordic: add device PM runtime
Add configuration for testing SPI with device runtime PM enabled for nRF platforms. Upstream PR: zephyrproject-rtos/zephyr#75715 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a19a728 - Browse repository at this point
Copy the full SHA a19a728View commit details -
[nrf fromlist] tests: drivers: adc_accuracy
Add overlay and enable test for nrf52840dk. Upstream PR: zephyrproject-rtos/zephyr#76088 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 860f386 - Browse repository at this point
Copy the full SHA 860f386View commit details -
[nrf fromlist] tests: drivers: adc_accuracy
Add overlay and enable test for nrf54h20dk. Upstream PR: zephyrproject-rtos/zephyr#76088 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfcb520 - Browse repository at this point
Copy the full SHA dfcb520View commit details -
[nrf fromlist] tests: drivers: adc_accuracy
Add overlay and enable test for nrf54l15pdk. Upstream PR: zephyrproject-rtos/zephyr#76088 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 750d7e9 - Browse repository at this point
Copy the full SHA 750d7e9View commit details -
[nrf fromlist] tests: drivers: adc_api: change second channel gain fo…
…r nrf54. It will increase test coverage for adc driver, no test uses ADC_GAIN_2_3 setting yet. Upstream PR: zephyrproject-rtos/zephyr#76088 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d27c6c4 - Browse repository at this point
Copy the full SHA d27c6c4View commit details -
[nrf fromlist] tests: drivers: adc: add adc_error_cases tests.
Tests are checking error codes returned from adc_read() and adc_setup_channel() used with invalid configurations. Upstream PR: zephyrproject-rtos/zephyr#76191 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd373f1 - Browse repository at this point
Copy the full SHA bd373f1View commit details -
[nrf fromlist] scripts: west_commands: nrfjprog: Add support for --qs…
…piini Allow for users to provide a --qspiini parameter that is passed directly to the nrfjprog executable but only in the --program operation. This is required since e073210 enabled the -O/--tool-opt for all operations, but --qspiini is only allowed combined with --program. Upstream PR: zephyrproject-rtos/zephyr#75731 Signed-off-by: Carles Cufi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 585c0a6 - Browse repository at this point
Copy the full SHA 585c0a6View commit details -
[nrf fromlist] scripts: west_commands: nrfjprog: Change tool-opt help…
… text The current option used as an example, --recover, is actually a separate option in the runner itself. Instead use --clockspeed as an example, which is applicable to all nrfjprog commands. Upstream PR: zephyrproject-rtos/zephyr#75731 Signed-off-by: Carles Cufi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 322426e - Browse repository at this point
Copy the full SHA 322426eView commit details
Commits on Jul 24, 2024
-
[nrf fromlist] net: openthread: Add NAT64 send and receive callbacks.
Packets are routed between OT and Zephyr net stacks. For IPv4 these packets are managed by NAT64 by default. Upstream PR: zephyrproject-rtos/zephyr#75012 Signed-off-by: Marcin Gasiorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a8858f - Browse repository at this point
Copy the full SHA 7a8858fView commit details -
[nrf fromlist] net: openthread: Set CIDR for NAT64
Implementation of functionality whitch configure CIDR for OT NAT64. Upstream PR: zephyrproject-rtos/zephyr#75012 Signed-off-by: Marcin Gasiorek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86c19bd - Browse repository at this point
Copy the full SHA 86c19bdView commit details -
[nrf fromlist] net: l2: openthread: set multicast loop by default
When multicast packet is forwarded to the OpenThread stack it has to have its "multicast loop" flag enabled to be processed by the stack itself instead of only propagating it further. Upstream PR: zephyrproject-rtos/zephyr#76086 Signed-off-by: Konrad Derda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f226bb8 - Browse repository at this point
Copy the full SHA f226bb8View commit details -
[nrf fromlist] tests: drivers: nrf_grtc: Add nRF54H20 PPR target
Add nRF54H20 cpu PPR target to GRTC tests. Upstream PR: zephyrproject-rtos/zephyr#76215 Signed-off-by: Adam Kondraciuk <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d430bfa - Browse repository at this point
Copy the full SHA d430bfaView commit details -
[nrf fromlist] tests: drivers: adc_accuracy: parametrize expected acc…
…uracy On nrf boards expected accuracy from ref voltage is 64 instead of 32. Upstream PR: zephyrproject-rtos/zephyr#76088 Signed-off-by: Bartlomiej Buczek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c580a48 - Browse repository at this point
Copy the full SHA c580a48View commit details -
[nrf fromlist] net: ipv6: routing: match destination address to a giv…
…en interface Before packet is routed there is a check verifying if the destination address is not the device's one. However, the check should be limited to the packet's original interface. Otherwise, packet cannot be routed if it is destined for an other interface of the device. Upstream PR: zephyrproject-rtos/zephyr#76150 Signed-off-by: Konrad Derda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2aa5233 - Browse repository at this point
Copy the full SHA 2aa5233View commit details -
[nrf fromlist] net: ipv6: routing: do not use an original source addr…
…ess for NS When a packet's transmission is prepared and Neighbor Solicitation is sent its souce address is always the same as of a packet awaiting - also for packets routed from an other interface. Quote from the RFC: If the source address of the packet prompting the solicitation is the same as one of the addresses assigned to the outgoing interface, that address SHOULD be placed in the IP Source Address of the outgoing solicitation. Otherwise, any one of the addresses assigned to the interface should be used. This commit fixes the behavior. Upstream PR: zephyrproject-rtos/zephyr#76150 Signed-off-by: Konrad Derda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdb9641 - Browse repository at this point
Copy the full SHA bdb9641View commit details -
[nrf fromlist] net: ipv6: routing: do not loop back already routed pa…
…ckets If the packet was routed between interfaces by IPv6 module it should not be looped back but has to be passed to the destination interface instead. Upstream PR: zephyrproject-rtos/zephyr#76150 Signed-off-by: Konrad Derda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8968b02 - Browse repository at this point
Copy the full SHA 8968b02View commit details -
[nrf fromlist] net: ipv6: routing: move checking for an own source ad…
…dress When IPv6 packet is received, there is a check of the packet's source address to verify that it is not interface's non-tentative address. This commit moves this check to the later stages of processing as packets that can be routed are dropped in the early stage otherwise. Upstream PR: zephyrproject-rtos/zephyr#76150 Signed-off-by: Konrad Derda <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8587f90 - Browse repository at this point
Copy the full SHA 8587f90View commit details -
[nrf fromlist] tests: net: sockets: misc: Fix SO_BINDTODEVICE test
The test case for SO_BINDTODEVICE socket option was flaky, the client socket always sent the datagram to the IP address of the second interface, so in theory every packet should end up on that interface. In practice though, due to imperfect loopback packet handling, the test worked as the packet ended up on the interface it was sent from. The test should send datagrams to the IP addresses of the interface 1 and 2 alternatively. The server socket binds to ANY address, so w/o interface binding it should receive all datagrams, so it allows to verify if SO_BINDTODEVICE filtering works fine. Upstream PR: zephyrproject-rtos/zephyr#76150 Signed-off-by: Robert Lubos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c996ec - Browse repository at this point
Copy the full SHA 4c996ecView commit details
Commits on Jul 25, 2024
-
[nrf fromtree] net: ipv6: mcast_routing: hop limit handling
While forwarding a multicast packet decrement hop limit in a common net buffer. Also, packets with hop limit equal to 0 should not be forwarded. Signed-off-by: Konrad Derda <[email protected]> (cherry picked from commit 30c38179e8998253195de58f3b8fb394cd26b092)
Configuration menu - View commit details
-
Copy full SHA for 2fbc694 - Browse repository at this point
Copy the full SHA 2fbc694View commit details -
[nrf fromtree] net: ipv6: scope checking function fix
Change the implementation of net_ipv6_is_addr_mcast_scope() inline function that let us check if a given IPv6 address has a specified scope. Previously, it was comparing the whole byte including flags of a multicast address. It meant, that while checking for a specific scope a one was also checking the flags. Even in Zephyr's net stack there are checks for a IPv6 link local scope that are failing for addresses that are not marked as "well known" (when least significant bit of the flags is set). Signed-off-by: Konrad Derda <[email protected]> (cherry picked from commit 6788de11878a55d3dd37a4a331a80863e34cb0d5)
Configuration menu - View commit details
-
Copy full SHA for 85665b2 - Browse repository at this point
Copy the full SHA 85665b2View commit details
Commits on Jul 29, 2024
-
[nrf fromtree] arch: riscv: core: Enable RISCV IRQs for no multithrea…
…ding Enable MSTATUS.IEN to allow RISCV interrupts for non-multithreaded applications. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit 502fcac)
Configuration menu - View commit details
-
Copy full SHA for 1e7a13b - Browse repository at this point
Copy the full SHA 1e7a13bView commit details -
[nrf fromlist] ipc: icmsg: Align to NO MULTITHREADING
Adapting icmsg to work without the MULTITHREADING functionality. Dependencies for kernel work_queue, mutexes and other functions related to running multithreaded applications have been 'ifdefed'. Signed-off-by: Jakub Zymelka <[email protected]> Upstream PR: zephyrproject-rtos/zephyr#73857
Configuration menu - View commit details
-
Copy full SHA for b9de465 - Browse repository at this point
Copy the full SHA b9de465View commit details -
[nrf fromlist] samples: mbox: Align to NO MULTITHREADING
Removed k_sleep dependencies in non-multithreaded runs. Signed-off-by: Jakub Zymelka <[email protected]> Upstream PR: zephyrproject-rtos/zephyr#73857
Configuration menu - View commit details
-
Copy full SHA for 130840c - Browse repository at this point
Copy the full SHA 130840cView commit details -
[nrf fromtree] samples: ipc: icmsg: Add received bytes metric
By adding this metric, any problem with the remote core sending messages is observable. Signed-off-by: Celina Sophie Kalus <[email protected]> (cherry picked from commit 9e0d4ef)
Configuration menu - View commit details
-
Copy full SHA for 5616857 - Browse repository at this point
Copy the full SHA 5616857View commit details -
[nrf fromlist] samples: subsys: ipc: icmsg: Align to NO MULTITHREADING
Removed k_sleep dependencies and added 'printk' instead of LOG in non-multithreaded runs. Signed-off-by: Jakub Zymelka <[email protected]> Upstream PR: zephyrproject-rtos/zephyr#73857
Configuration menu - View commit details
-
Copy full SHA for bac6ef7 - Browse repository at this point
Copy the full SHA bac6ef7View commit details -
[nrf fromtree] tests: drivers: clock_control: nrf_lf_clock_start: Fix…
… SYNTH test Test was not covering nrf54l15 which had Synth source bitfield renamed. Changing the test to use Kconfig to determine if Synth is present. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit c026b55)
Configuration menu - View commit details
-
Copy full SHA for 17f660f - Browse repository at this point
Copy the full SHA 17f660fView commit details -
[nrf fromtree] tests: drivers: counter: nrf_rtc: fixed_top: Add nrf54…
…h20 ppr Add overlays for PPR core on nrf54h20. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit c87ab8c)
Configuration menu - View commit details
-
Copy full SHA for 70f3c15 - Browse repository at this point
Copy the full SHA 70f3c15View commit details -
[nrf fromtree] tests: drivers: counter: basic_api: Tweak test timing
For slow processors it is possible that setting 1 ms alarm and then canceling it could lead to alarm expiring before it is canceled and that was not expected in the test. Increasing timeout to 1.5ms. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 331442f)
Configuration menu - View commit details
-
Copy full SHA for f17033a - Browse repository at this point
Copy the full SHA f17033aView commit details -
[nrf fromtree] tests: drivers: counter: counter_basic_api: Add nrf54h…
…20 ppr Add overlays for PPR core on nrf54h20. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 4d6c059)
Configuration menu - View commit details
-
Copy full SHA for 2e04dd5 - Browse repository at this point
Copy the full SHA 2e04dd5View commit details -
[nrf fromtree] tests: drivers: counter: basic_api: Rework nrf54h20 cp…
…uppr config Rework configuration so that it does not require special treatment in testcase.yaml. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 407aa5c)
Configuration menu - View commit details
-
Copy full SHA for e229016 - Browse repository at this point
Copy the full SHA e229016View commit details -
[nrf fromtree] tests: drivers: counter: nrf: fixed_top: Rework nrf54h…
…20 cpuppr config Rework configuration so that it does not require special treatment in testcase.yaml. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit a575d9b)
Configuration menu - View commit details
-
Copy full SHA for 93a1b8c - Browse repository at this point
Copy the full SHA 93a1b8cView commit details
Commits on Jul 30, 2024
-
[nrf fromtree] manifest: net: openthread: Regular openthread upmerge …
…to `3873c6f`. Regular openthread upmerge to `3873c6fcd5a8a9dd01b71e8efe32ef5dc7923bb1`. Signed-off-by: Przemyslaw Bida <[email protected]> (cherry picked from commit 54d9fe3)
Configuration menu - View commit details
-
Copy full SHA for 97595a3 - Browse repository at this point
Copy the full SHA 97595a3View commit details -
[nrf fromtree] net: openthread: Add implementation of TCAT advertisem…
…ent. Adds implementation of tcat advertisement API. Signed-off-by: Przemyslaw Bida <[email protected]> (cherry picked from commit 4c34e95)
Configuration menu - View commit details
-
Copy full SHA for 44b2b00 - Browse repository at this point
Copy the full SHA 44b2b00View commit details -
[nrf fromtree] net: openthread: Add new kconfig OT options.
Adding: - `OPENTHREAD_BORDER_AGENT_EPHEMERAL_KEY_ENABLE` - `OPENTHREAD_CHANNEL_MANAGER_CSL` - `OPENTHREAD_PLATFORM_LOG_CRASH_DUMP` - `OPENTHREAD_MULTICAST_DNS` - `OPENTHREAD_VERHOEFF_CHECKSUM` Signed-off-by: Przemyslaw Bida <[email protected]> (cherry picked from commit 7dc830e)
Configuration menu - View commit details
-
Copy full SHA for 1d32786 - Browse repository at this point
Copy the full SHA 1d32786View commit details -
[nrf fromlist] manifest: net: openthread: Regular openthread upmerge …
…to `e10a925`. Regular openthread upmerge to `e10a92570f94ff1e0bc5e0da9ecf0ee135d955a6`. Additionally commit aligns platform implementation with diag changes: openthread/openthread#10354 based on: openthread/ot-nrf528xx#822 Upstream PR: zephyrproject-rtos/zephyr#75088 Signed-off-by: Maciej Baczmanski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c784caa - Browse repository at this point
Copy the full SHA c784caaView commit details -
[nrf fromlist] samples: drivers: mbox: Allow coverage calculation
The sample must end to dump coverage data. Stop receiving to prevent callback from interrupting coverage dump. Upstream PR: zephyrproject-rtos/zephyr#76415 Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f98608 - Browse repository at this point
Copy the full SHA 5f98608View commit details
Commits on Jul 31, 2024
-
[nrf fromlist] modules: hal_nordic: adjust HFCLK ramp-up time.
Changes the ramp-up time from 1000us to 550us on nRF54H20. The time must fit inside general preconditions ramp up. The hfclk time can be adjsuted this way because the current solution is not precise until the clock_control is available. Upstream PR: zephyrproject-rtos/zephyr#75320 Signed-off-by: Piotr Koziar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 788e4f3 - Browse repository at this point
Copy the full SHA 788e4f3View commit details -
[nrf fromlist] dts: nrf54h20: add missing global dppic and ipct configs
Adds device tree configs for dppic and ipct connections between the Radio core and the Global domains. The connections are required by the radio driver. Upstream PR: zephyrproject-rtos/zephyr#74826 Signed-off-by: Piotr Koziar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c15356d - Browse repository at this point
Copy the full SHA c15356dView commit details
Commits on Aug 1, 2024
-
[nrf fromtree] net: ipv6: routing: do not add route to original iface…
… without ND When packet is routed between interfaces new routing entry is added to the table. This should not be done for interfaces that do not support Neighbor Discovery protocol as they are not keep potential neighbors in the common table. Signed-off-by: Konrad Derda <[email protected]> (cherry picked from commit 0ac5ab4)
Configuration menu - View commit details
-
Copy full SHA for ff1c3ba - Browse repository at this point
Copy the full SHA ff1c3baView commit details -
[nrf fromtree] net: ipv6: routing: decide whether to set interface's …
…LL address While routing between interfaces source Link-Local L2 address is set for a packet. However, it should not be done for some of the interfaces. This commit adds helper function to check this condition in runtime. Signed-off-by: Konrad Derda <[email protected]> (cherry picked from commit 4e7bf28)
Configuration menu - View commit details
-
Copy full SHA for 3d8a0bd - Browse repository at this point
Copy the full SHA 3d8a0bdView commit details -
Revert "[nrf fromtree] dts: nordic: nrf54l15: Add mbox VEVIF nodes"
This reverts commit edf474b. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f881c8f - Browse repository at this point
Copy the full SHA f881c8fView commit details -
[nrf fromtree] Bluetooth: samples: hci_ipc: Fix incorrect NULL pointe…
…r check The condition was the inverse of what it should have been, leading to an inevitable NULL pointer dereference later. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 641b77b)
Configuration menu - View commit details
-
Copy full SHA for e451f0a - Browse repository at this point
Copy the full SHA e451f0aView commit details -
[nrf fromtree] Bluetooth: drivers: Remove unmaintained B91 HCI driver
The driver isn't currently buildable due to "west blobs" support never having been added for hal_telink. Furthermore, even if the blob dependency is manually made available it turns out the code has bitrotten to the point where it doesn't build anymore. This situation has continued for several years without anyone taking action, so I think it's safe to assume this is unmaintained and should be removed. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit f48a57b)
Configuration menu - View commit details
-
Copy full SHA for 27ffbb7 - Browse repository at this point
Copy the full SHA 27ffbb7View commit details -
[nrf fromtree] Bluetooth: Add devicetree base binding for Bluetooth H…
…CI drivers Add a base binding for Bluetooth HCI drivers. All HCI drivers should extend this binding (through an include directive) to create their own binding files. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 8ae074e)
Configuration menu - View commit details
-
Copy full SHA for e089fbb - Browse repository at this point
Copy the full SHA e089fbbView commit details -
[nrf fromtree] Bluetooth: include: Add initial HCI driver API definition
Add the initial HCI driver header file and driver API definition. This is distinct from drivers/bluetooth/hci_driver.h in order to support legacy (unconverted) drivers for the time being. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 7fb39a6)
Configuration menu - View commit details
-
Copy full SHA for 8c6f5c4 - Browse repository at this point
Copy the full SHA 8c6f5c4View commit details -
[nrf fromtree] Bluetooth: host: Add support for new-style HCI drivers
Add support for HCI drivers which use the newly defined HCI driver API. Since Zephyr (currently) only supports a single HCI driver instance, boards are expected to indicate the instance using a new devicetree chosen property `zephyr,bt_hci`. In order to maintain compatibility with not-yet-converted drivers the code has been placed behind `#if DT_HAS_CHOSEN(zephyr_bt_hci)` conditionals. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit dcff0be)
Configuration menu - View commit details
-
Copy full SHA for 639dbf3 - Browse repository at this point
Copy the full SHA 639dbf3View commit details -
[nrf fromtree] Bluetooth: drivers: Convert H4 (UART) HCI driver to ne…
…w API Convert the H4 driver to the new HCI driver API. This includes updating also any boards that use the driver, i.e. adding the appropriate devicetree node and chosen property to them. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 3482a3b)
Configuration menu - View commit details
-
Copy full SHA for c56c3fa - Browse repository at this point
Copy the full SHA c56c3faView commit details -
Revert "[nrf noup] dts: choose a crypto accelerator for entropy"
This reverts commit c2b79f9. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c841b0e - Browse repository at this point
Copy the full SHA c841b0eView commit details -
[nrf fromtree] Bluetooth: controller: Update to new HCI driver API
Update the native controller to the new HCI driver API. The devicetree node is placed under existing `radio` nodes, which seemed like the most intuitive option. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 44e0f5f)
Configuration menu - View commit details
-
Copy full SHA for ffab98f - Browse repository at this point
Copy the full SHA ffab98fView commit details -
[nrf noup] dts: choose a crypto accelerator for entropy
This is a long-term noup patch because crypto driver support is NCS-only for both cryptocell and CRACEN. Set HAS_HW_NRF_CC3XX to be defined in NS build when cryptocell is accessed through the PSA API. We need to know which CC3XX features are available. Set PSA as the entropy source for 54L. PSA is the only NCS-supported interface to CRACEN. Signed-off-by: Georgios Vasilakis <[email protected]> Signed-off-by: Joakim Andersson <[email protected]> Signed-off-by: Dominik Ermel <[email protected]> Signed-off-by: Sebastian Bøe <[email protected]> Signed-off-by: Robert Lubos <[email protected]> Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7baaf16 - Browse repository at this point
Copy the full SHA 7baaf16View commit details -
[nrf fromtree] Bluetooth: samples: hci_uart_async: Remove bt_recv() d…
…ependency Apps shouldn't try to call bt_recv() since that's not a public API and is going completely away with the new HCI driver API. Just inject the buffer directly into the k_fifo which we anyway have access to in this app. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 7a4cd81)
Configuration menu - View commit details
-
Copy full SHA for 1a0b5cb - Browse repository at this point
Copy the full SHA 1a0b5cbView commit details -
[nrf fromtree] Bluetooth: host: hci_raw: Use existing H4 defines from…
… hci_types.h Use existing defines instead of redefining our own. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit f8befbd)
Configuration menu - View commit details
-
Copy full SHA for 532fe86 - Browse repository at this point
Copy the full SHA 532fe86View commit details -
[nrf fromtree] Bluetooth: drivers: h5: Convert to new HCI driver API
Convert the H:5 HCI driver to use the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 00d6633)
Configuration menu - View commit details
-
Copy full SHA for 959a3a1 - Browse repository at this point
Copy the full SHA 959a3a1View commit details -
[nrf fromtree] boards: st: steval_stwinbx1: Add BLE support for STEVA…
…L-STWINBX1 board Provide BLE support for STEVAL-STWINBX1 board. Signed-off-by: Ali Hozhabri <[email protected]> (cherry picked from commit ced9fba)
Configuration menu - View commit details
-
Copy full SHA for 6ecec85 - Browse repository at this point
Copy the full SHA 6ecec85View commit details -
[nrf fromtree] soc: rw61x: Add BLE support for rw61x
- Add SMU regions - Add HCI definition - Add config when BT is enabled Signed-off-by: Yassine El Aissaoui <[email protected]> (cherry picked from commit 63791f2)
Configuration menu - View commit details
-
Copy full SHA for aaa0523 - Browse repository at this point
Copy the full SHA aaa0523View commit details -
[nrf fromtree] Bluetooth: drivers: hci: Get rid of Kconfig choice
The drivers should be independent after the move to the new HCI driver API. Having them as a choice also has unexpected consequences with some drivers being unexpectedly enabled. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 97c3a1e)
Configuration menu - View commit details
-
Copy full SHA for f230cf1 - Browse repository at this point
Copy the full SHA f230cf1View commit details -
[nrf fromtree] Bluetooth: userchan: Support TCP fragmentation of HCI …
…packets Keep reading from the HCI socket when a packet is incomplete. The other end may not write entire packets, or TCP could fragment in the middle of a packet. Also fix a potential infinite loop by advancing to the next packet before any continue statements. Signed-off-by: Patrick Stewart <[email protected]> (cherry picked from commit 1868987)
Configuration menu - View commit details
-
Copy full SHA for 3688d18 - Browse repository at this point
Copy the full SHA 3688d18View commit details -
[nrf fromtree] Bluetooth: drivers: Convert userchan driver to new API
Convert the HCI User Channel driver to use the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit bb91aa0)
Configuration menu - View commit details
-
Copy full SHA for 3905245 - Browse repository at this point
Copy the full SHA 3905245View commit details -
[nrf fromtree] Bluetooth: drivers: userchan: don't fail everything if…
… driver init fails With the new HCI driver model it's not always critical if a single instance fails to initialize. This is especially true for many test applications which provide their own HCI drivers. Instead of causing a complete failure, simply fail to initialize the driver instance. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 66b5386)
Configuration menu - View commit details
-
Copy full SHA for dbdc755 - Browse repository at this point
Copy the full SHA dbdc755View commit details -
[nrf fromtree] Bluetooth: tests: Convert to new HCI driver API
Convert all Bluetooth tests that define dummy HCI driver instances to use the new HCI driver API. This requires both a custom DTS binding as well as an app-specific overlay file. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 1824dcd)
Configuration menu - View commit details
-
Copy full SHA for 549e219 - Browse repository at this point
Copy the full SHA 549e219View commit details -
[nrf fromtree] qemu: Use BT_UART instead of BT_NO_DRIVER to enable se…
…rial port The CONFIG_BT_NO_DRIVER option will be going away. Use the CONFIG_BT_UART option instead (selected by UART HCI drivers) to determine whether to enable the qemu serial port for Bluetooth. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit c68770e)
Configuration menu - View commit details
-
Copy full SHA for a7ec38f - Browse repository at this point
Copy the full SHA a7ec38fView commit details -
[nrf fromtree] Bluetooth: samples: Fix PAwR samples to match board ca…
…pabilities These samples were enabled for an nRF board, even though there is no upstream support for the feature. Additionally the sample.yaml files were forcefully disabling any in-tree HCI drivers, making it impossible to use e.g. qemu with an external HCI controller. Simply remove the nRF board from the list, as well as the odd Kconfig HCI driver options. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit eddac27)
Configuration menu - View commit details
-
Copy full SHA for fbb3a05 - Browse repository at this point
Copy the full SHA fbb3a05View commit details -
[nrf fromtree] drivers: hci: Add NXP HCI driver
Add HCI driver generic to NXP platforms. Update west.yml to have ble support for rw61x Signed-off-by: Axel Le Bourhis <[email protected]> Signed-off-by: Yassine El Aissaoui <[email protected]> (cherry picked from commit ee03123)
Configuration menu - View commit details
-
Copy full SHA for 3988850 - Browse repository at this point
Copy the full SHA 3988850View commit details -
[nrf fromtree] Bluetooth: Kconfig: Remove BT_NO_DRIVER
There are no actual users in the main tree anymore, so just remove this option. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 589b92b)
Configuration menu - View commit details
-
Copy full SHA for 28726ce - Browse repository at this point
Copy the full SHA 28726ceView commit details -
[nrf fromtree] Bluetooth: Use device tree to indicate vendor exension…
… support Introduce a new bt-hci-vs-ext device tree boolean property to indicate device tree support. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit af750cd)
Configuration menu - View commit details
-
Copy full SHA for 010d1b7 - Browse repository at this point
Copy the full SHA 010d1b7View commit details -
[nrf fromtree] Bluetooth: drivers: Convert IPC driver to new API
Convert the ipc.c HCI driver to the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 6e584a4)
Configuration menu - View commit details
-
Copy full SHA for ca3755d - Browse repository at this point
Copy the full SHA ca3755dView commit details -
[nrf fromtree] Bluetooth: drivers: Convert psoc6_bless driver to new API
Convert the hci_psoc6_bless.c HCI driver to the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit e763741)
Configuration menu - View commit details
-
Copy full SHA for 4a058fa - Browse repository at this point
Copy the full SHA 4a058faView commit details -
[nrf fromtree] Bluetooth: drivers: Convert ESP32 HCI driver to new API
Convert the hci_esp32.c HCI driver to the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 8953b4e)
Configuration menu - View commit details
-
Copy full SHA for 5a43b0e - Browse repository at this point
Copy the full SHA 5a43b0eView commit details -
[nrf fromtree] drivers: bluetooth: hci: Add BlueNRG reset API to ST H…
…CI SPI BT driver Add API to perform hardware reset optionally entering firmware updater mode. Remove redundant declaration for bt_spi_send_aci_config; otherwise, we will have compiler warning if CONFIG_BT_BLUENRG_ACI is not set. Signed-off-by: Ali Hozhabri <[email protected]> (cherry picked from commit 569183b)
Configuration menu - View commit details
-
Copy full SHA for 098ee1d - Browse repository at this point
Copy the full SHA 098ee1dView commit details -
[nrf fromtree] Bluetooth: drivers: Convert SPI drivers to use new HCI…
… API Convert the spi.c and hci_spi_st.c drivers to use the new HCI driver API. Both drivers are converted in one go since one derives from the other's devicetree binding. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 5a09c17)
Configuration menu - View commit details
-
Copy full SHA for fe93e99 - Browse repository at this point
Copy the full SHA fe93e99View commit details -
[nrf fromtree] Bluetooth: drivers: Convert ST STM32WBA driver to new API
Convert the hci_stm32wba.c driver to the new HCI API. Unlike in most cases, the devicetree node is already enabled on the SoC level (rather than board level). This is in order to mirror how the Kconfig option was originally enabled, i.e. on the SoC level. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit b7b606b)
Configuration menu - View commit details
-
Copy full SHA for 7108d1d - Browse repository at this point
Copy the full SHA 7108d1dView commit details -
[nrf fromtree] Bluetooth: drivers: Convert STM32 IPM driver to new API
Convert the ipm_stm32wb.c HCI driver to the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 501e715)
Configuration menu - View commit details
-
Copy full SHA for 62c988c - Browse repository at this point
Copy the full SHA 62c988cView commit details -
[nrf fromtree] Bluetooth: drivers: Convert DA1469X HCI driver to new API
Convert the Renesas DA1469X HCI driver to the new HCI driver API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit f33aab9)
Configuration menu - View commit details
-
Copy full SHA for 346c39d - Browse repository at this point
Copy the full SHA 346c39dView commit details -
[nrf fromtree] Bluetooth: Controller: Clarify that it can be overridd…
…en out of tree Nordic devices are commonly used with the nRF Connect SDK. There the SoftDevice Controller is set as the default Bluetooth Controller. To avoid confusion when reading DTS and Kconfig files, clarify this by adding a note. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 768c45a)
Configuration menu - View commit details
-
Copy full SHA for 24de8e1 - Browse repository at this point
Copy the full SHA 24de8e1View commit details -
[nrf fromtree] bluetooth: hci_nxp: move vendor specific setup to its …
…dedicated place Some vendor specific setup was done inside the open() HCI function, those should be inside setup() function instead. Signed-off-by: Yassine El Aissaoui <[email protected]> (cherry picked from commit 5c308e0)
Configuration menu - View commit details
-
Copy full SHA for 1e2a4a2 - Browse repository at this point
Copy the full SHA 1e2a4a2View commit details -
[nrf fromtree] dts: binding: add yaml file for nxp HCI
- used to define hci info Signed-off-by: Yassine EL -AISSAOUI <[email protected]> (cherry picked from commit 39e126d)
Configuration menu - View commit details
-
Copy full SHA for 99b9a3b - Browse repository at this point
Copy the full SHA 99b9a3bView commit details -
[nrf fromtree] Bluetooth: drivers: Convert NXP HCI driver to new API
Convert the hci_nxp.c HCI driver to use the new HCI driver API. Also move the driver binding under dts/bindings/bluetooth, like all other HCI driver bindings. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit fcddefd)
Configuration menu - View commit details
-
Copy full SHA for 035d459 - Browse repository at this point
Copy the full SHA 035d459View commit details -
[nrf fromtree] modules: Add Kconfig to Kconfig.mcux for BLE support
Added NXP_FW_LOADER for NXP platforms. Added NXP_RF_IMU for NXP platforms. Added MONOLITHIC Flags for NXP platforms. Signed-off-by: Axel Le Bourhis <[email protected]> (cherry picked from commit 6ffbcd4)
Configuration menu - View commit details
-
Copy full SHA for 20de769 - Browse repository at this point
Copy the full SHA 20de769View commit details -
[nrf noup] dts: Add Bluetooth Controller to nRF54H20
The nRF54H20 supports a Bluetooth controller. The HCI driver interface has changed upstream in zephyrproject-rtos/zephyr#72323 so now we need to add it to device tree. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e98fa9 - Browse repository at this point
Copy the full SHA 6e98fa9View commit details -
[nrf fromtree] dts: nordic: nrf54l15: Add mbox VEVIF nodes
Add a mbox VEVIF nodes to be used for communicating FLPR -> APP. Signed-off-by: Jakub Zymelka <[email protected]> (cherry picked from commit c7b3651)
Configuration menu - View commit details
-
Copy full SHA for d6e5642 - Browse repository at this point
Copy the full SHA d6e5642View commit details -
[nrf fromtree] bluetooth: keys_br: Improve bt_foreach_bond
The BR Keys cannot be scanned by function bt_foreach_bond. Add function bt_foreach_bond_br for br. The function bt_foreach_bond_br will be called by bt_foreach_bond if the BR is enabled. Signed-off-by: Lyle Zhu <[email protected]> (cherry picked from commit 2d665c1)
Configuration menu - View commit details
-
Copy full SHA for 45139fb - Browse repository at this point
Copy the full SHA 45139fbView commit details -
[nrf fromtree] Bluetooth: ISO: Avoid bt_iso_chan_disconnected in bt_i…
…so_reset The bt_iso_chan_disconnected function will attempt to remote ISO data paths as the central. Signed-off-by: Emil Gydesen <[email protected]> (cherry picked from commit f5fd2cf)
Configuration menu - View commit details
-
Copy full SHA for 14bd750 - Browse repository at this point
Copy the full SHA 14bd750View commit details -
[nrf fromtree] Bluetooth: conn: Allocate TX context JIT
`bt_conn_send_cb` used to allocate a TX context (K_FOREVER). Instead, we now put the context in the userdata of the buffer. This means that now this fn will never block and always succeed since the tx_queue is a FIFO (infinite size). It just puts the buf on the queue. The metadata is stored safely in there until we have acquired all the necessary resources to send it to the controller without failing: TX context and controller buffer. I.e. when `bt_conn_process_tx` is called, that's when a TX context is try-allocated and the contents of `buf->userdata` is moved into it. The buffer is now ready to be sent to the lower layer. `bt_conn_process_tx` will return -EWOULDBLOCK if it's not able to acquire a TX context, this PR modifies `bt_conn_prepare_events` to respond to this by also waiting on the TX context pool. Unfortunately, this increases the required userdata size for any buffers handed to `bt_conn_send_cb`. This will be fixed in a later commit. Signed-off-by: Aleksander Wasaznik <[email protected]> (cherry picked from commit 52dc64f)
Configuration menu - View commit details
-
Copy full SHA for 3435fef - Browse repository at this point
Copy the full SHA 3435fefView commit details -
[nrf fromtree] Bluetooth: host: Introduce "view" buffer concept
Instead of allocating segments/fragments and copying data into them, we allocate segments as "views" (or slices) into the original buffer. The view also gives access to the headroom of the original buffer, allowing lower layers to push their headers. We choose not to allow multiple views into the same buffer as the headroom of a view would overlap with the data of the previous view. We mark a buffer as locked (or "in-view") by temporarily setting its headroom to zero. This effectively stops create_view because the requested headroom is not available. Each layer that does some kind of fragmentation and wants to use views for that needs to maintain a buffer pool (bufsize 0, count = max views) and a metadata array (size = max views) for the view mechanism to work. Maximum number of views: number of parallel buffers from the upper layer, e.g. number of L2CAP channels for L2CAP segmentation or number of ACL connections for HCI fragmentation. Reason for the change: 1. prevent deadlocks or (ATT/SMP) requests timing out 2. save time (zero-copy) 3. save memory (gets rid of frag pools) L2CAP CoC: would either allocate from the `alloc_seg` application callback, or worse _steal_ from the same pool, or allocate from the global ACL pool. Conn/HCI: would either allocate from `frag_pool` or the global ACL pool. Signed-off-by: Jonathan Rico <[email protected]> Co-authored-by: Aleksander Wasaznik <[email protected]> (cherry picked from commit 1c8cae3)
Configuration menu - View commit details
-
Copy full SHA for f8806d0 - Browse repository at this point
Copy the full SHA f8806d0View commit details -
Revert "[nrf noup] bluetooth: conn: Allow for an extra ref in bt_conn…
…_send_cb" This reverts commit 178b807. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b0ef8c - Browse repository at this point
Copy the full SHA 7b0ef8cView commit details -
[nrf fromtree] Bluetooth: host: Change TX pattern (push -> pull)
The current TX pattern in the host is to try to push a buffer through all the layers up until it is ingested by the controller. Since sending can fail at any layer, we need error-handling and separate retry logic on pretty much all layers. That logic obscures the "happy path" for people trying ot understand the code. This commit inverts the control, in a way that doesn't require changing the host or HCI driver API (yet): Layers don't send buffers synchronously, they instead put their buffer in a private queue of their own and raise a TX flag on the lower layer. Think of it as a `READY` interrupt line that has to be serviced by the lower layer. Sending is now non-blocking, rate depends on the size of buffer pools. There is a single TX processing function. This can be thought as the Interrupt Service Routine that will handle the `READY` interrupt from the layers above. That `tx_processor()` will then attempt to allocate enough resources in order to send the buffer through to the controller. This allocation logic does not block. After acquiring all the resources, the TX processor will attempt to pull data from the upper layer. The upper layer has to figure out which buffer to pass to the controller. This is a good spot to put scheduling or QoS logic in the upper layer. Notes: - user-facing API for tuning QoS will be implemented in a future patch - this scheme could (and probably will) be extended to upper layers (e.g. ATT, L2CAP CoC segmentation). - this patch removes the `pending_no_cb()` memory optimization for clarity/correctness. It might get re-implemented after a stabilization period. Hopefully with more documentation. Signed-off-by: Jonathan Rico <[email protected]> Co-authored-by: Aleksander Wasaznik <[email protected]> (cherry picked from commit 28535fe)
Configuration menu - View commit details
-
Copy full SHA for 2ba216a - Browse repository at this point
Copy the full SHA 2ba216aView commit details -
Revert "[nrf noup] bluetooth: att: Allow ATT sent callback after data…
… TX is done" This reverts commit d74e0b5. Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c8e26f - Browse repository at this point
Copy the full SHA 8c8e26fView commit details -
[nrf fromtree] Bluetooth: L2CAP: Make
bt_l2cap_send_pdu()
This API replaces `bt_l2cap_send()` and `bt_l2cap_send_cb()`. The difference is that it takes the `struct bt_l2cap_le_chan` object directly instead of a connection + CID. We need the channel object in order to put the PDU on the TX queue. It is inefficient to do a search for every PDU when the caller knows the channel object's address and can just pass it down. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 38820ef)
Configuration menu - View commit details
-
Copy full SHA for 282ac17 - Browse repository at this point
Copy the full SHA 282ac17View commit details -
[nrf fromtree] Bluetooth: L2CAP: remove CONFIG_BT_L2CAP_RESCHED_MS
We don't need it thanks to the new TX architecture. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 48d1cff)
Configuration menu - View commit details
-
Copy full SHA for 494da02 - Browse repository at this point
Copy the full SHA 494da02View commit details -
[nrf fromtree] Bluetooth: host: remove TX thread
We don't need the TX thread anymore. Generalizing the pull-based architecture (ie. `tx_processor`) to HCI commands makes it possible to run the whole TX path from the the system workqueue, or any workqueue really. There is an edge-case, where we call `bt_hci_cmd_send_sync()` from the syswq, stalling the system. The proposed mitigation is to attempt to drain the command queue from within `bt_hci_cmd_send_sync()`. My spidey sense tingles however, and it would be better to just remove the capability of calling this fn from the syswq. But doing this requires refactoring a bunch of synchronous procedures in the stack (e.g. stack init, connection establishment, address setting etc), dragging in more work. I will do it, but in a later patch. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 28be890)
Configuration menu - View commit details
-
Copy full SHA for 11097e3 - Browse repository at this point
Copy the full SHA 11097e3View commit details -
[nrf fromtree] Bluetooth: L2CAP: remove seg_pool
We can get rid of the view pool for SDU segments :) We have to make the code slightly more complex :'( The basic idea is always giving the original SDU buffer to `conn.c` for it to pull ACL fragments from. In order to do this, we need to add the PDU headers just-in-time. `bt_l2cap_send_pdu()` does not add them before putting the PDU on the queue anymore. They are added by `l2cap_data_pull()` right before the data leaves `l2cap.c` for `conn.c`. We also have to inform `conn.c` "out of band" of the real L2CAP PDU size so it doesn't fragment across segment boundaries. This oob is the new `length` parameter to the `.pull()` method. This is the added complexity mentioned above. Since SDU segmentation concerns only LE-L2CAP, ISO and Classic L2CAP don't need this extra logic. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit b6cdf10)
Configuration menu - View commit details
-
Copy full SHA for 0b8f95d - Browse repository at this point
Copy the full SHA 0b8f95dView commit details -
[nrf fromtree] Bluetooth: host: use
__maybe_unused
for convenience ……variables In order to suppress compiler warnings w/o using void/ifdef. Suggested in #72854 Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 5a7ef42)
Configuration menu - View commit details
-
Copy full SHA for 883f978 - Browse repository at this point
Copy the full SHA 883f978View commit details -
[nrf fromtree] Bluetooth: host: don't pull data if no view bufs
View buffers are now also a limited resource. Acquire them before attempting to pull data. `CONFIG_BT_CONN_FRAG_COUNT` should be tuned on a per-application basis to avoid this. A possible optimization, that was present before, is to not create a frag when the original buffer fits the controller's HCI size. I prefer deferring this optimization to a future patchset. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 9b3f41d)
Configuration menu - View commit details
-
Copy full SHA for dc0679d - Browse repository at this point
Copy the full SHA dc0679dView commit details -
[nrf fromtree] Bluetooth: Host: Add Per Adv Sync handle getter
The same way as `bt_hci_get_adv_handle` and `bt_hci_get_conn_handle` add a function to get the handle of a periodic advertising sync. Signed-off-by: Théo Battrel <[email protected]> (cherry picked from commit 7c3a5d5)
Configuration menu - View commit details
-
Copy full SHA for 69a047f - Browse repository at this point
Copy the full SHA 69a047fView commit details -
[nrf fromtree] Bluetooth: doc: Add missing doc in bt_gatt_attr
Adds missing doc on public member. Signed-off-by: Knut Eldhuset <[email protected]> (cherry picked from commit db9308d)
Configuration menu - View commit details
-
Copy full SHA for 3214c6b - Browse repository at this point
Copy the full SHA 3214c6bView commit details -
[nrf fromtree] Bluetooth: Host: Fix deprecation and versioning for HC…
…I APIs Add versioning to the new HCI API so that it shows up officially as unstable, and add a reference to the new API from the old API. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 1c53726)
Configuration menu - View commit details
-
Copy full SHA for 64e20d2 - Browse repository at this point
Copy the full SHA 64e20d2View commit details -
[nrf fromtree] Bluetooth: iso: make TX path service all connections
ISO connections that were in the TX queue were not getting serviced in time. This happens because `iso_data_pull()` returns `NULL` when that particular connection (`conn`) is done sending. But it doesn't trigger the TX processor again to process other channels in the queue. This patch fixes that by calling `bt_tx_irq_raise()`. We can't do this from `conn.c` as we don't know if the `NULL` returned is because the current channel is out of data or because it has data but it can't send it (e.g. the current buf is being "viewed" already). Fixes zephyrproject-rtos/zephyr#74321 Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 8af7180)
Configuration menu - View commit details
-
Copy full SHA for 28d304e - Browse repository at this point
Copy the full SHA 28d304eView commit details -
[nrf fromtree] Bluetooth: l2cap: service as much TX channels as possible
Similar to ISO connections, ACL connections are not serviced as fast as possible. Change this, and try to send as much as we have resources for. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit c6345c6)
Configuration menu - View commit details
-
Copy full SHA for 55d27d0 - Browse repository at this point
Copy the full SHA 55d27d0View commit details -
[nrf fromtree] Bluetooth: Host: Define bt_smp_err_to_str()
This API converts a SMP error code to a string. This can be useful if application developers want to print them in the applications. BT_SMP_ERR_SUCCESS was added for completeness. Later we can also use them in the host to improve debuggability. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit b25985a)
Configuration menu - View commit details
-
Copy full SHA for aa78a42 - Browse repository at this point
Copy the full SHA aa78a42View commit details -
[nrf fromtree] Bluetooth: Host: Define bt_security_err_to_str()
This can be useful if application developers want to print them in the applications. Later we can also use them in the host to improve debuggability. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 69fb606)
Configuration menu - View commit details
-
Copy full SHA for 5481e42 - Browse repository at this point
Copy the full SHA 5481e42View commit details -
[nrf fromtree] bluetooth: host: Use K_WORK replace delayable
Use K_WORK defined. This delayed work is never used with any other timeout than K_NO_WAIT, so the "delayed" part of it is never actually needed Signed-off-by: Lingao Meng <[email protected]> (cherry picked from commit cfd79e8)
Configuration menu - View commit details
-
Copy full SHA for 296e3f8 - Browse repository at this point
Copy the full SHA 296e3f8View commit details -
[nrf fromtree] Bluetooth: Host: Enforce correct pool in `bt_hci_cmd_s…
…end_sync` `cmd(buf)` depends on this since it uses `net_buf_id`, which would alias multiple pools. Signed-off-by: Aleksander Wasaznik <[email protected]> (cherry picked from commit a9c95c5)
Configuration menu - View commit details
-
Copy full SHA for 4d12240 - Browse repository at this point
Copy the full SHA 4d12240View commit details -
[nrf fromtree] drivers: bluetooth: Remove unused rsp params
The `rsp` params actually not used, so removed. Signed-off-by: Lingao Meng <[email protected]> (cherry picked from commit b11c43c)
Configuration menu - View commit details
-
Copy full SHA for 773c20d - Browse repository at this point
Copy the full SHA 773c20dView commit details -
[nrf fromtree] samples: bluetooth: Fixes
bt_hci_cmd_send_sync
API u……sage If func:`bt_hci_cmd_send_sync` return no-zero value, indicate that `cmd(buf)->status` not zero, in this condition, rsp not to assign anything, so remove it. Signed-off-by: Lingao Meng <[email protected]> (cherry picked from commit f6480db)
Configuration menu - View commit details
-
Copy full SHA for abb929c - Browse repository at this point
Copy the full SHA abb929cView commit details -
[nrf fromtree] Bluetooth: Host: Fix HCI command timeout usage
Fix Bluetooth initialization problem caused by PR#72090 for at least ST boards that are using BlueNRG BLE modules. For more information, please refer to issue #74528. Signed-off-by: Ali Hozhabri <[email protected]> (cherry picked from commit 3b726de)
Configuration menu - View commit details
-
Copy full SHA for f15d6f5 - Browse repository at this point
Copy the full SHA f15d6f5View commit details -
[nrf fromtree] Bluetooth: Host: Add missing buffer length check
Modified to check the length of the remaining data in buffer before processing the next report. The length check is missing in the cont routine. Signed-off-by: Eunkyu Lee <[email protected]> (cherry picked from commit e491f22)
Configuration menu - View commit details
-
Copy full SHA for 20b320c - Browse repository at this point
Copy the full SHA 20b320cView commit details -
[nrf fromtree] Bluetooth: Fix CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY buil…
…d warnings This commit fixes compilation warnings that are present when compiling with CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY as can be seen in this compiler log: """ In file included from /zephyr-sdk-0.16.1/arm-zephyr-eabi/picolibc/ include/string.h:215, from /zephyr/subsys/bluetooth/host/smp.c:15: In function '__memcpy_ichk', inlined from 'sc_send_public_key' at /zephyr/subsys/bluetooth/host/ smp.c:3006:2: /zephyr-sdk-0.16.1/arm-zephyr-eabi/picolibc/include/ssp/string.h:83:1: warning: argument 2 null where non-null expected [-Wnonnull] 83 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /zephyr-sdk-0.16.1/arm-zephyr-eabi/picolibc/include/ssp/string.h:83:1: note: in a call to built-in function '__builtin_memcpy' /zephyr/subsys/bluetooth/host/smp.c: In function 'smp_public_key': /zephyr/subsys/bluetooth/host/smp.c:4214:21: warning: argument 2 null where non-null expected [-Wnonnull] 4214 | memcmp(smp->pkey, sc_public_key, BT_PUB_KEY_COORD_LEN) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /zephyr-sdk-0.16.1/arm-zephyr-eabi/picolibc/include/string.h:62:10: note: in a call to function 'memcmp' declared 'nonnull' 62 | int memcmp (const void *, const void *, size_t); | ^~~~~~ """ The warning is caused by the potential use of NULL "sc_public_key" global pointer that is not assigned a value in "smp_init()" if CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY is enabled. This commit conditionally changes the behavior of function "smp_public_key()" if CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY is activated to simply return and not use the "sc_public_key" variable. Other functions that are not called anymore by "smp_public_key()" are also conditionally deactivated when CONFIG_BT_SMP_OOB_LEGACY_PAIR_ONLY is enabled Signed-off-by: Sebastian Panceac <[email protected]> (cherry picked from commit 9ce338d)
Configuration menu - View commit details
-
Copy full SHA for 5b04077 - Browse repository at this point
Copy the full SHA 5b04077View commit details -
[nrf fromtree] bluetooth:
bt_le_ext_adv_start_param
is const`bt_le_ext_adv_start` does not modify the `param` argument, which can therefore be marked as `const`. This allows the struct to exist purely in ROM. Signed-off-by: Jordan Yates <[email protected]> (cherry picked from commit 40eeded)
Configuration menu - View commit details
-
Copy full SHA for 6fca92e - Browse repository at this point
Copy the full SHA 6fca92eView commit details -
[nrf fromtree] Bluetooth: Host: Remove conn param update checks
The rationale behind that change is that the Application can use the `bt_conn_le_param_update()` API to signal the controller to reschedule the link. Even if the new connection params are within the old ones, the controller would be free to choose an e.g. smaller interval. The host API should not prevent this usage. Fixes zephyrproject-rtos/zephyr#74292 Co-authored-by: Knut Eldhuset <[email protected]> Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit ac37d64)
Configuration menu - View commit details
-
Copy full SHA for 47dec51 - Browse repository at this point
Copy the full SHA 47dec51View commit details -
[nrf fromtree] Bluetooth: Host: Fix recv_enabled field for PAST
When syncing to a PA using PAST then the sync_info.recv_enabled was always just set to true, regardless of what mode was set during the subscribe parameters. The mode(s) are now stored in an array (with the default value as well) so that we can retrieve that information when the PA has synced via PAST. It was considered to put the `mode` value into the `bt_conn` struct, but that would require an API change as the `bt_conn` parameter for the subcribe function uses `const`. This commit also modifies the guard for PAST to be the more correct value CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER instead of just CONFIG_BT_CONN. Signed-off-by: Emil Gydesen <[email protected]> (cherry picked from commit 711b42a)
Configuration menu - View commit details
-
Copy full SHA for bcb5d03 - Browse repository at this point
Copy the full SHA bcb5d03View commit details -
[nrf fromtree] Bluetooth: host: Use correct user_data size for hci_rx…
…_pool `struct acl_data` is used even when Host flow control is not enabled. It is written to through the `acl(buf)` accessor in `conn.c:hci_acl()`. Hopefully no netbufs were harmed by that :/ Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 792ae68)
Configuration menu - View commit details
-
Copy full SHA for 0896506 - Browse repository at this point
Copy the full SHA 0896506View commit details -
[nrf fromlist] Bluetooth: Host: Fix bt_disable() for IPC giving HCI R…
…eset timeout Some HCI drivers issue HCI reset when disabling, like the IPC HCI driver. We need to keep the RX thread running to allow receiving the command complete. This commit postpones aborting the RX thread until this is done. The issue happens started occuring after commit d0e75ab87c4b53d66008c941c38709a2fca9dbea. Fixes #76202. Upstream PR: zephyrproject-rtos/zephyr#76203 Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff26b0a - Browse repository at this point
Copy the full SHA ff26b0aView commit details -
[nrf noup] bluetooth: att: Allow ATT sent callback after data TX is done
By default, the BLE stack calls sent callback for ATT data when the data is passed to BLE controller for transmission. Enabling this Kconfig option delays calling the sent callback until data transmission is finished by BLE controller (the callback is delayed until receiving the num complete packets event). Jira: NCSDK-27422 Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit d74e0b5)
Configuration menu - View commit details
-
Copy full SHA for 43cced8 - Browse repository at this point
Copy the full SHA 43cced8View commit details -
[nrf fromlist] Bluetooth: Host: Fix compiling PAwR Sync without PAST RX
The function `bt_hci_le_past_received_v2()` is not compiled in for this configuration, so the reference needs to be removed. Fixes #76268. Upstream PR: zephyrproject-rtos/zephyr#76269 Signed-off-by: Rubin Gerritsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee94b90 - Browse repository at this point
Copy the full SHA ee94b90View commit details -
[nrf noup] bluetooth: conn: Allow for an extra ref in bt_l2cap_send_pdu
Allow for an additional buffer reference if callback is provided. This can be used to extend lifetime of the net buffer until the data transmission is confirmed by ACK of the remote. Signed-off-by: Marek Pieta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e84675a - Browse repository at this point
Copy the full SHA e84675aView commit details -
[nrf fromlist] testsuite: coverage: allow disabled multithreading
k_sched* are not avaliable when there is CONFIG_MULTITHREADING=n Upstream PR: zephyrproject-rtos/zephyr#76550 Signed-off-by: Piotr Kosycarz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 631b9a2 - Browse repository at this point
Copy the full SHA 631b9a2View commit details
Commits on Aug 2, 2024
-
[nrf fromtree] Bluetooth: Mark bt_<type>_err_to_str() APIs experimental
It was pointed out in a future PR that they should have a corresponding experimental Kconfig entry. See PR #73795. This updates the APIs added in PR #73826 and PR #74295. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 85eadcf)
Configuration menu - View commit details
-
Copy full SHA for d86a806 - Browse repository at this point
Copy the full SHA d86a806View commit details -
[nrf fromtree] Bluetooth: HCI: Expose bt_hci_adv_lookup_handle()
When implementing vendor specific HCI APIs and events, we want to be able to convert between host objects, handles and back again. Exposing this API makes that possible. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 5b14748)
Configuration menu - View commit details
-
Copy full SHA for e6028fb - Browse repository at this point
Copy the full SHA e6028fbView commit details -
[nrf fromtree] Bluetooth: HCI: Expose bt_hci_per_adv_sync_lookup_hand…
…le() When implementing vendor specific HCI APIs and events, we want to be able to convert between host objects, handles and back again. Exposing this API makes that possible. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit e28207d)
Configuration menu - View commit details
-
Copy full SHA for 2071857 - Browse repository at this point
Copy the full SHA 2071857View commit details -
[nrf fromtree] Bluetooth: HCI: Expose bt_hci_conn_lookup_handle()
When implementing vendor specific HCI APIs and events, we want to be able to convert between host objects, handles and back again. Exposing this API makes that possible Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 2967bd8)
Configuration menu - View commit details
-
Copy full SHA for 65acb95 - Browse repository at this point
Copy the full SHA 65acb95View commit details -
[nrf fromtree] boards: nordic: nrf54h20dk: add DMA attribute to RAM21…
… & RAM3x This attribute denotes that DMA operation can be performed from a given region. Signed-off-by: Nikodem Kastelik <[email protected]> (cherry picked from commit ea361f0)
Configuration menu - View commit details
-
Copy full SHA for b5e2f8f - Browse repository at this point
Copy the full SHA b5e2f8fView commit details -
[nrf fromtree] soc: nordic: add dmm component
DMM stands for Device Memory Management and its role is to streamline the process of allocating DMA buffer in correct memory region and managing the data cache. Signed-off-by: Nikodem Kastelik <[email protected]> (cherry picked from commit 37e511b)
Configuration menu - View commit details
-
Copy full SHA for 6638fe9 - Browse repository at this point
Copy the full SHA 6638fe9View commit details -
[nrf fromtree] tests: boards: nrf: add tests for dmm component
Added tests verify output and input buffers allocation using dmm component. Signed-off-by: Nikodem Kastelik <[email protected]> (cherry picked from commit d67abdd)
Configuration menu - View commit details
-
Copy full SHA for 73607f9 - Browse repository at this point
Copy the full SHA 73607f9View commit details -
[nrf fromtree] soc: nordic: nrf54h: DMM shall be applied only to rad&app
cpuppr can only use slow peripherals and uses RAM3 as RAM so it does not need to use DMM. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 0825f24)
Configuration menu - View commit details
-
Copy full SHA for 0f80a88 - Browse repository at this point
Copy the full SHA 0f80a88View commit details -
[nrf fromtree] tests: boards: nrf: dmm: Adjust test to dmm changes
After changing dmm to not apply data cache line alignment for all regions test needs to be aligned. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 7a6b355)
Configuration menu - View commit details
-
Copy full SHA for 07e4efb - Browse repository at this point
Copy the full SHA 07e4efbView commit details -
[nrf fromtree] soc: nordic: common: dmm: Fix memory utilization
DMM was enforcing cache line alignment all memory regions, including those which were not cacheable. Fixing it by using memory attribute from the device tree to determine if alignment needs to be applied. Because of that memory usage was significantly increased because even 1 byte buffers (e.g. for uart_poll_out) was consuming 32 bytes (cache line size). Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 5f32265)
Configuration menu - View commit details
-
Copy full SHA for 732fc36 - Browse repository at this point
Copy the full SHA 732fc36View commit details -
[nrf fromtree] soc: nordic: common: dmm: fix region alignment getter
Getting the required alignment size for memory region node and device node needs to be handled by a separate macro. Otherwise alignment of single byte is reported for any region. Add a test that checks for this particular issue. Signed-off-by: Nikodem Kastelik <[email protected]> (cherry picked from commit c0d508a)
Configuration menu - View commit details
-
Copy full SHA for cd39ee9 - Browse repository at this point
Copy the full SHA cd39ee9View commit details -
[nrf fromlist] boards: nordic: nrf54h20dk: add miscellaneous shared m…
…em for cpusec This is auxiliary shared memory needed for some of IPC communication. Upstream PR: zephyrproject-rtos/zephyr#74302 Signed-off-by: Nikodem Kastelik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d14832 - Browse repository at this point
Copy the full SHA 6d14832View commit details -
[nrf fromlist] tests: drivers: spi_controller_peripheral: make cpurad…
…_dma reg bigger This test needs more space for SPI transfer buffers. Upstream PR: zephyrproject-rtos/zephyr#74302 Signed-off-by: Nikodem Kastelik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7c5e06 - Browse repository at this point
Copy the full SHA b7c5e06View commit details