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

Update of nRF Connect SDK version to the 2.9.0 #37105

Draft
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

adigie
Copy link
Contributor

@adigie adigie commented Jan 17, 2025

Testing

Tested by existing automated tests.

ArekBalysNordic and others added 3 commits January 17, 2025 14:51
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 <[email protected]>
(cherry picked from commit 0c49058)
Signed-off-by: Adrian Gielniewski <[email protected]>

[nrf toup] Fix defines for ZMS

It can be squashed with the 0c49058 commit.

Signed-off-by: Arkadiusz Balys <[email protected]>
(cherry picked from commit 5148b72)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit 99d4333)
Signed-off-by: Adrian Gielniewski <[email protected]>
Introduced new Kconfig options to be able to configure the
parameters related to persistent subscriptions re-establishment.

Signed-off-by: Kamil Kasperczyk <[email protected]>
(cherry picked from commit 2b9dc09)
Signed-off-by: Adrian Gielniewski <[email protected]>
Copy link

Review changes with  SemanticDiff

@CLAassistant
Copy link

CLAassistant commented Jan 17, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
7 out of 11 committers have signed the CLA.

✅ kkasperczyk-no
✅ ArekBalysNordic
✅ maciejbaczmanski
✅ Damian-Nordic
✅ adigie
✅ LuDuda
✅ markaj-nordic
❌ frkv
❌ kapi-no
❌ krish2718
❌ kg-nordicsemi
You have signed the CLA already but the status is still pending? Let us recheck it.

kkasperczyk-no and others added 12 commits January 17, 2025 15:42
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 <[email protected]>
(cherry picked from commit 4d8e75c)
Signed-off-by: Adrian Gielniewski <[email protected]>
* 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 <[email protected]>
(cherry picked from commit 1f60b21)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit a16456f)
Signed-off-by: Adrian Gielniewski <[email protected]>
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.

(cherry picked from commit b6d6e9a)
Signed-off-by: Adrian Gielniewski <[email protected]>
This might help when debugging the WiFi connection failures.

Signed-off-by: Marcin Kajor <[email protected]>
(cherry picked from commit 67cbbed)
Signed-off-by: Adrian Gielniewski <[email protected]>
Make `ExternalFlashManager` a singleton

Signed-off-by: Maciej Baczmanski <[email protected]>
(cherry picked from commit be30c50)
Signed-off-by: Adrian Gielniewski <[email protected]>
Whien LIT is enabled, higher workqueue stack size is required
when entering active mode.

Signed-off-by: Maciej Baczmanski <[email protected]>
(cherry picked from commit 3c8919e)
Signed-off-by: Adrian Gielniewski <[email protected]>
- Removed support for nRF54L15 PDK and added for nRF54L15 DK

(cherry picked from commit 89eb37b)
Signed-off-by: Adrian Gielniewski <[email protected]>
nRF70 support moved upstream, update the names.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 218689e)
Signed-off-by: Adrian Gielniewski <[email protected]>
-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ø <[email protected]>
(cherry picked from commit 970c948)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit 57e9630)
Signed-off-by: Adrian Gielniewski <[email protected]>
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.

(cherry picked from commit a5bd017)
Signed-off-by: Adrian Gielniewski <[email protected]>
ArekBalysNordic and others added 21 commits January 17, 2025 15:42
Added nRF54L15 DK NS to configuration.

Signed-off-by: Arkadiusz Balys <[email protected]>
(cherry picked from commit 06a873e)
Signed-off-by: Adrian Gielniewski <[email protected]>
Aligned the MCUmgr Bluetooth transport Kconfig with the latest
changes from Zephyr.

Ref: NCSDK-29061

Signed-off-by: Kamil Piszczek <[email protected]>
(cherry picked from commit 5a55d60)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit 08acaf4)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit bdec5fd)
Signed-off-by: Adrian Gielniewski <[email protected]>
The upstream WPA supplicant uses k_heap instead of libc_heap, so,
move the heap to k_heap.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 8c09c31)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit 5c19b19)
Signed-off-by: Adrian Gielniewski <[email protected]>
When using nRF54L15 the stack size required for crypto operations
by OpenThread is bigger and must be increased.

Signed-off-by: Kamil Kasperczyk <[email protected]>
(cherry picked from commit 3567e53)
Signed-off-by: Adrian Gielniewski <[email protected]>
Disabled NVS and enabled ZMS fs backend for all devices that
uses RRAM.

Signed-off-by: Arkadiusz Balys <[email protected]>
(cherry picked from commit 9a4ea8e)
Signed-off-by: Adrian Gielniewski <[email protected]>
Targets using cracen crypto backend requires bigger CHIP
stack size.

