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

Upmerge 16.05.2024 #1721

Merged
merged 2,306 commits into from
May 28, 2024
Merged

Upmerge 16.05.2024 #1721

merged 2,306 commits into from
May 28, 2024

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented May 16, 2024

Remaining isses:

  • Reapply 15cc59d after conflicts are resolved in the upstream PR

@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 16, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
babblesim_ext_2G4_phy_v1 BabbleSim/ext_2G4_phy_v1@1ab9a88 BabbleSim/ext_2G4_phy_v1@d8302b8 BabbleSim/[email protected]
hal_ambiq zephyrproject-rtos/hal_ambiq@ff4ca35 zephyrproject-rtos/hal_ambiq@94dd874 zephyrproject-rtos/[email protected]
hal_espressif zephyrproject-rtos/hal_espressif@dddb7cf zephyrproject-rtos/hal_espressif@c495811 zephyrproject-rtos/[email protected]
hal_microchip zephyrproject-rtos/hal_microchip@68575aa zephyrproject-rtos/hal_microchip@1279561 (master) zephyrproject-rtos/[email protected]
hal_nordic zephyrproject-rtos/hal_nordic@bdef8b6 zephyrproject-rtos/hal_nordic@a3aacc7 zephyrproject-rtos/[email protected]
hal_nuvoton zephyrproject-rtos/hal_nuvoton@34efb92 zephyrproject-rtos/hal_nuvoton@ab342e6 (master) zephyrproject-rtos/[email protected]
hal_nxp zephyrproject-rtos/hal_nxp@4ab0e7b zephyrproject-rtos/hal_nxp@57d844b zephyrproject-rtos/[email protected]
hal_quicklogic zephyrproject-rtos/hal_quicklogic@b3a66fe zephyrproject-rtos/hal_quicklogic@bad8944 (master) zephyrproject-rtos/[email protected]
hal_renesas zephyrproject-rtos/hal_renesas@991e060 zephyrproject-rtos/hal_renesas@b4fe892 (main) zephyrproject-rtos/[email protected]
hal_silabs zephyrproject-rtos/hal_silabs@442d0fb zephyrproject-rtos/hal_silabs@0c39ee2 (master) zephyrproject-rtos/[email protected]
hal_stm32 zephyrproject-rtos/hal_stm32@60c9634 zephyrproject-rtos/hal_stm32@ed93098 zephyrproject-rtos/[email protected]
hostap zephyrproject-rtos/hostap@81bdd83 zephyrproject-rtos/hostap@83574f5 (main) zephyrproject-rtos/[email protected]
loramac-node zephyrproject-rtos/loramac-node@1bf2120 zephyrproject-rtos/loramac-node@fb00b38 (v4.7.0-zephyr) zephyrproject-rtos/[email protected]
mbedtls zephyrproject-rtos/mbedtls@6ec4abd zephyrproject-rtos/mbedtls@3217c45 zephyrproject-rtos/[email protected]
mcuboot zephyrproject-rtos/mcuboot@24ac8cc zephyrproject-rtos/mcuboot@018dc01 (upstream-sync) zephyrproject-rtos/[email protected]
mipi-sys-t zephyrproject-rtos/mipi-sys-t@a819419 zephyrproject-rtos/mipi-sys-t@71ace1f (zephyr) zephyrproject-rtos/[email protected]
nanopb zephyrproject-rtos/nanopb@65cbefb (zephyr) zephyrproject-rtos/nanopb@7f88274 (master) zephyrproject-rtos/[email protected]
net-tools zephyrproject-rtos/net-tools@cd2eb18 zephyrproject-rtos/net-tools@7c7a856 (master) zephyrproject-rtos/[email protected]
nrf_hw_models zephyrproject-rtos/nrf_hw_models@df94612 zephyrproject-rtos/nrf_hw_models@36b1271 (main) zephyrproject-rtos/[email protected]
segger zephyrproject-rtos/segger@9d01912 zephyrproject-rtos/segger@b011c45 (master) zephyrproject-rtos/[email protected]
tf-m-tests zephyrproject-rtos/tf-m-tests@08a3158 zephyrproject-rtos/tf-m-tests@85f533a zephyrproject-rtos/[email protected]
trusted-firmware-m zephyrproject-rtos/trusted-firmware-m@0b898c9 zephyrproject-rtos/trusted-firmware-m@785d874 zephyrproject-rtos/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

tmon-nordic and others added 22 commits May 27, 2024 11:01
Commit 2f31ee6 ("usb: device_next: convert ASCII7 strings to
UTF16LE on the fly") made string descriptors respond with twice as much
of the actual string data.

Fix the issue by taking into account that USB string descriptor length
is already multiplied by two. Additionally, make it possible to return
odd number of bytes if host requested so.

Upstream PR: zephyrproject-rtos/zephyr#73079

Signed-off-by: Tomasz Moń <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Return protocol error if bcdUSB is less than 0x0201. Fix typo in number
of capabilities.

Fixes: b0d7d70 ("usb: device_next: add initial BOS support")

Upstream PR: zephyrproject-rtos/zephyr#73018

Signed-off-by: Johann Fischer <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
Display diff of contents for large buffers is not quite helpful and
takes up huge RAM, and if a board has less RAM then this causes the test
module build failures.

So, disable display of diff and just log a failure, small buffer tests
can be used to debug such basic issues and large buffer tests can act as
a smoke test for debugging other issues. This saves about 80K of RAM.

Fixes #72792.

Upstream PR: zephyrproject-rtos/zephyr#72895

Signed-off-by: Chaitanya Tata <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
…W_SPLIT only

Build the vendor specific sample hci_vs_scan_req for
BT_LL_SW_SPLIT variant of the Controller only.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
(cherry picked from commit 68bd4da)
Signed-off-by: Robert Lubos <[email protected]>
PR #72592 made pylint to use json2 output format. However, this
format is introduced in pylint v3. This commit adds an appropriate
setting in the requirements file.

Signed-off-by: Maciej Perkowski <[email protected]>
(cherry picked from commit 3a3f25c)
Signed-off-by: Robert Lubos <[email protected]>
Use wdt31 instead of wdt30 as wdt30 is hardware fixed to secure.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 9ef16f5)
Signed-off-by: Robert Lubos <[email protected]>
Add missing nrf overlays to fix the sample at build time.

