Commit graph

99,250 commits

Author SHA1 Message Date
Andrzej Głąbek
4250309cda doc: release: Add v3.7 notes for I2S, PWM and Nordic related stuff
Add notes for Nordic HAL and a few more entries for I2S and PWM drivers,
as well as for Nordic SoCs and boards.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-07-17 16:17:48 -04:00
Krzysztof Chruściński
e36357ccfe doc: releases: Add cbprintf release notes
Add release notes for 3.7 for cbprintf.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-07-17 16:17:31 -04:00
HaiLong Yang
cb17f5f5a4 doc: release-notes-3.7: gd32 notes
Some incorrect gd32 implement is fixed in this release.

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2024-07-17 13:18:36 +02:00
Fyall Ian (CSS ICW SW MTO INT)
02acb4bc65 docs : Infineon Release Notes for Zephyr 3.7.
Add Infineon CYW20829 SoC and board information to release notes for
Zephry 3.7.

Signed-off-by: Fyall Ian (CSS ICW SW MTO INT) <ian.fyall@infineon.com>
2024-07-17 13:17:55 +02:00
Andries Kruithof
3828c8b86a Documentation: Bluetooth: audio: add table for profile dependencies
Added tables for showing the dependencies of profiles on other
profiles and services

Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
2024-07-17 08:25:51 +02:00
Daniel Leung
f7f1e222d2 doc: release-notes/3.7: bits about Intel Audio DSP
There is one externally visible change which affects
the process of booting the audio DSP from the host,
where dedicated registers are now used to communicate
the boot status instead of using arbitrary memory
locations. This affects the ACE family of audio DSP.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-07-17 08:25:15 +02:00
Daniel Leung
37adf88b2d doc: release-notes/3.7: a word about thread stack size
The declaration of statically allocation stacks have been
updated to use another macro, which also unifies both
single stack declaration and array stack declaration.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-07-17 08:25:15 +02:00
Daniel Leung
e547d356b0 doc: release-notes/3.7: on demand paging
Adds some bits on demand paging and eviction algorithm as
the logic of NRU has changed, and LRU introduced.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-07-17 08:25:15 +02:00
Wilfried Chauveau
2418d229e9 doc: releases: add some Arm entries to v3.7 notes
This adds a few noticeable entries for Arm architectures.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2024-07-16 16:52:25 -04:00
TOKITA Hiroshi
7243ea9f4b doc: release-notes-3.7: Update LED Strip notes
Add an explanation for the ``CONFIG_WS2812_STRIP_DRIVER`` deletion.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-07-16 16:51:23 -04:00
Jason Kridner
b8c1881416 doc: release-notes-3.7: Beagle notes
Add notes on updates to support for BeagleBoard.org boards.

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
2024-07-16 16:49:42 -04:00
Tom Burdick
9f85a70a04 doc: Revamp sensor docs
Docs now start at a high level, discussing sensors, attributes,
channels, and reading data from them.

Followed by more detailed usage guides in how to solve common problems
sensor users may run into.

Additionally renames the sensor_api sphinx tag to sensor

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-16 16:49:24 -04:00
Tom Burdick
2979cf5efb doc: Relabel sensing doc
The sensing_api label wasn't really connected as a whole guide to
sensing. Relabel sensing.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-16 16:49:24 -04:00
Tom Burdick
3a1865ebeb doc: Relabel rtio section
It's more than just an API doc and the label was longer than needed,
shorten to rtio as a doc label.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-16 16:49:24 -04:00
Alberto Escolar Piedras
c346c77a2a soc/espressif/esp32c6: Do not set HAS_PM or HAS_POWEROFF
The source files required for this features are not present
in the tree for this SOC.
So if CONFIG_PM or CONFIG_POWEROFF are enabled, there would
be a cmake failure.

