Commit Graph

118879 Commits

Author SHA1 Message Date
Alberto Escolar Piedras
2b18fc8348 native_sim_reboot: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this component.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
e6dbe45304 drivers fake_entropy_native_sim: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
e7d228a2b1 drivers/flash: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
8270444a4d subsys/fs/fuse_fs_access: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
7e1f2ffe00 boards/native docs: Remove note on NATIVE_APPLICATION
As we do not include any support in tree for this mode, we do not need
to warn in the documentation that it does not apply to it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
f5bc01beae include/zephyr/linker/common-rom: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support building the constructors and initialization arrarys
in a way that support it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
af750b2b41 subsys/tracing/backend_posix: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
13f1e92037 drivers/serial/TTY & PTTY: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
6e923834e6 drivers/input sdl & evdev: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
0ec02c1873 drivers/gpio/sdl: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
0d87d5f5b4 drivers/ethernet/native_tap: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
848e5c53b9 drivers/display sdl: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
e7e8216661 drivers/can/can_native_linux: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
86d8853fd5 boards native SDL integration: Remove NATIVE_APPLICATION support
It is not possible to build anymore in that mode, so we do not
need to support it in this driver cmake files.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
e150ffb92c arch/posix: Remove support for CONFIG_NATIVE_APPLICATION
CONFIG_NATIVE_APPLICATION, which represents the way in which
native_posix and its kin were built, was deprecated in 4.1 after the
introduction of native_sim and CONFIG_NATIVE_LIBRARY.

We remove support for it now for 4.3.

Let's remove the architecture layer adaptation code and cmake support.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
35ba7dbdf7 tests/lib/c_lib/thrd: Remove filter on NATIVE_APPLICATION
It is not possible to build anymore in that mode, so this filter
is not needed.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
d4c52b2ac4 samples/posix/philosophers: Remove filter on NATIVE_APPLICATION
It is not possible to build anymore in that mode, so this filter
is not needed.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
0cb474a338 include toolchain mwdt.h: Fix old comment
This ifdef was changed to use another kconfig option, but
the comment in the endif was forgotten, let's fix it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Alberto Escolar Piedras
e5db1f7f4a Kconfig: Remove NATIVE_APPLICATION option
CONFIG_NATIVE_APPLICATION, which represents the way in which
native_posix and its kin were built, was deprecated in 4.1 after the
introduction of native_sim and CONFIG_NATIVE_LIBRARY.

We remove support for it now for 4.3.

Let's remove the kconfig option and all dependencies in the kconfig
tree.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-19 09:38:15 +02:00
Daniel DeGrasse
413b789deb release: Zephyr v4.2.0
Set the version to v4.2.0

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 18:17:09 -05:00
Daniel DeGrasse
5c388ea80b release: update security policy to include 4.2
Update security policy documentation to indicate 4.2 is the latest
version, and drop 4.0 from the supported versions

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 18:17:09 -05:00
Daniel DeGrasse
bde3e6929b doc: release: Finalize v4.2.0 release notes and migration guide
Remove working draft status from the v4.2.0 release notes and migration
guide.

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 18:17:09 -05:00
Daniel DeGrasse
dd20c8e210 doc: release: Remove v4.0.0 from the list of supported releases
Only the two most recent mainline releases are supported.

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 18:17:09 -05:00
Daniel DeGrasse
8178c87c1c doc: release: add v4.2.0 to the list of supported releases
Add 4.2.0 to the supported release, EOL to the tentative 4.4 release
date.

Signed-off-by: Dan Kalowsky <dkalowsky@amperecomputing.com>
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 18:17:09 -05:00
Daniel DeGrasse
1ba9504811 doc: releases: enforce sorting of entries
Enforce sorting of entries, using zephyr-keep-sorted. This will make
sure that entries don't get out of order again within the release notes
or migration guide by throwing a compliance error.

