Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

tests: bluetooth: tester: build with sysbuild #2011

Draft
wants to merge 614 commits into
base: main
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 18, 2024

  1. [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]>
    kapbh authored and rlubos committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    40ff936 View commit details
    Browse the repository at this point in the history
  2. [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]>
    kapbh authored and rlubos committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2af3400 View commit details
    Browse the repository at this point in the history
  3. [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]>
    nordic-piks authored and rlubos committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ba97e9d View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. [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)
    57300 authored and nordicjm committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    a51f1aa View commit details
    Browse the repository at this point in the history
  2. [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)
    57300 authored and nordicjm committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    af38d0b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. [nrf noup] ci: add suit-dfu-test to test-spec

    Add triggers for SUIT DFU tests.
    
    Signed-off-by: Krzysztof Szromek <[email protected]>
    kszromek-nordic authored and nordicjm committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    037880d View commit details
    Browse the repository at this point in the history
  2. [nrf noup] drivers: flash: kconfig: nrf_rram region resolution

    adjusting region resolution to match erase-block-size
    
    Signed-off-by: Mateusz Michalek <[email protected]>
    michalek-no authored and nordicjm committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    66628ac View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. [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]>
    adamkondraciuk authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b8abfdb View commit details
    Browse the repository at this point in the history
  2. [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]>
    adamkondraciuk authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    3a13f25 View commit details
    Browse the repository at this point in the history
  3. [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]>
    adamkondraciuk authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    652c155 View commit details
    Browse the repository at this point in the history
  4. [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]>
    adamkondraciuk authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    fbeccb4 View commit details
    Browse the repository at this point in the history
  5. [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]>
    adamkondraciuk authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    a19a728 View commit details
    Browse the repository at this point in the history
  6. [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]>
    nordic-babu authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    860f386 View commit details
    Browse the repository at this point in the history
  7. [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]>
    nordic-babu authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    dfcb520 View commit details
    Browse the repository at this point in the history
  8. [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]>
    nordic-babu authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    750d7e9 View commit details
    Browse the repository at this point in the history
  9. [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]>
    nordic-babu authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    d27c6c4 View commit details
    Browse the repository at this point in the history
  10. [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]>
    nordic-babu authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    bd373f1 View commit details
    Browse the repository at this point in the history
  11. [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]>
    carlescufi authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    585c0a6 View commit details
    Browse the repository at this point in the history
  12. [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]>
    carlescufi authored and nordicjm committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    322426e View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. [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]>
    MarGasiorek authored and nordicjm committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    7a8858f View commit details
    Browse the repository at this point in the history
  2. [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]>
    MarGasiorek authored and nordicjm committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    86c19bd View commit details
    Browse the repository at this point in the history
  3. [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]>
    konradderda authored and nordicjm committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    f226bb8 View commit details
    Browse the repository at this point in the history
  4. [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]>
    adamkondraciuk authored and nordicjm committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    d430bfa View commit details
    Browse the repository at this point in the history
  5. [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]>
    nordic-babu authored and rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    c580a48 View commit details
    Browse the repository at this point in the history
  6. [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]>
    konradderda authored and rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    2aa5233 View commit details
    Browse the repository at this point in the history
  7. [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]>
    konradderda authored and rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    bdb9641 View commit details
    Browse the repository at this point in the history
  8. [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]>
    konradderda authored and rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8968b02 View commit details
    Browse the repository at this point in the history
  9. [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]>
    konradderda authored and rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    8587f90 View commit details
    Browse the repository at this point in the history
  10. [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]>
    rlubos committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    4c996ec View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. [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)
    konradderda authored and nordicjm committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    2fbc694 View commit details
    Browse the repository at this point in the history
  2. [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)
    konradderda authored and nordicjm committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    85665b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. [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)
    jaz1-nordic authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    1e7a13b View commit details
    Browse the repository at this point in the history
  2. [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
    jaz1-nordic authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    b9de465 View commit details
    Browse the repository at this point in the history
  3. [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
    jaz1-nordic authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    130840c View commit details
    Browse the repository at this point in the history
  4. [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)
    celinakalus authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    5616857 View commit details
    Browse the repository at this point in the history
  5. [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
    jaz1-nordic authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    bac6ef7 View commit details
    Browse the repository at this point in the history
  6. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    17f660f View commit details
    Browse the repository at this point in the history
  7. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    70f3c15 View commit details
    Browse the repository at this point in the history
  8. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    f17033a View commit details
    Browse the repository at this point in the history
  9. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2e04dd5 View commit details
    Browse the repository at this point in the history
  10. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e229016 View commit details
    Browse the repository at this point in the history
  11. [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)
    nordic-krch authored and rlubos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    93a1b8c View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. [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)
    canisLupus1313 authored and rlubos committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    97595a3 View commit details
    Browse the repository at this point in the history
  2. [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)
    canisLupus1313 authored and rlubos committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    44b2b00 View commit details
    Browse the repository at this point in the history
  3. [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)
    canisLupus1313 authored and rlubos committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    1d32786 View commit details
    Browse the repository at this point in the history
  4. [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]>
    maciejbaczmanski authored and rlubos committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    c784caa View commit details
    Browse the repository at this point in the history
  5. [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]>
    nordic-piks authored and nordicjm committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    5f98608 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. [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]>
    piotrkoziar authored and rlubos committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    788e4f3 View commit details
    Browse the repository at this point in the history
  2. [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]>
    piotrkoziar authored and rlubos committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    c15356d View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. [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)
    konradderda authored and rlubos committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ff1c3ba View commit details
    Browse the repository at this point in the history
  2. [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)
    konradderda authored and rlubos committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3d8a0bd View commit details
    Browse the repository at this point in the history
  3. Revert "[nrf fromtree] dts: nordic: nrf54l15: Add mbox VEVIF nodes"

    This reverts commit edf474b.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f881c8f View commit details
    Browse the repository at this point in the history
  4. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e451f0a View commit details
    Browse the repository at this point in the history
  5. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    27ffbb7 View commit details
    Browse the repository at this point in the history
  6. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e089fbb View commit details
    Browse the repository at this point in the history
  7. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8c6f5c4 View commit details
    Browse the repository at this point in the history
  8. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    639dbf3 View commit details
    Browse the repository at this point in the history
  9. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    c56c3fa View commit details
    Browse the repository at this point in the history
  10. Revert "[nrf noup] dts: choose a crypto accelerator for entropy"

    This reverts commit c2b79f9.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    c841b0e View commit details
    Browse the repository at this point in the history
  11. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ffab98f View commit details
    Browse the repository at this point in the history
  12. [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]>
    joerchan authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7baaf16 View commit details
    Browse the repository at this point in the history
  13. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    1a0b5cb View commit details
    Browse the repository at this point in the history
  14. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    532fe86 View commit details
    Browse the repository at this point in the history
  15. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    959a3a1 View commit details
    Browse the repository at this point in the history
  16. [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)
    HoZHel authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6ecec85 View commit details
    Browse the repository at this point in the history
  17. [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)
    yeaissa authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    aaa0523 View commit details
    Browse the repository at this point in the history
  18. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f230cf1 View commit details
    Browse the repository at this point in the history
  19. [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)
    patstew authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3688d18 View commit details
    Browse the repository at this point in the history
  20. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3905245 View commit details
    Browse the repository at this point in the history
  21. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    dbdc755 View commit details
    Browse the repository at this point in the history
  22. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    549e219 View commit details
    Browse the repository at this point in the history
  23. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a7ec38f View commit details
    Browse the repository at this point in the history
  24. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fbb3a05 View commit details
    Browse the repository at this point in the history
  25. [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)
    axelnxp authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3988850 View commit details
    Browse the repository at this point in the history
  26. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    28726ce View commit details
    Browse the repository at this point in the history
  27. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    010d1b7 View commit details
    Browse the repository at this point in the history
  28. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ca3755d View commit details
    Browse the repository at this point in the history
  29. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4a058fa View commit details
    Browse the repository at this point in the history
  30. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5a43b0e View commit details
    Browse the repository at this point in the history
  31. [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)
    HoZHel authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    098ee1d View commit details
    Browse the repository at this point in the history
  32. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    fe93e99 View commit details
    Browse the repository at this point in the history
  33. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7108d1d View commit details
    Browse the repository at this point in the history
  34. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    62c988c View commit details
    Browse the repository at this point in the history
  35. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    346c39d View commit details
    Browse the repository at this point in the history
  36. [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)
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    24de8e1 View commit details
    Browse the repository at this point in the history
  37. [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)
    yeaissa authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    1e2a4a2 View commit details
    Browse the repository at this point in the history
  38. [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)
    yeaissa authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    99b9a3b View commit details
    Browse the repository at this point in the history
  39. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    035d459 View commit details
    Browse the repository at this point in the history
  40. [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)
    axelnxp authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    20de769 View commit details
    Browse the repository at this point in the history
  41. [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]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6e98fa9 View commit details
    Browse the repository at this point in the history
  42. [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)
    jaz1-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    d6e5642 View commit details
    Browse the repository at this point in the history
  43. [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)
    lylezhu2012 authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    45139fb View commit details
    Browse the repository at this point in the history
  44. [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)
    Thalley authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    14bd750 View commit details
    Browse the repository at this point in the history
  45. [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)
    alwa-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3435fef View commit details
    Browse the repository at this point in the history
  46. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f8806d0 View commit details
    Browse the repository at this point in the history
  47. 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]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    7b0ef8c View commit details
    Browse the repository at this point in the history
  48. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    2ba216a View commit details
    Browse the repository at this point in the history
  49. 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]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    8c8e26f View commit details
    Browse the repository at this point in the history
  50. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    282ac17 View commit details
    Browse the repository at this point in the history
  51. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    494da02 View commit details
    Browse the repository at this point in the history
  52. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    11097e3 View commit details
    Browse the repository at this point in the history
  53. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    0b8f95d View commit details
    Browse the repository at this point in the history
  54. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    883f978 View commit details
    Browse the repository at this point in the history
  55. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    dc0679d View commit details
    Browse the repository at this point in the history
  56. [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)
    theob-pro authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    69a047f View commit details
    Browse the repository at this point in the history
  57. [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)
    knutel-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3214c6b View commit details
    Browse the repository at this point in the history
  58. [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)
    jhedberg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    64e20d2 View commit details
    Browse the repository at this point in the history
  59. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    28d304e View commit details
    Browse the repository at this point in the history
  60. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    55d27d0 View commit details
    Browse the repository at this point in the history
  61. [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)
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    aa78a42 View commit details
    Browse the repository at this point in the history
  62. [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)
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5481e42 View commit details
    Browse the repository at this point in the history
  63. [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)
    LingaoM authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    296e3f8 View commit details
    Browse the repository at this point in the history
  64. [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)
    alwa-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    4d12240 View commit details
    Browse the repository at this point in the history
  65. [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)
    LingaoM authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    773c20d View commit details
    Browse the repository at this point in the history
  66. [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)
    LingaoM authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    abb929c View commit details
    Browse the repository at this point in the history
  67. [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)
    HoZHel authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f15d6f5 View commit details
    Browse the repository at this point in the history
  68. [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)
    ekleezg authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    20b320c View commit details
    Browse the repository at this point in the history
  69. [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)
    spanceac authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    5b04077 View commit details
    Browse the repository at this point in the history
  70. [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)
    JordanYates authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6fca92e View commit details
    Browse the repository at this point in the history
  71. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    47dec51 View commit details
    Browse the repository at this point in the history
  72. [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)
    Thalley authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    bcb5d03 View commit details
    Browse the repository at this point in the history
  73. [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)
    jori-nordic authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    0896506 View commit details
    Browse the repository at this point in the history
  74. [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]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ff26b0a View commit details
    Browse the repository at this point in the history
  75. [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)
    MarekPieta authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    43cced8 View commit details
    Browse the repository at this point in the history
  76. [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]>
    rugeGerritsen authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    ee94b90 View commit details
    Browse the repository at this point in the history
  77. [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]>
    MarekPieta authored and nordicjm committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e84675a View commit details
    Browse the repository at this point in the history
  78. [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]>
    nordic-piks authored and rlubos committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    631b9a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. [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)
    rugeGerritsen authored and nordicjm committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d86a806 View commit details
    Browse the repository at this point in the history
  2. [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)
    rugeGerritsen authored and nordicjm committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e6028fb View commit details
    Browse the repository at this point in the history
  3. [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)
    rugeGerritsen authored and nordicjm committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    2071857 View commit details
    Browse the repository at this point in the history
  4. [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)
    rugeGerritsen authored and nordicjm committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    65acb95 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] Bluetooth: DIS: integrate app version into FW revision…

    … characteristic
    
    Integrated the application version feature of the build system with
    the default configuration of the Bluetooth DIS module and its Firmware
    Revision characteristic.
    
    The firmware revision string now defaults to APP_VERSION_TWEAK_STRING
    if the application version feature is used in a project. This specific
    version format is used to unify version formatting with other parts of
    Zephyr like the MCUboot module and its versioning Kconfig:
    CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    (cherry picked from commit f9a5699)
    kapi-no authored and rlubos committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    bc15a7e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    53635212495e4575955fc717369be4362126456a
    
    Including the following:
    * 53635212 nRF54L15 MDK: Redefine NRF_RADIO_*_BASE to point to model
    * 4a92c424 NHW_IPC: Fix out of bounds read
    * 2dae79b5 RADIO: Add nRF54 support
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit e91b336)
    aescolar authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9adafaa View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    4447a22aea5e791c9bd18e7d71cc092623ddd2bb
    
    Including the following:
    * 4447a22a CLOCK,POWER,RESET: Add stubs for the 54L
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 8d6d700)
    aescolar authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9cde378 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    6c389b9b5fa0a079cd4502e69d375da4c0c289b7
    
    Including the following:
    * 6c389b9 PPI (52): Connect CCM TASK_RATEOVERRIDE
    * 2056253 CCM: Change TASK RATEOVERRIDE warning to info
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit fd236ee)
    aescolar authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    fbe0c5a View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    3ede17158a9fe85c160e0384c0ad0306e24ee47e
    
    Including the following:
    * 3ede171 GRTC: Expose nhw_GRTC_counter_to_time()
    * 2726f8b RTC: Define nhw_rtc_start_time_get()
    * cc6fb0f hal: hack: Add nrf_hack function for triggering a task
    * 03ca9b5 MWU: Add registers stub
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    (cherry picked from commit 08cd4b6)
    rugeGerritsen authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    85ca81f View commit details
    Browse the repository at this point in the history
  5. [nrf fromlist] tests: drivers: adc_accuracy: add calibration before

    sampling
    
    Calibrate adc before taking measurement.
    
    Upstream PR: zephyrproject-rtos/zephyr#76088
    
    Signed-off-by: Bartlomiej Buczek <[email protected]>
    nordic-babu authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    7534f8f View commit details
    Browse the repository at this point in the history
  6. [nrf fromlist] tests: adc_api: add channel for

    nrf54 targets
    
    add channel in overlay of nrf54 targets to increase test coverage.
    
    Upstream PR: zephyrproject-rtos/zephyr#76569
    
    Signed-off-by: Bartlomiej Buczek <[email protected]>
    nordic-babu authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    27e7602 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] bluetooth: Add Kconfig for LE Connection Subrating

    Add separate Kconfig to be used by the host LE Subrating implementation.
    
    Signed-off-by: Aleksandar Stanoev <[email protected]>
    (cherry picked from commit c417bd2)
    alexstanoev-nordic authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    479bb8c View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] bluetooth: host: Add support for LE Connection Subrating

    Adds support for LE Connection Subrating as defined in Core 5.4
    Vol 6, Part B, Section 5.1.19.
    As this is primarily a controller feature, the host support is mostly
    a wrapper around the relevant HCI commands.
    
    Note that subrating provides a new method to update the connection's
    peripheral latency and supervision timeout alongside subrating parameters.
    
    Signed-off-by: Aleksandar Stanoev <[email protected]>
    (cherry picked from commit db9bcdc)
    alexstanoev-nordic authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    1c041e8 View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] bluetooth: shell: Add shell commands for LE Connection…

    … Subrating
    
    Add commands to allow requesting a subrate change via the BT shell.
    A new build configuration has been added to ensure this is tested in CI.
    
    Signed-off-by: Aleksandar Stanoev <[email protected]>
    (cherry picked from commit 52ffbd8)
    alexstanoev-nordic authored and rlubos committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    64796d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. [nrf fromlist] drivers: watchdog: nrfx wdt without IRQs

    Add config option to build nrfx wdt driver with
    NRFX_WDT_CONFIG_NO_IRQ enabled.
    
    Signed-off-by: Lukasz Stepnicki <[email protected]>
    
    Upstream PR: zephyrproject-rtos/zephyr#76174
    lstnl authored and rlubos committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    766b306 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. [nrf noup] test-spec: update CI-boot-test

    Updated label name, added new entries to trigger CI.
    
    Signed-off-by: Grzegorz Chwierut <[email protected]>
    gchwier authored and PerMac committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    9819457 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. [nrf noup] include: net: socket_ncs: remove deprecated RAI

    nrf-squash! [nrf noup] include: net: add NCS extensions
    
    This commit removes deprecated RAI socket options.
    
    Signed-off-by: Mirko Covizzi <[email protected]>
    MirkoCovizzi authored and rlubos committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    3b6c6e0 View commit details
    Browse the repository at this point in the history
  2. [nrf fromlist] dts: nordic: Add nrf-tbm (trace buffer monitor) node

    Add new binding and a node to nrf54h20. Update Kconfig and nrfx_config
    to include nrfx_tbm driver when node with that compatible is enabled.
    
    Upstream PR: zephyrproject-rtos/zephyr#72476
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    nordic-krch authored and rlubos committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    e8ce359 View commit details
    Browse the repository at this point in the history
  3. [nrf fromlist] boards: nordic: nrf54h20dk: Add ETR buffer to memory map

    Add 4k ETR buffer to the memory map.
    
    Upstream PR: zephyrproject-rtos/zephyr#72476
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    nordic-krch authored and rlubos committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5708d4e View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. [nrf noup] bluetooth: conn: Skip buffer ref count check in send_buf

    If ATT sent callback is delayed until data transmission is done by BLE
    controller, the transmitted buffer may have an additional reference. The
    reference is used to extend lifetime of the net buffer until the data
    transmission is confirmed by ACK of the remote.
    
    send_buf function can be called multiple times, if buffer has to be
    fragmented over HCI. In that case, the callback is provided as an
    argument only for the last transmitted fragment. The `buf->ref == 1`
    check is skipped because it's impossible to properly validate number of
    references for the sent fragments if buffers may have the additional
    reference.
    
    Jira: NCSDK-28624
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and nordicjm committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    4f64a3a View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] soc: nordic: nrf54h: Retrigger TASK_FREQ_CHANGE

    A single trigger of the TASK_FREQ_CHANGE task might not be enough, so
    trigger twice to make sure the frequency gets updated.
    
    Signed-off-by: Karsten Koenig <[email protected]>
    (cherry picked from commit 16e7e46)
    karstenkoenig authored and rlubos committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    5aef526 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] soc: nordic: Fix APPROTECT with TF-M

    Allow CONFIG_NRF_APPROTECT_LOCK and
    CONFIG_NRF_SECURE_APPROTECT_LOCK with TF-M with all the SOC's
    that support TF-M.
    
    Signed-off-by: Markus Lassila <[email protected]>
    (cherry picked from commit c449684)
    MarkusLassila authored and rlubos committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9e30235 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. [nrf fromtree] drivers: flash: Do not select NRFX_RRAMC while buildin…

    …g with TF-M
    
    RRAMC peripheral is a secure-only peripheral, and the application
    cannot use it directly. While building an application with TF-M
    enabled and SOC_FLASH_NRF_RRAM the NRFX_RRAMC selection must
    be forbidden.
    
    Signed-off-by: Arkadiusz Balys <[email protected]>
    (cherry picked from commit 2de6274)
    ArekBalysNordic authored and nordicjm committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    695e407 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] net: ipv6: route: get nexthop's LL address only if rel…

    …evant
    
    This commit moves reading nexthop's LL address only if it's supported
    by a given neighbor and can be used for routing between interfaces.
    
    Signed-off-by: Konrad Derda <[email protected]>
    (cherry picked from commit 5e4e63b)
    konradderda authored and nordicjm committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a49f603 View commit details
    Browse the repository at this point in the history
  3. [nrf fromlist] scripts: nrf_common: Use cfg for SUIT paths

    It is safer to base the SUIT artifacts path on the path of the
    configuration file than the HEX file that is being flashed.
    The latter may be overriden by several scripts that merge/transform the
    final firmware image.
    
    Ref: NCSDK-26282
    
    Upstream PR: zephyrproject-rtos/zephyr#76560
    
    Signed-off-by: Tomasz Chyrowicz <[email protected]>
    tomchy authored and rlubos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7981a26 View commit details
    Browse the repository at this point in the history
  4. [nrf fromlist] kconfig: openthread: Add 1.4 version

    This commit adds thread 1.4 version.
    
    Upstream PR: zephyrproject-rtos/zephyr#76881
    
    Signed-off-by: Maciej Baczmanski <[email protected]>
    maciejbaczmanski authored and nordicjm committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    42f3433 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. [nrf noup] modules: mbedtls: remove deprecated Kconfig

    Remove the deprecated PSA_WANT_KEY_TYPE_ECC_KEY_PAIR Kconfig
    
    ref: NCSDK-27160
    
    Signed-off-by: Markus Rekdal <[email protected]>
    nordic-mare authored and nordicjm committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    8bd088c View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. [nrf fromlist] bluetooth: host: conn: Fix renamed callback_list

    callback_list was renamed to conn_cbs in commit 3eb975d.
    
    However plm callback was missed due to it not being built
    anywhere.
    
    Signed-off-by: Sean Madigan <[email protected]>
    (cherry picked from commit 2e7c488)
    Upstream PR: zephyrproject-rtos/zephyr#76175
    Signed-off-by: Sean Madigan <[email protected]>
    sean-madigan authored and nordicjm committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    d5c70f7 View commit details
    Browse the repository at this point in the history
  2. [nrf fromlist] tests: bluetooth: shell: Add test case to build shell …

    …with plm
    
    Path loss monitoring was not being enabled anywhere, meaning
    that issues could be merged in without catching the issue.
    
    This commit adds a test case to build the shell with path
    loss monitoring enabled to catch issues.
    
    Signed-off-by: Sean Madigan <[email protected]>
    (cherry picked from commit 022d339)
    Upstream PR: zephyrproject-rtos/zephyr#76175
    Signed-off-by: Sean Madigan <[email protected]>
    sean-madigan authored and nordicjm committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    068d4d3 View commit details
    Browse the repository at this point in the history
  3. [nrf fromlist] bluetooth: controller: kconfig: select power control f…

    …or plm
    
    Path loss monitoring does not work without LE Power Control
    also enabled in the controller, so update the dependencies
    in the kconfigs so path loss monitoring selects power
    control.
    
    Signed-off-by: Sean Madigan <[email protected]>
    (cherry picked from commit 2a46ede)
    Upstream PR: zephyrproject-rtos/zephyr#76175
    Signed-off-by: Sean Madigan <[email protected]>
    sean-madigan authored and nordicjm committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    d194bba View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. [nrf fromtree] net: openthread: Fix missing dependency for OT diag.

    Commit fixes missing dependency for `ot diag cw` command for nrf5xx
    by adding default vale to `NRF_802154_CARRIER_FUNCTIONS`.
    
    Signed-off-by: Przemyslaw Bida <[email protected]>
    (cherry picked from commit a923a4a)
    canisLupus1313 authored and nordicjm committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    46da567 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. [nrf noup] modules: hal_nordic: need exactly nrf-regtool v5.5.1

    Version 5.5.1 of nrf-regtool is required for the IPC communication
    to/from secdom to work after the mbox compatible rename.
    
    This commit is to be removed when synchronizing sdk-zephyr with
    upstream zephyr and a newer version of nrf-regtool is required.
    
    Signed-off-by: Andreas Moltumyr <[email protected]>
    anhmolt authored and nordicjm committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    468d06d View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. [nrf fromtree] modules: hal_nordic: dvfs: added callback when scaling…

    … done
    
    User can assign callback function to local domain dvfs handler
    and get notification when scaling process is finished for
    particular domain.
    Reworked usage of DVFS_SERV_HDL_FREQ_CHANGE_IN_PROGRESS_BIT_POS
    which was not initialized properly.
    
    Signed-off-by: Lukasz Stepnicki <[email protected]>
    (cherry picked from commit d6ed750)
    lstnl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    05c6a7c View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] dts: bindings: clock: fixed-clock: include base.yaml

    Include base.yaml, so that properties like `clocks` can be optionally
    set.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    
    (cherry picked from commit a41a22f)
    gmarull authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1f24e4c View commit details
    Browse the repository at this point in the history
  3. [nrf fromlist] dts: nordic: nrf54h20: Add references to clock control…

    …lers
    
    Add references to clock controllers so users can obtain
    those for particular peripherals with DT macros like
    DT_CLOCK_CTRL()
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    52442f8 View commit details
    Browse the repository at this point in the history
  4. [nrf fromlist] dts: nordic: nrf54h20: Add nodes representing HFXO and…

    … LFXO
    
    The HFXO and LFXO oscillators have properties which need to be
    specified in the devicetree. These properties are used by clock
    controllers, which get these properties from the devicetree.
    
    The BICR also contains these properties. For now, the properties
    are duplicated in the bicr node in the devicetree.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4afdcf1 View commit details
    Browse the repository at this point in the history
  5. [nrf fromlist] boards: nrf54h20dk: Add parameters of mounted HFXO and…

    … LFXO
    
    These parameters will be used by the clock controller drivers.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    c0c938b View commit details
    Browse the repository at this point in the history
  6. [nrf fromlist] dts: bindings: add nrf-fll16m and nrf-lfclk bindings

    Add bindings for nrf-fll16m and nrf-lfclk and update in-tree nodes
    and boards to use them in place of the fixed-clock binding.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    e16afea View commit details
    Browse the repository at this point in the history
  7. [nrf fromlist] drivers: clock_control: Add support for nRF54H20 clock…

    … controllers
    
    Add custom clock_control API for nRF platforms that allows requesting
    clocks with specified minimal required attributes (accuracy, precision,
    and frequency). Provide an implementation of this API for FLL16M, HFXO,
    HSFLL, and LFCLK controllers in the nRF54H20 SoC.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    043d345 View commit details
    Browse the repository at this point in the history
  8. [nrf fromlist] soc: nordic: nrf54h: Move HSFLL trimming to clock_cont…

    …rol driver
    
    This trimming was done in the SoC initialization function because
    there was no clock_control driver for nRF54H Series so far.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    ec07b19 View commit details
    Browse the repository at this point in the history
  9. [nrf fromlist] samples: boards: nrf: Add nrf2_clock_control sample

    Add a sample that presents how the custom nrf2_clock_control API
    introduced for nRF54H20 can be used for the various clocks which
    are supported by it.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    074a517 View commit details
    Browse the repository at this point in the history
  10. [nrf fromlist] tests: drivers: Implement nrf2 clock control api tests

    Implement tests for the NRF2 clock control API
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Bartosz Miller <[email protected]>
    nordic-bami authored and bjarki-andreasen committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    84f0ff8 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. [nrf fromtree] Bluetooth: Mesh: Fix uninitialized field when cancelli…

    …ng transfer blob
    
    Initialize the missing chunk field when canceling a BLOB Transfer.
    If you canceled a BLOB Transfer, the missing_chunk was not cleared in
    the next BLOB Transfer. This can make it look like there are still
    missing chunks, even though all chunks in the block have already been
    received, and it does cause bugs.
    
    Signed-off-by: Junho Lee <[email protected]>
    (cherry picked from commit 327acfb05b368c104ee70b81da92e7cf7a9265f5)
    tot0rokr authored and nordicjm committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5f4236e View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Revert "[nrf fromlist] tests: drivers: Implement nrf2 clock control a…

    …pi tests"
    
    This reverts commit 84f0ff8.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5183a34 View commit details
    Browse the repository at this point in the history
  2. Revert "[nrf fromlist] samples: boards: nrf: Add nrf2_clock_control s…

    …ample"
    
    This reverts commit 074a517.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f862808 View commit details
    Browse the repository at this point in the history
  3. Revert "[nrf fromlist] soc: nordic: nrf54h: Move HSFLL trimming to cl…

    …ock_control driver"
    
    This reverts commit ec07b19.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    bde2525 View commit details
    Browse the repository at this point in the history
  4. Revert "[nrf fromlist] drivers: clock_control: Add support for nRF54H…

    …20 clock controllers"
    
    This reverts commit 043d345.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    66fed85 View commit details
    Browse the repository at this point in the history
  5. Revert "[nrf fromlist] dts: bindings: add nrf-fll16m and nrf-lfclk bi…

    …ndings"
    
    This reverts commit e16afea.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5b064b1 View commit details
    Browse the repository at this point in the history
  6. Revert "[nrf fromlist] boards: nrf54h20dk: Add parameters of mounted …

    …HFXO and LFXO"
    
    This reverts commit c0c938b.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b39be80 View commit details
    Browse the repository at this point in the history
  7. Revert "[nrf fromlist] dts: nordic: nrf54h20: Add nodes representing …

    …HFXO and LFXO"
    
    This reverts commit 4afdcf1.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    659e657 View commit details
    Browse the repository at this point in the history
  8. Revert "[nrf fromlist] dts: nordic: nrf54h20: Add references to clock…

    … controllers"
    
    This reverts commit 52442f8.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    b1c6d34 View commit details
    Browse the repository at this point in the history
  9. Revert "[nrf fromtree] dts: bindings: clock: fixed-clock: include bas…

    …e.yaml"
    
    This reverts commit 1f24e4c.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    dd1c96c View commit details
    Browse the repository at this point in the history
  10. Revert "[nrf fromtree] modules: hal_nordic: dvfs: added callback when…

    … scaling done"
    
    This reverts commit 05c6a7c.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen authored and carlescufi committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    a415e2d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. [nrf noup] board: nordic_ thingy53: Enable QSPI by default

    The Thingy:53 enabled MCUboot and external flash by default.
    Therefore, it should also enable drivers for its external
    flash by default.
    
    Signed-off-by: Sigurd Hellesvik <[email protected]>
    hellesvik-nordic authored and nordicjm committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e7415e4 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] modules: hal_nordic: dvfs: added callback when scaling…

    … done
    
    User can assign callback function to local domain dvfs handler
    and get notification when scaling process is finished for
    particular domain.
    Reworked usage of DVFS_SERV_HDL_FREQ_CHANGE_IN_PROGRESS_BIT_POS
    which was not initialized properly.
    
    Signed-off-by: Lukasz Stepnicki <[email protected]>
    (cherry picked from commit d6ed750)
    lstnl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    9e80053 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] dts: bindings: clock: fixed-clock: include base.yaml

    Include base.yaml, so that properties like `clocks` can be optionally
    set.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    
    (cherry picked from commit a41a22f)
    gmarull authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fe1f649 View commit details
    Browse the repository at this point in the history
  4. [nrf fromlist] dts: nordic: nrf54h20: Add references to clock control…

    …lers
    
    Add references to clock controllers so users can obtain
    those for particular peripherals with DT macros like
    DT_CLOCK_CTRL()
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    4b009a7 View commit details
    Browse the repository at this point in the history
  5. [nrf fromlist] dts: nordic: nrf54h20: Add nodes representing HFXO and…

    … LFXO
    
    The HFXO and LFXO oscillators have properties which need to be
    specified in the devicetree. These properties are used by clock
    controllers, which get these properties from the devicetree.
    
    The BICR also contains these properties. For now, the properties
    are duplicated in the bicr node in the devicetree.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    630e9e7 View commit details
    Browse the repository at this point in the history
  6. [nrf fromlist] boards: nrf54h20dk: Add parameters of mounted HFXO and…

    … LFXO
    
    These parameters will be used by the clock controller drivers.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fdb7545 View commit details
    Browse the repository at this point in the history
  7. [nrf fromlist] dts: bindings: add nrf-fll16m and nrf-lfclk bindings

    Add bindings for nrf-fll16m and nrf-lfclk and update in-tree nodes
    and boards to use them in place of the fixed-clock binding.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    371b3d0 View commit details
    Browse the repository at this point in the history
  8. [nrf fromlist] drivers: clock_control: Add support for nRF54H20 clock…

    … controllers
    
    Add custom clock_control API for nRF platforms that allows requesting
    clocks with specified minimal required attributes (accuracy, precision,
    and frequency). Provide an implementation of this API for FLL16M, HFXO,
    HSFLL, and LFCLK controllers in the nRF54H20 SoC.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0c0eacb View commit details
    Browse the repository at this point in the history
  9. [nrf fromlist] samples: boards: nrf: Add nrf2_clock_control sample

    Add a sample that presents how the custom nrf2_clock_control API
    introduced for nRF54H20 can be used for the various clocks which
    are supported by it.
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Andrzej Głąbek <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    anangl authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1ec6dda View commit details
    Browse the repository at this point in the history
  10. [nrf fromlist] tests: drivers: Implement nrf2 clock control api tests

    Implement tests for the NRF2 clock control API
    
    Upstream PR: zephyrproject-rtos/zephyr#77365
    
    Signed-off-by: Bartosz Miller <[email protected]>
    nordic-bami authored and bjarki-andreasen committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    28b6861 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. [nrf fromtree] manifest: update hal_nordic revision to integrate nrfx…

    … 3.6.0
    
    New nrfx version contains support
    for nRF54L20 Eng A and nRF9230 Eng B devices.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 492a474)
    nika-nordic authored and carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    807115b View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] modules: hal_nordic: nrfx: remove nrfx_uarte rx cache …

    …for nrf54l15 enga
    
    This option is no longer valid for nRF54L15 Eng A target.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit c0ede71)
    nika-nordic authored and carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ae50bc0 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] modules: hal_nordic: nrfx: sync configs for UARTE MAGI…

    …C_BYTE option
    
    New option is used in RX FIFO flush workaround
    performed by the nrfx_uarte driver.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 443276e)
    nika-nordic authored and carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    c34adde View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] drivers: serial: nrf: add default value for frame time…

    …out cfg
    
    This is needed to avoid warnings about uninitialized
    structure member, which was added in nrfx 3.6.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 4312805)
    nika-nordic authored and carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    1e3b3f5 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] drivers: hwinfo: Add support for generating device id …

    …from device addr
    
    In some ICs (including nRF54H20) the DEVICEID register is not part of
    FICR, and thus it is not accessible to applications. Use instead the
    device address, along with a couple of bytes from ER and IR, to
    generated a unique device id.
    
    At the same time update the pointer to the hal_nordic repo to pull in
    zephyrproject-rtos/hal_nordic#196.
    
    Signed-off-by: Carles Cufi <[email protected]>
    (cherry picked from commit ebd31d3)
    carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    425e40b View commit details
    Browse the repository at this point in the history
  6. [nrf fromlist] tests: bluetooth: tester: refactor CSIP btp command

    Refactor CSIP btp commands by removing the 'count' parameter from
    set_coordinator_lock and set_coordinator_release functions.
    If we want to support lock/release procedure on subset of set members
    in the future, 'count' param doesn't indicate a specific set member.
    Instead, introduce 'address_count' and 'addr' array params, although their
    usage is not yet implemented.
    
    Upstream PR: zephyrproject-rtos/zephyr#71059
    
    Signed-off-by: Piotr Narajowski <[email protected]>
    piotrnarajowski authored and carlescufi committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    cde1b1d View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. [nrf fromtree] dts: bindings: regulator: add nordic,nrf5[2]x-regulato…

    …r[-hv]
    
    Some Nordic SoCs, like nRF52 contain an internal regulator for the main
    SoC supply. Depending on the SoC, the regulator can have multiple
    configurations (e.g. single/double stage), which mainly depends on
    supporting "high-voltage" mode or not (VDDH pin supply). This patch adds
    bindings for nRF5X regulator and nRF52X HV regulator.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 02a30c1)
    gmarull authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    50b0bbf View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] dts: Add missing PDM entries to nRF54L15 device

    Add PDM instances in nRF54L15.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit ad3ab05)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    01a9775 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] soc: Add support for nRF54L15

    Add support for production version of the device.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit e3bcd42)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    d5ca810 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] boards: nrf: Add nRF54L15 DK board

    Add board with production version of the nRF54L15 SoC.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit abcde11)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4ae94bb View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] modules: Add support for nRF54L15 SoC

    Update modules to support production version of the nRF54L15 SoC.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 030a020)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    b27ba9e View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] drivers: misc: Add support for nRF54L15 SoC

    Expand vpr_launcher to support production version of the SoC.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 99d8549)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    f1ee561 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] test: samples: nRF54L15 support

    Commit consists of minimal set of overlays need to run tests
    and samples. Additionally disables nRF54L15 platform in cpp98
    tests, because unnamed unions are not supported.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 7b9b00c)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4f96507 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] samples: drivers: mbox: Update mbox sample to work wit…

    …h nRF54L15
    
    Update mbox sample configuration to work with production
    board and SoC.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    (cherry picked from commit 070b1a4)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4b390eb View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] tests: kernel: Add support for FLPR core in nRF54L15

    Add support for production device.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 1808656)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    d969537 View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] dts: boards: Add nRF54L15 ENGA configuration

    Add conditional DTS compilation in case of ENGA version.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 25e90e7)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    9078923 View commit details
    Browse the repository at this point in the history
  11. [nrf fromtree] soc: nordic: Move DCDC configuration to DT for nRF54L15

    Moving configuration for nRF54L15 device from kconfig to dts.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    (cherry picked from commit 85c292a)
    kl-cruz authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4016089 View commit details
    Browse the repository at this point in the history
  12. [nrf fromlist] soc: nordic: nrf54l15: add missing include

    Add nrf5x binding header, as NRF5X_REG_MODE_DCDC is used in a macro
    comparison. Missing header prevented evaluation to become true and so
    enable DC/DC module.
    
    Upstream PR: zephyrproject-rtos/zephyr#77820
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and bjarki-andreasen committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    f8ab2bf View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. [nrf fromtree] drivers: usb: common: nrf_usbd_common: Handle USB SoF …

    …IRQ first
    
    The processing order is relevant if the IRQ handler call is delayed and
    multiple interrupts are pending. Handle USB SoF before other interrupts
    to ensure that it would be reported before other USB events (e.g. before
    completed USB data transfers).
    
    Jira: NCSDK-28664
    
    Signed-off-by: Marek Pieta <[email protected]>
    
    (cherry picked from commit cd931fd)
    MarekPieta authored and nordicjm committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    a3247ac View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] twister: scripts: Split lines before processing

    Readline method sometimes receives more lines in buffer.
    Split them to avoid misinterpreting data in harness module.
    
    Signed-off-by: Grzegorz Chwierut <[email protected]>
    (cherry picked from commit 79ef0b6)
    gchwier authored and rlubos committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    79fc1ef View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] twister: Fix failing tests on CI with Python 3.12

    This change is removing some deprecation warnings
    which for some reason causing failing tests with
    Python 3.12 on CI #76877.
    
    Also, it fixes warnings from pytest like:
    PytestCollectionWarning: cannot collect test class 'TestPlan'
    because it has a __init__ constructor
    (from: scripts/tests/twister/test_testplan.py)
    
    Signed-off-by: Lukasz Fundakowski <[email protected]>
    (cherry picked from commit 857adb2)
    fundakol authored and rlubos committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    fba7ded View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] twister: Fix TypeError at get_installed_packages

    Fix confusing `TypeError: 'type' object is not subscriptable`
    at _get_installed_packages() if twister runs on python version < 3.9
    
    Signed-off-by: Dmitrii Golovanov <[email protected]>
    (cherry picked from commit b8bed5b)
    golowanow authored and rlubos committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    af17fd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. [nrf fromtree] manifest: Update bsim to version v2.2.1

    Includes just changes for the phy dump conversion scripts,
    to add support in the csv2pcap conversion for coded phy.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 211221a)
    aescolar authored and carlescufi committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    6a07938 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] manifest: Update bsim to version v2.3

    Includes an updated libcrypto with new APIs
    for CCM packet encryption/decryption.
    Also some other components have got very minor updates.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit d112549)
    aescolar authored and carlescufi committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    6e43e9b View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] manifest: Update EDTT to latest

    Update the EDTT module to:
    8d7b543d4d2f2be0f78481e4e1d8d73a88024803
    
    Including the following:
    * 8d7b543 Fix some issues found during CIS Central testing
    * fb426f1 Fix crash due to race when creating simulation folder
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 6289332)
    aescolar authored and carlescufi committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    e400f0c View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] manifest: Update EDTT to latest version

    Update the EDTT module to:
    b9ca3c7030518f07b7937dacf970d37a47865a76
    
    Including the following:
    * b9ca3c7 Fix for for python >= 3.11
    * fe9b1d1 Corrected ISO interval for LL/CIS/PER/BV-05-C
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 59685b5)
    aescolar authored and carlescufi committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    afbc294 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    da5f426e7f3aff192a93e5874146260d4dcd943e
    
    Including the following:
    * 6e70c2d hal: hack: Support also AAR, CCM & ECB for 54L
    * da5f426 Tests for AAR, CCM & ECB
    * 03b8461 54: Added AAR, CCM & ECB models
    * 2ebcc88 Add EVDMA model
    * 71913e3 54: Enable AAR hal build
    * 0f3a04b BLECrypt_if: Add new interfacing for latest libCrypto
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 55f9d69)
    aescolar authored and carlescufi committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    7b78fdc View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] modules: hal_nordic: Support nRF54L15 EGU driver insta…

    …nces
    
    Adds the glue code to enable those.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    (cherry picked from commit 8a209e27cc6578fffb0d2ab1c0080ec6ce4f64ff)
    rugeGerritsen authored and rlubos committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    17e06d7 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] modules: hal_nordic: Support EGU130 driver instance

    Adds the glue code to enable this.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    (cherry picked from commit 078aceea0a1cb8a5764bfe566d8555a13f21bdff)
    rugeGerritsen authored and rlubos committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    7f07a70 View commit details
    Browse the repository at this point in the history
  8. [nrf noup] samples: mgmt: mcumgr: Remove child/parent configuration

    fixup! [nrf noup] samples: mgmt: mcumgr: add hci_rpmsg child image config
    
    Removes child/parent configuration for this sample
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    cfd7516 View commit details
    Browse the repository at this point in the history
  9. [nrf noup] samples: bluetooth: hci_pwr_ctrl: Remove child/parent conf…

    …iguration
    
    fixup! [nrf noup] samples: bluetooth: hci_pwr_ctrl: add dynamic control
    
    Removes child/parent configuration for this sample
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    21c97d0 View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] twister: Pass device flash timeout to pytest-harness.

    Pass flashing timeout to pytest-harness and use them
    
    Signed-off-by: Grzegorz Chwierut <[email protected]>
    (cherry picked from commit 3923047)
    gchwier authored and nordicjm committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    dc16886 View commit details
    Browse the repository at this point in the history
  11. [nrf noup] dts: Select SoftDevice Controller DTS binding as default

    In the nRF Connect SDK the SoftDevice Controller is the default
    Bluetooth controller.
    This commit uses the SoftDevice Controller specific device tree
    binding for this purpose.
    
    The existing device tree binding for the open source link layer
    is kept but disabled. This makes it possible to enable
    it using a device tree overlay.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and rlubos committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    02f5447 View commit details
    Browse the repository at this point in the history
  12. [nrf noup] snippets: Add snippet for the Zephyr Bluetooth Controller

    By defining this snippet it becomes simpler to build an application
    for the Zephyr Bluetooth Controller as it removes the need
    for adding boilerplate overlay files to applications.
    
    This snippet is only needed in NCS because the SoftDevice
    Controller is the default and supported controller.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and rlubos committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    fb6ca20 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. [nrf fromtree] boards nrf54l15bsim//cpuapp: Don't remove RADIO in DT

    The RADIO models now contain the radio,
    let's stop removing it, but as they do not support DFE,
    let's disable DFE.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 64a53d0)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    108f4ee View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] boards nrf54l15bsim: Update docs as we now have RADIO

    Mention that we have the RADIO peripheral,
    but no encryption accelerators yet.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit fa9a596)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5b5a7bb View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] boards nrf_bsim: Add NVIC_GetEnableIRQ()

    Provide a replacement for CMSIS' NVIC_GetEnableIRQ()
    as some applications use it.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 68adc77)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ec0cad5 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] boards nrf54l15bsim: Set clock status as ok in DT

    So the nRF clock driver is built in as in real
    targets.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 61db569)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    abf8539 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] boards nrf54l15bsim: Default to build BT Controller if BT

    Just as for the other simulated targets.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit e998741)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    fcbb354 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] boards: nrf54l15bsim: Mention CLOCK

    As now we have a sufficient model of the CLOCK peripheral,
    let's mention it in the docs, and correct the warning
    about not supporting the BLE stack.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 329dbea)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    cd99466 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] boards nrf54l15bsim: DT: Set radio status as ok

    Set the radio status as ok as the SOC/CPU DT include
    does not do it for us.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 4b64e00)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    54b3bc3 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] Bluetooth: Controller: Correct power levels for bsim t…

    …argets
    
    The simulated targets support the same power levels as the
    real targets. Let's correct the kconfig dependencies
    accordingly.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit c9491a8)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    487f02c View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] Bluetooth: Controller: Use HAL to modify renamed regis…

    …ters in nRF54
    
    In some nRF54 devices, DATAWHITEIV was renamed to
    DATAWHITE,
    and the CRCCNF SKIADDR field was renamed OFFSET.
    The nrf HAL hid this change internally,
    so let's use it so we don't need to ifdef these
    in the Bluetooth Controller HAL code.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 3577388)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    832e110 View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] Bluetooth: Controller: Fix BT_CTLR_DATA_LEN_UPDATE_SUP…

    …PORT selection
    
    For the Nordic HW, the BT_CTLR_DATA_LEN_UPDATE_SUPPORT
    does not require CCM HW enabled, hence support Data Length
    Update if Encryption Support is disabled.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    (cherry picked from commit a3218b0)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    836ef4d View commit details
    Browse the repository at this point in the history
  11. [nrf fromtree] boards: nrfbsim: Fix testargs with non host libC

    Ensure that we call the host libC when allocating space
    for a possible set of test arguments even if we are
    building Zephyr with an embedded libC.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 7826f7c)
    aescolar authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    bbbe360 View commit details
    Browse the repository at this point in the history
  12. [nrf fromtree] soc: nordic: Select new nrf54lx compatible kconfig option

    Select the newly introduced nrf54lx compatible kconfig
    option.
    
    This is common both for real HW and for simulated HW,
    allowing SW to behave appropriately for both.
    
    Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit fb774fe)
    cvinayak authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    38d4172 View commit details
    Browse the repository at this point in the history
  13. [nrf noup] scripts: west: build: Enable sysbuild by default globally

    fixup! [nrf noup] scripts: west: build: Use sysbuild by default if in NCS dir
    
    Enables sysbuild by default for all repositories, NCS or otherwise
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1ab7966 View commit details
    Browse the repository at this point in the history
  14. Revert "[nrf noup] dts: Select SoftDevice Controller DTS binding as d…

    …efault"
    
    This reverts commit 7a0f9ef.
    
    Signed-off-by: Rubin Gerritsen <[email protected]>
    rugeGerritsen authored and rlubos committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    8eac35f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. [nrf fromtree] tests: bluetooth: tester: add nrf54h20 configs

    Added:
    nrf54h20dk_nrf54h20_cpuapp.overlay: Choose uart136 hwfc 115200
    nrf54h20dk_nrf54h20_cpuapp.conf
    
    Signed-off-by: Aytürk Düzen <[email protected]>
    (cherry picked from commit 5f00c18)
    AyturkDuzen authored and rlubos committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    64df519 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] scripts: pylib: twister: fix missing newlines at handl…

    …er.log
    
    Keep new lines at handler.log.
    
    (cherry picked from commit f0bfaa4)
    
    Signed-off-by: Piotr Kosycarz <[email protected]>
    nordic-piks authored and rlubos committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    97b2b53 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. [nrf fromtree] tests: drivers: Allow configurable i2c speed for bme68…

    …8 test
    
    Configure the I2C test speed with K-config
    Signed-off-by: Bartosz Miller <[email protected]>
    (cherry picked from commit 7f3c08b)
    nordic-bami authored and nordicjm committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f7280aa View commit details
    Browse the repository at this point in the history
  2. [nrf fromlist] boards: nordic: nrf54l15dk: enable HWFC

    For both UARTs connected to debugger chip.
    
    Upstream PR: zephyrproject-rtos/zephyr#78033
    
    Signed-off-by: Piotr Kosycarz <[email protected]>
    nordic-piks authored and nordicjm committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    ae886fe View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] tests: drivers: Extend coverage for NRF GRTC timer

    Add more test cases for nRF GRTC timer
    
    Signed-off-by: Bartosz Miller <[email protected]>
    (cherry picked from commit a49c649)
    nordic-bami authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    4d1484a View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] boards: nrf54l15bsim: DTS cleanup

    Remove 3 delete-node directives which do not apply to this
    SOC.
    They made it in originally thru a copy paste mistake
    from the nrf5340bsim dts file.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit f2711b2)
    aescolar authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    32c3e33 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] boards: nrf54l15_bsim: Actively set psa-rng to disabled

    This target does not yet support the PSA random generator.
    Lets explicitly set it to disabled, to even if the
    SOC definition sets it to "okay" it is not built in
    by default.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit b03db5e)
    aescolar authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    f482314 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] boards: nrf54l15_bsim: Update docs including AAR,CCM, ECB

    These peripherals are now included. Let's mention them
    and remove the warning about them being missing.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 8a7c16c)
    aescolar authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    b30017e View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] boards: nrf54l15bsim: Compare it to the DK instead of …

    …the PDK
    
    The nrf54l15dk is now avaliable in the tree.
    Let's compare the simulated board to this one instead.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit c2c17ea)
    aescolar authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    fa4cc15 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    4b0b020e25dbf1a11ccccf7b7741d6ca991ba9e4
    
    Including the following:
    * 4b0b020 54L CLOCK: Generate XOSTARTED event
    * 79287fb hal: RADIO: support also triggering TASK_SOFTRESET from HAL
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 1dd139f)
    aescolar authored and rlubos committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    b53d93c View commit details
    Browse the repository at this point in the history
  9. [nrf noup] dts: nordic: Support disabling lfosc

    nrf-squash! [nrf noup] dts: nordic: Add support for BICR generation
    
    The BICR LFOSC.LFXOCONFIG.MODE field supports disabling the usage of an
    external crystal oscillator to disable LFXO as LF clock source. This
    adds the enum to the binding, the rest of the codebase already supports
    the feature.
    
    Signed-off-by: Karsten Koenig <[email protected]>
    karstenkoenig authored and anangl committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    681f57f View commit details
    Browse the repository at this point in the history
  10. [nrf noup] tests: bluetooth: tester: build with sysbuild

    To enable common sysbuild hci_ipc build for rad core:
    Kconfig.sysbuild
    sysbuild/prj.conf
    added for multicore devices (nRF53/54H)
    
    Signed-off-by: Aytürk Düzen <[email protected]>
    AyturkDuzen committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    609992e View commit details
    Browse the repository at this point in the history