Let's just indicate these features are not supported in
kconfig.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-16 12:53:09 -04:00
Declan Snyder
64b2c263f2 MAINTAINERS: Add kconfig preprocessor doc to DT
Since the kconfig preprocessor functions are under the devicetree
maintainance area, the documentation for them probably should be too.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-07-16 18:17:34 +02:00
Declan Snyder
42f77ef836 doc: kconfig: Add missing preprocessor functions
Add preprocessor functions missing from the documentation list.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-07-16 18:17:34 +02:00
Jamie McCrae
3418b53173 doc: release: 3.7: Add notes on build system changes
Adds details of fixes in the build system area

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-07-16 18:17:08 +02:00
Rodrigo Peixoto
78e10ddb92 doc: release-notes-3.7: additions for zbus
Add zbus changes on release notes for Zephyr v3.7.0.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
2024-07-16 18:16:37 +02:00
Flavio Ceolin
596ef0a519 doc: release-notes-3.7: Power management notes
This adds some bits about additions and improvements on Power
Management.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-07-16 10:22:12 +02:00
Andy Sinclair
7f5d2d7617 doc: release-notes: mfd and regulator release notes
Added release notes for mfd and regulators

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2024-07-16 10:19:26 +02:00
Maureen Helm
49d0382016 doc: release: Add sensor notes for v3.7.0
Adds release notes for notable changes and new sensor drivers introduced
since the last release. Organizes changes by sensor vendor to reflect
similar changes made in the tree.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-07-16 10:19:16 +02:00
Maureen Helm
e1f5b6a51f doc: release: Add ADI notes for v3.7.0
Adds release notes for new ADI SoCs, drivers, and boards introduced
since the last release.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2024-07-16 10:19:16 +02:00
Yannis Damigos
d2a4522250 tests: uart_elementary: Correct typos
Correct typos in uart_elementary test

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
2024-07-15 15:15:36 -04:00
Gerard Marull-Paretas
0cfb8a4d10 doc: toolchains: zephyr: remove mentions to M1
Apple has released other processors, e.g. M2 or M3, so Apple Silicon is no
longer a synonym of M1.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-15 15:12:48 -04:00
Yves Vandervennet
79caaee2c7 doc: release: 3.7: NXP's contributions
updated release notes and migration guide

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-07-15 15:12:32 -04:00
Tomi Fontanilles
50c03e9bbe modules: mbedtls: fix MBEDTLS_PSA_P256M_DRIVER_RAW Kconfig option
Make it depend on MBEDTLS_PSA_P256M_DRIVER_ENABLED instead of
selecting it.

This fixes the build of
tests/crypto/secp256r1/crypto.secp256r1.p256-m_raw on filtered-out
platforms since PR #75441 (83cd9f5a01).

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-07-15 10:36:58 -04:00
Alberto Escolar Piedras
fd0e46506f release: Zephyr v3.7.0-rc3 v3.7.0-rc3
Set the version to v3.7.0-rc3

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-13 14:07:16 -04:00
Anas Nashif
74a7502fa2 west: update altera hal
Do not build HAL uart driver, use in-tree driver instead.

Fixes #75837

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-07-13 10:47:22 -04:00
Luis Ubieda
7d9ff8bcb4 rtio: workq: Initialize Work item before using it
As the items come from the memory slab, their initialization state
can't be guaranteed. This is causing some devices triggering an assert
in p4wq where the item's thread is not null (not zero).

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2024-07-13 10:27:58 -04:00
Jonathan Rico
792ae68165 Bluetooth: host: Use correct user_data size for hci_rx_pool
`struct acl_data` is used even when Host flow control is not enabled.
It is written to through the `acl(buf)` accessor in `conn.c:hci_acl()`.

Hopefully no netbufs were harmed by that :/

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2024-07-13 10:25:31 -04:00
Tomi Fontanilles
2e012668e9 modules: tf-m: nordic: fix unused CMake variable warning
Follow-up to d830446c91 that removed
the use of ${ZEPHYR_BASE}.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-07-12 20:39:26 -04:00
Tomi Fontanilles
fe69a406cd modules: tf-m: fix innocuous build warning
This removes the TF-M CMake warning "Actual TF-M version is not
available from Git repository.  Settled to v2.1.0" which always
got triggered because Zephyr's TF-M repo does not have the upstream
Git tags.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-07-12 20:39:26 -04:00
Jordan Yates
46167e3234 samples: tfm: add build_config sample
Add a sample that can test various TF-M build options. For now we only
test `CONFIG_TFM_BL2=n` and `CONFIG_TFM_MCUBOOT_IMAGE_NUMBER=1`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-07-12 20:38:49 -04:00
Jordan Yates
1bbfbef88d modules: tfm: fix TFM_MCUBOOT_IMAGE_NUMBER == 1
Fix builds with `CONFIG_TFM_MCUBOOT_IMAGE_NUMBER=1`. The merged binary
should be signed with the same argumements as a secure build, not a
non-secure build, except with a different layout file generated by the
TF-M build system.

Fixes #68345.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-07-12 20:38:49 -04:00
Yong Cong Sin
0155c6f87f lib/libc: minimal: remove deprecated headers
This headers have been deprecated for > 2 releases,
remove them.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-07-12 20:38:20 -04:00
Erik Tamlin
c2e0c43559 manifest: update percepio
Update the percepio module to use TraceRecorder v4.9.2

