Commit Graph

122485 Commits

Author SHA1 Message Date
Make Shi
0835fdca08 Bluetooth: AVRCP: Implement Pass Through command reception on TG
Add a new callback to support the situation when a Pass Through command
is received, and add an API to respond to the Pass Through command.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-09-15 12:07:30 +02:00
Make Shi
33406d50c8 Bluetooth: Shell: AVRCP: support subunit info request and response
Add avrcp_subunit_info_req callback function in shell and a command to set
the subunit info response.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-09-15 12:07:30 +02:00
Make Shi
ae5a380659 Bluetooth: AVRCP: Implement subunit message reception on the AVRCP TG
Add a new callback to support the situation when a subunit info command
is received, and add an API to respond to the subunit info command.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-09-15 12:07:30 +02:00
Make Shi
21ed38526d Bluetooth: AVCTP: support fragmented packet transmission and reception
- Implemented fragmented packet handling for AVCTP protocol
- Refactored AVCTP header structure to support multiple packet types
- Enhanced AVCTP send logic with packet segmentation support
- Updated AVRCP integration to support new AVCTP fragmented flow

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-09-15 12:07:30 +02:00
Alberto Escolar Piedras
1bc914a565 doc: project_roles: Fix table of permissions wrt admin rights
Release engineers do not need and do not have admin rights.
Let's just fix this table removing that cross.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-09-15 10:31:38 +02:00
Pieter De Gendt
8f7908694a arch: common: nocache.ld: One nocache MPU region
Combine the load and noload cache regions for a single MPU aligned block.
This is required to have an MPU region with a size that is a power of 2.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-15 10:31:13 +02:00
Arthur Gay
ef9d9531fd dts: arm: st: stm32h7rs: remove flash controller clock property
Bit 8 of AHB3 is reserved, there is no clock-enable bit for the flash
controller according to the Reference Manual.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-09-15 10:30:51 +02:00
Daniel Leung
44cce5968d tests: kernel/smp: disable torture test for Intel audio DSP sim
This sets the run factor for Intel audio DSP simulators to zero.
The simulator is pretty much serialized so SMP switching torture
does not really test concurrent operations, and they are taking
too much time causing timeouts on CI. So sets the run factor to
zero to disable the switch torture test.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-15 10:30:31 +02:00
Flavio Ceolin
181405ffc3 tests: syscalls: Reduce sleep time on Intel audio DSP simulators
Reduce the sleep time in the torture test for Intel audio DSP
simulator. The current amount of time makes this test to take
a long long time to finish causing problems on CI.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-15 10:30:31 +02:00
Daniel Leung
d7a45a29b0 tests: benchmarks/latency: limit CPU to 1 for Intel ADSP ACE4.0
Due to addition of busy threads running on other cores, and
the simulator runs in single thread bouncing through all cores,
we are wasting quite a bit of time just busy waiting. This makes
each simulator run too long for CI. So limit CPU number to 1.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-15 10:30:31 +02:00
Ayush Singh
46a532c065 samples: subsys: logging: dictionary: Disable for pb2 m4
The new I-RAM and D-RAM layout for pb2 m4 is not compatible with
devnull. So do not have the tests for pb2.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-15 10:30:13 +02:00
Ayush Singh
b2ac32254a boards: beagle: pocketbeagle_2: Support splitting code and data section
The M4F allows concurrent fetch for instruction code and data via dedicated
buses (I-Code and D-Code, respectively).

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-15 10:30:13 +02:00
Ayush Singh
0a9d6b8441 dts: arm: ti: Unify I-RAM and D-RAM
The MCU_M4FSS has a total of 256KB of SRAM divided into two banks: 192KB
of I-RAM, and 64KB of D-RAM. The I-RAM memory is intended mainly for M4F’s
instruction code, and D-RAM for M4F’s data. The M4F allows
concurrent fetch for instruction code and data via dedicated buses (I-Code
and D-Code, respectively).

The MCU_M4FSS supports unified memory for both banks (I-RAM and D-RAM),
which means instruction code and data can be placed in any bank. Since CM4
converts unaligned accesses into word-aligned accesses internally, cross
RAM access also work fine in unified memory mode.

By having a single parent node for SRAM, we allow both operating modes,
i.e. separate I-RAM and D-RAM and unified SRAM easily.

Also fixed the incorrect D-RAM address.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-15 10:30:13 +02:00
Amneesh Singh
8fd366e2ff dts: am64x: add remaining SPI nodes
Add all the SPI nodes supported by the platform. Currently only main_mcspi0
is present.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2025-09-15 10:29:56 +02:00
Grzegorz Chwierut
bf2378e36b twister: scripts: sharing of built applications
This feature enables sharing of built applications between test
scenarios, allowing tests to access build artifacts from other
applications.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-09-15 10:29:40 +02:00
Stefan Giroux
6cb06cdd08 drivers: sam0: dac: add sam0 dac support to samc21 processors
The SAMC21 has a different revision of the DAC peripheral.
This change adds an ifdef to handle the changed SYNCBUSY register.