Copied from samples/drivers/watchdog/boards.

It is not clear why the build failure was not detected earlier.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit afbaaf2)
Signed-off-by: Robert Lubos <[email protected]>
…e domain

Don't define wdt30 for the non-secure domain as it is hardware fixed
to secure.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 50aaaa3)
Signed-off-by: Robert Lubos <[email protected]>
… domain

Don't define UICR for the non-secure domain as it is hardware fixed to
secure.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 2c19d3e)
Signed-off-by: Robert Lubos <[email protected]>
…r ns

Define peripherals with the 0x4000_0000 address range when building
for non-secure.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 90332b9)
Signed-off-by: Robert Lubos <[email protected]>
Refactor the 54L board file to be able to better support out-of-tree
non-secure boards.

This aligns better with nrf53's DT.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 80209e4)
Signed-off-by: Robert Lubos <[email protected]>
Complete rewrite of the 54l_ns DT board definition.

Now the secure board and non-secure board re-use a lot more code,
giving us a more maintainable solution.

Signed-off-by: Sebastian Bøe <[email protected]>
… set

When opaque resources have post-write callback set, but
the write is not a Block-Wise write, there is no block_ctx
and the code causes null pointer dereference when calculating
the offset of the data.

Upstream PR: zephyrproject-rtos/zephyr#73162

Signed-off-by: Seppo Takalo <[email protected]>
Signed-off-by: Robert Lubos <[email protected]>
It made the build of
`samples/tfm_integration/tfm_psa_test/sample.tfm.psa_test_crypto`
break since the update of Mbed TLS to 3.6.0 (#71118), apparently because
`${ZEPHYR_BASE}` wasn't set, and the include doesn't seem to be needed.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit d830446)
Signed-off-by: Robert Lubos <[email protected]>
…eferences"

This reverts commit b876bd2.

That needs mbed TLS 3.6.0 to work, as pk_ecc.c was added in that
version.

To be reverted, when mbed TLS is updated to 3.6.0 in NCS.

Signed-off-by: Robert Lubos <[email protected]>
… lib is used

Socket service library uses eventfd, which does not work with
native_posix platform, hence need to exclude it from samples that now
rely on socket services.

Upstream PR: zephyrproject-rtos/zephyr#73256

Signed-off-by: Robert Lubos <[email protected]>
Upstream PR: zephyrproject-rtos/zephyr#73156

Adds channel 15 to the pool of grtc channels available
for allocation (i.e. with 'z_nrf_grtc_timer_chan_alloc')
on nRF54H20.

The change is motivated by lack of available channels
for the nrf_802154_timestamper when building for nRF54H20.

Signed-off-by: Piotr Koziar <[email protected]>
…ses when clock_control is not available.

Upstream PR: zephyrproject-rtos/zephyr#73156

Clock_control is currently not supported on nRF54H20.
This commit adds new way of handling the hfclk targeted for nRF54H20.

This solution shall be replaced once the clock_control is supported for nRF54H20.

Signed-off-by: Piotr Koziar <[email protected]>
Upstream PR: zephyrproject-rtos/zephyr#73156

This commit fixes the issue where a serialization
error was reported after properly sending a data with 'icbmsg' backend.

The icbmsg send function's return code is set to
the sent data's len as in other backends.
The related docs were fixed and updated.

Signed-off-by: Piotr Koziar <[email protected]>
…fault for nRF54H20.

Upstream PR: zephyrproject-rtos/zephyr#73156

Adds an appropriate condition to the Kconfig as
the temperature driver is not supported for nRF54H20 devices yet.

Without this change, a build with NRF 802.15.4 libraries produces Kconfig error.

Signed-off-by: Piotr Koziar <[email protected]>
… to create EUI64.

Upstream PR: zephyrproject-rtos/zephyr#73156

Use BLE.ADDR to create unique (to some extent) EUI64
on nRF54H20 in some cases inside the IEEE 802.15.4 driver.

The amount of EUI64-s available in such a way is very limited (~16 million).
However, currently there does not seem to be another feasible way to
get device identifiers on nRF54H20 (such are kept in SICR, to which the
radio core has no access).

Signed-off-by: Piotr Koziar <[email protected]>
When disconnect request is successful, the status
was taking as WIFI_REASON_DISCONN_UNSPECIFIED only.
Adding WIFI_REASON_DISCONN_SUCCESS which can be help
to determine status of disconnect request. If this status
is failed then reason can be useful.

Signed-off-by: Kapil Bhatt <[email protected]>
(cherry picked from commit cc42d16)
Signed-off-by: Robert Lubos <[email protected]>
@rlubos rlubos force-pushed the upmerge-16-05-2024 branch from 15191cf to a1769ab Compare May 27, 2024 12:07
Copy link

@shanthanordic shanthanordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for scope

@rlubos rlubos force-pushed the upmerge-16-05-2024 branch from 19b3140 to a1769ab Compare May 27, 2024 14:27
Copy link
Contributor

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rlubos rlubos merged commit a1769ab into nrfconnect:main May 28, 2024
100 of 102 checks passed
@rlubos rlubos deleted the upmerge-16-05-2024 branch May 29, 2024 08:09
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.