Signed-off-by: Erik Tamlin <erik.tamlin@percepio.com>
2024-07-12 20:37:52 -04:00
Stefan Schwendeler
5feb028512 modules: hal_nordic: defines NRF_CONFIG_NFCT_PINS_AS_GPIOS for nRF54L15
Currently, the NFCT pins cannot be used as GPIOs on the nRF54L15 MCU
because the Nordic HAL for this MCU uses the new upcoming `NRF_CONFIG_`
style configuration settings for this MCU.
To support all nRF5x MCUs, the old configuration is still required
because Nordic didn't update their MDK entirely to the new style.

Signed-off-by: Stefan Schwendeler <Stefan.Schwendeler@husqvarnagroup.com>
2024-07-12 16:11:44 -04:00
Gerard Marull-Paretas
092fc2c706 doc: release-notes: add device model changes
Most notable changes are DT metadata and deferred initialization.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-12 16:11:15 -04:00
Gerard Marull-Paretas
57b08634bc doc: release-notes: add pinctrl relevant changes
List new drivers and relevant updates.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-12 16:11:15 -04:00
Gerard Marull-Paretas
5e082fe855 doc: release-notes: add nRF54H20 changes
- PDK to DK migration
- PPR now runs from RAM, there's a xip variant.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-12 16:11:15 -04:00
Gerard Marull-Paretas
1c8e46bb23 doc: release-notes: group all board additions/changes
Since the introduction of HWMv2, boards can have multi-arch SoCs (e.g.
nRF54), so changes to these kind of boards do not have a clear place
now. Simply group all of them together.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-12 16:11:15 -04:00
Gerard Marull-Paretas
ac618678c7 boards: nrf54h20: extend and fix documentation
- Add PPR core information
- Fix flash/debugging information (nrfutil required now, debugging
  limited to app/radio core using JLink)

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-07-12 16:11:15 -04:00
Anas Nashif
4139f2ed60 MAINTAINERS: add bugs scripts to CI
Add script to an area and ignore in twister CI.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-07-12 16:10:13 -04:00
Anas Nashif
47aa08026f ci: scripts: do not count PRs labeled as bug in snapshot
Doing duplicates count of bugs, a PR fixing a bug is not a bug report.
Many PRs fixing an open bug are labeled with 'bug' and thuse are being
counted twice.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-07-12 16:10:13 -04:00
Tavish Naruka
ca02651f01 toolchain: gcc: fix SECTION_DATA_PROLOGUE for XIP
Current if CONFIG_XIP is enabled, then ALIGN_WITH_INPUT and the align
argument to SECTION_DATA_PROLOGUE are set together, and that is not a
valid option combination; if ALIGN_WITH_INPUT is present, then the
section's LMA alignment is inherited from the previous section, and that
cannot be combined with another alignment option.

The background for this line is in the following commit:
6b3c5e8bb2

Additionally, this is the documentation from ld:

(from https://sourceware.org/binutils/docs/ld/Forced-Output-Alignment.html)

> 3.6.8.3 Forced Output Alignment
>
> You can increase an output section’s alignment by using ALIGN. As an
> alternative you can enforce that the difference between the VMA and
> LMA remains intact throughout this output section with the
> ALIGN_WITH_INPUT attribute.

Signed-off-by: Tavish Naruka <t-naruka@ispace-inc.com>
2024-07-12 16:09:36 -04:00
Jimmy Zheng
7802fffc7f drivers: interrupt_controller: nuclei_eclic: do not modifiy trap entry
RISC-V trap entry is handled in soc/common/riscv-privileged/vector.S.
Remove the redundant modification in CLIC driver.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2024-07-12 16:09:22 -04:00
Jimmy Zheng
f989ed949a driver: interrupt_controller: nuclei_eclic: fixed interrupt level
CLIC should be the first level interrupt controller because it replaces
the basic RISC-V local interrupt.
The interrupt level in CLIC controls preemption between IRQs, rather than
specifying the number of nested interrupt controllers.
Removed CONFIG_MULTI_LEVEL_INTERRUPTS and the incorrect interrupt level.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2024-07-12 16:09:22 -04:00
Bjarki Arge Andreasen
ee69e9fadf drivers: sensor: voltage_divider: revert patch
A patch was added to the voltage divider to handle an erroneous
negative voltage reading for the nrfx_saadc which could return
negative voltages even though the ADC mode was single ended.

This has now been patched in the ADC driver.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-07-12 19:50:27 +02:00
Bjarki Arge Andreasen
940daa615a doc: release notes: add adc_nrfx_saadc patch note.
Add note describing patch which fixes issue which allowed negative
readings in single-ended mode.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-07-12 19:50:27 +02:00