-
Notifications
You must be signed in to change notification settings - Fork 636
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
Upmerge 2024.12.20 #2411
Open
anangl
wants to merge
7,159
commits into
nrfconnect:main
Choose a base branch
from
anangl:meta-upmerge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Upmerge 2024.12.20 #2411
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NordicBuilder
added
manifest
manifest-hal_wch
manifest-sof
manifest-hal_stm32
manifest-zcbor
manifest-hal_infineon
manifest-hal_intel
manifest-hal_adi
manifest-mcuboot
manifest-hal_xtensa
manifest-nanopb
manifest-hal_wurthelektronik
manifest-nrf_hw_models
manifest-open-amp
manifest-nrf_wifi
manifest-picolibc
manifest-liblc3
manifest-libmetal
manifest-percepio
manifest-trusted-firmware-m
manifest-hal_renesas
manifest-hal_espressif
manifest-hal_rpi_pico
manifest-hal_tdk
manifest-hal_ambiq
manifest-hal_silabs
manifest-cmsis_6
labels
Dec 30, 2024
Explicitly enable "PSA_WANT_ALG_ECB_NO_PADDING" to select the AES ECB mode that it is used in CMAC operation. Signed-off-by: Valerio Setti <[email protected]> (cherry picked from commit 12eee61)
…D rather than select Allow the user to disable the P256-M driver in case their version of Mbed TLS does not support this driver. Signed-off-by: Valerio Setti <[email protected]> (cherry picked from commit 11a8a39)
Increase the MAX_THREAD_BYTES from 5->6 to accomodate for devices with an increased number of threads in the tests schedule_api and dynamic_thread_stack. Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit 37c23de)
This is a follow up to commit 770482a. Add initialization of the `ok` variable to prevent the "may be uninitialized" warning when `CONFIG_BOOTLOADER_MCUBOOT` is not defined. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit 6d9513e)
Mostly a revert of commit b1def71 ("arch: deprecate `_current`"). This commit was part of PR #80716 whose initial purpose was about providing an architecture specific optimization for _current. The actual deprecation was sneaked in later on without proper discussion. The Zephyr core always used _current before and that was fine. It is quite prevalent as well and the alternative is proving rather verbose. Furthermore, as a concept, the "current thread" is not something that is necessarily architecture specific. Therefore the primary abstraction should not carry the arch_ prefix. Hence this revert. Signed-off-by: Nicolas Pitre <[email protected]> (cherry picked from commit 46aa671)
… code Define the generic _current directly and get rid of the generic arch_current_get(). The SMP default implementation is now known as z_smp_current_get(). It is no longer inlined which saves significant binary size (about 10% for some random test case I checked). Introduce z_current_thread_set() and use it in place of arch_current_thread_set() for updating the current thread pointer given this is not necessarily an architecture specific operation. The architecture specific optimization, when enabled, should only care about its own things and not have to also update the generic _current_cpu->current copy. Signed-off-by: Nicolas Pitre <[email protected]> (cherry picked from commit 7a3124d)
Repeated references to _current won't produce a different result as the executing thread instance is always the same. Use the const attribute to let the compiler know it may reuse a previously obtained value. This offset the penalty for moving z_smp_current_get() out of line and provides yet more binary size reduction. This change is isolated in its own commit to ease bisecting in case some unexpected misbehavior is eventually observed. Signed-off-by: Nicolas Pitre <[email protected]> (cherry picked from commit bc6eded)
Allowed toolchains was not set in 'board' metadata causing those to not build and get filtered. Fixes #83792 Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 1f48740)
… handling Move enabling of counter to the test instead of test setup. Test may be skipped in some configurations and in that case counter shall not be started so by moving setup to the test code allows skipping test before counter is started. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 1ee434a6c27dc30993fa614ba55f693a40c2829e)
…e PM uart120 requires device runtime to be enable. Enable it for nrf54h20dk. When device runtime PM is used for interrupt driven and polling API then UART device is initially suspended. It means that RX is disabled. In order to enable RX device must be explicitly resumed using PM API. Test is enabling UART RX (uart_rx_enable) from counter callback (interrupt handler context). For fast instance on nrf54h20dk (uart120) it is not allowed because PM resume can only be called from the thread context. Because of that, test is skipped for uart120 and asynchronous API. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit cc12f655c9d2313ac893d3f209747513728e5b89)
Add check for MBO feature before including the source file. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 0953ea0)
Zephyr introduced postive feature flags to make advanced features conditional but the upstream has followed a negative feature flag for advanced features, and during upmerge these two weren't reconciled. Fix the build in case advanced features are disabled. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit d909634)
…ed features This feature is handy to free up some memory, so, make sure it always builds. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 7532e73)
Default is always disabled. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 819acf1)
Fixes build issue when WMM AC feature is disabled. Signed-off-by: Chaitanya Tata <[email protected]> (cherry picked from commit 2350b6b)
Remove the HCI command & event emulation layer for ECDH commands and events. This means that we always do the necessary operations in the host. The existing BT_ECC Kconfig option stays, but now gets automatically enabled when necessary (e.g. based on the BT_SMP option), which is why this commit removes so many explicit assignments in prj.conf files. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit 09e86f3b69b3112b96d6f89bf388d1ced982aef9)
This option only exposes internal APIs, so there should be no need to allow applications to set an explicit value. Instead, users of the API should select it through Kconfig. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit d3c8cb4b7918fa3683a426350ba3886bc4924d86)
Mention the removed prompt for BT_ECC in the migration guide, and also add a note about the removed HCI emulation layer to the release notes. Signed-off-by: Johan Hedberg <[email protected]> (cherry picked from commit b3c6151679cfe333625198d465ad4e5952d53b81)
…got deprecated This is a follow-up to commit 8cfad44. Replace the deprecated BT_LE_ADV_CONN macro with BT_LE_ADV_CONN_FAST_2. Signed-off-by: Andrzej Głąbek <[email protected]> (cherry picked from commit f930739acf8586e9e27ebf20bbe4df6189d348d3)
-liblc3 added a library-internal path to zephyr_interface containing a file that collides with common.h required e.g. by Mbed TLS This commit fixes build-issues by making this include-folder PRIVATE to the named library liblc3 Upstream PR #: 84433 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
-Mbed TLS requires common.h to build. The sample provides common.h in sample folder level but included the path to zephyr_interface. This commit changes the include to be sample-specific Upstream PR #: 84451 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
…rm_zeroize -Adding explicit include for mbedtls/platform_util.h to get acces to mbedtls_platform_zeroize in ITS. Somehow not visibile in Zephyr but it caused build issues in nRF Connect SDK. Upstream PR #: 84457 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
…rver The unicast server does not need GATT caching and it was likely incorrectly added earlier as a dependency. Upstream PR #: 84232 Signed-off-by: Emil Gydesen <[email protected]>
…he boards Bring the change that was already in place for the qemu_cortex_m3 board to all the other ones, since also nrf52840 had a similar problem (see issue #82812). Upstream PR #: 84450 Signed-off-by: Valerio Setti <[email protected]>
Non-secure variants for nRF7002 DK were removed from upstream in commit 10d4973. Revert these changes downstream, so that the NS variants are still available. Signed-off-by: Andrzej Głąbek <[email protected]>
…en built-in in PSA" This reverts commit ac6d834. Temporarily revert an upstream change that leads to a Kconfig dependency loop with MBEDTLS_CIPHER_AES_ENABLED. This is supposed to be replaced with a better fix later. Signed-off-by: Andrzej Głąbek <[email protected]>
This needs to be revisited but the newly added dependency on the entropy_generator doesn't work with nrf_security. Signed-off-by: Georgios Vasilakis <[email protected]>
Explicitly enable "PSA_WANT_ALG_ECB_NO_PADDING" to select the AES ECB mode that it is used in CMAC operation. Signed-off-by: Andrzej Głąbek <[email protected]>
This test cannot be executed with the SDFW Service Framework client started, so disable its initialization. Signed-off-by: Andrzej Głąbek <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
DNM
manifest
manifest-cmsis_6
manifest-cmsis-dsp
manifest-hal_adi
manifest-hal_ambiq
manifest-hal_espressif
manifest-hal_ethos_u
manifest-hal_infineon
manifest-hal_intel
manifest-hal_nordic
manifest-hal_nxp
manifest-hal_renesas
manifest-hal_rpi_pico
manifest-hal_silabs
manifest-hal_st
manifest-hal_stm32
manifest-hal_tdk
manifest-hal_wch
manifest-hal_wurthelektronik
manifest-hal_xtensa
manifest-hostap
manifest-liblc3
manifest-libmetal
manifest-lvgl
manifest-mbedtls
manifest-mcuboot
manifest-nanopb
manifest-nrf_hw_models
manifest-nrf_wifi
manifest-open-amp
manifest-percepio
manifest-picolibc
manifest-segger
manifest-sof
manifest-tf-m-tests
manifest-trusted-firmware-m
manifest-zcbor
manifest-zephyr-lang-rust
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.