Skip to content

Conversation

@ImJuampaa
Copy link

No description provided.

tomi-font and others added 30 commits July 1, 2024 10:00
It made the build of
`samples/tfm_integration/tfm_psa_test/sample.tfm.psa_test_crypto`
break since the update of Mbed TLS to 3.6.0 (#71118), apparently because
`${ZEPHYR_BASE}` wasn't set, and the include doesn't seem to be needed.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit d830446)
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit e47e2a0)
… lib is used

Socket service library uses eventfd, which does not work with
native_posix platform, hence need to exclude it from samples that now
rely on socket services.

Upstream PR: zephyrproject-rtos/zephyr#73256

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit b0630e5)
Upstream PR: zephyrproject-rtos/zephyr#73156

Adds channel 15 to the pool of grtc channels available
for allocation (i.e. with 'z_nrf_grtc_timer_chan_alloc')
on nRF54H20.

The change is motivated by lack of available channels
for the nrf_802154_timestamper when building for nRF54H20.

Signed-off-by: Piotr Koziar <[email protected]>
(cherry picked from commit 61b8c9b)
…ses when clock_control is not available.

Upstream PR: zephyrproject-rtos/zephyr#73156

Clock_control is currently not supported on nRF54H20.
This commit adds new way of handling the hfclk targeted for nRF54H20.

This solution shall be replaced once the clock_control is supported for nRF54H20.

Signed-off-by: Piotr Koziar <[email protected]>
(cherry picked from commit 4f8c7a6)
Upstream PR: zephyrproject-rtos/zephyr#73156

This commit fixes the issue where a serialization
error was reported after properly sending a data with 'icbmsg' backend.

The icbmsg send function's return code is set to
the sent data's len as in other backends.
The related docs were fixed and updated.

Signed-off-by: Piotr Koziar <[email protected]>
(cherry picked from commit 78995ff)
…fault for nRF54H20.

Upstream PR: zephyrproject-rtos/zephyr#73156

Adds an appropriate condition to the Kconfig as
the temperature driver is not supported for nRF54H20 devices yet.

Without this change, a build with NRF 802.15.4 libraries produces Kconfig error.

Signed-off-by: Piotr Koziar <[email protected]>
(cherry picked from commit e41c78c)
… to create EUI64.

Upstream PR: zephyrproject-rtos/zephyr#73156

Use BLE.ADDR to create unique (to some extent) EUI64
on nRF54H20 in some cases inside the IEEE 802.15.4 driver.

The amount of EUI64-s available in such a way is very limited (~16 million).
However, currently there does not seem to be another feasible way to
get device identifiers on nRF54H20 (such are kept in SICR, to which the
radio core has no access).

Signed-off-by: Piotr Koziar <[email protected]>
(cherry picked from commit b8be35e)
When disconnect request is successful, the status
was taking as WIFI_REASON_DISCONN_UNSPECIFIED only.
Adding WIFI_REASON_DISCONN_SUCCESS which can be help
to determine status of disconnect request. If this status
is failed then reason can be useful.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit cc42d16)
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit a1769ab)
…ntervals

BT_GAP_ADV_SLOW_INT_MIN and BT_GAP_ADV_SLOW_INT_MAX represent 1s and 1.2s, respectively,
in the extended advertising context, where the bit interval is 0.625 ms. Using them for
periodic advertising will result in a range of [2s, 2.4s], as the bit interval
for periodic advertising is 1.25ms.

Instead, BT_GAP_PER_ADV_SLOW_INT_MIN and BT_GAP_PER_ADV_SLOW_INT_MAX should be used in
this sample, and the range will become [1s, 1.2s].

Upstream PR: zephyrproject-rtos/zephyr#73418

Signed-off-by: Yuxuan Cai <[email protected]>
(cherry picked from commit dd4f7c3)
…UICR cleanup

The flasher was unconditionally cleaning the UICR area, even when the
application didn't have a new configuration generated. This can happen,
when CONFIG_NRF_REGTOOL_GENERATE_UICR=n. In such case, keep the old UICR
configuration on the device.

A real scenario where we should set CONFIG_NRF_REGTOOL_GENERATE_UICR=n
is when building multiple firmware images that are meant to run one
domain. The primary application build generates the UICR configuration
and secondary images don't. Before this change, the flashing process of
the primary application would write new UICR configuration, but the
flashing process of secondary images would erase it.

Upstream PR: zephyrproject-rtos/zephyr#73391

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 78d3dec)
Add option for setting a random MAC address to
the net iface set_mac command. With random option
a random MAC address can be assigned to an interface.
[SHEL-2352].

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit 8a52b64)
(cherry picked from commit 0cfb2af)
Support to print name of the argument along with the value.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit 180c22a)
(cherry picked from commit 1f92579)
Support to set BSS parameter at compile and run time.

