Commit Graph

105337 Commits

Author SHA1 Message Date
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
Flavio Ceolin 1aba3ce280 doc: release/4.0: Add CVE under embargo
Add information about CVE under embargo.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-11 17:52:48 -06:00
Dan Kalowsky c50777a843 VERSION: bump for 4.0.0-rc3
Update the VERSION file to reflect the taggingg for v4.0.0-rc3 release

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
2024-11-09 04:26:19 -06:00
Pieter De Gendt 373ed89e4b doc: release: 4.0: Add nanopb 0.4.9 update
Add section for nanopb and upstream sync.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-11-08 22:31:17 -06:00
Pieter De Gendt 0775b507b5 submanifests: optional: Bump nanopb to 0.4.9
Sync upstream and get the latest tagged version 0.4.9.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-11-08 22:31:17 -06:00
Erwan Gouriou 8025c8473b doc: Migration guide v4.0: STM32 additions
STM32 noteworthy additions for 4.0 release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-08 22:29:51 -06:00
Erwan Gouriou 4e50521a22 doc: release notes v4.0: STM32 additions
Gathers STM32 noteworthy additions for 4.0 release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-11-08 22:29:51 -06:00
Flavio Ceolin 429d2e79b1 docs: release/4.0: Info about TinyCrypt
Add an information about upcoming TinyCrypt deprecation.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-08 22:29:08 -06:00
Flavio Ceolin f81c20d088 Revert "tinycrypt: deprecate the library"
This reverts commit 5e225e0c8b.

Based on #79931 and TSC discussions, it was decided that TinyCrypt
will be deprecated *AFTER* 4.0.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-08 22:29:08 -06:00
Marek Matej 207da3ad15 doc: espressif: Add missing images
Update and add missing Espressif board images.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2024-11-08 22:28:30 -06:00
Ryan McClelland c58c130b48 drivers: sensor: default_rtio_sensor: fix limited range warning
`chan_type` is defined as a `uint16_t`. This makes checking if it is
< 0 always false. A warning is shown with -Wtype-limits. Remove the
check as it is unnecessary.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2024-11-08 22:28:08 -06:00
Jukka Rissanen 04d8b7c595 net: sockets: Cleanup socket properly if POSIX API is enabled
The sock_obj_core_dealloc() was not called if close() is called
instead of zsock_close(). This happens if POSIX API is enabled.

Fix this by calling zvfs_close() from zsock_close() and then
pass the socket number to zsock_close_ctx() so that the cleanup
can be done properly.

Reported-by: Andreas Ålgård <aal@ixys.no>
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-11-08 15:56:39 -06:00
Declan Snyder 92d0287813 drivers: spi_mcux_lpspi: Fix DMA path on RT
Apparently, the previous change to fix the chip select only works on
some newer revisions of the LPSPI, and the behavior is different on
older parts like RT. For now put some #ifdef to keep the fixed CS on
MCXN but have the old behavior on RT and other platforms.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-11-08 15:56:06 -06:00
Bernardo Perez Priego b6b8eeedf0 serial: mchp_xec: Fix `uart_xec_irq_tx_complete` function
This function is only checking for current byte being transmitted.
This patch ensures that function returns `1` until TX is disabled and
no byte is being transmitted.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
2024-11-08 15:55:52 -06:00
Dong Wang 431c34039a tests: debug/coredump: Change to call k_panic() for ISH SoCs
ISH SoCs have zero-address memory mapped to I2C0 controller.
Coredump cannot be triggered by zero-address access.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2024-11-08 15:55:36 -06:00
Peter Mitsis aeaddd70b7 tests: Fix IRQ locking in sched benchmark
Corrects an issue that was introduced when the interrupt
locking/unlocking was added to the 'sched' benchmark by
unlocking the interrupts before the context switch done by
k_yield(), but after the call to z_unpend_first_thread().

Fixes PR #81050

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-11-08 15:55:23 -06:00
Simon Maurer 18818c15cd openamp: resource table: fixes resource table for ram_console section
in commit 1cd37f21f3 the global ram console buffer was replaced
with a pointer. This didn't work with the OpenAMP resource table
anymore (#75656).

Signed-off-by: Simon Maurer <mail@maurer.systems>
2024-11-08 15:55:11 -06:00
Karun Kumar Eagalapati 02c8a5a80c manifest: Update hal_nordic
Updated manifest to include fix for incorrect display of scan
results when APs have EAP and PMF enabled.

Fixes #80995

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
2024-11-08 15:54:59 -06:00
Hongquan Li c5fa9af235 drivers/wifi/nrfwifi: Add buffer for discard bytes
Some spi drivers do not allow the send buffer
and receive buffer to be empty at the same time,
if this happens it will cause the spi to be unable
to communicate with the nrf7002, so add the receive
buffer for the discard byte in the spim_xfer_rx.

Fix #80686

Signed-off-by: Hongquan Li <hongquan.prog@gmail.com>
2024-11-08 14:01:23 -06:00
Andrew Feldhaus a2e920cf96 drivers: rtc: rtc_ds1307: Fix corruption of SECONDS register
We read/modify/write the CH/SECONDS register at initialisation to clear
only the Clock Halt bit and only if it is set.

The previous implementation zeroes the entire register unconditionally at
initialisation, which wipes the SECONDS fields.

Fixes #77354.

Signed-off-by: Andrew Feldhaus <github@feldhaus.co.uk>
2024-11-08 13:58:10 -06:00
Franciszek Pindel 9c94ee5346 include/zephyr: Use ROMABLE_REGION for LMA in .last_ram_section
Currently RAMABLE_REGION is used for both virtual address (VMA)
and a load address (LMA). It results in wrong LMA for some platforms.
This commits adds using ROMABLE_REGION for LMA.

Signed-off-by: Franciszek Pindel <fpindel@antmicro.com>
2024-11-08 13:57:42 -06:00
Raymond Lei a6466249a9 drivers: dma: edma: Put the TCD pool in DTCM by default
To reduce the latency of CPU accessing/modifying SW TCD content, it
better to put TCD pool to DTCM by default.

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
2024-11-08 13:57:29 -06:00
Raymond Lei 209cb8157a drivers: serial: lpuart: Enable SG mode of LPUART
New implemented eDMA loop SG mode can be used to lpuart driver to fix
the conflict of "Done" bit issue which cause uart_async_api test failed
when SG mode is enabled.

Also, this loop SG mode works well even with a high bandrate(test done
on 2000000bps).
Fixes: #78291

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
2024-11-08 13:57:29 -06:00