Commit graph

126,787 commits

Author SHA1 Message Date
Jacob Winther
4871217165 boards: remove the adafruit_feather alias
Remove the adafruit_feather alias as it has been deprecated for 2 releases.

Ref: #77069
Signed-off-by: Jacob Winther <jacob@9.nz>
2025-06-26 11:12:58 +02:00
sudarsan N
654e690057 settings: zms: fix out-of-bounds null terminator write
Previously, zms_read() could fill the buffer up to sizeof(rdname),
leaving no space for the null terminator, which could cause an
out-of-bounds write.

This change reduces the read size to sizeof(rdname) - 1 and appends
a '\0' manually, ensuring the buffer is always null-terminated safely.

Fixes: CID 516244
Fixes: #90533

Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
2025-06-26 11:12:49 +02:00
Marek Matej
e93a6338d4 samples: ot: shell: update the sample configuration
Add l2 shell and ieee802154 node to the samples.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-26 11:12:34 +02:00
Martin Jäger
99130bb6fe boards: espressif: esp32c6: Add ieee802154 support
Enable IEEE 802.15.4 driver for esp32c6_devkitc and xiao_esp32c6
boards.

Signed-off-by: Martin Jäger <martin@libre.solar>
2025-06-26 11:12:34 +02:00
Martin Jäger
cba8b33c3d drivers: ieee802154: Add implementation for ESP32 series
Initial commit of the IEEE 802.15.4 driver using Espressif HAL.

Signed-off-by: Martin Jäger <martin@libre.solar>
2025-06-26 11:12:34 +02:00
Marek Matej
188eef484a soc: espresssif: esp32c6: add iterable section header
Fix subsystems build by providing the iterable section header.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-26 11:12:34 +02:00
Marek Matej
5d855608b8 manifest: update hal_espressif
Bring changes to support the IEEE802154 on ESP32-C6.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-26 11:12:34 +02:00
Khoa Tran
bd47fd4f5d samples: i2s: Add support for i2s SSIE on Renesas RA boards
Add Renesas RA board support for these tests:
- samples/drivers/i2s/output

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
Khoa Tran
a42978a841 tests: i2s: Add support for i2s SSIE on Renesas RA boards
Add Renesas RA board support for these tests:
- tests/drivers/i2s/i2s_api
- tests/drivers/i2c/i2c_speed

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
Khoa Tran
a4202f174c dts: arm: Add i2s SSIE device node for Renesas RA family
Add i2s SSIE device node to support i2s SSIE
driver on Renesas RA SoCs

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
Khoa Tran
e84ea05dd4 drivers: i2s: Initial driver support for SSIE on Renesas RA
Add i2s driver support for Renesas RA SSIE

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
Abderrahmane JARMOUNI
da62b1c19d tests: drivers: spi_loopback: fix buffers alignment size
Size given to __aligned() is in bytes.
Align following DCACHE line size, or default to 32-byte alignment

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-06-26 11:12:11 +02:00
Chew Zeh Yang
5e5c40c489 drivers: udc_ambiq: added support for double endpoint buffer
implements option to enable double endpoint buffer to improve throughtput
for non-control endpoints.

Signed-off-by: Chew Zeh Yang <zeon.chew@ambiq.com>
2025-06-26 11:12:02 +02:00
Chew Zeh Yang
46cdb84590 drivers: udc_ambiq: add support for apollo510
Added UDC support for Ambiq apollo510 family with USB HS and DMA support.

Signed-off-by: Chew Zeh Yang <zeon.chew@ambiq.com>
2025-06-26 11:12:02 +02:00
Chew Zeh Yang
06d2332047 boards: ambiq: apollo510: add USB nodes
Add USB node to apollo510 qualifier, and apollo510_evb board to enable
USB support on the SoC and its EVB.

Signed-off-by: Chew Zeh Yang <zeon.chew@ambiq.com>
2025-06-26 11:12:02 +02:00
Chew Zeh Yang
d55b5bee1c west.yml: sync hal ambiq
sync latest hal to take in implementaiton of unified usb isr handling