Added support to configure `max_inactivity` BSS parameter.
Station inactivity timeout is the period for which AP may keep a client
in associated state while there is no traffic from that particular client.
If a non-zero value is set, AP may choose to disassociate the
client after the timeout.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit c6d1a91)
(cherry picked from commit 975bfde)
…ip inactivity poll"

Support for configuration of AP parameter "Skip inactivity poll".
Only build time setting is supported.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit bedd38c)
(cherry picked from commit 46eb559)
…num_sta

Support to set BSS parameter "max_num_sta" at compile and run time

Added support to configure `max_num_sta` BSS parameter.
Maximum number of stations allowed in station table. New stations will be
rejected after the station table is full.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit d4b22cd)
(cherry picked from commit f14fb74)
Added support to set BSS parameter.
Added support set BSS parameter maximum inactivity time.
Added support set BSS parameter inactivity poll feature.
Added support set BSS parameter maximum number of STA entries.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit 76051bb)
(cherry picked from commit 20c4bb5)
Typo: "RTS threashold" changed to "RTS threshold".

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit e493d8c)
(cherry picked from commit f740d18)
…t case

For default case it should print the option character provided by user.
Extra shell_help removed as it's being called in the caller function.

Signed-off-by: Ajay Parida <[email protected]>
(cherry picked from commit 91054be)
(cherry picked from commit b7b96e7)
…Idle=0

When RxOnWhenIdle is set to False, turn the radio off
if no operation is ongoing in order to save power.

Upstream PR: zephyrproject-rtos/zephyr#73471

Signed-off-by: Eduardo Montoya <[email protected]>
(cherry picked from commit 6c602a1)
Changes twister tests and nrf samples from using legacy adv to ext adv
since this is the default for Mesh. Legacy adv is still tested in bsim.

Removes redundant test configuration testing ext adv.

Removes redundant config for ext_adv in `multi_ext_adv.conf`.

Signed-off-by: Håvard Reierstad <[email protected]>
Upstream PR: zephyrproject-rtos/zephyr#73318
(cherry picked from commit 96fa153)
…ution on nrf54h20

Add overlay file for nrf54h20.
Align code and DTS between spi_error_cases and spi_controller_peripheral.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 74378f3)
(cherry picked from commit c7a01cf)
Add possibility to test all four SPI modes (CPOL, CPHA).
Add possibility to test different bitrates.
Add tests that checks handling of zero length buffers on master.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit b82946f)
(cherry picked from commit 730be85)
…I test

Rename SPI test to spi_controller_peripheral.
Remove iclusive language from that test.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 98d0fe4)
(cherry picked from commit d0f6309)
When channel range is configured in scan params, get the
channel count from `chan_idx` instead of taking a difference
of start and end of the channel range. The `difference` method
fails in case of 5GHz band since channels may not be consecutive
numbers.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 9e38bcc)
(cherry picked from commit ccd3d27)
…nrf54h20

Add nrf54h20dk to platform allow list.
Overlay for tht target was already added.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 89489d6)
(cherry picked from commit 76587a4)
…args

README for this sample had references to the initial sample name/target.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 598ab6b)
(cherry picked from commit baf552c)
Clock control for MAX32690

Co-authored-by: Okan Sahin <[email protected]>
Signed-off-by: Sadik Ozer <[email protected]>
(cherry picked from commit 45df896)
(cherry picked from commit 3bb917d)
Adds 8bit support in SAADC hal.

Signed-off-by: Karol Lasończyk <[email protected]>
(cherry picked from commit 64de50f)
(cherry picked from commit d28f5a6)
Define HFXO (High Frequency Crystal Oscillator). This clock is managed
by system controller, from an application point of view it is a fixed
clock.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit b88a1f7)
(cherry picked from commit f3b3230)
Add a new binding for the AUXPLL IP found in some new Nordic SoCs, e.g.
nRF54H20.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit eaeebf1)
(cherry picked from commit fee4a22)
nordicjm and others added 25 commits July 1, 2024 10:58
Enables MCUboot, empty network core and network core updates by
default when building for the thingy53

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 2bc6913)
(cherry picked from commit fa07877)
In sample.yaml:
`SB_CONFIG_PARTITION_MANAGER=n` moved to extar_args as extra_config
can't handle property with `SB_` prefix.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit 092fc54)
Add all of the PSA specification defined algorithms and key types.
This makes the configurations independent of what is supported by the
specific implementation.
Add configurations for internal logic to see if a feature is enabled by
PSA_WANTS_XXX.

