Commit Graph

105109 Commits

Author SHA1 Message Date
Jilay Pandya 955d7974d5 docs: release notes: add 80875 to known issues
add #80875 to known issues in release notes 4.0.0.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-11-15 16:32:41 -06:00
Mahesh Mahadevan 91c3768b25 doc: release-notes-4.0: Release notes cleanup
1. Move deprecated items to the deprecated section.
2. Fixed a portion of a sentence that was deleted.
3. Miscellaneous cleanup.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-11-15 16:03:40 -06:00
Andrzej Głąbek c7a1b53f82 doc: release-notes-4.0: Add a few Nordic related entries and an ADC one
Add notes for Nordic HAL and other nRF related stuff plus one more ADC
entry.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-11-15 16:03:40 -06:00
Flavio Ceolin 659eec8d85 doc: release-notes-4.0: Add CVE-2024-11263 info
Add CVE-2024-11263 to release notes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-15 13:03:16 -06:00
Flavio Ceolin 7aa7e894bc doc: security: Disclose CVE-2024-11263
Disclose information about published CVE

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-15 13:03:16 -06:00
Benjamin Cabé 275f44730e doc: releases: re-arrange API Changes section
some entries were not properly put under either
Removed or Deprecated section. This commit
fixes that.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé c1d150934a doc: releases: use correct compatible for zephyr.gpio-steppers
The current name of the compatible is zephyr,gpio-steppers

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé 2be735c558 doc: releases: fix galaxycore,gc2145 compatible
fix typo in compatible name

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé 7fa0d83966 doc: releases: drop empty subsections from migration guide
Drop sections with no updates

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé 657229f72e doc: releases: fix typos in MCUboot section
Fix minor typos

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé 36ccae904d doc: releases: drop empty lib/subsystems subsections
Drop sections with no updates

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé a3978892c3 doc: releases: drop empty driver subsections
Drop sections with no updates

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé 8f0a4bd323 doc: releases: fix Devicetree spelling
Spell Devicetree with a capital D

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Benjamin Cabé c4b00f7bea doc: releases: add more release highlights for 4.0
This adds a few more entries to hopefully complete the list of
4.0 highlights.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-15 13:03:02 -06:00
Chris Friedt 1bf22569fc doc: release-notes-4.0: add posix api release notes
Add POSIX API release notes for new features and enhancements
since v3.7.0 .

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-11-15 11:10:20 -06:00
Chris Friedt 95f4912e72 doc: posix: options: correct anchor for thread safe functions
Previously, the anchor for `_POSIX_THREAD_SAFE_FUNCTIONS` was
`posix_thread_safe_functions` but it should have been
`posix_option_thread_safe_functions`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-11-15 11:10:20 -06:00
Yves Vandervennet 214837fa2b doc: release: NXP contribution
Adding NXP's contributions to v4.0

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-11-15 11:09:10 -06:00
Gerson Fernando Budke d71d4c0e80 drivers: rtc: sam: Fix missing function
The #64939 introduced a few convenience function like
rtc_utils_validate_rtc_time. However the PR did not replace all
occurrences which result on a build error. This add the missing
header include to remove a building warning and replace the old
function by the new one.

Fixes #81454

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-11-15 11:08:58 -06:00
Alberto Escolar Piedras 24c2c43bcd boards nrf52_bsim: Fix sample used as example
Let's fix the sample used in the example. The peripheral_hr and
central_hr are meant to be run with each other.
Let's also use the :zephyr:code-sample: directive to refer to the
samples so we get a link.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-11-15 08:10:08 -06:00
Ahmed Adel 8034de73d5 doc: services: debugging: Remove unwanted reference link
Remove unwanted reference link to the section (Usage)
in ARM Coresight Trace Deformatter that shows up in
the main Debugging documentation page, by lowering
the level of (Usage) heading from ##### to *****

The commit also has a typo fix.

Signed-off-by: Ahmed Adel <a.adel2010@gmail.com>
2024-11-15 08:09:53 -06:00
Jilay Pandya a482884751 doc: release: doc stepper API as major enhancement
Add entry in "Major enhancements with this release include:" for
stepper device driver subsystem.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-11-15 08:09:39 -06:00
Lukasz Mrugala 7092335c11 doc: Add information on Twister Statuses
Currently, Twister Statuses are only useful for
the initiated, save for the very basics.
This is in opposition to the fact
that they are the main thing end users take into
account when checking their Twister run reports.

