Commit Graph

105009 Commits

Author SHA1 Message Date
David Brown 44e0edcf1b submanifests: optional: rust: Limit build targets
Brings in a change in the v4.0-branch branch to limit the targets that
rust tests are run on to those that have been tested.  This will avoid a
large number of failure in the nightly build on platforms that aren't
expected to work.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-11-13 13:36:17 -06:00
Daniel DeGrasse dee76a7907 boards: nxp: mimxrt1170_evk: document flash support for EVKB
Flash support for RT1170 EVKB was fixed with cfb7322107 (drivers: flash:
flash_mcux_flexspi: add support for W25Q512NW-IQ/IN). Document this
support in the board page.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-13 13:36:00 -06:00
Pisit Sawangvonganan 1175f57640 doc: fix typo in multiple directories before v4.0.0 release
Utilize a code spell-checking tool to scan for and correct spelling errors
in various files within the `doc` directory.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-11-13 13:35:49 -06:00
Declan Snyder 1a5ae376a3 doc: release-notes-4.0: Add DT 4.0 notes
Add release notes for DT area for zephyr 4.0.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-13 09:15:49 -06:00
Akshay James b93a51ae78 doc: fix typo in blackpill_f401cc docs
Fix the text and links where it mentions 'blackpill_f401ce' instead
of 'blackpill_f401cc'.

Signed-off-by: Akshay James <akshayjames95@gmail.com>
2024-11-13 09:15:00 -06:00
IBEN EL HADJ MESSAOUD Marwa db6589f780 Revert "drivers: ethernet: eth_stm32_hal"
This reverts commit 0036b8bf21.

The reverted commit causes a compile error with the STM32F2 because
there are some variables used in the file eth_stm32_hal that are
not defined in the HAL module of the STM32F2 series,
such as 'ETH_RX_DESC_CNT' and 'HAL_ETH_MII_MODE'

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2024-11-13 09:13:23 -06:00
IBEN EL HADJ MESSAOUD Marwa 1721454266 Revert "drivers: ethernet: eth_stm32_hal_priv.h"
This reverts commit fbeda5959d.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2024-11-13 09:13:23 -06:00
Jamie McCrae 996b8a63e7 mgmt: mcumgr: Remove deprecated function smp_add_cmd_ret
Removes a function that was deprecated in Zephyr 3.4

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-11-13 09:08:18 -06:00
Jamie McCrae 55e7cc659c doc: Fix renamed ARM MPS* board targets
Fixes some board target names that have changed or were not
updated for hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-11-13 09:08:09 -06:00
Declan Snyder c1398250e9 drivers: nxp_enet: Check link state in iface init
Still mark the iface as down after ethernet_init, but then actually
check the link state and initialize carrier appropriately

This fixes the case where, the phy driver doesn't give a callback after
iface init due to the link already being up, there was no change from
the phy driver perspective, so callback  wouldn't happen, and therefore
the interface could remain marked as down after boot even if carrier is up.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-13 09:07:59 -06:00
Declan Snyder 0da16f7ec6 drivers: nxp_enet: put phy cb before iface init
This commit moves one function before another, to make the diff of the
next commit clearer of what it's doing.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-13 09:07:59 -06:00
Anas Nashif 049b243b51 twister: stats: use anytree to create summary
Do not create the tree structure manually, use anytree instead.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif a43a67e3a3 twister: stats: fix suite statistics
suite stats were not correct, a mixup between skipped and filtered
suites was leading to inconsistent numbers. This is now fixed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif b578fa5b2a twister: stats: more renames skipped -> filtered
Additional variable renames leading to confusion between skipped and
filtered.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif d69d14aac6 twister: stats: skipped_configs -> filtered_configs
Rename variables leading to confusion between skipped and filtered
suites.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 61aefee3ad twister: stats: skipped testcases are part of selected group
Count skipped cases as part of selected group in stats.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 1647b46a07 twister: stats: remove double counting of statuses
We have been double counting some statuses, remove to get the stats
right.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif eddb0b77a3 twisters: tests: adapt twister testsuite
Adapt tests for new changes in twister.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 7e23b35c33 twister: stats: 'Executed test cases' -> 'Completed test cases'
Built tests are not executed, change column title.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 950dccc5bb twister: status inconsistencies are now warnings
Do not report status issues as errors, very confusing and developer end
up looking at the wrong thing, instead, treat those as warnings and
count them and report them at the end.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 5ad5b95fde twister: remove verbose debug message about adding platforms
This is very verbose and very long sometimes getting the way when trying
to debug a problem.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 11447e4463 twister: stats: not run tests are also part not executed summary
Add notrun tests to the count of non-executed tests.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 64f950420a twister: do not report filtered cases in summary
It is confusing to report filtered testcases as  testcases that were
selected but not exexuted. If they are filtered, then there should not
be considered as selected.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif 81af36202b twister: use consistent language for test configurations
In the summary, use "configurations" instead of instances.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Anas Nashif c394a27d77 twister: count filtered testcases as such, not as skipped
When a suite is filtered, its testcases are also filtered and not
skipped.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 18:05:16 -06:00
Jeremy Bettis b1f42f2e71 drivers: Fix uninitialized variable warning.
In GCC 14.2.0, the keyvariable in usb_dc_ep_write is detected to be used
before initialization, even though this usage should be safe.

Fix by initializing the key variable to 0, and making the 2 if
statements explicitly checking the same value.