Signed-off-by: Kamil Kasperczyk <[email protected]>
(cherry picked from commit 1fb9792)
Signed-off-by: Adrian Gielniewski <[email protected]>
`FPROTECT` should be disabled for nRF54L15 in app to allow
correctly protecting whole region of mcuboot

Signed-off-by: Maciej Baczmanski <[email protected]>
(cherry picked from commit 81eb1e9)
Signed-off-by: Adrian Gielniewski <[email protected]>
- factory data can be placed before or after settings partition

Signed-off-by: Konrad Grucel <[email protected]>
Introduced Kconfig option that allows to enable an ICD to send
data report on entering the active mode.

Signed-off-by: Kamil Kasperczyk <[email protected]>
The LIT devices seem to need bigger size of workqueue on 54L.

Signed-off-by: Kamil Kasperczyk <[email protected]>
Set `CHIP_SPI_NOR` to y for all targets that are built
for nRF54L15DK, regardless of target SoC.

Signed-off-by: Maciej Baczmanski <[email protected]>
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.

(cherry picked from commit fdb9723)
Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
(cherry picked from commit 4fd4724)
Signed-off-by: Adrian Gielniewski <[email protected]>
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".

(cherry picked from commit 731aac5)
Signed-off-by: Adrian Gielniewski <[email protected]>
Disable `chip_build_tools` when building for Zephyr as it enables
`chip_with_nlfaultinjection` and increases RAM and FLASH usage.

Signed-off-by: Adrian Gielniewski <[email protected]>
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 <[email protected]>
Update docker image version used in workflows for nrfconnect platform.

Signed-off-by: Adrian Gielniewski <[email protected]>
Change the recommended version of nRF Connected SDK to 2.9.0.

Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Signed-off-by: Adrian Gielniewski <[email protected]>
Copy link

github-actions bot commented Jan 17, 2025

PR #37105: Size comparison from 4fd7215 to 56e985f

