Skip to content

Conversation

@DatGizmo
Copy link
Contributor

  • Adding support for 0.18 zephyr sdk
  • add new zephyr-gnu and zephyr-llvm toolchain support

anangl and others added 30 commits February 12, 2025 11:29
… ppr tests"

This reverts commit 7851352.

Signed-off-by: Andrzej Głąbek <[email protected]>
…mpty gcda files"

This reverts commit 59cb93d.

Signed-off-by: Andrzej Głąbek <[email protected]>
…n dts.cmake

Instead of hardcoding the name `devicetree_target`, we can update the
generated `dts.cmake` to accept `DEVICETREE_TARGET` as input variable.
This will become useful in multi-image builds, where we would like to
process multiple devicetrees.

Upstream PR #: 73903

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 4cd36a9)
Add new functions to `sysbuild_extensions.cmake`, which will mirror the
familiar dt_* API from Zephyr `extensions.cmake`. For example:

   dt_nodelabel(<var> NODELABEL <label>)

gets the following sysbuild counterpart, with one extra argument:

   sysbuild_dt_nodelabel(<var> IMAGE <image> NODELABEL <label>)

This API allows sysbuild to retrieve devicetree information for a given
<image>, only after its respective `ExternalZephyrProject_Cmake()` call.

This works by importing the generated `dts.cmake` files from each
image's build directory, and creating multiple CMake targets to hold the
generated properties - much like how the `CMakeCache.txt` and `.config`
are also imported to be used by the related `sysbuild_get()` function.

The dt_* API itself also has to be updated, in order to read properties
from a variable `DEVICETREE_TARGET` set in the parent scope.

Upstream PR #: 73903

Signed-off-by: Grzegorz Swiderski <[email protected]>
(cherry picked from commit 38fdd95)
…orage)

This adds the initial backend support for the ZMS storage system.

Upstream PR #: 78632

Signed-off-by: Riadh Ghaddab <[email protected]>
(cherry picked from commit 8ed9b80)
This commit sets `ZEPHYR_<MODULE_NAME>_KCONFIG` variable for each
Kconfig file discovered in `nrf/modules/<module>/Kconfig`.

This is not meant as a permanent solution; we should do more careful
consideration on the optimal approach forward that will allow
compliance_check.py to be used downstream with custom
module_ext_roots, and at the same time keep current flexibility for
module glue code handling intact.

Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
(cherry picked from commit df94528)
Add scripts/quarantine.yaml file, which will be used in CI.

Signed-off-by: Piotr Golyzniak <[email protected]>
Signed-off-by: Andrzej Głąbek <[email protected]>
Signed-off-by: Maciej Perkowski <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 980e3ca)
This file is used for NCS-specific testing configuration based on
modifications to files in this repository.

Signed-off-by: Alperen Sener <[email protected]>
Signed-off-by: Elisabeth Solheim Klakken <[email protected]>
Signed-off-by: Mariusz Poslinski <[email protected]>
Signed-off-by: Markus Swarowsky <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Signed-off-by: Sebastian Wezel <[email protected]>
Signed-off-by: Tomasz Tyzenhauz <[email protected]>
Signed-off-by: Fredrik Ås <[email protected]>
Signed-off-by: Michał Szablowski <[email protected]>
Signed-off-by: Tony Le <[email protected]>
Signed-off-by: Krishna T <[email protected]>
Signed-off-by: Dawid Przybylo <[email protected]>
Signed-off-by: Rubin Gerritsen <[email protected]>
Signed-off-by: Jørgen Kvalvaag <[email protected]>
Signed-off-by: Magne Værnes <[email protected]>
Signed-off-by: Lang Xie <[email protected]>
Signed-off-by: Alexander Svensen <[email protected]>
Signed-off-by: Jan Gałda <[email protected]>
Signed-off-by: Vladislav Litvinov <[email protected]>
Signed-off-by: Guojun Wang <[email protected]>
Signed-off-by: Piotr Kosycarz <[email protected]>
Signed-off-by: Thomas Stilwell <[email protected]>
Signed-off-by: Krzysztof Szromek <[email protected]>
Signed-off-by: Grzegorz Chwierut <[email protected]>
(cherry picked from commit 98762a9)
New Twister schema is not supported yet in sdk-zephyr, drop this patch
once Twister is updated.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit d1ded33)
… map"

This reverts commit c37deeb.