Signed-off-by: Jeremy Bettis <jbettis@google.com>
2024-11-12 15:58:47 -06:00
Ioannis Damigos 135214d844 driver/dma_smartbond: Fix driver initialization when PM_DEVICE is set
Fix DMA driver initialization when PM_DEVICE is set.
Don't put PM policy state lock if it is not active.

Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
2024-11-12 15:49:26 -06:00
Ioannis Karachalios a66c070598 drivers: counter: Fix unbalanced policy state lock
This commit should deal with fixing unbalanced policy state locks.
When PM and PM_DEVICE are declared, default state, policy locks
should be given only when  active.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-11-12 15:48:20 -06:00
Ryan McClelland 88fb090b7f doc: release: add release notes for I3C for v4.0.0
add release notes for I3C for zephyr v4.0.0

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2024-11-12 13:21:35 -08:00
Aksel Skauge Mellbye 092fd18d5b doc: release-notes-4.0: Add Silabs notes
Add noteworthy additions for Silabs socs, boards and drivers.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-11-12 15:15:53 -06:00
Daniel DeGrasse 37c9cf22ce doc: release-notes-4.0: add release notes for SD subsystem
No significant changes have been made to the SD subsystem since 3.7. Add
a note documenting this for the 4.0 release.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-12 15:14:33 -06:00
Daniel DeGrasse 4606e1cfe5 doc: release-notes-4.0: add SDHC release notes
Add release notes for SD host controllers for 4.0

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-12 15:14:33 -06:00
Daniel DeGrasse 5ef6e46010 doc: release-notes-4.0: add release notes for disk
Add release notes for the disk driver subsystem

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-12 15:14:33 -06:00
Daniel DeGrasse 00f08ba004 doc: release-notes-4.0: add release notes for display
Add release notes for displays for 4.0 release

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-12 15:14:19 -06:00
Daniel DeGrasse d9745bd36d doc: release-notes-4.0: add MIPI-DBI release notes
Add release notes for MIPI-DBI capturing significant changes since 3.7

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-12 15:14:07 -06:00
Josuah Demangeon db4dc5b450 doc: releases: 4.0: Add LVGL capture sample to Video
The LVGL pull request was started before v3.7 release but merged
after, so needs to be included in v4.0 release notes. This was an
omission in commit 467f31190e.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2024-11-12 12:16:40 -06:00
Jordan Yates 35295f3663 zbus: `observervation` -> `observation`
Fix a typo in the doxygen and service documentation.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-11-12 12:15:55 -06:00
Flavio Ceolin 81491df4ac doc: release/4.0: Crypto driver notes
Add information about TinyCrypt shim driver deprecation.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-12 12:15:36 -06:00
Fabian Blatz db9ba1865a doc: release: 4.0: Add lvgl notes
Add release notes section about lvgl and the added sample.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-11-12 12:15:24 -06:00
Maochen Wang d9ef4b7e69 manifest: Update hal_nxp to fix psa_crypto_init failure
The MBEDTLS_PSA_ACCEL_xxx macro means it will not enable the SW/Builtin
implementation of the feature. The PSA_WANT_xxx macro means it will
enable the PSA-API usage of the feature, and can use SW or HW
acceleration. If enable the MBEDTLS_PSA_ACCEL_xxx macros, during
psa_crypto_init, mbedtls_psa_hash_setup will failed, as the macro
MBEDTLS_PSA_BUILTIN_ALG_SHA_512 is undefined. Remove the marco of
MBEDTLS_PSA_ACCEL_xxx can enable maco MBEDTLS_PSA_BUILTIN_ALG_xxx,
and fix the supp_psa_crypto_init fail and Wi-Fi connection failed issue.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2024-11-12 09:58:18 -06:00
Sylvio Alves 0cbb92c2c8 boards: heltec: fix kconfig cpu entry name
Minimum heap pool should be always set for the board
in order to enable internal drivers/subsystems to work.

It is currently not defined for APPCPU due to typo in
board's Kconfig, possibly causing build failures.

Fixes #81218

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-11-12 09:58:04 -06:00
Maureen Helm 27fca4d24f doc: release: Add ADI notes for v4.0.0
Adds release notes for new ADI drivers and notable changes introduced
since the last release.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-11-12 09:57:53 -06:00
Maureen Helm 782247bc6a doc: release: Add sensor notes for v4.0.0
Adds release notes for notable changes and new sensor drivers introduced
since the last release.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-11-12 09:57:53 -06:00
Jukka Rissanen 0ab7ecf038 doc: release-notes-4.0: Add notes for Wi-Fi
Added release notes for Wi-Fi.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-11-12 09:57:41 -06:00
Declan Snyder 3b16920ada doc: release-notes-4.0: Add ethernet/mdio notes
Add release notes for ethernet and mdio drivers for 4.0

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-12 09:57:28 -06:00
Robert Middleton 05ad0ae8fd doc: develop: tools: Add STM32CubeIDE directions
Add directions on using STM32CubeIDE for developing Zephyr.

Signed-off-by: Robert Middleton <robert.middleton@rm5248.com>
2024-11-12 09:57:15 -06:00
Anas Nashif 79f742f252 doc: tests: remove page about deprecated ztest APIs
Remove leftover page about deprecated ztest APIs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-12 09:56:54 -06:00
Dat Nguyen Duy 65511eacf9 drivers: dma_mcux_edma: utilize correct macros for edma v3
Utilize correct macros for edma v3

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2024-11-11 17:53:07 -06:00
Duy Nguyen 7f4cab95b3 doc: release notes v4.0: Renesas RA addition
Update noteworthy support of Renesas RA driver for 4.0 release

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2024-11-11 17:52:57 -06:00
Flavio Ceolin a19fb8e122 doc: security: Add CVE under embargo
Add an entry to CVE-2024-10395

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-11 17:52:48 -06:00