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

Sync csa branch with main #264

Merged
merged 8 commits into from
Jan 30, 2025
Merged

Sync csa branch with main #264

merged 8 commits into from
Jan 30, 2025

Conversation

github-actions[bot]
Copy link

This PR syncs the csa branch with the main branch.

PR MUST BE MERGED WITH MERGE COMMIT - ADMIN MUST ENABLE THE OPTION

adigie and others added 8 commits January 29, 2025 04:57
* [Zephyr] Add ZMS to Zephyr port

Added a possibility to use ZMS fs backend in Zephyr.
NVS fs backend imply is now controlled by the nrfconnect platform
configuration directly.
All other platforms use NVS fs backend by default.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>

[nrf toup] Fix defines for ZMS

It can be squashed with the 0c49058 commit.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>

* [Zephyr] Fix ICD LIT connected configurations

According to specification, if ICD LIT is supported,
UAT and LITS features must be supported too.

If `CHIP_ICD_LIT_SUPPORT` is selected, select CIP and UAT
configs instead of implying them.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

* [nrfconnect] Introduced Kconfigs to configure few params

Introduced new Kconfig options to be able to configure the
parameters related to persistent subscriptions re-establishment.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Added module to synchronize DFU processes

Introduced a module that can be used to synchronize DFU processes
and make it mutual exclusive (prevent concurrent DFU runs using
different protocols, e.g Matter OTA and DFU over BT SMP).

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Implement IPv6 agnostic L2 network state getters

* Added new API for generic IPv6 connectivity checks
* This patch allows the application layer to limit the amount
  of pre-processor logic (CONFIG_NET_L2_OPENTHREAD/CONFIG_CHIP_WIFI)
  needed to configure the

Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>

[nrfconnect] Added support for settings shell in mem profiling

Enabled settings shell configuration and increased shell command
buffer size when `CHIP_MEMORY_PROFILING` is enabled to allow
reading and writing settings using shell.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

[nrfconnect] Introduced Kconfig to configure CHIP stack size

There is not Kconfig that would allow to set the CHIP task size,
what is not convenient, as other stacks can be configured using
Kconfig.

[nrfconnect] Added log for the WiFi connection failure

This might help when debugging the WiFi connection failures.

Signed-off-by: Marcin Kajor <marcin.kajor@nordicsemi.no>

[nrfconnect] Refactor ExternalFlashManager

Make `ExternalFlashManager` a singleton

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

[nrfconnect] Increase workqueue stack size for LIT

Whien LIT is enabled, higher workqueue stack size is required
when entering active mode.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

[nrfconnect] Switch to nRF54L15 DK

- Removed support for nRF54L15 PDK and added for nRF54L15 DK

[nrfconnect] wifi: Migrate to nRF70 upstream

nRF70 support moved upstream, update the names.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>

[nrfconnect] matter: crypto: Use psa_crypto_config

-Previously there was a library called mbedcrypto_common which was
 used to pass build-related configurations to matter. This is changed
 to instead reference to the following:
 -psa_crypto_config (for PSA and Mbed TLS configurations)
 -psa_interface (for PSA crypto include files)
-The commit also removes passing the PSA crypto driver config file
 as this is no longer needed for an interface build (call from
 matter)

Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>

[nrfconnect] Fixed mbedtls configs selection

The updated way of handling mbedtls config file is done
correctly only for TF-M builds, but without it some of the files
are missing

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Disable unsupported SHELL_WILDCARD

SHELL_WILDCARD is not supported for Matter devices in the newest
Zephyr version because it selects POSIX_C_LIB_EXT, so we need to
disable it.

[nrfconnect] Enable SPI for nRF54L15DK NS build

Added nRF54L15 DK NS to configuration.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>

[nrfconnect] config: align the MCUmgr Bluetooth transport Kconfig

Aligned the MCUmgr Bluetooth transport Kconfig with the latest
changes from Zephyr.

Ref: NCSDK-29061

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>

[nrfconnect] Enable MLDv2 join procedure for IPv6 Multicasts

This commit updates the IPv6 multicast subscription mechanism by
explicitly using the MLDv2 join procedure. This change ensures proper
registration for multicast addresses, improving reliability in multicast
communication.

Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>

[nrfconnect] Implicitly enable PSA crypto driver for given platform

This commit makes in clear which crypto driver is enabled by default.
Additionally, stack overflow has been fixed for CC3XX variant, and
mbedTLS Heap is disabled for TF-M variant.

Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>

[nrfconnect] wifi: Fix nRF70 heap allocation

The upstream WPA supplicant uses k_heap instead of libc_heap, so,
move the heap to k_heap.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>

[nrfconnect] wifi: Fix the heap allocation warning

By default nRF70 driver allocates a higher heap to handle most cases,
but as Matter doesn't use much heap, enable the ignore minimum warning
configuration.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>

[nrfconnect] Increased stack size for the OpenThread with nRF54L

When using nRF54L15 the stack size required for crypto operations
by OpenThread is bigger and must be increased.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Enable ZMS in nrfconnect if RRAM is in use.