Signed-off-by: Chew Zeh Yang <zeon.chew@ambiq.com>
2025-06-26 11:12:02 +02:00
Nhut Nguyen
f7120c716b driver: serial: rz: Fix serial issue with sci and scif
Fix issues that Renesas RZ boards cannot run the below serial
samples properly with sci and scif.

- `samples/subsys/console/echo`
- `samples/subsys/shell/shell_module`

The modification is to make the callback invoked in tei interrupt.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-26 11:11:47 +02:00
Jeppe Odgaard
aeb0c0aec1 tests: drivers: build_all: led: add led_pwm
Enable test for LED PWM driver.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-06-26 11:10:59 +02:00
3370e524ca samples: adc_dt: add support for the CH32V003EVT evaluation board
This demonstrates the ADC driver added in the previous commit. The
sample reads A0 as well as two built-in channels - one that reports
the internal 1.2 reference volatage and one that reports half the
analog supply voltage.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:42:20 +02:00
b1cd947771 drivers: adc: add a driver for the CH32V003 ADC
The CH32V003 has a 8 channel, 10 bit onboard ADC. Add an immediate
mode driver and the appropriate pinctrl bindings. Note that the
CH32V003 GPIO pins have both a floating input and an analogue input
mode, and the pinctrl is needed to put the pin in analogue mode.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:42:20 +02:00
Yangbo Lu
5fed196842 tests: drivers: gpio_basic_api: add imx943 m33 dts overlay
Added imx943 m33 dts overlay.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-26 09:41:53 +02:00
Yangbo Lu
4456ccd39e boards: nxp: imx943_evk: add gpio support in m33 yaml
Added gpio support in m33 yaml.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-26 09:41:53 +02:00
Yangbo Lu
2091b6db23 dts: arm: nxp_imx943_m33: add gpio dts nodes
Added gpio dts nodes.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-26 09:41:53 +02:00
Yangbo Lu
10fe3d368b soc: nxp: imx943: avoid systick stop for M33
The SLEEP_HOLD_EN is enabled by default, that will
gate systick, clear it to fix.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-26 09:41:53 +02:00
Yangbo Lu
e5f7cc2bef dts: arm: nxp_imx943_m33: add scmi cpu protocol node
Added scmi cpu protocol node.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-06-26 09:41:53 +02:00
Erwan Gouriou
13d334abb9 boards: stm32n6570_dk: Use /fsbl variant as mcuboot target
Add a sysbuild configuration to specify that mcuboot uses fsbl variant.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
34df4066a2 boards: stm32n6570_dk: Assign XSPI1 clock to HCLK
Due to a BootROM clock switching issue, XSPI1 should use HCLK otherwise
app won't restart on reset.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
2f20e78d7d dts: n6: Allow using axisram2 in chainloaded application
Make axisram2 which is used in fsbl mode available as well to
chainloaded application in order not to loose 1M of RAM

In order to avoid conflicts with bootloader, verify that code + ro data
of the loaded application won't go further than bootloader start address.
This is done with a linker assert.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
b0c1b95311 west.yml: hal_stm32: stm32n6 chainloaded app
Point to hal_stm32 change allowing to start chainloaded app (_s
profile).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
edc1a4b8ac boards: stm32n6570_dk: Provide configuration for chainloaded images:
- Provide external flash partition
- Define external flash and flash controller
- Defined flashing address depending on image (FSBL/Chainloaded)

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
51373c77c4 soc: stm32n6: Don't sign mcuboot chainloaded images
This signature is only valid for FSBL images.
MCUBooot will sign images by itself.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
30705108bd soc: stm32n6: Update ROM_START_OFFSET
Offset is 400 for a good reason (yet to be defined).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Erwan Gouriou
996523d194 boards: stm32n6570_dk: Review variants organization
Add a new /fsbl variant which replaces the default variant and typically
fits for development or bootloader (MCUBoot typical target). Image
is limited to 511KB.

