-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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.7.0 #34403
Update of nRF Connect SDK version to the 2.7.0 #34403
Conversation
Updated docker version used in all workflows due to the new docker version pushed to the dockerhub. Additionally, changed the recommended version of nRF Connect SDK to the 2.7.0
The recvmsg() is now implemented natively in Zephyr, so we are not supposed to define a custom one. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Fixed calculation of Wi-Fi unicast counters Wi-Fi unicast tx/rx counters were calculated based on a wrong values, what could lead to getting negative results. Recent changes allow to use dedicated unicast structure field instead of obtaining the values based on calculation. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] config: Add initial sysbuild files Adds initial sysbuild files Signed-off-by: Jamie McCrae <[email protected]> [nrfconnect] Add support for Matter OTA in sysbuild Converted matter-ota.cmake script to sysbuild. [nrfconnect] Added Kconfig to enable BDX transfer for logs Introduced Kconfig to enable BDX transfer for diagnostic logs purposes. [nrfconnect] Removed setting BT_HCI_RAW_RESERVE config to 1 Aligning configuration to the one introduced in the Zephyr upmerge. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Removed setting mbedtls external rng config Removed settings default value for the MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG Kconfig, as it's handled by the mbedtls module. [nrfconnect] Disabled boot banner in mcuboot config With the recent Zephyr upmerge a new boot banner configs were enabled by default, what results in flash increase and memory partition overflow. This commit disables newly introduced configs. [nrfconnect] Enable SPI configuration for nRF54L. The external flash on nRF54L DK is driven by SPI, so we need to enable appropriate drivers. Also enabled MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING config that allows to overwrite the secondary slot image even if the pending flag is set on that image. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Enable MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH config This commit enables MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH for Matter over Wi-Fi to optimize flash usage. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] Fixed paths to used in the guides Guides contain path examples referring to the older build system version and they have to be updated. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Align factory data guide to sysbuild - Aligned all kconfigs to the new provided by sysbuild. [nrfconnect] Disable `CONFIG_FPU` by default to align with OT libraries Remove setting `CONFIG_FPU` to `y` by default as OpenThread libraries are now build without FPU support. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Fix missing network band in scan response. There is a missing network band parameter in the scan response, and due to that the `networkcommissioning scan-networks` command shows 0 as the band field for all found networks.
Due to the sysbuild integration and child images deprecation the default configuration for child images has been removed.
Adding missing include of a net_if.h file and define for the undefined config that makes nrfconnect platform not working for the Wi-Fi.
The new nRF Connect SDK 2.7.0 version introduced significant changes in the build system that resulted in a requirement to refactor all examples suported by nrfconnect platform.
be96f5c
to
0eb1cf2
Compare
PR #34403: Size comparison from 3bc5667 to 04b2842 Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
04b2842
to
adffe11
Compare
PR #34403: Size comparison from 3bc5667 to adffe11 Full report (8 builds for cc32xx, mbed, qpg, stm32, tizen)
|
adffe11
to
226195f
Compare
PR #34403: Size comparison from 3cb0ae9 to 226195f Full report (65 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
226195f
to
0f86116
Compare
PR #34403: Size comparison from 3cb0ae9 to 0f86116 Full report (8 builds for cc32xx, mbed, qpg, stm32, tizen)
|
0f86116
to
ef36347
Compare
PR #34403: Size comparison from 3cb0ae9 to ef36347 Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
ef36347
to
c237251
Compare
PR #34403: Size comparison from 3cb0ae9 to c237251 Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
c237251
to
ca20ccf
Compare
PR #34403: Size comparison from f6022e4 to ca20ccf Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
ca20ccf
to
f7f3e94
Compare
PR #34403: Size comparison from f6022e4 to f7f3e94 Full report (82 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nxp, psoc6, qpg, stm32, telink, tizen)
|
* Fixed paths to build artifacts in nrfconnect workflow * Fixed passing device type name to the chef app
f7f3e94
to
106397c
Compare
PR #34403: Size comparison from cc7672e to 106397c Increases above 0.2%:
Full report (96 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
* [workflows] Updated docker version used in workflows Updated docker version used in all workflows due to the new docker version pushed to the dockerhub. Additionally, changed the recommended version of nRF Connect SDK to the 2.7.0 * [nrfconnect] Disable Zephyr socket extensions The recvmsg() is now implemented natively in Zephyr, so we are not supposed to define a custom one. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Fixed calculation of Wi-Fi unicast counters Wi-Fi unicast tx/rx counters were calculated based on a wrong values, what could lead to getting negative results. Recent changes allow to use dedicated unicast structure field instead of obtaining the values based on calculation. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] config: Add initial sysbuild files Adds initial sysbuild files Signed-off-by: Jamie McCrae <[email protected]> [nrfconnect] Add support for Matter OTA in sysbuild Converted matter-ota.cmake script to sysbuild. [nrfconnect] Added Kconfig to enable BDX transfer for logs Introduced Kconfig to enable BDX transfer for diagnostic logs purposes. [nrfconnect] Removed setting BT_HCI_RAW_RESERVE config to 1 Aligning configuration to the one introduced in the Zephyr upmerge. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Removed setting mbedtls external rng config Removed settings default value for the MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG Kconfig, as it's handled by the mbedtls module. [nrfconnect] Disabled boot banner in mcuboot config With the recent Zephyr upmerge a new boot banner configs were enabled by default, what results in flash increase and memory partition overflow. This commit disables newly introduced configs. [nrfconnect] Enable SPI configuration for nRF54L. The external flash on nRF54L DK is driven by SPI, so we need to enable appropriate drivers. Also enabled MCUMGR_GRP_IMG_ALLOW_ERASE_PENDING config that allows to overwrite the secondary slot image even if the pending flag is set on that image. Signed-off-by: Marcin Kajor <[email protected]> [nrfconnect] Enable MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH config This commit enables MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH for Matter over Wi-Fi to optimize flash usage. Signed-off-by: Łukasz Duda <[email protected]> [nrfconnect] Fixed paths to used in the guides Guides contain path examples referring to the older build system version and they have to be updated. Signed-off-by: Kamil Kasperczyk <[email protected]> [nrfconnect] Align factory data guide to sysbuild - Aligned all kconfigs to the new provided by sysbuild. [nrfconnect] Disable `CONFIG_FPU` by default to align with OT libraries Remove setting `CONFIG_FPU` to `y` by default as OpenThread libraries are now build without FPU support. Signed-off-by: Maciej Baczmanski <[email protected]> [nrfconnect] Fix missing network band in scan response. There is a missing network band parameter in the scan response, and due to that the `networkcommissioning scan-networks` command shows 0 as the band field for all found networks. * [nrfconnect] Removed defaults for child images Due to the sysbuild integration and child images deprecation the default configuration for child images has been removed. * [nrfconnect] Changed pm static configuration scheme * [nrfconnect] Added missing include net_if.h file Adding missing include of a net_if.h file and define for the undefined config that makes nrfconnect platform not working for the Wi-Fi. * [examples] Aligned nrfconnect examples to the NCS 2.7.0 version The new nRF Connect SDK 2.7.0 version introduced significant changes in the build system that resulted in a requirement to refactor all examples suported by nrfconnect platform. * [nrfconnect] Fixed scripts building nrfconnect platform Added --sysbuild flag for build scripts that is required by the west build command used with nrfconnect platform. * [workflows] Partially reverted Updated docker version This partially reverts commit 8228fc5 to not update all platforms at once and troubleshoot CI problems one by one. * [nrfconnect] Added typing_extenstions to nrfconnect requirements The factory data script started to fail with Python 3.12. Adding typing_extensions to requirements fixes the issue. * Addressed review comments * [workflows] Fixed nrfconnect workflows * Fixed paths to build artifacts in nrfconnect workflow * Fixed passing device type name to the chef app --------- Co-authored-by: Marcin Kajor <[email protected]>
And now the console errors out:
|
@adminy |
@LuDuda It works! Super Thanks ! |
This PR introduced several commits aligning the nrfconnect platform and examples supported on the nrfconnect platform to work with a new build system introduced by nRF Connect SDK 2.7.0 version.