This is only a temporary change, until we align our CI. To be removed
once natsort is avaialble in the NCS CI.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 374374b)
Kconfig search is handled in a separate docset in NCS, so remove the
page. This is a long-term noup patch.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Signed-off-by: Krishna T <[email protected]>
(cherry picked from commit 3fe805d)
-This allows configurations enabled by PSA_WANTS_ALG_XXXX to be
 used to control which TF-M module is enabled
-If the TF-M image doesn't support e.g. the MAC APIs, then the
 MAC interface is not enabled

Note: This functionality requires that nrf_security is enabled

ref: NCSDK-11689

Make TF-M crypto module depend on PSA_WANT_GENERATE_RANDOM, same
as all other crypto modules, which have PSA_HAS to group all PSA
features that require the module.
This makes TF-M by default exclude the RNG module when not needed.

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
Signed-off-by: Joakim Andersson <[email protected]>
(cherry picked from commit 676d548)
Out-of-tree crypto subsystems need to deselect MBEDTLS_BUILTIN, but
deselection is not supported. It is however supported to select a
dependency in a ! expression.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 5a62fe9)
We moved the header files in sdk-mbedtls from the library
folder to the include/library folder. This was done to avoid
issues when building MbedTLS with the nrf_security module
and the Oberon PSA core. The Oberon PSA core provides a subset
of these header files and since they are included with quotes
we cannot have them in the same directory.
This change make the needed adaptions in CMake for the
applications that don't use nrf_security.

Signed-off-by: Georgios Vasilakis <[email protected]>
Signed-off-by: Markus Swarowsky <[email protected]>
(cherry picked from commit 801154a)
Update Kconfig options for qualification:
 - Remove experimental on qualified feature.
 - Add experimental on unqualified feature.
 - BT_L2CAP_ECRED is not marked as experimental upstream and we qualify it
   downstream.

Signed-off-by: Joakim Andersson <[email protected]>
Signed-off-by: Trond Einar Snekvik <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
Signed-off-by: Ingar Kulbrandstad <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Signed-off-by: Herman Berget <[email protected]>
Signed-off-by: Tomasz Moń <[email protected]>
(cherry picked from commit e92e87d)
The commits adds support for generating flash disks from Partition
Manager defined partitions.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 1601992)
The "zephyr-code-partition" chosen DTS node cannot be used when build
uses Partition Manager. In that case, mcumgr must rely on the
definitions provided by the Partition Manager.

Jira: NCSDK-21381

Signed-off-by: Marek Pieta <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 763a188)
The commit adds bootutil hook, for nrf5340, to allow it
handling the non-accessible image-1/primary slot.

Signed-off-by: Andrzej Głąbek <[email protected]>
Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Signed-off-by: Johann Fischer <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 7b33eaf)
Move it inside ifdef.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 44b6e2c)
Migrates child image configuration for this sample over to sysbuild

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit beecaaa)
Migrates child image configuration for this sample over to sysbuild

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 6199743)
This is a follow-up to commit 9dd570f.

Since in NCS, unlike in vanilla Zephyr, the nano variant of newlib
is the default one, restore entries that disable the nano variant
in one sample and one test that require the full newlib variant.
This patch is supposed to be removed when picolibc becomes the default.

Signed-off-by: Andrzej Głąbek <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit cb05ba5)
Disables partition manager when building some samples and tests
which use sysbuild to prevent build issues

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit cd344ab)
Add a Kconfig for th TFM_CRYPTO_PAKE_MODULE_ENABLED to support the PAKE
APIs.

noup as the PAKE support including the PAKE module doesn't exist yet in
upstream TF-M as they depend on mbed TLS support for it

Ref: NCSDK-22416
Signed-off-by: Markus Swarowsky <[email protected]>
(cherry picked from commit eb58994)
Friend's replies on LPN's polls do not assume randomization in
advertiser. Zero randomization will help to optimize time when
LPN keeps receiving window open and save power.

Signed-off-by: Aleksandr Khromykh <[email protected]>
(cherry picked from commit 6d82661)
Fixes issue where randomness can be removed for advertising sets that
have to handle other adv types than the BT_MESH_FRIEND_ADV tag type.

Signed-off-by: Anders Storrø <[email protected]>
Signed-off-by: Aleksandr Khromykh <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 8709818)
…N_MANAGER

Active partition ID need to be extracted basing on PARTITION_MANAGER
products.

ref.:NCSDK-26693

Signed-off-by: Andrzej Puzdrowski <[email protected]>
Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit a7b53d1)
(cherry picked from commit d99f13e)
Using a comment to explain Kconfig options make them
invisible to Kconfig search. Use help instead.