Full report (68 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 4fd7215 56e985f change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1093164 1093164 0 0.0
RAM 103362 103362 0 0.0
bl702 lighting-app bl702+eth FLASH 651226 651226 0 0.0
RAM 25365 25365 0 0.0
bl702+wifi FLASH 829150 829150 0 0.0
RAM 14105 14105 0 0.0
bl706+mfd+rpc+littlefs FLASH 1056180 1056188 8 0.0
RAM 23957 23957 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 889150 889158 8 0.0
RAM 18636 18636 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 972164 972172 8 0.0
RAM 16484 16484 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 838436 838452 16 0.0
RAM 123536 123536 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 823832 823848 16 0.0
RAM 125416 125416 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 771112 771120 8 0.0
RAM 113908 113908 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 755308 755316 8 0.0
RAM 114108 114108 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 538789 538789 0 0.0
RAM 205296 205296 0 0.0
lock CC3235SF_LAUNCHXL FLASH 572677 572677 0 0.0
RAM 205432 205432 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 679889 679905 16 0.0
RAM 78604 78604 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 699733 699749 16 0.0
RAM 81244 81244 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 699733 699749 16 0.0
RAM 81244 81244 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 656677 656685 8 0.0
RAM 73672 73672 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 616257 616273 16 0.0
RAM 71588 71588 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 635893 635901 8 0.0
RAM 74132 74132 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 635893 635901 8 0.0
RAM 74132 74132 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 635721 635737 16 0.0
RAM 74596 74596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 655429 655445 16 0.0
RAM 77140 77140 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 655429 655445 16 0.0
RAM 77140 77140 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 612229 612237 8 0.0
RAM 68692 68692 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 632089 632097 8 0.0
RAM 71324 71324 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 632089 632097 8 0.0
RAM 71324 71324 0 0.0
efr32 lock-app BRD4187C FLASH 935080 935112 32 0.0
RAM 160004 160004 0 0.0
BRD4338a FLASH 730852 730844 -8 -0.0
RAM 234844 234844 0 0.0
window-app BRD4187C FLASH 1030520 1030520 0 0.0
RAM 128112 128112 0 0.0
esp32 all-clusters-app c3devkit DRAM 95192 95192 0 0.0
FLASH 1538592 1538592 0 0.0
IRAM 82552 82552 0 0.0
m5stack DRAM 116172 116172 0 0.0
FLASH 1545810 1545810 0 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4752 4752 0 0.0
FLASH 2710313 2710313 0 0.0
RAM 133096 133096 0 0.0
all-clusters-app debug unknown 5560 5560 0 0.0
FLASH 5976378 5976378 0 0.0
RAM 531880 531880 0 0.0
all-clusters-minimal-app debug unknown 5456 5456 0 0.0
FLASH 5324396 5324396 0 0.0
RAM 242992 242992 0 0.0
bridge-app debug unknown 5472 5472 0 0.0
FLASH 4682624 4682624 0 0.0
RAM 221744 221744 0 0.0
chip-tool debug unknown 5984 5984 0 0.0
FLASH 13045274 13045274 0 0.0
RAM 596634 596634 0 0.0
chip-tool-ipv6only arm64 unknown 21816 21816 0 0.0
FLASH 11125760 11125760 0 0.0
RAM 648168 648168 0 0.0
fabric-admin debug unknown 5808 5808 0 0.0
FLASH 11392249 11392249 0 0.0
RAM 596978 596978 0 0.0
fabric-bridge-app debug unknown 4728 4728 0 0.0
FLASH 4507674 4507674 0 0.0
RAM 208880 208880 0 0.0
fabric-sync debug unknown 4968 4968 0 0.0
FLASH 5610469 5610469 0 0.0
RAM 483656 483656 0 0.0
lighting-app debug+rpc+ui unknown 6136 6136 0 0.0
FLASH 5617953 5617953 0 0.0
RAM 232008 232008 0 0.0
lock-app debug unknown 5408 5408 0 0.0
FLASH 4732582 4732582 0 0.0
RAM 207976 207976 0 0.0
ota-provider-app debug unknown 4768 4768 0 0.0
FLASH 4361282 4361282 0 0.0
RAM 201696 201696 0 0.0
ota-requestor-app debug unknown 4720 4720 0 0.0
FLASH 4498956 4498956 0 0.0
RAM 206280 206280 0 0.0
shell debug unknown 4248 4248 0 0.0
FLASH 3006765 3006765 0 0.0
RAM 160736 160736 0 0.0
thermostat-no-ble arm64 unknown 9568 9568 0 0.0
FLASH 4102232 4102232 0 0.0
RAM 246224 246224 0 0.0
tv-app debug unknown 5736 5736 0 0.0
FLASH 5950645 5950645 0 0.0
RAM 607088 607088 0 0.0
tv-casting-app debug unknown 5312 5312 0 0.0
FLASH 11273101 11273101 0 0.0
RAM 711064 711064 0 0.0
nxp contact k32w0+release FLASH 584456 584472 16 0.0
RAM 70960 70960 0 0.0
mcxw71+release FLASH 600000 600016 16 0.0
RAM 63176 63176 0 0.0
light k32w0+release FLASH 611204 611204 0 0.0
RAM 70352 70352 0 0.0
k32w1+release FLASH 685744 685752 8 0.0
RAM 48768 48768 0 0.0
lock mcxw71+release FLASH 761776 761784 8 0.0
RAM 70788 70788 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1648060 1648060 0 0.0
RAM 211624 211624 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1554628 1554628 0 0.0
RAM 208448 208448 0 0.0
light cy8ckit_062s2_43012 FLASH 1470172 1470172 0 0.0
RAM 200416 200416 0 0.0
lock cy8ckit_062s2_43012 FLASH 1468028 1468028 0 0.0
RAM 224760 224760 0 0.0
qpg lighting-app qpg6105+debug FLASH 662560 662576 16 0.0
RAM 105296 105296 0 0.0
lock-app qpg6105+debug FLASH 620228 620236 8 0.0
RAM 99748 99748 0 0.0
stm32 light STM32WB5MM-DK FLASH 483240 483240 0 0.0
RAM 144752 144752 0 0.0
telink bridge-app tlsr9258a FLASH 682280 680044 -2236 -0.3
RAM 91092 90532 -560 -0.6
contact-sensor-app tlsr9528a_retention FLASH 622460 620260 -2200 -0.4
RAM 31492 30924 -568 -1.8
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 771348 769184 -2164 -0.3
RAM 49352 48784 -568 -1.2
light-app-ota-shell-factory-data tl7218x FLASH 775952 773716 -2236 -0.3
RAM 99656 99096 -560 -0.6
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 709734 707498 -2236 -0.3
RAM 73384 72824 -560 -0.8
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 626898 624650 -2248 -0.4
RAM 142024 141456 -568 -0.4
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 812962 810724 -2238 -0.3
RAM 99568 99000 -568 -0.6
tizen all-clusters-app arm unknown 5132 5132 0 0.0
FLASH 1755320 1755320 0 0.0
RAM 93680 93680 0 0.0
chip-tool-ubsan arm unknown 11044 11044 0 0.0
FLASH 18216926 18216926 0 0.0
RAM 7958632 7958632 0 0.0

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.