ref: NCSDK-11689
ref: NCSDK-17840
ref: NCSDK-17840
ref: NCSDK-26057

Add PSA symbols for Oberon extension to the PSA specification.
Mbed TLS has adopted the same naming, so while this is not part of the
PSA specification it is fine to add it to the generic configuration
for both implementations.

Add config support for PBKDF2_HMAC.
Add config support for PBKDF2_AES_CMAC_PRF_128

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
Signed-off-by: Vidar Lillebø <[email protected]>
Signed-off-by: Sebastian Bøe <[email protected]>
Signed-off-by: Markus Swarowsky <[email protected]>
Signed-off-by: Joakim Andersson <[email protected]>
Signed-off-by: Maciej Baczmanski <[email protected]>
Signed-off-by: Georgios Vasilakis <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 6f77681)
Add some socket options and address family extensions to Zephyr
headers, which will be useful for nRF Connect SDK.

Add secure socket options:
* Add CID socket options to NCS specific options.
* Add TLS/DTLS tls ciphersuite chosen socket option to NCS specific
  options.
* Add TLS/DTLS connection save/load socket options to NCS specific
  options.
* Add TLS/DTLS handshake status socket option to NCS specific options.

* Add SO_KEEPOPEN socket option.
* Add SO_RAI socket option, deprecate the old ones.

The "author" of this commit is a contact person; various people with
s-o-b lines following here have contributed to the maintenance of this
patch.

Signed-off-by: Andreas Moltumyr <[email protected]>
Signed-off-by: Andrzej Głąbek <[email protected]>
Signed-off-by: Christopher Métrailler <[email protected]>
Signed-off-by: Emanuele Di Santo <[email protected]>
Signed-off-by: Glenn Ruben Bakke <[email protected]>
Signed-off-by: Håkon Alseth <[email protected]>
Signed-off-by: Ioannis Glaropoulos <[email protected]>
Signed-off-by: Jan Tore Guggedal <[email protected]>
Signed-off-by: Joakim Andersson <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
Signed-off-by: Mirko Covizzi <[email protected]>
Signed-off-by: Petri Honkala <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Signed-off-by: Tommi Mammela <[email protected]>
Signed-off-by: Trond Einar Snekvik <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Eivind Jølsgard <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit a4e57b0)
This is a long-term noup patch because crypto driver support is
NCS-only for both cryptocell and CRACEN.

Set HAS_HW_NRF_CC3XX to be defined in NS build when cryptocell
is accessed through the PSA API.
We need to know which CC3XX features are available.

Set PSA as the entropy source for 54L.

PSA is the only NCS-supported interface to CRACEN.

Signed-off-by: Georgios Vasilakis <[email protected]>
Signed-off-by: Joakim Andersson <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
Signed-off-by: Sebastian Bøe <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 2654453)
Partition Manager (PM) is a component of the nRF Connect SDK (NCS)
which uses yaml files to resolve flash partition placement with a
holistic view of the entire device, including each firmware image
present on the flash device, and various subsystems, such as settings
and NFFS.

When this NCS extension is used, various source files which would use
partition information from devicetree in "vanilla" zephyr instead use
defines generated by PM instead.

This commit removes support for HEX_FILES_TO_MERGE, as it conflicts
with PM.

The settings subsystem pm.yml defines a partition 'settings_storage'.
The nffs subsystem pm.yml defines 'nffs_storage'.

Leverage label translation to avoid patching partition names.

Refer to the NCS documentation page for this feature for more details.

This is a long-running out of tree patch which has been worked on by
several people. The following sign-offs are in alphabetical order by
first name.

Signed-off-by: Andrzej Głąbek <[email protected]>
Signed-off-by: Andrzej Puzdrowski <[email protected]>
Signed-off-by: Håkon Øye Amundsen <[email protected]>
Signed-off-by: Ioannis Glaropoulos <[email protected]>
Signed-off-by: Joakim Andersson <[email protected]>
Signed-off-by: Johann Fischer <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
Signed-off-by: Ole Sæther <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Signed-off-by: Sebastian Bøe <[email protected]>
Signed-off-by: Sigvart Hovland <[email protected]>
Signed-off-by: Thomas Stenersen <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Øyvind Rønningstad <[email protected]>
Signed-off-by: Trond Einar Snekvik <[email protected]>
Signed-off-by: Gerard Marull-Paretas <[email protected]>
Signed-off-by: Tomasz Moń <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit fbfb4df)
This commit adds the nRF54l15//nrf54l15/cpuapp/ns board variant to
sdk-zephyr. It allows to build nRF54l15pdk with TF-M in nRF Connect SDK.