Signed-off-by: Sigurd Hellesvik <[email protected]>
(cherry picked from commit 2bff40a)
Added overlay with m25r64 on-DK memory selecton.
This aim to support testing DFU with secondary partition moved to the
external flash.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit f8b30ba)
… and nRF54L09 PDKs

Add support for nRF54L20 and nRF54L09 PDKs in temp_sensor
twister tests.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 2a642f1)
…4L09 PDK.

Added further support for nRF54L09 PDK in watchdog twister
tests.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit a0303d3)
Added support for nRF54L20 PDK in SPIM twister tests.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 04df6de)
Added support for nRF54L20 PDK in tests involving
multiple instances. Corrected pin assignements in
spi_error_cases test.

Upstream PR #: 84672

Signed-off-by: Michał Stasiak <[email protected]>
Added support for nRF54L09 PDK in SPIM twister tests.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit ccd2fd6)
@DatGizmo DatGizmo force-pushed the 0_18-toolchain-support branch 2 times, most recently from 3ac82dd to a17e394 Compare February 17, 2025 13:43
nordic-segl and others added 5 commits February 17, 2025 14:51
Extend current adc gains with new entry 2/7.

Signed-off-by: Karol Lasończyk <[email protected]>

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 057de45)
Added the test configuration for nRF54L20 for the following tests:
- adc_api
- adc_error_cases

Signed-off-by: Rafał Kuźnia <[email protected]>

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit f78742f)
Select Reference voltage of 900mV for ADC on nRF54L20pdk.

Add ADC to the list of supported peripherals.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 99c3988)
…mple

Adds a configuration to this sample that is optimised for
testing/usage with the nRF5340 which enables the Bluetooth
transport, enables most management groups, has a static partition
manager file with secondary partitions on QSPI flash, configures
MCUboot in overwrite only mode with network core update support

Signed-off-by: Jamie McCrae <[email protected]>
Adds support for prefixing files with the target of bl2 or tfm

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit f804469)
nordic-pikr and others added 3 commits February 17, 2025 17:02
Add Nordic platforms and rename the defines
to avoid redefining a nrf driver internal symbols

Signed-off-by: Piotr Krzyzanowski <[email protected]>
(cherry picked from commit 09d5b9d)
Improve test stability in 54l15 case
by measuring duty cycle after two periods

Signed-off-by: Piotr Krzyzanowski <[email protected]>
(cherry picked from commit cb7690a)
…ration for nrf54h20

Extend CONFIG_SKIP_EDGE_NUM.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit e3e4548)
@DatGizmo DatGizmo force-pushed the 0_18-toolchain-support branch 2 times, most recently from 4c074ad to 89718de Compare February 18, 2025 10:17
sean-madigan and others added 4 commits February 18, 2025 11:46
…BT_HCI_RAW

In zephyrproject-rtos/zephyr#84268
the ability to use the controller for ECDH was removed from
the host.

This means that BT_CTLR_ECDH is now only useful when using
BT_HCI_RAW.

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit 706938d)
Recently I have had to debug issues with PSA and having
the returns values from PSA is very useful in order to
find the root cause of the issue.

Signed-off-by: Sean Madigan <[email protected]>
(cherry picked from commit 8cff70a)
* Changes have been partly taken from here:
  zephyrproject-rtos/zephyr@main...collab-sdk-0.18-dev
* This is needed because of change to the folder structure:

Old: opt/zephyr-sdk/arm-zephyr-eabi
New: opt/zephyr-sdk/gnu/arm-zephyr-eabi
     opt/zephyr-sdk/llvm

This structure has been adapet from the zephyr toolchain install script.

Signed-off-by: Sebastian Wezel <[email protected]>
@DatGizmo DatGizmo force-pushed the 0_18-toolchain-support branch from 89718de to 043f80e Compare February 18, 2025 12:22
Added script to parse and analyse Twister reports.
Failed tests are grouped together by reason of failure,
Cmake and build errors are grouped using predefined patterns.

Signed-off-by: Grzegorz Chwierut <[email protected]>
Added steps to analyze Twister reports and upload the results
if Twister build fails

Signed-off-by: Grzegorz Chwierut <[email protected]>
Extended the reason field in Twister report to include
more detailed information for 'Build failure' and
'CMake build failure'

Signed-off-by: Grzegorz Chwierut <[email protected]>
Updated test_report_summary to match new string with detailed
reason of build failure.

Signed-off-by: Grzegorz Chwierut <[email protected]>
After adding more detailed information to the reason field in
Twister report, update twister_report_analyzer.py to group
CMake and Build failures.

Signed-off-by: Grzegorz Chwierut <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.