Disabled NVS and enabled ZMS fs backend for all devices that
uses RRAM.

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>

[nrfconnect] Increased CHIP stack size for cracen based targets

Targets using cracen crypto backend requires bigger CHIP
stack size.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] disable `FPROTECT` for nRF54L15

`FPROTECT` should be disabled for nRF54L15 in app to allow
correctly protecting whole region of mcuboot

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

[nrfconnect] Factory data partition location change

- factory data can be placed before or after settings partition

Signed-off-by: Konrad Grucel <konrad.grucel@nordicsemi.no>

[nrfconnect] Added config to enable report on active mode

Introduced Kconfig option that allows to enable an ICD to send
data report on entering the active mode.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Increased system workqueue size for LIT

The LIT devices seem to need bigger size of workqueue on 54L.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>

[nrfconnect] Change `CHIP_SPI_NOR` config dependency

Set `CHIP_SPI_NOR` to y for all targets that are built
for nRF54L15DK, regardless of target SoC.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>

[nrfconnect] Disable chip_build_tools

Disable chip_build_tools

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [Crypto] Stop compiling legacy SPAKE2P if PSA is available

If the CHIP_CRYPTO_PSA_SPAKE2P is enabled the build system should
not compile Legacy Spake2p implementation, because the PSA one
is available in the PSASpake2p.cpp file.

* VerifyOrDie logging for constrained devices

1. Add the configuration to enable logging the location of
   a failed VerifyOrDie() without logging the condition to
   reduce the code size impact but still be able to debug
   failing VerifyOrDie() conditions.
2. Allow to override __FILE__ macro with __FILE_NAME__ by
   setting the warn_builtin_macro_redefined GN arg to false
   to further reduce the code size increase.
3. Add Kconfigs for nRF Connect platform for enabling both
   features.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Include EXTRAVERSION in Matter software version string

When a Matter application provides the VERSION file, the
Matter software version string is set to 4-number string,
such as "2.7.99+0" and the EXTRAVERSION field, which is
typically used to denote the branch or tag name, such as
"dev" or "rc1", is ignored.

If the EXTRAVERSION field is non-empty, set the Matter
software version string to a string such as "2.7.99-dev+0".

* Clear Thread Network after last fabric is removed

Dataset has to be cleared to allow commissioning to different network
when CONFIG_CHIP_LAST_FABRIC_REMOVED_ERASE_ONLY is used.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [workflows] Update docker images to version 98

Update docker image version to 98.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Change the recommended version to 2.9.0

Change the recommended version of nRF Connected SDK to 2.9.0.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Align examples to NCS 2.9.0

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Fix FLASH overflow

Disable some logs in lighting-app and lock-app due to flash overflow.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Align test_driver configuration to NCS 2.9.0

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Fix nrf builder

Use correct path when running ctest.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

* [nrfconnect] Disable native build

Disable Zephyr native build until next release due to Zephyr regression.

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>

---------

Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
Co-authored-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
Co-authored-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
Co-authored-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
Co-authored-by: Damian Krolik <damian.krolik@nordicsemi.no>
* Run dos2unix on all DM XML files in 1.4

* Add newlines at end of all DM XML files for 1.4

sed -i -e '$a\' data_model/1.4/device_types/*
sed -i -e '$a\' data_model/1.4/clusters/*

* DM XMLs: switch 1.4 DM XMLs to alchemy

* Generator updates to alchemy

* Update 1.4 using alchemy 1.5.0

* Restyled by autopep8

* Add the in-progress defines to match the 1.5 0.7 spec ballot

* Fix define processing for alchemy, add tag file

* Fix linter, add check for non-existent tag file

* Remove a leftover file - this isn't generated by alchemy

* Remove file from gni list

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
* Changed Dockerfile for crosscompile image.
Now pointing to a new sysroot. Changed needed for NFC Commissioning.

* Bumped version

---------

Co-authored-by: Andrei Litvin <andy314@gmail.com>
…L) to chip-tool (#37049)

* [chip-tool] Add chip-tool dcl fake cluster commands

* [chip-tool] Add a fake local dcl server script for testing/developement purposes

* [chip-tool] Add chip-tool dcl tc-display and tc-display-by-payload commands

* [General Commissioning Server] Dynamically encode the feature map 'GeneralCommissioning::Feature::kTermsAndConditions' if CHIP_CONFIG_TERMS_AND_CONDITIONS_REQUIRED is set

* [Examples/platform/linux] Set default TermsAndConditions if requested from the command line

* [chip-tool] Add TermsAndConditions support to chip-tool pairing code command
Copy link
Author

The check for sl-require-admin-action label CI failure for this job is normal. An admin must do the merge.

@mkardous-silabs mkardous-silabs merged commit 9082d87 into main Jan 30, 2025
59 of 60 checks passed
@mkardous-silabs mkardous-silabs deleted the automation/update_main branch January 30, 2025 20:27
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.

7 participants