This is done as a nrf noup patch as the out-of-tree board extension
feature is not available. When zephyrproject-rtos/zephyr#69548 is
completed, then this commit can be reverted and the variant be placed in
sdk-nrf repository.

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 8217fd3)
Zephyr's boot banner should not be used if NCS boot banner is enabled.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 67b7cca)
Complete rewrite of the 54l_ns DT board definition.

Now the secure board and non-secure board re-use a lot more code,
giving us a more maintainable solution.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 5e11b5f)
…eferences"

This reverts commit b876bd2.

That needs mbed TLS 3.6.0 to work, as pk_ecc.c was added in that
version.

To be reverted, when mbed TLS is updated to 3.6.0 in NCS.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 590a64a)
Removes explicit support for the legacy advertiser due
to incompatibility with SDC.

The legacy advertiser can be used (experimentally) with the
Zephyr Link Layer enabled, but is not recommended.

Signed-off-by: Håvard Reierstad <[email protected]>
(cherry picked from commit 60fce5e)
Disable processing of extended ADV packets by mesh scanner.
This is done to prevent loss of scan time due to reception
of pointer packets while scanning for mesh packets.

Signed-off-by: Ingar Kulbrandstad <[email protected]>
(cherry picked from commit 18285a0)
Changes the default MCUboot mode to update only for the thingy53,
to align with previous bootloader builds

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 48cb4e7)
Align to changes in DTS:
  renamed: rram0 -> cpuapp_rram
  sized up cpauapp_rram region szie as part of it was reserved for
  cpuflpr_rram (which is not used by this config).

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit c3898cc)
This will be replaced by a different solution upstream (NCSDK-27673).

Migrate the existing BICR bindings from NCS 2.4.99-cs3 to NCS 2.7.0.
They are updated to remove obsoleted values. Enable generating bicr.hex
for Application core by default.

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit eb8e8ef)
Adjustment LFXO CLOAD value. New value is a resualt of DK's characterization.

Signed-off-by: Karol Lisak <[email protected]>
(cherry picked from commit fa10fde)
PM support is still required for nRF53 in the context of NCS.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit b42e02d)
Introduce NVS_LOOKUP_CACHE_FOR_SETTINGS Kconfig option that
enables a dedicated hash function for the NVS lookup cache
that takes advantage of the NVS ID allocation scheme used
by the NVS settings backend. As such, this option should
only be used if an application uses NVS via the settings
layer.

Signed-off-by: Damian Krolik <[email protected]>
(cherry picked from commit 3198700)
This adds temporary entropy driver simulation for
nRF54h20 device since final entropy source is not
available yet.

TODO: Remove this commit when proper solution will
be available.

Jira: NCSDK-25947

Signed-off-by: Kamil Gawor <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit c80ee99)
Allow for an additional buffer reference if callback is provided. This
can be used to extend lifetime of the net buffer until the data
transmission is confirmed by ACK of the remote.

Jira: NCSDK-27422

Signed-off-by: Marek Pieta <[email protected]>
(cherry picked from commit c735ea2)
By default, the BLE stack calls sent callback for ATT data when the data
is passed to BLE controller for transmission. Enabling this Kconfig
option delays calling the sent callback until data transmission is
finished by BLE controller (the callback is delayed until receiving the
num complete packets event).

Jira: NCSDK-27422

Signed-off-by: Marek Pieta <[email protected]>
(cherry picked from commit 3611f46)
Turn off suspending MRAM for NRF54H20 DK
This change is required so sections of code
depending on critical timings will not have unacceptable latency.

Turn on NRFS globally so turning off
suspending MRAM for NRF54H20 DK will work.

Signed-off-by: Jan Zyczkowski <[email protected]>
(cherry picked from commit 58284ff)
(cherry picked from commit 9b6cae8)
(cherry picked from commit 2c2f60d)
Since the introduction of zephyr_file() then the minimum required CMake
version has become 3.20.
Update zephyr_file() to use cmake_path insteasd of set().
This allows us to normalize the path and thereby also remove duplicates
in the list as paths are normalized.

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 8b3d4c6)
Fixes: #73066

Introduce sysbuild_root CMake module similar to the Zephyr root CMake
module. The sysbuild_root CMake module works similar to existing root
module, but with the difference that root paths are adjusted relative to
APP_DIR which is the main image, instead of relative to sysbuild.

Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 24acc7d)
@NordicBuilder
Copy link
Contributor

none

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_nordic zephyrproject-rtos/hal_nordic@a3aacc7 zephyrproject-rtos/hal_nordic@ab5cb2e zephyrproject-rtos/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.