Note that autogenerated areas do not have this enforcement enabled.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 09:35:31 -07:00
Daniel DeGrasse
f821de4d88 doc: releases: 4.2: clean up entry order
Clean up order of entries to be alphabetically sorted in the "new apis"
section

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 09:35:31 -07:00
Daniel DeGrasse
db64d7bd5f doc: releases: migration-guide: clean up entry order
Clean up order of entries in the migration guide to be alphabetical.
Combine two duplicate regulator sections, and move driver sections
mistakenly placed under networking where they ought to be.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-07-18 09:35:31 -07:00
Erwan Gouriou
4ab5efc87d release-notes: 4.2: Add a clarification on a new compatible
Clarify the introduction of st,stm32-ethernet-controller compatible
so that reader could not understand that this is the introduction of
STM32 ethernet (while it is only dts shenanigans).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-07-18 09:38:39 -05:00
Abderrahmane JARMOUNI
366d45fd34 doc: release-notes-4.2: Add Display notable changes
Add Display notable additions in 4.2 release.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-07-17 17:36:40 -10:00
Abderrahmane JARMOUNI
a1455b4dfc doc: release-notes4.2: Add LVGL notable changes in Zephyr
Add LVGL notable changes in Zephyr

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-07-17 19:03:41 -05:00
Benjamin Cabé
62ffbb0127 doc: releases: 4.2: Consolidate release highlights
Add twister power harness mention
Use same structure as the one used for 4.1

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-07-17 19:03:28 -05:00
Benjamin Cabé
d9045ea467 twister: doc: add anchors for various harness sections
Make it possible to cross reference documentation for various harnesses
by adding target locations.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-07-17 19:03:28 -05:00
Benjamin Cabé
b46b41dd79 doc: releases: 4.2: Misc. typo and spelling fixes
General clean up of small typos and other trivial fixes.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-07-17 19:03:28 -05:00
Krzysztof Chruściński
8fa515419c doc: releases: Add note about de-deprecation in Nordic UART driver
Add note in release notes for v4.2 about de-deprecation of
CONFIG_CONFIG_UART_x_NRF_HW_ASYNC option.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-07-17 12:46:31 -10:00
Krzysztof Chruściński
08f14961fe drivers: serial: nrfx_uarte: Improve UART_NRFX_UARTE_ENHANCED_RX dependency
Enhanced RX cannot be used when UART_x_NRF_HW_ASYNC is used so changing
default value to depends on.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-07-17 12:46:31 -10:00
Krzysztof Chruściński
3c9389650e Revert "drivers: serial: nrfx_uarte: Deprecate CONFIG_UART_x_NRF_HW_ASYNC"
This reverts commit 384e940c66.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-07-17 12:46:31 -10:00
Krzysztof Chruściński
eb996924fb drivers: serial: nrfx_uarte: use ifdef instead of IS_ENABLED
In certain configurations timeout field is not present in the
data structure so preprocessor ifdef must be used instead of
compiler check.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-07-17 12:46:31 -10:00
Etienne Carriere
72dc0e5f0a doc: migration: 4.2: Note on STM32 TF-M BL2 HW crypto
Add a note about STM32 boards TF-M BL2 bootloader that do not embed
HW crypto drivers since migration to TF-M v2.2.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-07-17 11:29:53 -05:00
Stephanos Ioannidis
31ef45e2f1 ci: maintainer_check: Use zephyrbot token
This commit updates the maintainer check workflow to use the zephyrbot "PR
assigner" token with `org:read` permission because the default workflow
token is not able to retrieve organisation-level user membership
information.

Note that the workflow trigger condition is changed from `pull_request` to
`pull_request_target` because non-workflow secrets may not be accessed from
`pull_request` trigger for security reasons.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-07-17 11:29:36 +09:00
Stephanos Ioannidis
63bf487a56 ci: assigner: Use zephyrbot token
This commit updates the pull request assigner workflow to use the zephyrbot
token instead of the workflow token.

Note that the workflow token, by design, cannot access the
organisation-level user membership information, and may cause the assigner
script to return `Skip 'user': not in collaborators` even for valid
collaborators.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-07-17 11:29:36 +09:00
Gaetan Perrot
eb06ff8d3a docs: raspberrrypi: rpi_pico: Fix broken RP2040 datasheet link
The RP2040 datasheet link in the rpi_pico board documentation was broken.

It has been updated to point to the correct location.

This change ensures consistency and prevents confusion, while keeping the
useful reference to the official RP2040 documentation.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2025-07-16 16:41:25 -05:00
Derek Snell
8022e29c0c doc: boards: nxp: mimxrt700_evk: add boot switch details
Document SW10 to boot from default flash.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-07-16 16:41:12 -05:00
Maksim Salau
7ab9d8b668 doc: migration: 4.2: Add Modbus related notes
Add notes regarding changes in Modbus  serial mode configuration.

Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
2025-07-16 16:41:02 -05:00
Jeppe Odgaard
2e14671749 doc: services: storage: fcb: remove deprecated settings recommendation
The recommended back-end depends on the use case. There exists another note
(recommendation) in doc/services/storage/settings/index.rst which is up to
date.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-07-16 16:40:43 -05:00
Anas Nashif
e3278012e4 memmgmt: doc: replace Memory-Attr with Memory Attributes
No need to use abbriviated form here, just spell it out.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-16 16:39:59 -05:00
Tim Pambor
51989cbe0a twister: Fix exception if twister fails to create symlink
This fixes a typo in the formatting code that caused an exception
if the symlink creation failed.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-07-16 16:39:47 -05:00
Anas Nashif
1a7ce3f45e Revert "init: Make entry init-function less and introduce service objects"
This reverts commit 175da6bdb0.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-16 16:39:36 -05:00
Anas Nashif
7d3a33afd4 Revert "scripts: Removing init function pointer from check_init_priorities.py"
This reverts commit 653f1bf123.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-16 16:39:36 -05:00
Anas Nashif
f2a9bf968d Revert "tests: misc: Fixing expected output on check_init_priorities test"
This reverts commit c341f5389d.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-16 16:39:36 -05:00
Anas Nashif
91cf77f013 Revert "cmake: Add service section to commo-rom linker generator"
This reverts commit 49a96f67a2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-16 16:39:36 -05:00