Signed-off-by: Stefan Giroux <stefan.g@feniex.com>
2025-09-15 10:29:10 +02:00
Stefan Giroux
eb9d5c2e23 dts: atmel: sam0: dac: enable dac driver for SAMC21
This is only present in the SAMC21 soc

Signed-off-by: Stefan Giroux <stefan.g@feniex.com>
2025-09-15 10:29:10 +02:00
Richard Yim
de1673a80b drivers: uhc: uhc_mcux_common: add direction handling for non-setup packets
added logic to determine the direction of USB transfers for non-setup
packets using the endpoint direction. This ensures proper handling of
USB_IN and USB_OUT directions.

Signed-off-by: Richard Yim <richardyim@ami.com>
2025-09-15 10:28:43 +02:00
Anthony Williams
6614a3a9aa sensors: Add missing const to sensor_read_async_mempool
Add missing const on `struct rtio_iodev *iodev`
The blocking version, sensor_read(), as well as
rtio_sqe_prep_read_with_pool() which accepts
struct rtio_iodev are both marked as const.
This function should also be marked const.

Signed-off-by: Anthony Williams <anthony289478@gmail.com>
2025-09-14 21:53:45 +02:00
Chris Friedt
4cac864b35 tests: posix: xsi_single_process: reduce min ram to 16 kiB
The `qemu_cortex_m0/nrf51822` platform only has 16 kiB of RAM. However,
`qemu_cortex_m0` is listed as one of the integration platforms for this
testsuite and the `newlib` test configuration listed a `min_ram` of 24.

Decrease the minimum ram for that platform (universally) down to 16 kiB
so that all of the test configurations can run, thus avoiding the false
positive error condition in twister.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-09-14 21:53:23 +02:00
Chris Friedt
1bccaeea96 arch: arm64: core: include kernel_arch_func.h to mitigate warning
A warning was promoted to error in twister runs due to implicit
declaration of the function `z_arm64_safe_exception_stack_init()`.

Include `kernel_arch_func.h` in `prep_c.c` to mitigate the warning.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-09-14 11:11:21 -04:00
Maciej Kusio
df40dff6fb arch: xtensa: clean up interrupt handling
Simplifying flow of handling interrupts:
- removing all _soc_inthandlers.h
- removing xtensa_intgen*
- removing XTENSA_GEN_HANDLERS Kconfig
- keeping optimized irq detection
- single handler with irq level as parameter

Signed-off-by: Maciej Kusio <rysiof@gmail.com>
2025-09-14 17:02:20 +02:00
Camille BAUD
885329cc1d boards: bflb: Add gpio capability to boards
Adds the gpio entry in supported for tests

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-14 17:02:11 +02:00
Camille BAUD
ba00420b01 boards: bflb: ai_wb2_12f: add buttons and leds
add the available button and leds

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-14 17:02:11 +02:00
Camille BAUD
b640228691 drivers: gpio: Add BL60x and BL70x GPIO driver
Adds the gpio driver for BL602, 604, 702, 704, 706

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-14 17:02:11 +02:00
Camille BAUD
e5384cf791 dts: bflb: Update GPIO nodes for bl70x and bl60x
Rename node to reflect specificity, remove unused

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-14 17:02:11 +02:00
Stoyan Bogdanov
84de5b8417 samples: sensors: bme280: Add lp_em_cc2340r5 overlay
Add lp_em_cc2340r5 overlay in bme280 sensors sample.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-09-13 21:23:34 -04:00
Stoyan Bogdanov
4fbf028ff5 boards: ti: lp_em_cc2340r5: Add I2C support
Enable I2C for TI lp_em_cc2340r5.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-09-13 21:23:34 -04:00
Stoyan Bogdanov
82e1baae63 dts: arm: ti: cc23x0: Add I2C support
Add support for I2C to cc23x0 SoC.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-09-13 21:23:34 -04:00
Stoyan Bogdanov
49ef7d460c drivers: i2c: Add support for cc23x0 I2C
Add support for I2C to cc23x0 SoC. Only controller mode is implemented.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
2025-09-13 21:23:34 -04:00
Ajay Neeli
f74f19e7a4 tests: i2c: i2c_target_api: Add support for kv260
Add overlay for kv260_r5 board in i2c_target_api test case.

For running this test, I2C0 and I2C1 are to be connected on same bus.

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-09-13 21:23:19 -04:00
Ajay Neeli
5296e74895 drivers: i2c: cdns: Add support for Target Mode
Add target mode support for Cadence I2C

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-09-13 21:23:19 -04:00
Kunihiko Hayashi
29956b0b24 drivers: arm_arch_timer: Move timer enablement after comparison value set
The timer is enabled before comparison value is set, which can lead to
unexpected behavior if the registers contain uninitialized values.

Should call arm_arch_timer_enable() after arm_arch_timer_set_compare().

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
2025-09-13 21:23:06 -04:00
TaiJu Wu
4f61e65193 test: add config to test msgq put front featrue
Add a config `CONFIG_TEST_MSGQ_PUT_FRONT` in mesgq_test to
enable message queue put front feature.