In order to make Statuses more useful for the end user,
a new documentation page has been created,
elucidating the full meaning of all Statuses.

Signed-off-by: Lukasz Mrugala <lukaszx.mrugala@intel.com>
2024-11-15 08:09:28 -06:00
Jilay Pandya 5f418f506c docs: contribute: documentation: generation: fix missing doc
fix the path where the user has to be in order to execute make html-fast

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-11-14 20:37:45 -06:00
McAtee Maxwell 2fe4a37f38 Documentation: Update documenation for Infineon boards
-Update formatting and contents of index.rst for cy8ckit_062s4
	-Update formatting and contents of index.rst for cy8ckit_064s0s2_4343w
	-Update formatting and contents of index.rst for cy8cproto_062_4343w
	-Update formatting and contents of index.rst for cy8cproto_063_ble
	-Update formatting and contents of index.rst for xmc45_relax_kit
	-Update formatting and contents of index.rst for xmc47_relax_kit
	-Change all instances of "PSoC" to "PSOC" for infineon platforms

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2024-11-14 20:36:38 -06:00
Flavio Ceolin 422a41ddc1 MAINTAINERS: Add Bjarki as pm co-maintainer
Add bjarki-andreasen as second maintainer for power management.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2024-11-14 20:36:21 -06:00
Mark Holden 94c1079560 arch: arm: Don't use STKALIGN mask on ARMv8-M Baseline
The STKALIGN mask is not present for CONFIG_ARMV8_M_BASELINE as
well as CONFIG_ARMV8_M_MAINLINE. So filter out that check when
setting the sp for ARM core dumps.

Signed-off-by: Mark Holden <mholden@meta.com>
2024-11-14 17:27:17 -06:00
Nazar Palamar 7e1b00d35e Infineon: board: remove CONFIG_GPIO from defconfigs
Remove CONFIG_GPIO from defconfigs for Infineon boards.
Applications, drivers will enable GPIO if need.

Added 'select GPIO' from spi/Kconfig.ifx_cat1
Added 'select GPIO' from wifi/infineon/Kconfig.airoc

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-11-14 17:27:06 -06:00
Nazar Palamar 44aa6f11a6 cy8ckit_062_ble: board: moved uart-6 to common dts for m4
Moved uatr6 to common dts for m4

- cm0 uses uart-5 in ver 0.0.0 and uart-5 in ver 1.0.0 (for
using of Arduino headers).

- cm4 by default uses uart-2 (for ver 0.0.0 and ver 1.0.0)

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2024-11-14 17:27:06 -06:00
Phi Bang Nguyen c872b49ab0 doc: release-notes-4.0: Add tracked issue for video-interface bindings
Add link to the track the migration to the new video-interfaces
bindings.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-11-14 12:41:36 -06:00
Phi Bang Nguyen da8de0945a doc: release-notes-4.0: Add fixed chicken-egg issue on NXP RT10xx
Add the chicken-egg issue on init order for the camera pipeline on NXP
RT10xx platforms

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-11-14 12:41:36 -06:00
Phi Bang Nguyen 3dff1a0a6f doc: release-notes-4.0: Add camera colorbar pattern test
This is added via PRs #79337 and #79263 to automatically check if a
colorbar pattern generated by a camera pipeline is correct or not.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-11-14 12:41:36 -06:00
Benjamin Cabé 4ddef9fc0f boards: lilygo: adopt new zephyr:board directive and role
This updates the documentation of all the LilyGO boards to use
the new `zephyr:board::` directive.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-11-14 12:41:19 -06:00
Ricardo Rivera-Matos a88af572f4 doc: releases: 4.0: Adds Haptics notes
Introduces haptics subsystem and DRV2605 support in the release notes.

Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
2024-11-14 12:41:09 -06:00
Bjarki Arge Andreasen 2f81bbbdf8 doc: release: doc comparator API as major enhancement
Add entry in "Major enhancements with this release include:" for
comparator device driver subsystem.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-11-14 12:40:59 -06:00
Johann Fischer d0ea9d5243 doc: release-notes-4.0: add release notes for USB
Add release notes for USB support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-11-14 12:40:50 -06:00
Luca Burelli 07df2c5d5e soc: sensry: sy1xx: add support for LLEXT build
The linker script for this SoC was not including the LLEXT section
definitions when CONFIG_LLEXT was enabled. This patch adds the
necessary include directive to the linker script and fixes the build
issue identified by CI.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-11-14 11:01:27 -06:00
Aksel Skauge Mellbye 7f8b531d4c drivers: serial: gecko: Fix build error on Series 0
Series 0 does not have the TXIDLE status flag. The closest equivalent is
TXC, but it isn't set until the first transmission completes, and is
therefore not safe to use in PM suspend without also separately keeping
track of whether the driver has ever initiated a transmission. For now,
disable the TXIDLE check on devices that don't support it as a minimal
fix for the observed build error. This is effectively equivalent to
reverting the addition of PM support for these devices only. Since these
devices don't have a low-power system timer implementation anyway, the
lack of PM handling does not hurt anything.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-11-14 11:01:17 -06:00
Luca Burelli 876b44d150 soc: mediatek: mt8195_adsp: add support for LLEXT build
The linker script for this SoC was not including the LLEXT section
definitions when CONFIG_LLEXT was enabled. This patch adds the
missing include directive to the linker script.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-11-14 11:01:07 -06:00
Fabio Baltieri f7ff83079f github: west_cmds: add missing anytree package
Add missing anytree package, runners started to fail on it:

../pylib/twister/twisterlib/runner.py:60: in <module>
    from anytree import Node, RenderTree
E   ModuleNotFoundError: No module named 'anytree'

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-11-14 09:51:06 -05:00
Laurentiu Mihalcea c0a0e6a388 doc: release-notes-4.0: add release notes for firmware subsystem
Includes notes on SCMI's introduction.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-11-13 21:14:05 -06:00
TOKITA Hiroshi 9e51f1a754 drivers: sensor: mmc56x3: Fixed an error in include-guard
Fixed definitions duplicated with those in
`include/zephyr/drivers/sensor/tsl2591.h`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-11-13 19:11:25 -08:00
TOKITA Hiroshi 241c7b3fb7 arch: arc: Fixed an error in include-guard
Fixed definitions duplicated with those in
`include/zephyr/arch/xtensa/arch_inlines.h`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-11-13 19:11:25 -08:00
Yong Cong Sin 408c151282 tests: arch: riscv: make sure that `gp` reg can't be corrupted
Add a test to make sure that the `gp` global pointer register used for
relative addressing when `CONFIG_RISCV_GP` is enabled can't be
corrupted by a rogue user thread.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-11-13 19:08:54 -08:00
Yong Cong Sin e30db2d53f arch: riscv: reset global pointer on exception
Reset the gp on exception entry from u-mode to protect the kernel
against a possible rogue user thread.

Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-11-13 19:08:54 -08:00
Yong Cong Sin de3a845612 arch: riscv: add macro to access hardware registers
Add macros to read / write hardware registers.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-11-13 19:08:54 -08:00
Jimmy Zheng d267402404 tests: drivers: build_all: eeprom: fix label name conflict
Renamed the label of 'ti_tmp116_eeprom@0' node because 'eeprom' label name
already exists in some boards, such as adp_xc7k/ae350, bytesensi_l,
same54_xpro.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2024-11-13 19:08:41 -08:00
Mahesh Mahadevan d9bfdaf996 bluetooth: kconfig: Remove deprecated config
Remove deprecated Kconfig BT_MESH_PROV_DEVICE

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-11-13 19:08:29 -08:00
Mahesh Mahadevan 7498329d59 random: remove deprecated rand32.h
Header file was kept for 2 releases, time to remove it.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-11-13 19:08:11 -08:00
Anas Nashif 9f5ef47184 ci: twister: also report filtered instances
For statistical purposes and to improve over all coverage, report
filtered suites so we can see trends in elasticsearch and act on them.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-11-13 20:04:04 -05:00
Sylvio Alves 40cd35e56d west.yml: espressif: fix mcuboot assert in hal
Espressif contains mcuboot calls for loading image.
This fixes the way assert call is included in that scenario.

Fixes #81351

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-11-13 13:36:27 -06:00