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

[nrf noup] soc: nrf54l: Disable CRACEN RAMs on system off #1983

Open
wants to merge 1,772 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 Oct 4, 2024

  1. [nrf noup] boards/nordic/nrf54l15dk: Set ROM offset by PM

    While Partition Manager is enabled, it manages the offset
    by itself.
    
    Signed-off-by: Andrzej Puzdrowski <[email protected]>
    nvlsianpu authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    77ed77a View commit details
    Browse the repository at this point in the history
  2. [nrf fromlist] logging: frontend: stmesp_demux: Improve robustness

    Demultiplexer was not ready to handle case when log message was
    incomplete which was followed by other log messages. Such scenario
    could occur if there was a fault that happen during logging of
    a message. In that case incomplete message was followed by valid
    messages (fault report) and this fault report was not handled
    because processing was blocked waiting for completion of a
    message which preceeded fault report.
    
    Since it is expected that some messages may be incomplete a
    garbage collection mechanism is added. When start of a message is
    received timestamp is logged and list of incomplete messages
    is checked for 'old' messages which persist in incomplete state
    for long. When message timeouts it is closed and marked as
    invalid. It unblocks processing of following messages.
    
    Upstream PR: zephyrproject-rtos/zephyr#78333
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    nordic-krch authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    83c0629 View commit details
    Browse the repository at this point in the history
  3. [nrf fromlist] logging: frontends: stmesp: Run clang-format

    Apply clang-format formatting.
    
    Upstream PR: zephyrproject-rtos/zephyr#78332
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    nordic-krch authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a57182a View commit details
    Browse the repository at this point in the history
  4. [nrf fromlist] logging: frontend_stmesp: Avoid unaligned word access

    write_data function which was writing to STMESP data registers was
    starting by writing words and tail was written using byte access.
    However, RISCV core does not support unaligned access and on Cortex-M33
    even if supported it is faster to do aligned access. Reworked
    write_data to start first by writing data using byte or half word
    access until data pointer is word aligned, then word access is used
    and finally tail is written using byte or half word access.
    
    Upstream PR: zephyrproject-rtos/zephyr#78332
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    nordic-krch authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5534a9a View commit details
    Browse the repository at this point in the history
  5. [nrf noup] test-spec: update CI-test-low-level

    nrf-squash! [nrf noup] ci: add .github/test-spec.yml
    
    Adding samples/boards/nrf[nordic]
    + sorting.
    
    Signed-off-by: Piotr Kosycarz <[email protected]>
    nordic-piks authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    81b3e25 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] dts: bindings: arm: nordic: Add TDDCONF sources

    For nrf54h20 a range of combinations exist to configure the test and
    debug domains data sources and sinks. Expose them in DTS to allow
    configuring them. Also drop the previous style which was too rigid to
    extend to cover all cases cleanly. The old style was only used in a
    single sample application so far.
    
    Signed-off-by: Karsten Koenig <[email protected]>
    (cherry picked from commit 43f9488)
    karstenkoenig authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8600749 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] tests: drivers: Add PPR support in NRF GRTC timer test

    Test did not support PPR core due to failing GRTC channel allocation.
    This change fixes the channel allocation and enables PPR core test.
    
    Signed-off-by: Bartosz Miller <[email protected]>
    
    (cherry picked from commit e26b975)
    nordic-bami authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    29c47e9 View commit details
    Browse the repository at this point in the history
  8. [nrf fromlist] manifest: openthread: Regular OpenThread upmerge

    Update OpenThread up to `2aeb8b8` and align KConfig options
    
    Upstream PR: zephyrproject-rtos/zephyr#79180
    
    Signed-off-by: Maciej Baczmanski <[email protected]>
    maciejbaczmanski authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    78541b8 View commit details
    Browse the repository at this point in the history
  9. [nrf fromlist] net: openthread: add `OPENTHREAD_STORE_FRAME_COUNTER_A…

    …HEAD`
    
    Add `OPENTHREAD_STORE_FRAME_COUNTER_AHEAD` Kconfig option
    and set it to 100000, as after calculations it appears to
    be a more suitable value.
    
    Upstream PR: zephyrproject-rtos/zephyr#79180
    
    Signed-off-by: Maciej Baczmanski <[email protected]>
    maciejbaczmanski authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1091ad4 View commit details
    Browse the repository at this point in the history
  10. [nrf noup] include: net: add delayed addr refresh socket option

    nrf-squash! [nrf noup] include: net: add NCS extensions
    
    Add SO_IPV6_DELAYED_ADDR_REFRESH socket option.
    
    Signed-off-by: Andreas Moltumyr <[email protected]>
    anhmolt authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    26724c6 View commit details
    Browse the repository at this point in the history
  11. [nrf noup] samples: basic: blinky: add eGPIO tests configuration

    Add overlay for nrf54l15dk to enable eGPIO tests.
    
    Signed-off-by: Jakub Zymelka <[email protected]>
    jaz1-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    26bd28e View commit details
    Browse the repository at this point in the history
  12. [nrf fromlist] sysbuild: cmake: Fix ExternalZephyrProject_Add() revis…

    …ion handling
    
    Fixes an issue with HWMv2 boards whereby the specified board
    revision was not applied at the correct place, which would cause
    the target image to fail configuration
    
    Fixes #79208
    
    Upstream PR: zephyrproject-rtos/zephyr#79209
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    faed66f View commit details
    Browse the repository at this point in the history
  13. [nrf noup] include: arch: arm: cortex_m: linker: Add PM SRAM override

    fixup! [nrf noup] tree-wide: support NCS Partition Manager (PM) definitions
    
    Allows overriding the variable used for specifying how much SRAM a
    device has in partition manager by using the Kconfig value rather
    than the PM-generated config value
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6fc47dd View commit details
    Browse the repository at this point in the history
  14. [nrf fromtree] soc: nordic: nrf53: Make GPIO pin forwarding selectable

    Allows selecting the forward GPIO pins to network core Kconfig
    option and enables it by default if the node exists in devicetree
    
    (cherry picked from commit 07f96b8)
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    339eb76 View commit details
    Browse the repository at this point in the history
  15. [nrf noup] hal_nordic: Fix reserved PPI faulty logic

    The list of reserved PPIs by MPSL should be kept if MPSL is enabled.
    The 802154 radio driver is not the only user of MPSL.
    
    This commit has been converted from a fromlist to noup.
    
    Signed-off-by: Jonathan Rico <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    jori-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0e776da View commit details
    Browse the repository at this point in the history
  16. [nrf noup] modules: mbedtls: Disable configurations in Kconfig.tls-ge…

    …neric
    
    -This commit prevents legacy mbed TLS configurations from being in
     conflict with PSA Configurations while using nrf_security.
    -This [nrf noup] is reworked from an earlier cherry-pick of
     commit d8c96cf, but has the following
     changes:
     - Endif's relevant that is using our pattern for masking
       configs duplicated or in conflict in nrf_security
      (by using if !(NRF_SECURITY || NORDIC_SECURITY_BACKEND)) is
      made clearer by adding a comment at their corresponding endif
      (# !(NRF_SECURITY || NORDIC_SECURITY_BACKEND))
     - Changes to zephyr_init.c for entropy_dev checking for
       CONFIG_NRF_CC3XX_PLATFORM is removed as the symbol entropy_dev
       doesn't exist in this file anymore
    
    ref: NCSDK-13503
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a8e07bb View commit details
    Browse the repository at this point in the history
  17. [nrf noup] mbedtls: Enable PSA_WANT_GENERATE_RANDOM for PSA RNG

    -This is a [nrf noup] because PSA_WANT_GENERATE_RANDOM is a Nordic
     configuration that is not found upstream. This was previously in
     commit 5cfe575 but has been split out
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    33a985f View commit details
    Browse the repository at this point in the history
  18. [nrf noup] mbedtls: Remove unsupported algorithms in PSA crypto

    -This commit is a [nrf noup] because it removes configuration options
     for cryptographic algortihms available in Mbed TLS but which is not
     actively supported in nRF Connect SDK.
     The list of algorithms removed:
     - AES CFB - Cipher Feedback block cipher
     - AES OFB - Output Feedback block cipher
     - FFDH
     - RIPEMD160
     - Aria
     - Camellia
     - DES
    
     The removal of these algorithms is based both on a wish to remove
     weaker cryptography and unsupported features in the products we have
     today.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f02f29b View commit details
    Browse the repository at this point in the history
  19. [nrf noup] mbedtls: Add dependency logic for PSA crypto configurations

    -This is a [nrf noup] as this the upstream version of PSA crypto configs
     is generated by tooling, and there is no mechanisms to qualify
     that dependent configurations are enabled (by depends or select).
    -This adds dependency-mapping between configurations in the Kconfigs
     added for PSA crypto in upstream.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    daf3951 View commit details
    Browse the repository at this point in the history
  20. [nrf noup] mbedtls: Adding helptext warnings for weak crypto

    -This commit is a [nrf noup] because PSA crypto configs in upstream
     Zephyr doesn't have help-text in their configurations and we don't
     want to duplicate configurations to control the value
    -This adds warning for SHA-1 and MD5 usage
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d2a534e View commit details
    Browse the repository at this point in the history
  21. [nrf noup] mbedtls: Adding missing configuration for RSA key type derive

    -This is a [nrf noup] because the upstream Zephyr is generated using
     a script and is not committed as-is as source-code. The relevant
     responsible person for this feature has received information about
     the missing configuration and this will be resolved upstream in
     Mbed TLS and will propagate down to zephyr. Once this has happened,
     this [nrf noup] can be dropped.
    -Add missing PSA_WANT_KEY_TYPE_RSA_KEY_DERIVE
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f23c48f View commit details
    Browse the repository at this point in the history
  22. [nrf noup] mbedtls: Add Nordic PSA crypto configurations

    -This commit contains all Nordic-specific configurations for PSA crypto
     These have been separated from Kconfig.psa, as this file is now
     auto-generated in the upstream project. This commit may be
     reworked later, in case more features are supported in Kconfig.psa
    -Add Kconfig.psa.nordic containing Nordics PSA crypto addition
    -Add reading this file from modules/mbedtls/Kconfig
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0892bad View commit details
    Browse the repository at this point in the history
  23. [nrf noup] mbedtls: Non-selectable PSA_WANT_KEY_TYPE_XXXX_KEY_PAIR_BASIC

    -This commit is a [nrf noup] as Kconfig.psa is an auto-generated
     file. The changes reflected here has been reported to maintainers
     in upstream Zephyr.
     Change: Mbed TLS resolves PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC and
     PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT internally from the other
     types.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1a2c83c View commit details
    Browse the repository at this point in the history
  24. [nrf noup] mbedtls: Don't select PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC

    -PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC is internally resolved by
     Mbed TLS. It has been made promptless in a previous commit.
     Keeping this change separated since the Kconfig.psa is auto-generated
     and it would likely be a bit more complex to handle this in a
     single commit. Upstream maintainers have been notified about this
     mismatch in configurations.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2589d0a View commit details
    Browse the repository at this point in the history
  25. [nrf noup] samples: bluetooth: update autoconf.h header path

    Update path for autoconf.h which is now in zephyr/autoconf.h
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b22c113 View commit details
    Browse the repository at this point in the history
  26. [nrf fromlist] boards: shields: add nrf7002eb

    Add board support for the nrf7002eb shield. This shield uses the
    nordic edge-connector to be compatible with multiple boards.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    
    Upstream PR: zephyrproject-rtos/zephyr#78330
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5f7e039 View commit details
    Browse the repository at this point in the history
  27. [nrf fromlist] samples: net: wifi: add build of nrf7002eb

    Add build for nrf7002eb shield on thingy53 board.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    
    Upstream PR: zephyrproject-rtos/zephyr#78330
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fb69b42 View commit details
    Browse the repository at this point in the history
  28. [nrf noup] kernel: banner: Make function weak

    Makes the boot banner function weak, this resolves an issue when
    building with llext enabled which uses different build options
    than a normal zephyr build
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    0c7ccc4 View commit details
    Browse the repository at this point in the history
  29. [nrf fromlist] drivers: wifi: nrfwifi: determine shared iovdd and buc…

    …ken from dt
    
    Currently a user, or a shield definition, must select a Kconfig to
    signal that the iovdd_ctrl and bucken GPIOs are connected to the same
    pin. We can instead check this in the driver by simply checking if
    the iovdd_ctrl_spec and bucken_spec are the same pin.
    
    Update the nrfwifi driver and remove the redundant
    NRF_WIFI_COMBINED_BUCKEN_IOVDD_GPIO config.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    
    Upstream PR: zephyrproject-rtos/zephyr#78485
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e73deb0 View commit details
    Browse the repository at this point in the history
  30. [nrf noup] modules: hostap: Use nRF security

    In NCS to leverage HW acceleration, use nRF security.
    
    Also, fix Kconfig warnings in NCS compliance for CRYPTO_ALT.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a7e0138 View commit details
    Browse the repository at this point in the history
  31. [nrf noup] drivers: wifi: nrfwifi: Workaround for build

    External flash support is still WIP, so, to get sysbuild working add
    dummy Kconfig options.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f767a4c View commit details
    Browse the repository at this point in the history
  32. [nrf noup] mbedtls: Add dependency logic for STREAM_CIPHER

    fixup! [nrf noup] mbedtls: Add dependency logic for PSA crypto
    configurations
    
    -Selecting CHACHA20 key type if PSA_WANT_ALG_STREAM_CIPHER is
     enabled
    
    (fixup of commit 47a1e03)
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ebf56d8 View commit details
    Browse the repository at this point in the history
  33. [nrf noup] lib: os: zvfs: Remove EXPERIMENTAL from ZVFS

    Although ZVFS is experimental, the warning is annoying the matter team.
    Therefore, remove the experimental selection.
    
    This may be reverted once upstream unselects experimental.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    559cabf View commit details
    Browse the repository at this point in the history
  34. [nrf fromlist] doc: extensions: link-roles: missing module not critical

    External projects building the documentation may not clone all modules, as
    they have manifest filtering. Therefore, not having access to a module
    should not produce a fatal documentation build error. Convert the error to
    a debug log, so it is at least traced.
    
    Upstream PR: zephyrproject-rtos/zephyr#78876
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    cc965ee View commit details
    Browse the repository at this point in the history
  35. [nrf noup] hostap: Support legacy dependency checkup for nrf_security

    -Enabling MBEDTLS_ECP_DP_SECP256R1_ENABLED curve type to ensure
     we don't get error-warnings about MBEDTLS_ECP_C dependencies not being
     met for WIFI samples.
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b178769 View commit details
    Browse the repository at this point in the history
  36. [nrf noup] drivers: wifi: Add kconfig option to disable WMM feature

    [SHEL-2054] Adding a kconfig option for WMM.
    By default it will be enabled. If user needs
    to disable it, set it as n.
    
    Tagged as "noup" because I had to fix a conflict because of another
    "noup".
    
    Upstream PR: zephyrproject-rtos/zephyr#76754
    
    Signed-off-by: Kapil Bhatt <[email protected]>
    kapbh authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a027962 View commit details
    Browse the repository at this point in the history
  37. [nrf fromtree] bluetooth: host: CS support for remote capabilities an…

    …d FAE table
    
    Adds HCI support for:
    - LE CS Read Remote Supported Capabilities
    - LE CS Read Remote FAE Table
    
    Callbacks have been added to the conn object to allow upper layers to
    make use of the cache commands, with which it will be possible to store
    this information and provide it again in the case of a disconnect
    and reconnect to the same device.
    
    (cherry picked from commit 947a294)
    
    Signed-off-by: Olivier Lesage <[email protected]>
    olivier-le-sage authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c0809df View commit details
    Browse the repository at this point in the history
  38. [nrf fromtree] bluetooth: host: CS support for CS Test

    Adds HCI support for the LE CS Test command.
    
    (cherry picked from commit fb9a8eb)
    
    Signed-off-by: Olivier Lesage <[email protected]>
    olivier-le-sage authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9f49556 View commit details
    Browse the repository at this point in the history
  39. [nrf fromtree] tests: net: http_server: Add netif dependency

    Some of the http_server tests suites were missing netif dependency.
    
    (cherry picked from commit 1dca822)
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    4112e11 View commit details
    Browse the repository at this point in the history
  40. [nrf noup] mbedtls: Don't enable auto-generation of Mbed TLS files

    - We don't use this mechanism in nRF Connect SDK
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8331990 View commit details
    Browse the repository at this point in the history
  41. [nrf noup] net: tests: Add legacy crypto API support for big_http_dow…

    …nload
    
    -We handle legacy Crypto API support specially (favoring PSA crypto)
     the tests here require MD interface to build, which needs the config
     MBEDTLS_LEGACY_CRYPTO_C to be enable to get access to
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6a3ab5d View commit details
    Browse the repository at this point in the history
  42. [nrf noup] net: tests: crypto: Adding legacy Crypto support ipv6 tests

    -This adds crypto support for ipv6 tests by enabling
     CONFIG_MBEDTLS_LEGACY_CRYPTO_C
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    36f533d View commit details
    Browse the repository at this point in the history
  43. [nrf fromtree] drivers: usb: udc_dwc2: Remove forward defitions

    Reorder functions in order to remove forward function defitions.
    No functional changes.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit 2c78a4d)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a0449b1 View commit details
    Browse the repository at this point in the history
  44. [nrf fromtree] drivers: usb: udc_dwc2: Replace queue with events

    When the queue is full, all messages posted inside interrupt handlers
    are simply dropped. This problem can be remedied by having the message
    queue large enough, but determining the maximum number of messages that
    can ever be posted in the system is really complex task.
    
    Hopefully in DWC2 driver there is finite number of events that have to
    be processed inside thread handler. Therefore it is unnecessary to
    determine the maximum queue size for the events if the events are posted
    to k_event object instead of send to k_msgq object.
    
    Use combination of three k_event structures to handle all possible event
    sources. This not only guarantees by design that no event will be lost,
    but also slightly reduces the memory usage.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit c2f2d8c)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    25195b4 View commit details
    Browse the repository at this point in the history
  45. [nrf fromtree] drivers: usb: udc_dwc2: Synchronize thread with UDC API

    UDC API handlers and DWC2 driver thread share not only software
    constructs, but also the underlying hardware. Ensure that any UDC API
    call is not preempted by DWC2 driver thread (and vice versa) by
    acquiring the lock in thread handler.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit 5fc0405)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    56b2d12 View commit details
    Browse the repository at this point in the history
  46. [nrf fromtree] drivers: usb: udc_dwc2: Enter hibernation in thread

    Enter hibernation in thread context with the lock held to make sure to
    not queue any transfers when the core is hibernated.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit f765026)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d4046ff View commit details
    Browse the repository at this point in the history
  47. [nrf fromtree] drivers: usb: udc_dwc2: Exit hibernation on disable

    The PMU is not reset by core reset and therefore it is necessary to exit
    hibernation on DWC2 disable to prevent endless PMU interrupt loop when
    the driver is enabled again.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit b89b7ed)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    60a9e99 View commit details
    Browse the repository at this point in the history
  48. [nrf fromtree] drivers: udc_dwc2: Add missing GHWCFG bit defines

    Add missing GHWCFG2 and GHWCFG3 defines based on nRF54H20 registers
    documentation.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit 68b8818)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8607417 View commit details
    Browse the repository at this point in the history
  49. [nrf fromtree] drivers: usb: udc_dwc2: Support Remote Wakeup

    According to USB 2.0 Specification the remote wakeup device must hold
    the resume signaling for at least 1 ms but for no more than 15 ms. The
    DWC2 otg controller requires the software to drive the remote wakeup
    signalling for appropriate duration (when LPM is disabled, which is
    currently always the case in udc_dwc2). Arbitrarily choose to drive the
    resume signalling for 2 ms to have sufficient margin in both directions.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit ac7d55b)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    66974c6 View commit details
    Browse the repository at this point in the history
  50. [nrf noup] hostap: Avoid double-definition of base64 APIs

    -base64 API belongs to the Mbed TLS deliverable. This avoids taking in
     the duplicated APIs from hostap
    
    Signed-off-by: Frank Audun Kvamtrø <[email protected]>
    frkv authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    aeca13c View commit details
    Browse the repository at this point in the history
  51. [nrf fromtree] boards: nrf54h20dk: Allow running USB on radio core

    Add the necessary entries but keep the usbhs disabled by default on
    radio core (it is enabled by default on app core).
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit 9815f43)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    52a640d View commit details
    Browse the repository at this point in the history
  52. [nrf fromtree] drivers: udc_dwc2: Add hibernation vendor quirks

    Make it possible to have vendor quirks after hibernation entry sequence
    and before hibernation exit sequence.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit f8df6b4)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    66affc7 View commit details
    Browse the repository at this point in the history
  53. [nrf fromtree] drivers: udc_dwc2: Implement USBHS hibernation quirks

    Use the quirk to keep only the necessary clocks running when the core is
    hibernated. The quirk is necessary to bring the USB suspend current
    below the USB 2.0 suspend current limit.
    
    Signed-off-by: Tomasz Moń <[email protected]>
    (cherry picked from commit e2f2e44)
    tmon-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    8e207d0 View commit details
    Browse the repository at this point in the history
  54. [nrf noup] dts: Add bt-ll-sw-split snippet

    OCT-3045
    This fix is related to nrfconnect#2006
    this adds the bt-ll-sw-split snippet for more bluetooth samples
    
    Signed-off-by: Kristoffer Rist Skøien <[email protected]>
    koffes authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ea3ab04 View commit details
    Browse the repository at this point in the history
  55. [nrf fromlist] dfu: Add missing depends on for progressive erase

    Adds a depends on that requires the underlying driver support
    explicit erase
    
    Upstream PR: zephyrproject-rtos/zephyr#79090
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f72802d View commit details
    Browse the repository at this point in the history
  56. [nrf fromlist] boards: nordic: thingy53: Add missing FEM entries

    Adds missing SPI definition and settings for usage of FEM on
    this platform
    
    Upstream PR: zephyrproject-rtos/zephyr#78657
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9176680 View commit details
    Browse the repository at this point in the history
  57. [nrf fromlist] soc: nordic: nrf53: Make GPIO pin forwarding automatic

    Allows forwarding GPIO pins to network core automatically if the
    devicetree node exists.
    
    Upstream PR: zephyrproject-rtos/zephyr#78657
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    52365a1 View commit details
    Browse the repository at this point in the history
  58. [nrf fromlist] boards: nordic: nrf7002dk: Remove enabling forwarder K…

    …config
    
    Removes forcing the Kconfig to be enabled as this is now determined
    automatically
    
    Upstream PR: zephyrproject-rtos/zephyr#78657
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    bd0d7a0 View commit details
    Browse the repository at this point in the history
  59. [nrf fromlist] susbys/dfu/img_util: support ERASE PROGRESSIVELY for n…

    …on-flash mem
    
    Added support for devices don't require explicit pager erase.
    For these device flattening of mcuboot image status is relevant.
    
    Upstream PR: zephyrproject-rtos/zephyr#79152
    
    Signed-off-by: Andrzej Puzdrowski <[email protected]>
    nvlsianpu authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    30f066a View commit details
    Browse the repository at this point in the history
  60. [nrf fromtree] net: lib: http: ensure SYS_FOREVER_MS behavior

    The http_client_req() function's timeout parameter is allowed
    to be SYS_FOREVER_MS. However, K_MSEC() does not convert this
    to a proper k_timeout_t, so sys_timepoint_calc() ends up
    returning 0, which is causes immediate timeouts.
    
    Check for this case specifically and force value passed to
    sys_timepoint_calc() to be correct.
    
    (cherry picked from commit 09fab7e)
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6608c86 View commit details
    Browse the repository at this point in the history
  61. [nrf noup] net: lib: coap: Make use of ZSOCK_MSG_TRUNC configurable

    Not all offloaded network stacks support this socket option.
    
    Go back to previous behavior that it is not used, but allow it
    to be enabled using CONFIG_COAP_CLIENT_TRUNCATE_MSGS.
    
    Signed-off-by: Pete Skeggs <[email protected]>
    plskeggs authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fddbbd1 View commit details
    Browse the repository at this point in the history
  62. [nrf fromlist] net: lib: coap: Initialize response_truncated

    Fix the following compilation warning given when using newlibc:
    warning: 'response_truncated' may be used
    uninitialized [-Wmaybe-uninitialized]
    
    Issue is not seen with picolibc.
    
    The variable was introduced as part of PR #76257
    
    Upstream PR: zephyrproject-rtos/zephyr#79186
    
    Signed-off-by: Tommi Rantanen <[email protected]>
    trantanen authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b5cafa5 View commit details
    Browse the repository at this point in the history
  63. [nrf fromlist] boards: nordic: nrf7002dk: re-enable external flash by…

    … default
    
    The external flash (mx25r64) was accidentally disabled during
    testing. The node should be enabled by default like its spi.
    
    This commit removes the status = "disabled";
    
    Upstream PR: zephyrproject-rtos/zephyr#79191
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    61beafd View commit details
    Browse the repository at this point in the history
  64. [nrf fromlist] net: wifi: Fix DPP disabled build

    In case WPA supplicant disabled DPP, we need to compile out the
    corresponding DPP code in Wi-Fi shell too.
    
    Upstream PR: zephyrproject-rtos/zephyr#79224
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    330eb81 View commit details
    Browse the repository at this point in the history
  65. [nrf fromlist] modules: hostap: Fix double free of the event

    When an event is sent the receiver gets is asynchronously and hence is
    responsible for free the event, the sender should only free in case of
    error conditions i.e., unable to send.
    
    Else, this causes a tough to debug double-free.
    
    Upstream PR: zephyrproject-rtos/zephyr#79231
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    7474b4c View commit details
    Browse the repository at this point in the history
  66. [nrf fromlist] modules: hostap: Fix double free in case of error cond…

    …itions
    
    In case of error conditions post successfully sending the message, the
    event is already freed but we attempt to free it again.
    
    Rejig the labels to easily reflect thier purpose.
    
    Upstream PR: zephyrproject-rtos/zephyr#79231
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    28f4a5e View commit details
    Browse the repository at this point in the history
  67. [nrf fromlist] modules: hostap: Fix typo in NM unregistration

    The module name is not modified in remove.
    
    Upstream PR: zephyrproject-rtos/zephyr#79231
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ad5d062 View commit details
    Browse the repository at this point in the history
  68. [nrf fromlist] modules: hostap: Use net_mgmt context

    Using a separate workqueue causes issues without any special locking to
    synchronize with networking threads e.g., interface being removed while
    the workqueue is trying to synchronize with WPA supplicant.
    
    It's easier to use the net_mgmt thread which is in better sync with
    networking.
    
    Upstream PR: zephyrproject-rtos/zephyr#79231
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b8d68b3 View commit details
    Browse the repository at this point in the history
  69. [nrf fromtree] usb: device_next: usbd_hid: Fix size in HID report get

    Since UDC buffers are allocated with `UDC_BUF_GRANULARITY` granularity,
    the `net_buf_tailroom` may no longer be equal to the HID report size.
    Use `setup->wLength` instead to ensure that proper HID report size is
    passed to the application's callback.
    
    (cherry picked from commit 88231b5)
    
    Signed-off-by: Marek Pieta <[email protected]>
    MarekPieta authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    2598e71 View commit details
    Browse the repository at this point in the history
  70. [nrf noup] samples/tests: Disable PM for some more sysbuild builds

    fixup! [nrf noup] samples/tests: Disable PM for some sysbuild builds
    
    Disables partition manager when building some samples and tests
    which use sysbuild to prevent build issues
    
    Signed-off-by: Jamie McCrae <[email protected]>
    nordicjm authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    86b9847 View commit details
    Browse the repository at this point in the history
  71. [nrf fromlist] manifest: modules: hal: nordic: Pull in fix for countr…

    …y code
    
    Pull in changes to pass country code as string to firmware.
    
    Upstream PR: zephyrproject-rtos/zephyr#79262
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e0ac6cc View commit details
    Browse the repository at this point in the history
  72. [nrf fromlist] tests: lwm2m: Fix minor timing issues on tests

    * Wait for update when new object is created
    
      Sometimes our blockwise transfer starts before server have
      received an LwM2M Update. This causes Leshan to reject the SEND
      because is was not aware of object /19/0
    
    * Wait "registered" message already in conftest.py.
      Sometimes Qemu boots faster, and the testcase don't see the
      log.
    
    Upstream PR: zephyrproject-rtos/zephyr#79261
    
    Signed-off-by: Seppo Takalo <[email protected]>
    SeppoTakalo authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c394e80 View commit details
    Browse the repository at this point in the history
  73. [nrf fromlist] tests: lwm2m: Remove qemu-cortex-m3

    This board just don't have enough RAM for all tests
    so it is just a maintenance headache without any
    benefits.
    
    Upstream PR: zephyrproject-rtos/zephyr#79261
    
    Signed-off-by: Seppo Takalo <[email protected]>
    SeppoTakalo authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    50380af View commit details
    Browse the repository at this point in the history
  74. [nrf fromtree] net: dns: Increase the size of dispatcher table

    The dispatcher table needs to be large enough to have support
    for all file descriptor values.
    
    Fixes #79042
    
    (cherry picked from commit 077dd8f)
    
    Signed-off-by: Jukka Rissanen <[email protected]>
    jukkar authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    663548c View commit details
    Browse the repository at this point in the history
  75. [nrf fromtree] net: dns: Check that dispatcher table is not overflowing

    Add CHECKIF() checks that verify that dispatcher table is
    not overflowing.
    
    (cherry picked from commit 2ff2667)
    
    Signed-off-by: Jukka Rissanen <[email protected]>
    jukkar authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    77c6840 View commit details
    Browse the repository at this point in the history
  76. [nrf fromtree] tests/samples: net: Fix the max number of file descrip…

    …tors
    
    Make sure that CONFIG_ZVFS_OPEN_MAX in the tests and samples is at
    least the same value as CONFIG_NET_SOCKETS_POLL_MAX so that we
    cannot have more polled sockets than there are available file
    descriptors.
    
    (cherry picked from commit 759f3a0)
    
    Signed-off-by: Jukka Rissanen <[email protected]>
    jukkar authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    80e64ed View commit details
    Browse the repository at this point in the history
  77. [nrf fromlist] tests: net: ipv6: Enable mbed TLS heap

    mbed TLS MD operations, used by IPv6 Privacy Extensions, require access
    to heap. This may vary depending on platform/mbed TLS variant used,
    hence enable CONFIG_MBEDTLS_ENABLE_HEAP in tests to ensure mbed TLS has
    always access to some heap memory.
    
    Upstream PR: zephyrproject-rtos/zephyr#79303
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    21bf91d View commit details
    Browse the repository at this point in the history
  78. [nrf fromlist] manifest: update open-amp to include change to strlcpy

    This manifest update points open-amp to include a fix for unsafe use
    of strncpy by by replacing it with internal strlcpy.
    
    Upstream PR: zephyrproject-rtos/zephyr#79212
    
    Signed-off-by: Torsten Rasmussen <[email protected]>
    tejlmand authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b1d2d89 View commit details
    Browse the repository at this point in the history
  79. [nrf fromlist] modules: hal_nordic: Allow app mem from net core in se…

    …rialized 802.15.4
    
    Currently, the serialization module for 802.15.4 enabled
    the network core without giving it access to application
    core memory in trusted execution mode. This commit
    grands this access.
    
    Upstream PR: zephyrproject-rtos/zephyr#79316
    
    Signed-off-by: Dominik Kilian <[email protected]>
    doki-nordic authored and bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    66d7418 View commit details
    Browse the repository at this point in the history
  80. Revert "[nrf noup] net: Increase connection manager stack size"

    This reverts commit ecb6d07.
    
    Signed-off-by: Bjarki Arge Andreasen <[email protected]>
    bjarki-andreasen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    775af13 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. [nrf noup] test-spec: update CI-rs-test and Ci-fem-test

    Narrow down paths base on compilation dependencies.
    
    Signed-off-by: Dawid Przybylo <[email protected]>
    dawidprzybylo committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    6f6b0e4 View commit details
    Browse the repository at this point in the history
  2. Revert "[nrf noup] doc: extensions: domain: skip patching doxygen gro…

    …ups"
    
    This reverts commit a3c63a4.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ae75e9e View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. [nrf fromlist] bluetooth: tester: audio: Add check for bis stopping

    Adds a semaphor to make sure the stream has properly been stopped by the
    controller before returning from btp_bap_broadcast_source_stop.
    
    Upstream PR: zephyrproject-rtos/zephyr#79329
    
    Signed-off-by: Frode van der Meeren <[email protected]>
    Frodevan authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3e88483 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] mgmt: mcumgr: grp: os_mgmt: Allow bootloader info with…

    …out MCUboot
    
    Allows enabling the bootloader info functionality without MCUboot
    being enabled, so that other bootloaders can add hooks with their
    own responses
    
    Signed-off-by: Jamie McCrae <[email protected]>
    (cherry picked from commit c6c00e1)
    nordicjm authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    57be5aa View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] mgmt: mcumgr: grp: os_mgmt: Fix invalid return

    Fixes wrongly returning an SMP version 2 error code as an SMP
    version 1 error code instead of adding it as an error
    
    Signed-off-by: Jamie McCrae <[email protected]>
    (cherry picked from commit ddad1e6)
    nordicjm authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    acc516b View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] bluetooth: smp: remove experimental from BT_BONDABLE_P…

    …ER_CONNECTION
    
    Removed the experimental status from the BT_BONDABLE_PER_CONNECTION
    Kconfig option used in the Bluetooth Host SMP layer. This feature
    has been present in Zephyr for over a year without any issue reports
    or API modifications.
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    (cherry picked from commit a743dd6)
    kapi-no authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9fac881 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] bluetooth: smp: remove experimental from BT_GATT_AUTHO…

    …RIZATION_CUSTOM
    
    Removed the experimental status from the BT_GATT_AUTHORIZATION_CUSTOM
    Kconfig option used in the Bluetooth Host GATT layer. This feature
    has been present in Zephyr for almost a year without any issue reports
    or API modifications.
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    (cherry picked from commit f17431e)
    kapi-no authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    96c36f7 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] mgmt: mcumgr: transport: bluetooth: add all gatt permi…

    …ssion levels
    
    Added new Kconfigs for defining permission level of GATT
    characteristics that are part of the Bluetooth SMP service in the
    MCUmgr subsys.
    
    Removed the CONFIG_MCUMGR_TRANSPORT_BT_AUTHEN as the new Kconfig
    options are mutually exclusive and need to be groupa as the Kconfig
    choice option.
    
    Signed-off-by: Kamil Piszczek <[email protected]>
    (cherry picked from commit 8c0bc54)
    kapi-no authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    ea7e265 View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] dts: arm: nordic: Define power states for nrf54h20/cpuapp

    Add definition of low power states 'idle' and 's2ram'
    for nrf54h20/cpuapp.
    
    manifest-pr-skip
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit 5b607ed)
    nordic-segl authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0e3a477 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] tests: drivers: uart: uart_pm: Disable PM_DEVICE_SYSTE…

    …M_MANAGED
    
    When PM_DEVICE_SYSTEM_MANAGED is enabled (and that's the default) all
    devices are suspended when device go to idle state (through pm
    subsystem and not through just cpu_idle). In this test we are manually
    controlling PM of the DUT so we don't want that.
    
    Additionally, suspend action is taking a semaphore and it is illegal
    in idle thread (where system managment operates) which causes assert
    in kernel scheduler.
    
    Removed for nrf54h20 as it applies only there.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit cbe0abf)
    nordic-segl authored and rlubos committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    b83478a View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. [nrf fromtree] dts: nordic: Add Channel Sounding support to nrf-radio

    - Added `cs-supported` property to nrf-radio devicetree
    - Added `HAS_HW_NRF_RADIO_CS` Kconfig option which is set if
    `cs-supported` property is enabled
    - Enabled `cs-supported` property for nrf54-series devices
    - Disabled `cs-supported` on nrf54l15bsim because it is not
    yet supported
    
    Signed-off-by: Ivan Iushkov <[email protected]>
    (cherry picked from commit e357814)
    ivaniushkov authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4c94a97 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] bluetooth: host: set BT_BUF_EVT_RX_SIZE to 255 when CS…

    … is enabled
    
    Channel sounding frequently produces very large events, so the default
    of 68 bytes can lead to buffer overruns / memory corruption.
    
    Signed-off-by: Olivier Lesage <[email protected]>
    (cherry picked from commit 7538a98)
    olivier-le-sage authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    dd8b760 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] bluetooth: host: HCI support for CS configuration

    Adds following HCI support for CS configuration:
    - LE CS Create Config command
    - LE CS Remove Config command
    - LE CS Config Complete event
    
    Two callbacks have been added to notify the application
    when a new CS configuration is created or an existing
    CS configuration is removed.
    
    Signed-off-by: Burak Gorduk <[email protected]>
    (cherry picked from commit 7b82214)
    bugo-nordic authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    79a9dfb View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] bluetooth: host: Use consistent API naming for CS

    This change adds bt_le_cs prefix to public CS API as well as
    adding le_cs prefix to CS related bt_conn callbacks. This is
    to ensure consistency within CS API while maintaining the
    separation between the Bluetooth LE and Classic features.
    
    Signed-off-by: Burak Gorduk <[email protected]>
    (cherry picked from commit 6e3c3f6)
    bugo-nordic authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9d0f115 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] bluetooth: host: Add support for processing CS subeven…

    …t results
    
    Adds support for:
    - LE CS Subevent Result event
    - LE CS Test End Complete event
    
    For now, recombination of subevent results with more steps than could
    fit within a single HCI event is not supported, and such events
    are discarded.
    
    Signed-off-by: Olivier Lesage <[email protected]>
    (cherry picked from commit a12b869)
    olivier-le-sage authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    dbd259f View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] bluetooth: host: Add CONFIG_BT_CHANNEL_SOUNDING_TEST

    Makes it easier to make sure the CS test code is removed if desired.
    It should hopefully allow for a clean split in general.
    
    Signed-off-by: Olivier Lesage <[email protected]>
    (cherry picked from commit 9e3943d)
    olivier-le-sage authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6847bfb View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] bluetooth: host: Update text for BT_CHANNEL_SOUNDING k…

    …config
    
    Include EXPERIMENTAL tag in the kconfig text and remove the word
    "support" to align with other options
    
    Signed-off-by: Olivier Lesage <[email protected]>
    (cherry picked from commit 9ae2e23)
    olivier-le-sage authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    b19fab2 View commit details
    Browse the repository at this point in the history
  8. [nrf fromlist] soc: nordic: Add LRCCONF management

    Due to the possibility of simultaneous accesess to LRCCONF registers,
    additional management is required.
    
    Upstream PR: zephyrproject-rtos/zephyr#79067
    
    Signed-off-by: Adam Kondraciuk <[email protected]>
    adamkondraciuk authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2c5c052 View commit details
    Browse the repository at this point in the history
  9. [nrf fromlist] dts: arm: nordic: Add power states for nRF54H20

    Add `idle` and `s2ram` power states for nRF54H20 cpuapp and cpurad.
    Also the substate `idle_cache_disable` added.
    
    Upstream PR: zephyrproject-rtos/zephyr#79067
    
    Signed-off-by: Adam Kondraciuk <[email protected]>
    adamkondraciuk authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ed62533 View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] mgmt: mcumgr: Add SMP SVC and CHR UUIDs to header

    Added the SMP service and characteristic UUIDs to the smp_bt module
    header and used those definitions.
    
    Signed-off-by: Mateusz Kapala <[email protected]>
    (cherry picked from commit 7755589)
    mkapala-nordic authored and rlubos committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d3d3f66 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. [nrf fromtree] dts: riscv: nordic: nrf54h20_cpuflpr: Add stmesp node

    Add node with STMESP registers.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit 8e22222)
    nordic-segl authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    5190fe9 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] logging: frontend: stmesp: Do not append strings when …

    …not needed
    
    Currently we can assume that flpr and ppr cores are always owned by
    cpuapp. In that case, cpuapp (which processes ETR buffer content) has
    access to the memory where logging strings from ppr and flpr are
    located. Those strings do not need to be appended to the message
    which is written to the STM (in case of standalone configuration).
    This approach reduced logging time, e.g. logging a message with
    one argument takes 1.8us on cpuapp and 6.3us on cpurad.
    
    This setting applies only to the case when cpuapp is the owner
    of those co-oprocessors and shall be updated if that becomes
    configurable but currently there are no means to detect core
    owner.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit c2454f2)
    nordic-segl authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7ba09b0 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] samples: boards: nordic: coresight_stm: Improve benchmark

    Add interrupt locking during test to ensure that main thread is not
    interrupts which would impact the test.
    
    Add longer sleep time between tests to ensure that all logs are
    processed on time and not dropped.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit c61e92a)
    nordic-krch authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f470b55 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] samples: boards: nordic: coresight_stm: Add flpr and p…

    …pr support
    
    Add flpr and ppr core to the sample.
    
    Since there are only 2 UARTs available on DK, local UART configuration
    is using only cpuapp and cpurad.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit d11997d)
    nordic-krch authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    0dc6f1f View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] soc: nordic: Disable asserts on ppr and flpr

    Asserts are by default enabled for tests but flpr and ppr are
    small cores (<64k) and many tests does not fit in memory with
    asserts enabled.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit 3786b61)
    nordic-segl authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f95f5c6 View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] snippets: nordic-log-stm: Do no enforce UART Asynchron…

    …ous API
    
    UART asynchronous API will ensure highest throughput but it is not
    necessary as polling API is also supported as a fallback. Do not
    enforce use of asynchronous API as there might be cases when polling
    might be used (e.g. to reduce memory footprint).
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit c6f4e71)
    nordic-segl authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c16b36e View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] drivers: misc: coresight: nrf_etr: Imply UART asynchro…

    …nous API
    
    Asynchronous API is recommended to be used by ETR buffer handler but
    polling is also supported. Imply UART_ASYNC_API so that it is possible
    to disable it in project config and fall back to polling if needed. For
    example to reduce memory footprint.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    
    Signed-off-by: Sebastian Głąb <[email protected]>
    (cherry picked from commit 2423312)
    nordic-segl authored and nordicjm committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    187d590 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. [nrf fromtree] scripts: ci: check_compliance: add BOARD_REVISION in K…

    …config.board.v2
    
    This is required if boards make use of such definition in their Kconfig
    files. In Kconfig.board.v2, only `boards/Kconfig.v2` is loaded, but
    BOARD_REVISION is part of `boards/Kconfig`, which can't be loaded in this
    context.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit c39ad84)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b2edf96 View commit details
    Browse the repository at this point in the history
  2. Revert "[nrf fromlist] manifest: modules: hal: nordic: Pull in fix fo…

    …r country code"
    
    This reverts commit e0ac6cc.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e5e0f1f View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] manifest: update hal_nordic revision

    This commit updates revision of hal_nordic to bring the latest changes
    in the nRF IEEE 802.15.4 driver.
    
    Signed-off-by: Andrzej Kuroś <[email protected]>
    (cherry picked from commit 54aca3e)
    ankuns authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    51658a8 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] manifest: update hal_nordic revision to have nrfx 3.7.0

    Bring latest release of nrfx: 3.7.0.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit de82f2f)
    nika-nordic authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c173cfd View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] manifest: modules: hal: nordic: Pull in fix for countr…

    …y code
    
    Pull in changes to pass country code as string to firmware.
    
    Signed-off-by: Ravi Dondaputi <[email protected]>
    (cherry picked from commit 0e2daaa)
    rado17 authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4c475af View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] modules: hal_nordic: align PDM configuration

    Introduce instance 0, PDM0, following nrfx 3.7.0 update.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 97dff5b)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    15c77ef View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] modules: hal_nordic: add nrf54l system sources to bsim…

    … build
    
    Include system_nrf54l.c file when building for bsim.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 9d82a03)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ba6d4cb View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] bluetooth: controller: ll_sw: nordic: align to nrfx 3.7.0

    Some enums have been renamed:
    
    - NRF_CCM_EVENT_ENDCRYPT -> NRF_CCM_EVENT_END
    - NRF_CCM_TASK_CRYPT -> NRF_CCM_TASK_START
    
    Also adjust some TX power level settings (26/28dBm not always available
    depending on the SoC revision).
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit b2031aa)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d3d8c72 View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] drivers: timer: nrf_grtc_timer: Align Zephyr to new AU…

    …TOEN read manner
    
    The new GRTC reading manner of the SYSCOUNTER uses hardware mechanism which
    allows to keep it alive when any of CPUs is not sleeping. Otherwise
    the SYSCOUNTER goes into sleep mode. Thus there is no
    longer need to maintain the `CONFIG_NRF_GRTC_SLEEP_ALLOWED` symbol, however
    if the user wants to have the SYSCOUNTER enabled all the time the
    `CONFIG_NRF_GRTC_ALWAYS_ON` can be used instead.
    The nrfx_grtc  driver no longer provides the `wakeup-read-sleep` reading
    manner.
    Also setting the GRTC clock source is performed by the nrfx_grtc driver so
    it has been removed from the `sys_clock_driver_init()` function.
    
    Signed-off-by: Adam Kondraciuk <[email protected]>
    (cherry picked from commit bc7a5b6)
    adamkondraciuk authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    cc16494 View commit details
    Browse the repository at this point in the history
  10. Revert "[nrf noup] dts: nordic: Support disabling lfosc"

    This reverts commit 3067153.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    89c735d View commit details
    Browse the repository at this point in the history
  11. Revert "[nrf noup] dts: nordic: LFXO crystal settings adjustment"

    This reverts commit bdcc7e6.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1f15cfc View commit details
    Browse the repository at this point in the history
  12. Revert "[nrf noup] dts: nordic: Add support for BICR generation"

    This reverts commit 52f70da.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c909933 View commit details
    Browse the repository at this point in the history
  13. [nrf fromtree] soc: nordic: nrf54h20: add support for nRF54H20 EngB

    nRF54H20 EngB is a re-label to the existing hardware revision for the
    nRF54H20. nRF54H20 (whithout EngX) is becoming the final revision of the
    SoC.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit a9d0eac)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c32dc8c View commit details
    Browse the repository at this point in the history
  14. [nrf noup] dts: nordic: Add support for BICR generation

    This will be replaced by a different solution upstream (NCSDK-27673).
    
    Migrate the existing BICR bindings from NCS 2.4.99-cs3 to NCS 2.7.0.
    They are updated to remove obsoleted values. Enable generating bicr.hex
    for Application core by default.
    
    LFXO CLOAD value is a resualt of DK's characterization.
    
    The BICR LFOSC.LFXOCONFIG.MODE field supports disabling the usage of an
    external crystal oscillator to disable LFXO as LF clock source.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    Signed-off-by: Karol Lisak <[email protected]>
    Signed-off-by: Karsten Koenig <[email protected]>
    57300 authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    30b5300 View commit details
    Browse the repository at this point in the history
  15. [nrf fromtree] modules: hal_nordic: add support for nRF54H20 EngB

    Add support for nRF54H20 EngB in the Nordic HAL glue code.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 40f5ca0)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    046b70b View commit details
    Browse the repository at this point in the history
  16. [nrf fromtree] modules: hal_nordic: nrfs: add support for nRF54H20 EngB

    Make nrfs compatible with the EngB soc revision.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 72ab376)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b44193c View commit details
    Browse the repository at this point in the history
  17. [nrf fromtree] drivers: adc: nrfx_saadc: use CONFIG_NRF_PLATFORM_HALTIUM

    So that any Haltium based SoC uses the same settings, including nRF54H20
    EngB.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 5a4655f)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c0417a5 View commit details
    Browse the repository at this point in the history
  18. [nrf fromtree] scripts: west_commands: runners: nrf: add support for …

    …nRF54H20 EngB
    
    Make sure cpuapp/cpurad cores are detected correctly when using nRF54H20
    EngB.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 091e38b)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    75fc593 View commit details
    Browse the repository at this point in the history
  19. [nrf fromtree] boards: nrf54h20dk: introduce revision 0.8.0 (current)

    The current DK is labeled as revision 0.8.0. Until now, no revisions were
    needed, but a new hardware spin is coming, so we'll need to keep at least
    two revisions in the near future until the final one becomes the default.
    Prepare the board for that scenario. Note that the "old" nRF54H20 SoC is
    now nRF54H20 EngB.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 47212de)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    15f4e97 View commit details
    Browse the repository at this point in the history
  20. [nrf fromtree] boards: nrf54h20dk: add board revision 0.9.0

    Add a new revision for nRF54H20 DK: 0.9.0. This new hardware spin contains
    the final nRF54H20 SoC. Treat it as the default, including twister.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit df9a84e)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1eee871 View commit details
    Browse the repository at this point in the history
  21. [nrf fromtree] tests: lib: cpp: cxx: ignore nRF54H20 DK 0.8.0

    nRF54H HAL is not compatible with C++98, add new board revisions to the
    list so that they are skipped.
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit d3ca4fd)
    gmarull authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0408db6 View commit details
    Browse the repository at this point in the history
  22. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    85944c64f224406e4d781aa382c5f1f71ed307fd
    
    Including the following:
    * 5340: Allocate a buffer for the APP core RAM (2nd version)
    * 82ca90c Add NCS test-spec.yml to trigger downstream CI job
    * a05d7a6 docs: top README: Mention nrf54l15 support and minor fixes
    * cd64524 54 ECB/CCM tests: Remove comment which does not apply
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 942fa67)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    01bc0ac View commit details
    Browse the repository at this point in the history
  23. [nrf fromtree] subsys/ipc icmsg_me.c: Fix ssize_t build error for som…

    …e libCs
    
    ssize_t is not part of the C library ISO standard subset, and as such
    one cannot expect a C library to expose the type by default.
    Some libraries like glibc do not expose this type in general, and
    trying to build using them results in build errors.
    
    There is 3 possible options:
    1. Continue using ssize_t and:
    1.a define _POSIX_C_SOURCE before including any header
    1.b include sys/types.h directly (A bit uglier)
    3. Not use ssize_t, and instead rely on ISO standard types
    
    Let's just go with 1.a assuming we want to keep using this type,
    as that is the correct way of getting this type defined.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit b6f1767)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    70e0f41 View commit details
    Browse the repository at this point in the history
  24. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    bf8e45bd1f870e49cc15392e045c28d54ea12285
    
    Including the following:
    * bf8e45b (52) CCM HAL: Support nrfx 3.7.0 with renamed TASK_CRYPT
    * 14c14d7 HW_models/NHW_GRTC: Support MDK not exposing SYSCOUNTERVALID
    * 6d66801 RADIO: Improve RSSISTART behaviour
    * ceb6a80 hal grtc: Add replacements for new int group functions
    * 838aa38 docs/README_HW_models: Add reference to Bsim HW models descr
    * 0ff34d7 docs: Several updates and fixes
    * 2972a93 AES_CCM: Avoid UBSAN pointer align warnwhen reading CNFPTR
    * f8cd477 UART: Minor bugfix: Set rx status to off during ENABLE
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 867e84c)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3af5c74 View commit details
    Browse the repository at this point in the history
  25. [nrf fromtree] boards native: Add function to remap embedded address

    Add a function which can be used to remap embedded device address,
    into addresses which can be used in the simulated native boards.
    
    For the nrf_bsim boards we provide an actual implementation.
    For other boards, we provide an optional dummy version which does
    nothing.
    It is up to each board implementation to decide if they want to
    provide one or use the dummy.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 5efe751)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    685e171 View commit details
    Browse the repository at this point in the history
  26. [nrf fromtree] ipc: pbuf: Provide function for Rx side initialization

    Provide a new function for initializing the Rx side,
    so users do not need to initialize the pointers by hand
    if they did not use PBUF_DEFINE().
    
    Let's also rename pbuf_init() to pbuf_tx_init() to clearly
    signify the previous function was only meant to be used
    by the Tx side.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 5dc810e)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    dfe668b View commit details
    Browse the repository at this point in the history
  27. [nrf fromtree] ipc: icmsg & icbmsg: Add support for POSIX arch targets

    Add support in this IPC backends for POSIX arch targets in general,
    and ensure the nrf5340bsim defines the buffer which will be used.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit b5b91b3)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e29d517 View commit details
    Browse the repository at this point in the history
  28. [nrf fromtree] samples ipc_service/multi_endpoint: Enable for nrf5340…

    …bsim
    
    Enable this sample for the nrf5340bsim
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit be35bbd)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8ca6ac5 View commit details
    Browse the repository at this point in the history
  29. [nrf fromtree] samples ipc_service/icmsg: Enable for nrf5340bsim

    Enable this sample for the nrf5340bsim
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit ca62ff8)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5d8ce35 View commit details
    Browse the repository at this point in the history
  30. [nrf fromtree] samples ipc_service/static_vrings: Enable for nrf5340bsim

    Enable this sample for the nrf5340bsim
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit 13efb39)
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c7ae658 View commit details
    Browse the repository at this point in the history
  31. [nrf fromlist] ipc: icmsg: increase stack size of RX work queue thread

    Increases default size of stack used by work queue RX thread
    from 1024 to 1280 to avoid memory issues.
    
    After adding the buffer with the default size of 128
    that is allocated on the thread's stack (see #77552),
    there is too little stack left during heavy stress.
    
    Upstream PR: zephyrproject-rtos/zephyr#79557
    
    Signed-off-by: Piotr Koziar <[email protected]>
    piotrkoziar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2a679b9 View commit details
    Browse the repository at this point in the history
  32. [nrf fromlist] fs: introduce ZMS a new Memory storage system

    ZMS is the abreviation of Zephyr Memory Storage.
    It is a storage developed to target especially the non erasable devices.
    
    The new memory storage system inherit from the NVS storage multiple
    features and introduce new ones :
    * Inherited features :
     - light key-value based storage
     - cache for entries
     - Wear Leveling of flash memory
     - Resilience to power failures
    * New features :
     - cycle counter for non erasable devices (instead of erase emulation)
     - Keys up to 32-bit
     - Built-in support of CRC32 for data
     - Small size data (<= 8 bytes) integrated within entries
    
    Upstream PR: zephyrproject-rtos/zephyr#77930
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit 7d9d3fddea0a3ff999934c7aad99e54b2a8a864c)
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6e31f3a View commit details
    Browse the repository at this point in the history
  33. [nrf fromlist] tests: fs: zms: add testsuite for ZMS storage

    List of added tests :
    - zms.test_delete
    - zms.test_zms_cache_collission
    - zms.test_zms_cache_gc
    - zms.test_zms_cache_hash_quality
    - zms.test_zms_cache_init
    - zms.test_zms_corrupted_sector_close_operation
    - zms.test_zms_corrupted_write
    - zms.test_zms_full_sector
    - zms.test_zms_gc
    - zms.test_zms_gc_3sectors
    - zms.test_zms_gc_corrupt_ate
    - zms.test_zms_gc_corrupt_close_ate
    - zms.test_zms_mount
    - zms.test_zms_write
    
    Upstream PR: zephyrproject-rtos/zephyr#77930
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit 3f31a7db7fe70ee92a0fe63c07fb7704abbb52b3)
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    04283c6 View commit details
    Browse the repository at this point in the history
  34. [nrf fromlist] samples: fs: zms: add a sample app for ZMS storage system

    This adds a user application that shows the usage of ZMS
    The sample app shows three main functions of ZMS:
    - read/write/delete key/value pairs
    - fill all storage and delete it
    - calculate free remaining space
    
    Upstream PR: zephyrproject-rtos/zephyr#77930
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit 9106be03f65f25e5d32920bf1443f05e43a54731)
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    721997c View commit details
    Browse the repository at this point in the history
  35. [nrf fromlist] doc: zms: add documentation for ZMS

    This adds the documentation for the Zephyr Memory Storage system.
    
    Upstream PR: zephyrproject-rtos/zephyr#77930
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit 7cc32ad6b45548b7173cbfa7b98d7bdff986f671)
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1c85337 View commit details
    Browse the repository at this point in the history
  36. [nrf fromlist] settings: ZMS: add a backend for ZMS (Zephyr Memory St…

    …orage)
    
    This adds the initial backend support for the ZMS storage system.
    
    Upstream PR: zephyrproject-rtos/zephyr#78632
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit b99b214b949d3ae10bf02eb60f4ade4fb42400a1)
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8168f02 View commit details
    Browse the repository at this point in the history
  37. [nrf noup] settings: zms: use dedicated lookup cache hash function

    Introduce ZMS_LOOKUP_CACHE_FOR_SETTINGS Kconfig option that enables a
    dedicated hash function for the ZMS lookup cache that takes advantage
    of the ZMS ID allocation scheme used by the ZMS settings backend.
    As such, this option should only be used if an application uses ZMS via
    the settings layer.
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    rghaddab authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    98662fc View commit details
    Browse the repository at this point in the history
  38. [nrf noup] boards: Add non-secure target for nrf54L15dk

    This adds the nrf54l15dk/nrf54l15/cpuapp/ns board variant to
    sdk-zephyr. It allows to build nRF54l15dk with TF-M in nRF Connect SDK.
    
    This is done as a noup as the out-of-tree board extension feature is
    not available. When zephyrproject-rtos/zephyr#69548 is completed this
    commit can be reverted and the variant be placed in sdk-nrf.
    
    Signed-off-by: Tomi Fontanilles <[email protected]>
    tomi-font authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6b4c840 View commit details
    Browse the repository at this point in the history
  39. [nrf fromtree] scripts: logging: dictionary: Add uart support

    This commit adds support to dictionary logging to parse binary
    data directly from input serial and generate the ascii logs.
    
    Signed-off-by: Kumar Siddaramayya <[email protected]>
    (cherry picked from commit a899ded)
    Kumar Siddaramayya authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3013df9 View commit details
    Browse the repository at this point in the history
  40. [nrf fromtree] drivers: mbox: nrf_vevif_task_rx: align to direct IRQs

    Allow using direct IRQs (which are obligatory when buiding
    with `CONFIG_GEN_SW_ISR_TABLE=n`).
    
    Signed-off-by: Marcin Szymczyk <[email protected]>
    (cherry picked from commit a555838)
    masz-nordic authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    073a895 View commit details
    Browse the repository at this point in the history
  41. [nrf fromtree] debug: mipi_stp_decoder: Avoid potential 64bit unalign…

    …ed access
    
    Decoder was casting uint8_t pointers to uint64_t pointers which could
    result in double word instruction which does not support unaligned
    access on Cortex-M. Issue was revealed when -O3 optimization was
    used instead of -Os. In size optimized version, compiler was
    using word load and store instructions which support unaligned
    access and issue was not visible.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit ddf753c)
    nordic-krch authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9a51d12 View commit details
    Browse the repository at this point in the history
  42. [nrf fromtree] logging: backend: add semihosting

    Added semihosting support in logging backend
    
    Signed-off-by: Arif Balik <[email protected]>
    (cherry picked from commit 8742d9f)
    arifbalik authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5b88fd8 View commit details
    Browse the repository at this point in the history
  43. [nrf fromtree] logging: log_output: Move flushing and writing to the …

    …header
    
    Move log_output_flush and log_output_write (renamed internal
    buffer_write() function) to the header as inline functions.
    Those function are used by log_output_dict.c and there are cases
    when log_output.c is not compiled in.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit df683fd7f816f88508068f85ff5ded3a012d1e58)
    nordic-krch authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e3ddbd6 View commit details
    Browse the repository at this point in the history
  44. [nrf fromtree] logging: Fix LOG_OUTPUT dependency

    When CONFIG_LOG_OUTPUT is set, it indicates that logging strings
    are formatted by the application (using log_output module). It is
    not needed when backend works in the dictionary mode. So far
    LOG_OUTPUT was set also when dictionary mode was used and that
    prevented removing of the logging strings from binary which is
    an important feature of the dictionary logging.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit 8652e8e)
    nordic-krch authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    77c8258 View commit details
    Browse the repository at this point in the history
  45. [nrf fromtree] west: hostap: update hostap revision to PR

    Update hostap revision to PR
    
    Signed-off-by: Li Long <[email protected]>
    (cherry picked from commit 04e1b71)
    LiLongNXP authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    77ebe18 View commit details
    Browse the repository at this point in the history
  46. [nrf fromtree] manifest: Pull PRF-256 PSA based wrapper API for suppl…

    …icant
    
    This pulls in PRF-256 wrapper API based on PSA APIs. This implements
    PRF-256 as per section 11.6.1.7.2 in 802.11ac using PSA APIs.
    
    Signed-off-by: Vivekananda Uppunda <[email protected]>
    (cherry picked from commit 06d0c58)
    VivekUppunda authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6cc9fb5 View commit details
    Browse the repository at this point in the history
  47. [nrf fromtree] manifest: Fix compilation warnings in hostap

    Hotfix for two compilation warning issues for
    wpa_drv_zep_event_dfs_cac_finished() and
    wpa_drv_zep_event_dfs_cac_started(),
    and for hmac_prf256() in hostap project.
    
    Signed-off-by: Jukka Rissanen <[email protected]>
    (cherry picked from commit 0ae12ad)
    jukkar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    82d54c5 View commit details
    Browse the repository at this point in the history
  48. [nrf noup] dts: Select SoftDevice Controller DTS binding as default

    The Softdevice Controller is enabled using the device tree.
    Added a device tree node that enables the SDC and disables the Zephyr
    Bluetooth controller on nRF54L20.
    
    Signed-off-by: Rafał Kuźnia <[email protected]>
    e-rk authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5065d3b View commit details
    Browse the repository at this point in the history
  49. [nrf fromtree] Bluetooth: Host: Fix issue where uninitialized value w…

    …as used
    
    This change makes sure that when a call to `bt_id_set_scan_own_addr` is
    sucessful, i.e., the return value is 0, the `own_addr_type` will
    be set by the `bt_id_set_scan_own_addr`.
    
    Not setting the `own_addr_type` in a successful call to
    `bt_id_set_scan_own_addr` causes, for example,
    the `start_le_scan_ext` method in `scan.c` to use an
    uninitialized `own_addr_type`.
    
    Eventually this results in an unexpected failure further down in
    `start_le_scan_ext`, when sending HCI command to controller with
    an uninitialized `own_addr_type`.
    
    Signed-off-by: Erik Sandgren <[email protected]>
    (cherry picked from commit 5f59b35)
    eriksandgren authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ad6c18d View commit details
    Browse the repository at this point in the history
  50. [nrf fromtree] net: ipv4: Make native IPv4 options dependent on NET_N…

    …ATIVE_IPV4
    
    IPv4 Kconfig options which only affect native IPv4 stack should be
    dependent on NET_NATIVE_IPV4, similarly as it's done for IPv6.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 5d085b4)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ff18677 View commit details
    Browse the repository at this point in the history
  51. [nrf fromtree] net: iface: Don't require native networking to registe…

    …r IP address
    
    It shouldn't be needed to enable native networking to be able to
    add/delete IP addresses on network interfaces.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 8d296ba)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    27245b8 View commit details
    Browse the repository at this point in the history
  52. [nrf fromtree] test: net: offloaded_netdev: Add tests for IPv4/6 addr…

    …ess registration
    
    Make sure it's possible to register IPv4/6 addresses on an offloaded
    interface. Add an extra build configuration to make sure it's also
    possible when native IP stack is disabled.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 4595295)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9de3965 View commit details
    Browse the repository at this point in the history
  53. [nrf fromtree] net: shell: Enable IPv4/6 and iface commands if NET_NA…

    …TIVE is disabled
    
    Some commands can be executed and some statuses can be printed even if
    native IP is disabled.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit c377017)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9cb5783 View commit details
    Browse the repository at this point in the history
  54. [nrf fromtree] net: sockets: Split native IP socket implementation fr…

    …om syscalls
    
    Native IP socket implementation need only be build if native IP stack is
    enabled. Therefore, split the native IP sockets from the common socket
    syscalls shared across all socket implementations.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 404e9c7)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d7ac5b1 View commit details
    Browse the repository at this point in the history
  55. [nrf fromtree] net: Avoid compiling native network stack parts w/o NE…

    …T_NATIVE
    
    In case NET_NATIVE is disabled, certain network stack components do not
    need to be compiled. Otherwise, they could throw errors if
    --no-gc-sections compiler options is enabled.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 2e1d896)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    135cf0e View commit details
    Browse the repository at this point in the history
  56. [nrf fromtree] net: offload: Do not need to enable TC threads for NET…

    …_OFFLOAD
    
    Net offloading doesn't need net TC threads to be enabled as they're used
    by the native stack. This fixes build if CONFIG_NET_OFFLOAD is enabled
    but native stack is disabled.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit bdbf7cc)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1fb7fff View commit details
    Browse the repository at this point in the history
  57. [nrf fromtree] net: sockets: Remove SET_ERRNO() macro

    Macros with flow control are discouraged and generate compliance error,
    hence remove it and replace the corresponding code with simple errno
    assignments.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 0c1550d)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    44e2e92 View commit details
    Browse the repository at this point in the history
  58. [nrf fromtree] net: ipv6: Make Multicast Listener Discovery API public

    IPv6 MLD API was so far defined in an internal header. This does not
    seem correct though, as application code should be able to join/leave
    multicast groups, hence the API should be exposed in a public header,
    just as it is done for its IPv4 countepart - IGMP.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit c6498bb)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3481d86 View commit details
    Browse the repository at this point in the history
  59. [nrf fromtree] net: if: Don't require native IP stack support for IPv…

    …6 lookups
    
    IPv6 based interface lookups doesn't require native IP stack support,
    hence reflect that in the API.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit f4335d22ca619a6d298cddaf0ba9d58397ecd9b0)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e3f4f4f View commit details
    Browse the repository at this point in the history
  60. [nrf fromtree] net: sockets: Move msghdr_non_empty_iov_count() to com…

    …mon file
    
    msghdr_non_empty_iov_count() is used by TLS sockets too therefore should
    be available regardless of native IP sockets being enabled or not.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 66ff30e)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    20e2052 View commit details
    Browse the repository at this point in the history
  61. [nrf noup] samples: basic: blinky: align eGPIO overlay to L15 DK

    nrf-squash! [nrf noup] samples: basic: blinky: add eGPIO tests configuration
    
    Align eGPIO overlay to nRF54L15 DK.
    
    Signed-off-by: Marcin Szymczyk <[email protected]>
    masz-nordic authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0a3f961 View commit details
    Browse the repository at this point in the history
  62. [nrf fromtree] drivers: nrf_qspi_nor: Fix build without multithreading

    Fix build of nrf_qspi_nor flash driver without multithreading enabled.
    This is required for builds like mcuboot.
    
    Signed-off-by: Joakim Andersson <[email protected]>
    (cherry picked from commit 14c896b)
    joerchan authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c386643 View commit details
    Browse the repository at this point in the history
  63. [nrf fromtree] drivers: nrf_qspi_nor: Check poll period before sleep

    Check that the poll period is non-zero before sleeping.
    
    Signed-off-by: Joakim Andersson <[email protected]>
    (cherry picked from commit d794d58)
    joerchan authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c63443e View commit details
    Browse the repository at this point in the history
  64. [nrf fromtree] cmake: linker: evaluate CONFIG_LINKER_ITERABLE_SUBALIG…

    …N in CMake
    
    Evaluate CONFIG_LINKER_ITERABLE_SUBALIGN in CMake instead of in the
    linker script.
    
    It cannot be assumed that a linker generator implementation is
    pre-processed and therefore Kconfig settings cannot be used in those
    but must be evaluated in CMake.
    
    Signed-off-by: Torsten Rasmussen <[email protected]>
    (cherry picked from commit 205691e)
    Signed-off-by: Robert Lubos <[email protected]>
    tejlmand authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    712ff22 View commit details
    Browse the repository at this point in the history
  65. [nrf fromtree] samples/net: Don't test on native_posix

    native_posix is now deprecated.
    Building these samples in both native_sim and native_posix
    does not improve coverage for these samples but doubles CI time.
    As anyhow native_posix will be removed all together in
    2 releases, let's remove it already for this sample.
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit d9aae58)
    Signed-off-by: Robert Lubos <[email protected]>
    aescolar authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8263ec5 View commit details
    Browse the repository at this point in the history
  66. [nrf fromtree] snippets: Add Wi-Fi IPv4 snippet

    Introduce a snippet for configuring IPv4 over Wi-Fi support in
    networking samples.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 0fdfad8)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d681e4c View commit details
    Browse the repository at this point in the history
  67. [nrf fromtree] samples: net: Add Wi-Fi snippet support for networking…

    … samples
    
    Make use of wifi-ipv4 snippet in several networking samples.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit fd2fa54)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c257a1f View commit details
    Browse the repository at this point in the history
  68. [nrf fromtree] samples: net: echo_client: Fix build warning with IPv6…

    … disabled
    
    Building the sample with IPv4 only gives the following warning:
    
    tcp.c:99:37: warning: array subscript 'struct sockaddr[0]' is partly
    outside array bounds of 'struct sockaddr_in[1]' [-Warray-bounds]
      data->tcp.sock = socket(addr->sa_family, SOCK_STREAM, IPPROTO_TCP);
    
    This doesn't really seem like a valid one, but to get rid of it
    workaround by specifying address family explicitly.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 0623b23)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    48608dc View commit details
    Browse the repository at this point in the history
  69. [nrf fromtree] samples: net: echo_client: Fix 'Tag name should be uni…

    …que' error
    
    Refactor the code to comply with:
      Violation to rule 5.7 (Tag name should be unique) tag: data
    
    Rename the structure to avoid excessive refactoring.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 7b854d8)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ab8cfa0 View commit details
    Browse the repository at this point in the history
  70. [nrf fromtree] net: dns: dispatcher: Don't use uninitialized entries

    In case CONFIG_DNS_RESOLVER_MAX_SERVERS is larger than the actual number
    of DNS servers configured, some server entries may be left
    uninitialized. The dispatcher needs to take this into account, otherwise
    it may cause memory corruptions.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 5c6b003)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    d31fa2d View commit details
    Browse the repository at this point in the history
  71. [nrf fromtree] samples: net: telnet: Remove redundant code

    The sample uses net_config library, so there's no need for the sample to
    configure unicast IP addresses manually.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit 7d91281)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    5ac7771 View commit details
    Browse the repository at this point in the history
  72. [nrf fromtree] log: net: Fix build warning with IPv6 disabled

    Building the net logger backend with IPv4 only gives the following
    warning:
    
    log_backend_net.c:116:31: warning: array subscript 'struct sockaddr[0]'
    is partly outside array bounds of 'struct sockaddr_in[1]'
    [-Warray-bounds] local_addr->sa_family = server_addr.sa_family;
    
    hence assign the address family directly to sockaddr_in/6 structs.
    
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit c6cc87c)
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a7100a5 View commit details
    Browse the repository at this point in the history
  73. Revert "[nrf noup] samples: net: Add support for nRF700x"

    This reverts commit c8082c5.
    
    Wi-Fi support for networking sample was added directly upstream.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3c69a09 View commit details
    Browse the repository at this point in the history
  74. Revert "[nrf noup] samples: lwm2m_client: Add support for nRF91x and …

    …nRF700x"
    
    This reverts commit 13fd467.
    
    Wi-Fi support was added directly upstream.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3abc0e2 View commit details
    Browse the repository at this point in the history
  75. [nrf noup] samples: lwm2m_client: Add support for nRF91x

    Add support for nRF91x by providing overlay configuration file.
    
    Signed-off-by: Juha Ylinen <[email protected]>
    Signed-off-by: Robert Lubos <[email protected]>
    (cherry picked from commit d96769f)
    (cherry picked from commit 13fd467)
    juhaylinen authored and rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1ee6611 View commit details
    Browse the repository at this point in the history
  76. [nrf noup] samples: net: Enable Wi-Fi driver in sysbuild builds

    Make sure Wi-Fi driver is enabled in networking samples supporting Wi-Fi
    when sysbuild is used.
    
    Signed-off-by: Robert Lubos <[email protected]>
    rlubos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f3e023b View commit details
    Browse the repository at this point in the history
  77. [nrf noup] workflows: Update the commit tags action

    nrf-squash! [nrf noup] ci: NCS-specific CI tweaks
    
    Adapt to the changes in:
    nrfconnect/action-commit-tags#4
    
    Signed-off-by: Carles Cufi <[email protected]>
    carlescufi committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e46d2e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. [nrf noup] drivers: entropy: Switch entropy driver in nRF54L20

    nrf-squash! [nrf noup] entropy: Add fake entropy nRF PRNG driver
    
    Change psa driver to nordic entropy. nRF54L20 needs it as well
    as nRF54H20.
    
    Signed-off-by: Karol Lasończyk <[email protected]>
    kl-cruz authored and rlubos committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    b10af16 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] drivers: udc_dwc2: Suspend if connected to suspended bus

    Peripherals are required to support the suspend state whenever VBUS
    is powered, even if bus reset has not occurred (Mandate: Required,
    Effective Date: February, 2010).
    
    Remove the stale suspend check that essentially prevented the device
    from hibernating when connected to already suspended bus.
    
    (cherry picked from commit f57e78d)
    Signed-off-by: Tomasz Moń <[email protected]>
    tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    a0e1ea8 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] drivers: udc_dwc2: Change hibernation exit on bus reset

    Adhere to programming guide steps on Hibernation Exit on Host Initiated
    Reset.
    
    (cherry picked from commit 508bd3e)
    Signed-off-by: Tomasz Moń <[email protected]>
    tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    975bdb9 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] uart: update meaning of uart_irq_tx_ready return code

    Update the documented value range that `uart_irq_tx_ready` returns in
    order to provide more information to the callers about the number of
    bytes that could be writted with `uart_fifo_fill` without fragmentation.
    
    Signed-off-by: Jordan Yates <[email protected]>
    (cherry picked from commit 5bd53b6)
    Signed-off-by: Tomasz Moń <[email protected]>
    JordanYates authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    df64cee View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] serial/usb: update struct ring_buf users

    Update the interrupt driver UART drivers that use `struct ring_buf`
    internally to report the number of bytes that can be pushed in
    `uart_fifo_fill` without fragmentation.
    
    Signed-off-by: Jordan Yates <[email protected]>
    (cherry picked from commit 81352d0)
    Signed-off-by: Tomasz Moń <[email protected]>
    JordanYates authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4f3834b View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] serial: async_to_irq: update tx_ready return

    The async IRQ shim supports writes of any size up to the TX buffer size.
    
    Signed-off-by: Jordan Yates <[email protected]>
    (cherry picked from commit 3e5c72a)
    Signed-off-by: Tomasz Moń <[email protected]>
    JordanYates authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    b7ca85a View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] serial: uart_nrfx_*: update tx_ready return codes

    Update nrfx drivers with the minimum number of bytes that can be sent
    in a single call to `uart_fifo_fill`.
    
    Signed-off-by: Jordan Yates <[email protected]>
    (cherry picked from commit 0425b04)
    Signed-off-by: Tomasz Moń <[email protected]>
    JordanYates authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2f5817a View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] doc: usb: move "Built-in functions" down and increase …

    …the heading
    
    Move "Built-in functions" section down and increase the heading.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit fc0437c)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c295ee8 View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] usb: device_next: align CDC ACM UART with Interrupt-dr…

    …iven UART API
    
    Align CDC ACM UART with Interrupt-driven UART API behavior description.
    Use the same flags in uart_irq_rx_ready(), uart_irq_tx_ready(), and
    uart_irq_is_pending(), which are updated after each uart_irq_update()
    call. Allow TX FIFO to be filled if there is space.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit 64ee885)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    3523a1f View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] doc: usb: describe CDC ACM virtual UART IRQ API behavior

    In general, it mirrors what is described in Interrupt-driven API
    documentation, but here a little more explicitly and with a simplified
    example, so that we can finally chisel it into the stone.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit 1867e71)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    bb4e213 View commit details
    Browse the repository at this point in the history
  11. [nrf fromtree] usb: device_next: align CDC ACM UART poll_out with leg…

    …acy implementation
    
    Apply changes in commit c152e09
    ("usb: device: cdc_acm: block in uart_poll_out() routine")
    to the new CDC ACM UART poll_out implementation.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit 6cf2775)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    42e19b6 View commit details
    Browse the repository at this point in the history
  12. [nrf fromtree] usb: device_next: allow fifo_fill and poll_out be used…

    … simultaneously
    
    As it is still accepted practice, allow fifo_fill and poll_out to be
    used simultaneously. The lock around fifo_fill was already in place.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit ef89321)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    d6257f6 View commit details
    Browse the repository at this point in the history
  13. [nrf fromtree] doc: usb: add note about CDC ACM virtual UART polling …

    …API behavior
    
    Add note about CDC ACM virtual UART polling API behavior.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit ece1f51)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c25c7d0 View commit details
    Browse the repository at this point in the history
  14. [nrf fromtree] usb: device_next: limit CDC ACM OUT transfer size to t…

    …he current MPS
    
    When the controller is connected to a full speed bus, regardless of
    whether the controller supports high speed or not, the transfer size for
    the bulk OUT endpoint should be equal to the MPS in the current
    configuration.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit 4875aa3)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e1a46e1 View commit details
    Browse the repository at this point in the history
  15. [nrf fromtree] usb: device_next: use delayable work for TX FIFO in CD…

    …C ACM
    
    Use delayable work to reduce CPU load when there is no transfer flow in
    the host direction. This also improves the performance of poll out, as
    introduced in commit commit fed6bde
    ("usb: device: cdc_acm: send more than 1 byte in poll out")
    for the legacy CDC ACM implementation.
    
    Signed-off-by: Johann Fischer <[email protected]>
    (cherry picked from commit fe4d8a6)
    Signed-off-by: Tomasz Moń <[email protected]>
    jfischer-no authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7fcabe9 View commit details
    Browse the repository at this point in the history
  16. [nrf fromtree] usb: device_next: USB reset clears remote wakeup permi…

    …ssion
    
    Verbatim from USB 2.0 specification:
    The Remote Wakeup field indicates whether the device is currently enabled
    to request remote wakeup. The default mode for devices that support
    remote wakeup is disabled. If D1 is reset to zero, the ability of the
    device to signal remote wakeup is disabled. If D1 is set to one,
    the ability of the device to signal remote wakeup is enabled.
    The Remote Wakeup field can be modified by the SetFeature() and
    ClearFeature() requests using the DEVICE_REMOTE_WAKEUP feature selector.
    This field is reset to zero when the device is reset.
    
    Signed-off-by: Benedek Kupper <[email protected]>
    (cherry picked from commit a6b911f)
    Signed-off-by: Tomasz Moń <[email protected]>
    benedekkupper authored and tmon-nordic committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    fb6c746 View commit details
    Browse the repository at this point in the history
  17. [nrf fromtree] manifest: Update nRF hw models to latest

    Update the HW models module to:
    eeed2591d38e5e9bf89658df67555f2777249fc0
    
    eeed259 RADIO: Do not warn about TASK_RSSISTART during RXIDLE
    565220e 54L15.mk: Fix flipper hal target name
    bb8c6fd Makefile: Let's install libraries by default
    6dbb843 RADIO: Implement immediate RSSI measurement when needed
    3a5d567 RADIO: Allow triggering TASK_RSSISTART from register writes
    
    Signed-off-by: Alberto Escolar Piedras <[email protected]>
    (cherry picked from commit fb01071)
    aescolar authored and rlubos committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4365d55 View commit details
    Browse the repository at this point in the history
  18. [nrf fromtree] samples: tests: Add support to tests on nrf54l15 DK

    Align all existing samples/tests/applications which
    contains nrf54l15pdk/nrf54l15/* by adding
    nrf54l15dk/nrf54l15/* to enable twister builds.
    
    Signed-off-by: Katarzyna Giądła <[email protected]>
    Signed-off-by: Grzegorz Chwierut <[email protected]>
    (cherry picked from commit 436d1bf)
    katgiadla authored and rlubos committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7f012e9 View commit details
    Browse the repository at this point in the history
  19. [nrf fromtree] samples: Align tests yaml and overlays to nrf54l15dk

    Align mbox sample.yaml and icmsg flpr overlays to nrf54l15dk.
    
    Signed-off-by: Jakub Zymelka <[email protected]>
    (cherry picked from commit 3904c3b)
    jaz1-nordic authored and rlubos committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ed414be View commit details
    Browse the repository at this point in the history
  20. [nrf fromtree] boards: nordic: update custom JLink reset scheme for A…

    …DACv2
    
    Version 2 of the ADAC interface implemented by secure domain firmware
    changes the ADAC RESET command used in the custom reset handling in
    the JLink support scripts. The command has been split into two
    commands, RESET and START, and has different semantics from
    the previous RESET command. The new RESET command resets both the
    application and radio domains without starting the CPUs again, and the
    START command must then be used to start the CPUs.
    
    Update the JLink support scripts for nrf54h20dk/nrf54h20/cpuapp,
    nrf54h20dk/nrf54h20/cpurad, nrf9280pdk/nrf9280/cpuapp and
    nrf9280pdk/nrf9280/cpurad so that they read out the ADAC interface
    version from the device and use the newer commands if ADAC version 2 is
    detected. If the version is lower than 2, the legacy implementation is
    used.
    
    Also improve the CTRL-AP MAILBOX transaction implementation
    to avoid the need for arbitrary sleeps or unnecessary polling of
    the MAILBOX. This should improve stability when using the script.
    
    Signed-off-by: Jonathan Nilsen <[email protected]>
    (cherry picked from commit d403d73)
    jonathannilsen authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    29f0e97 View commit details
    Browse the repository at this point in the history
  21. [nrf fromtree] boards: nordic: nrf54h20dk: make RAM3x DMA region larg…

    …er for cpurad
    
    Some tests are failing on nrf54h20 cpurad in non-obvious manner
    because of this memory region being too small.
    Instead of adding overlays to each individual application,
    make this region larger at expense of cpuapp equivalent.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit e0860eb9a6c9c099cf67152f8775d73bb3aebc3d)
    nika-nordic authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    8717086 View commit details
    Browse the repository at this point in the history
  22. [nrf fromtree] dts: bindings: Update Nordic owned memory bindings

    This concerns both `nordic,owned-memory` and `nordic,owned-partitions`.
    
    Introduce a property named `nordic,access`, which is meant to replace
    the `owner-id` and `perm-*` properties. It allows for describing how
    multiple domains should access a single memory region, possibly with
    different permissions per owner, but without having to create more than
    one DT node for this purpose.
    
    This change is also motivated by updated memory protection requirements
    on the nRF54H20, which mandate that a given memory region must only be
    reserved by one domain, even if multiple domains can have access to it.
    This restriction is now described in the binding itself.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    (cherry picked from commit 365e9d6)
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    0c72bd8 View commit details
    Browse the repository at this point in the history
  23. [nrf fromtree] boards: nordic: Align with updated Nordic owned memory…

    … bindings
    
    Apply the following changes to `nrf54h20dk` and `nrf9280pdk`:
    
    * Convert `perm-*` properties to the newly introduced `nordic,access`,
      both in board files and tests.
    
    * Redefine shared regions to specify multiple access owners per node,
      and ensure that each such region is reserved by one domain at a time.
      `cpuapp_cpurad_ram0x_region` is only enabled by Radiocore, while
      `cpuapp_cpucell_ram0x_region` is only enabled by Application core.
    
    * Divide `shared_ram3x_region` so that each sub-region is owned by a
      different domain. Their addresses must be rounded down to fit the
      current UICR format.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    (cherry picked from commit 13b1cfa)
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c1bf188 View commit details
    Browse the repository at this point in the history
  24. [nrf fromtree] boards: nordic: Flatten shared_ramxx_region nodes

    Update the default memory maps for `nrf54h20dk` and `nrf9280pdk` to
    remove the `shared_ram20_region` and `shared_ram3x_region` nodes,
    because their child nodes no longer need to be grouped together:
    
      * IPC buffers in RAM20 are statically allocated.
      * DMA buffers in RAM3x have separate access owners.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    (cherry picked from commit 85b0394)
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    8a34326 View commit details
    Browse the repository at this point in the history
  25. Revert "[nrf noup] dts: nordic: Add support for BICR generation"

    This reverts commit 30b5300.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    514df4e View commit details
    Browse the repository at this point in the history
  26. [nrf fromlist] modules: hal_nordic: Integrate nrf-regtool 7.0.0

    Upstream PR: zephyrproject-rtos/zephyr#79925
    
    This new version introduces a new sub-command `uicr-compile`, which will
    generate `uicr.hex` based on a new binary format required by an upcoming
    release of Secure Domain Firmware (SDFW) closer to production.
    
    Since this is a breaking change, and SDFW is not finalized yet, we need
    to support two nrf-regtool versions for a short time, and use different
    CLI invocations based on which version is installed. Hence, the minimum
    required version is unchanged.
    
    Additionally, retire CONFIG_NRF_REGTOOL_EXTRA_GENERATE_ARGS. There will
    be no use for it moving forward.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    (cherry picked from commit 6c4eb43567fc82935ccff21ebfe843ccc1ac88e1)
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    fad108a View commit details
    Browse the repository at this point in the history
  27. [nrf noup] dts: nordic: Add support for BICR generation

    This will be replaced by a different solution upstream (NCSDK-27673).
    
    Migrate the existing BICR bindings from NCS 2.4.99-cs3 to NCS 2.7.0.
    They are updated to remove obsoleted values. Enable generating bicr.hex
    for Application core by default.
    
    LFXO CLOAD value is a resualt of DK's characterization.
    
    The BICR LFOSC.LFXOCONFIG.MODE field supports disabling the usage of an
    external crystal oscillator to disable LFXO as LF clock source.
    
    Signed-off-by: Grzegorz Swiderski <[email protected]>
    Signed-off-by: Karol Lisak <[email protected]>
    Signed-off-by: Karsten Koenig <[email protected]>
    57300 authored and carlescufi committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    3bedb2d View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. [nrf fromtree] usb: dwc2: Allow for enabling USB if the cable is disc…

    …onnected
    
    Adds CONFIG_UDC_DWC2_USBHS_VBUS_READY_TIMEOUT_MS that allows
    for waiting for a USBHS VBUS ready event for a specified
    amount of time. Earlier it waited forever and because of that,
    the udc_enable() was blocked forever if the USB cable was
    disconnected. Now the function returns error on timeout.
    
    Signed-off-by: Aleksander Strzebonski <[email protected]>
    (cherry picked from commit 18fb3f9)
    alstrzebonski authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    928a662 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] drivers: nrfwifi: Fix the indentation

    The Cmake indentation is two spaces.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    (cherry picked from commit 3cd4700)
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a5ce43e View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] drivers: wifi: Add support to override FW load

    For using external flash the tooling is only available in NCS, so, use
    the existing Kconfig option to override the FW loading.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    (cherry picked from commit f20e2d6)
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    54098a5 View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] drivers: wifi: nrf: Remove unused linker script

    This script is needed only when external flash is used to store nRF70
    firmware patches. This also uses PM which is supported only in NCS.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    (cherry picked from commit d15b7b5)
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    0981e96 View commit details
    Browse the repository at this point in the history
  5. Revert "[nrf noup] drivers: wifi: nrfwifi: Workaround for build"

    This reverts commit b757e7a.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    110f8ca View commit details
    Browse the repository at this point in the history
  6. [nrf fromtree] drivers: nrfwifi: Use Zephyr tooling to load nRF70 FW …

    …file
    
    Instead of relying on INCBIN macros which do not properly add
    dependencies, e.g., modifying FW file doesn't trigger rebuild.
    
    Use the Zephyr cmake tooling to load the FW patch file as a header.
    
    This also improves memory report where the patch target is clearly
    visible instead of a hidden section.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    (cherry picked from commit b40cb4c)
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    0cb0d88 View commit details
    Browse the repository at this point in the history
  7. [nrf noup] samples: net: wifi: Enable Wi-Fi driver in sysbuild builds

    Make sure Wi-Fi driver is enabled when sysbuild is used. For shields we
    cannot automate this, as sysbuild doesn't recognize shields, so, Wi-Fi
    has to be explicitly enabled, this is done for twister.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    krish2718 authored and nordicjm committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    fe339b1 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. [nrf fromtree] drivers: nrfwifi: Add provision to handle FW blobs ext…

    …ernally
    
    The FW blobs are contentious topic in OSS, so, add a provision to use
    external tooling (e.g., NCS) to handle FW blobs for advanced usecases
    (e.g., storing in external flash).
    
    This won't be used upstream, only built-in or build-only are supported.
    
    Signed-off-by: Chaitanya Tata <[email protected]>
    (cherry picked from commit cb1ea80)
    krish2718 authored and carlescufi committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    8d6fc59 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. [nrf fromtree] drivers: sensor: qdec: fix QDEC overflow handling

    QDEC sensor driver fails to inform user of the overflow in the
    ACC register, which makes the most recently fetched data invalid.
    An error code return has been added to nrfx_qdec_sample_fetch(),
    that indicates that an overflow has occured, based on oveflow flag.
    Also, raw_acc field was added in the qdec_nrfx_data structure, to
    adjust QDEC to sensor API rules - two subsequent sensor_channel_get()
    calls should will yield the same values.
    
    Signed-off-by: Michał Stasiak <[email protected]>
    (cherry picked from commit 2e6c83d)
    mstasiaknordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    8f65156 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] tests: boards: nrf: qdec: modify QDEC tests to match n…

    …ew api
    
    Overflow errorcode is now correctly detected when expected.
    Subsequent sensor_channel_get() yield the same values, so
    the check can be no longer ignored.
    Added a sensor_sample_fetch() where missing for correct
    sensor_channel_get() calls.
    
    Signed-off-by: Michał Stasiak <[email protected]>
    (cherry picked from commit 9b5260d)
    mstasiaknordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    8411e6a View commit details
    Browse the repository at this point in the history
  3. Revert "[nrf noup] settings: zms: use dedicated lookup cache hash fun…

    …ction"
    
    This reverts commit 98662fc.
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    rghaddab authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    17d9503 View commit details
    Browse the repository at this point in the history
  4. Revert "[nrf fromlist] fs: introduce ZMS a new Memory storage system"

    This reverts commit 6e31f3a.
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    rghaddab authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1a605b0 View commit details
    Browse the repository at this point in the history
  5. [nrf fromlist] fs: introduce ZMS a new Memory storage system

    ZMS is the abreviation of Zephyr Memory Storage.
    It is a storage developed to target especially the non erasable devices.
    
    The new memory storage system inherit from the NVS storage multiple
    features and introduce new ones :
    * Inherited features :
     - light key-value based storage
     - cache for entries
     - Wear Leveling of flash memory
     - Resilience to power failures
    * New features :
     - cycle counter for non erasable devices (instead of erase emulation)
     - Keys up to 32-bit
     - Built-in support of CRC32 for data
     - Small size data (<= 8 bytes) integrated within entries
    
    Upstream PR: zephyrproject-rtos/zephyr#77930
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    (cherry picked from commit 0feaf588f9628e4279001eb390ac07ae1e818f9e)
    rghaddab authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    14c65e3 View commit details
    Browse the repository at this point in the history
  6. [nrf noup] settings: zms: use dedicated lookup cache hash function

    Introduce ZMS_LOOKUP_CACHE_FOR_SETTINGS Kconfig option that enables a
    dedicated hash function for the ZMS lookup cache that takes advantage
    of the ZMS ID allocation scheme used by the ZMS settings backend.
    As such, this option should only be used if an application uses ZMS via
    the settings layer.
    
    Signed-off-by: Riadh Ghaddab <[email protected]>
    rghaddab authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6ccfcdc View commit details
    Browse the repository at this point in the history
  7. [nrf fromtree] net: silence no sources cmake warning

    add `ALLOW_EMPTY TRUE` property to silence cmake warnings in case
    when no sources are added to subsys__net library
    
    Signed-off-by: Maciej Baczmanski <[email protected]>
    (cherry picked from commit ca09d1daa1f134eb37dc3340af97d02f58477819)
    maciejbaczmanski authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e3dc304 View commit details
    Browse the repository at this point in the history
  8. [nrf fromtree] soc: nordic: nrf54l: remove normal voltage mode

    Normal voltage mode is no longer supported by MDK 8.67.0.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 6300e1b)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    3d76fd0 View commit details
    Browse the repository at this point in the history
  9. [nrf fromtree] dts: nordic: refactor bindings helper symbols for SAADC

    Split header files containing symbols denoting SAADC inputs
    so that only supported inputs can be used for given device.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit d494769)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    8b3f453 View commit details
    Browse the repository at this point in the history
  10. [nrf fromtree] drivers: adc: nrf: add support for nrf54l internal SAA…

    …DC inputs
    
    SAADC peripheral for nRF54L Series allows to choose internal
    voltages as positive inputs.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit ece7da5)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    b1376e8 View commit details
    Browse the repository at this point in the history
  11. [nrf fromtree] samples: drivers: adc: add support for internal nRF54L…

    … SAADC inputs
    
    SAADC peripheral for nRF54L Series allows to choose internal
    voltages as positive inputs and samples shall showcase that.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit e315982)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    9c7b747 View commit details
    Browse the repository at this point in the history
  12. [nrf fromtree] drivers: retained_mem: nrf: align dependencies to nrf5…

    …4h20
    
    nRF54H20 cpuapp and cpurad are now compatible with retained_mem,
    so explicit list of supported devices can be removed.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 7048e0bec395ee57a417c165d1691b766ed878b5)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    94750fa View commit details
    Browse the repository at this point in the history
  13. [nrf fromtree] tests: drivers: retained_mem: api: add support for nrf…

    …54h20
    
    retained_mem driver is now compatible with nrf54h20 cpuapp & cpurad.
    Also add missing .conf for nrf54l15.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit e9f1f41)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    321c69d View commit details
    Browse the repository at this point in the history
  14. [nrf fromtree] boards: nordic: nrf54hl: add retained_mem to supported…

    … features
    
    Doc and .yaml descriptions shall mention retained_mem
    in supported features on affected boards.
    
    Signed-off-by: Nikodem Kastelik <[email protected]>
    (cherry picked from commit 478a40ad8926f0084c33755f6d1293d840e61b46)
    nika-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    36cdfc2 View commit details
    Browse the repository at this point in the history
  15. [nrf fromtree] dts: common: nordic: nrf54l20: Adjust RAM size to 511k

    Last 1k is used for saving VPR context and shall not be exposed.
    Limiting RAM to 511k.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit 7b3acdb)
    nordic-krch authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4ac75dc View commit details
    Browse the repository at this point in the history
  16. [nrf fromlist] samples: boards: nordic: system_off: Add GRTC wakeup

    Extend system_off sample to use GRTC timer as a wake up source.
    
    Upstream PR: zephyrproject-rtos/zephyr#79095
    
    Signed-off-by: Bartlomiej Buczek <[email protected]>
    nordic-babu authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    a2171d7 View commit details
    Browse the repository at this point in the history
  17. [nrf fromtree] drivers: dp: swdp_bitbang: power optimization

    This patch changes GPIO initialization
    to be in PORT_OFF state by default.
    Also, if no transceiver is attached to the signals,
    the GPIOs are configured to be disconnected to preserve power.
    
    I tested this on a prototype board where we are going to have
    a debugger in a low-power context.
    
    Signed-off-by: Maximilian Deubel <[email protected]>
    (cherry picked from commit b0936ae)
    maxd-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    44cb146 View commit details
    Browse the repository at this point in the history
  18. [nrf fromtree] drivers: dp: swdp_bitbang: hardcode nRF53 SYSCLK

    Since CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is tied to the slow RTC clock
    for the nRF53, use the default SYSCLK of 64MHz instead.
    
    Signed-off-by: Maximilian Deubel <[email protected]>
    (cherry picked from commit 621a600)
    maxd-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    0a8d32e View commit details
    Browse the repository at this point in the history
  19. [nrf fromtree] drivers: dp: swdp_bitbang: Update SWD clock calculation

    This patch updates the SWD clock calculation to the latest behavior
    of DAPLink.
    
    Signed-off-by: Maximilian Deubel <[email protected]>
    (cherry picked from commit fd686a2)
    maxd-nordic authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6c3c818 View commit details
    Browse the repository at this point in the history
  20. [nrf fromtree] dp: swdp_bitbang: fix unused variable build error

    The variable config in sw_port_off() is not used, and it's
    causing CI build error about unused variable. So remove it.
    
    Signed-off-by: Daniel Leung <[email protected]>
    (cherry picked from commit 1ec5ce0)
    dcpleung authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    d02b0d9 View commit details
    Browse the repository at this point in the history
  21. [nrf fromtree] bluetooth: conn: Use a separate workqueue for connecti…

    …on TX notify
    
    Use a separate workqueue instead of system workqueue for connection TX
    notify processing. This makes Bluetooth stack more independent from the
    system workqueue.
    
    Signed-off-by: Marek Pieta <[email protected]>
    (cherry picked from commit 341f1f5)
    MarekPieta authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    66b53a9 View commit details
    Browse the repository at this point in the history
  22. Revert "[nrf fromlist] tests: drivers: spi: nordic: add device PM run…

    …time"
    
    This reverts commit a77ea2d.
    
    Signed-off-by: Adam Kondraciuk <[email protected]>
    adamkondraciuk authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6e42723 View commit details
    Browse the repository at this point in the history
  23. Revert "[nrf fromlist] drivers: spi: nrfx_spim: Add support for devic…

    …e PM"
    
    This reverts commit 4fe89b2.
    
    Signed-off-by: Adam Kondraciuk <[email protected]>
    adamkondraciuk authored and rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    7dd7e38 View commit details
    Browse the repository at this point in the history
  24. [nrf fromlist] drivers: spi: nrfx_spim: Add support for device runtim…

    …e 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 rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    35e51a2 View commit details
    Browse the repository at this point in the history
  25. [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 rlubos committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    b20e5fd View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. [nrf fromtree] pm: device: allow optional support of TURN_ON action

    Some devices, e.g. SoC level devices like I2C peripheral, can never be
    powerd off as they are always energized. Such devices can only go from an
    active state or to a low power state (suspended). Allow them to simply
    return -ENOTSUP when called with TURN_ON (or TURN_OFF).
    
    Signed-off-by: Gerard Marull-Paretas <[email protected]>
    (cherry picked from commit 740eba1)
    gmarull authored and nordicjm committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    090b1d6 View commit details
    Browse the repository at this point in the history
  2. [nrf fromtree] drivers: pwm: nrfx: Improve device generation macros

    Use NRFX_FOREACH_PRESENT macro to iterate over all PWM instances
    and create device only for those enabled in the devicetree.
    This approach removes need of changing driver code when new
    instance id is added.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit 0ab86c4)
    nordic-krch authored and nordicjm committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8f94fe0 View commit details
    Browse the repository at this point in the history
  3. [nrf fromtree] drivers: pwm: nrfx: Disable PWM peripheral when not used

    Shim was not correctly disabling PWM when it was not used. Task
    STOP was triggered but PWM->ENABLE remained set which caused
    increased current. Added interrupt and enabled event handler in
    the nrfx driver to allow disabling PWM on STOPPED event.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit c3a33cf)
    nordic-krch authored and nordicjm committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    a7dbe5e View commit details
    Browse the repository at this point in the history
  4. [nrf fromtree] drivers: pwm: nrfx: Improve runtime PM

    Rework PM handling to use pm_device_driver_init(). Shim is not using
    put and get internally as there is no api that disables or stops
    pwm so it is hard to determine when to put the device. There are cases
    when PWM peripheral is stopped but PWM is still active because
    duty cycle is 100% or 0% and pin is driven by GPIO and not PWM.
    
    If user want to use runtime PM with PWM it is possible and getting
    the device will initialize internal data and putting will suspend
    by forcing PWM stop if used and setting pins to sleep state. However,
    from power consumption perspective it is enough to set 0% or 100%
    duty cycle on all channels.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit e11d050)
    nordic-krch authored and nordicjm committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    b063a96 View commit details
    Browse the repository at this point in the history
  5. [nrf fromtree] boards: nordic: Do not enable hw-flow-control on console

    Like in all other legacy boards, hw-flow-control should not be
    enabled for console UART. With hw-flow-control sample stuck
    during printing some initial information and sample appears to
    be not working correctly unless com port is opened.
    
    Signed-off-by: Krzysztof Chruściński <[email protected]>
    (cherry picked from commit 01f2740)
    nordic-krch authored and rlubos committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    dded8c2 View commit details
    Browse the repository at this point in the history
  6. [nrf noup] soc: nrf54l: Disable CRACEN RAMs on system off

    Configure the CRACEN internal RAMs to avoid being retained
    during system off. Exiting system off triggers a system level
    reset so there is no need for the CRACEN RAMs to be retained
    during that.
    
    Also don't retain the CRACEN RAMs in system on idle if CRACEN
    is not used at all.
    
    Noup since the upstream code is not TFM aware yet and the
    edited function does not exist upstream.
    
    Ref: NCSDK-27427
    
    Signed-off-by: Georgios Vasilakis <[email protected]>
    Vge0rge committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8b49f24 View commit details
    Browse the repository at this point in the history