Default variant now stands for the real application which is supposed
to be loaded by the bootloader. It runs from axisram1 and could be both
XIP or RAMLOADED. Image has access to the whole AXISRAM1 and 2 (2MB).

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-06-26 09:41:37 +02:00
Benjamin Cabé
a06454f61f drivers: i2c: renesas_rz_riic: fix apply state in init code
Fixed the reverse logic of checking if `pin_config` is set in the init
code.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-26 09:39:39 +02:00
Marco Marche
f5f90395c9 drivers: adc: ad7124: add current sources support
Adds support for configuring the AD7124's excitation current sources.

Signed-off-by: Marco Marche <marco.marche@gmail.com>
2025-06-26 09:39:25 +02:00
Alvis Sun
23ba092656 boards: npcx: add support for npck3m8k_evb
Add support for npck3m8k board that is a development platform to
evaluate the Nuvoton NPCK3 embedded controller.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2025-06-26 09:39:11 +02:00
badce120be boards: enable the WCH EXTI peripheral on all WCH boards
Now that Zephyr has support, enable by default.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:38:56 +02:00
37190890d6 drivers: gpio: add interrupt support for the CH32V family
The WCH GPIO peripheral integrates with the EXTI and supports firing
interrupts when a GPIO pin changes.

Add optional support for firing a callback on rising edge, falling
edge, or both edges.

Tested on the `linkw` and the `ch32v006evt` using
`samples/basic/button`.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:38:56 +02:00
b99b7d14f1 drivers: interrupt_controller: add a WCH EXTI external interrupt driver
The WCH External Trigger and Interrupt controller (EXTI) supports
between 8 and 22 lines where each line can trigger an interrupt on
rising edge, falling edge, or both edges. Lines are assigned to a
group, and each group has a separate interrupt. On the CH32V003/6,
there is one group of 8 lines, while on the CH32V208 there are
multiple groups with between one and six lines per group.

In the same way as the STM32 and GD32, define an EXTI driver that
configures the peripheral and an internal interface that can configure
individual lines.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:38:56 +02:00
Luca Burelli
cf0f00d942 boards: opta: shape the LAN controller reset pulse
Instead of assuming the reset pin is low at boot, create a reset pulse
by setting the pin low long enough for the LAN controller to recognize
it.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-06-25 16:01:18 -10:00
Marek Matej
87f1cb5b32 soc: espressif: segment parser end condition
Fix and simplify the end-of-segment detecting condition.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-25 16:00:40 -10:00
Benjamin Cabé
f21f3b0d92 tests: do not use "sanity" word
Fix to align with guidelines regarding the use of inclusive language.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 16:00:10 -10:00
Benjamin Cabé
6dca5be057 doc: develop: manifests: external: add libmpix
Introduce documentation for using libmpix as an external module in
Zephyr.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 15:59:22 -10:00
Jamie McCrae
e68f8e31e4 boards: nordic: Use dts for non-secure partitions
Replaces using an odd mix of Kconfig dts for partition offsets with
just use dts for non-secure board targets

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-06-25 15:58:04 -10:00
Jamie McCrae
98c5b1c1fa drivers: clock_control: nrf: Fix bleeding Kconfig
Fixes a Kconfig bleeding through to every device

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-06-25 15:57:24 -10:00
Khoa Nguyen
831b9f4443 samples: modules: lvgl: demos: add support for ek_ra8p1
Add support for ek_ra8p1/r7ka8p1kflcac/cm85 running on
rtklcdpar1s00001be display shield

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
9a66297eae samples: boards: renesas: Add support comparator for ek_ra8p1
Add support sample app `renesas/comparator` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
25701ab73e samples: drivers: counter: Add support alarm for ek_ra8p1
Add support sample counter/alarm for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
3367bd46dd tests: drivers: comparator: Add support gpio_loopback for ek_ra8p1
Add support test app `gpio_loopback` for Renesas ek_ra8p1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
917bbd2cee tests: subsys: pm: Add support power_mgmt_soc for ek_ra8p1
Add support test app `power_mgmt_soc` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00