Also, add `test_msgq_pending` to test message queue behavior when
the caller is going to put and put front.

Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
2025-09-13 21:22:52 -04:00
TaiJu Wu
d361ec9692 kernel: message does not execute correct put front behavior
When the buffer is full, Thread A gets pended (blocked).
If Thread B later calls the get function, it will unpend Thread A,
allowing it to resume and put the message into the queue.
In this situation, we need to know whether Thread A should
continue with put to front or put to end.

In order to resolve this issue, we don't allow set timeout
parameter for `k_msgq_put_front` and this parameter is always
`K_NO_WAIT`.

Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
2025-09-13 21:22:52 -04:00
Piotr Zierhoffer
2284bc2f3b tests: posix: Increase min_ram for xsi.single_process.newlib
Without this change, running the test for hifive1/fe310_g000 fails when
trying to allocate space for env variables, with `heap size is too
small`.

Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
2025-09-13 21:22:29 -04:00
Rico van Dongen
8bb976ad12 scripts: west_commands: zspdx: re-naming PACKAGE-MANAGER
According to the SPDX specification
PACKAGE-MANAGER should be spelled with a dash not an underscore

Signed-off-by: Rico van Dongen <rdongen@ziggo.nl>
2025-09-13 18:15:24 -04:00
Rico van Dongen
02da120792 scripts: west_commands: zspdx: updating sbom data based on cpe reference
The PackageName, PackageVersionand and PackageSupplier in the generated
SBOM will be updated based on the information passed in the
external-references in the module.yml.
This way packages are better recognized by vulnerability scanning tools
like cve-bin-tool.

Signed-off-by: Rico van Dongen <rdongen@ziggo.nl>
2025-09-13 18:15:24 -04:00
WenBin Zhang
29750ac05d drivers: ethernet: eth_stm32 v1/v2 are placed in separate files
v1/v2 are placed in separate files and prepare to add
asynchronous sending functionality for V2

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-09-13 18:15:10 -04:00
WenBin Zhang
678e226045 drivers: ethernet: rename eth_stm32_hal.c -> eth_stm32_hal_v2.c
Plan to restructure eth_stm32_hal into two files, eth_stm32_v1
and eth_stm32_v2, while retaining the git history of v2.

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-09-13 18:15:10 -04:00
WenBin Zhang
5acec12d92 drivers: ethernet: eth_stm32_hal split v1 and v2
Split the codes of v1 and v2.

V1 supports F1/F2, while v2 supports F4/F7/H5/H7/N6.

This makes it easier to understand and add new functions.

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-09-13 18:15:10 -04:00
Hoang Nguyen
6b4bc9e4fd tests: debug: cpu_load: Extend the CPU load test to arm64
Allow the CPU load test for arm64

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-09-13 18:14:59 -04:00
Hoang Nguyen
1f6dd19462 arch: arm64: cortex_a: Add CPU load for Cortex-A
- Add calls to sys_trace_idle_exit before leaving idle state
  to track CPU load
- Extend CPU_LOAD to CPU_CORTEX_A in Kconfig

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-09-13 18:14:59 -04:00
Mark O'Donovan
1ef961340b boards: opta: revert change of qspi flash spi-bus-width
This fixes writes to the flash, and causes the following sample
code to work again: samples/drivers/spi_flash

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
2025-09-13 18:14:53 -04:00
Sudan Landge
319c697286 arch: arm: switch to privilege stack in SVC handler
Initialize the privilege stack and switch PSP to it early in the SVC
handler to ensure `z_arm_do_syscall` does not start on a user-accessible
stack frame.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-09-13 18:14:45 -04:00
Sudan Landge
52151d0b23 boards: arm: mps2: Add dependency to empty_cpu0 for an521/cpu1's app
`west build` does not build the `empty_cpu0` application making
`west build -b mps2/an521/cpu1 -t run` fail because of the missing
empty_cpu0's binary.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-09-13 18:14:45 -04:00
Sudan Landge
f80bef31ef tests: overwrite return address of stack frame
Introduce a test to overwrite the return address in the exception
stack frame of a lower-priority thread performing an SVC call.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-09-13 18:14:45 -04:00
Jonas Berg
2a9d10e8ee boards: Add Adafruit Metro RP2040
Product photo from https://learn.adafruit.com/assets/123296
with the license CC BY-SA 3.0

Tested with the samples mentioned in the index.rst page.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-13 18:14:38 -04:00
Jonas Berg
d58792d333 boards: Add Waveshare RP2040 Matrix
Product image from https://www.waveshare.com/wiki/RP2040-Matrix

Tested with the samples mentioned in the index.rst page.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-13 18:14:29 -04:00
Jaagup Averin
c96dbf48ed llvm: Export CMAKE_GDB during configuration.
Appears that llvm was forgotten when other toolchains
got their CMAKE_GDB export.

Signed-off-by: Jaagup Averin <jaagup.averin@gmail.com>
2025-09-13 18:14:04 -04:00