Initial version of the support for the STM32 JPEG HW codec,
currently supporting only NV12 to JPEG without DMA support
and using SW based conversion from NV12 to MCU required
for the JPEG codec.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Update the temperature data processing to
handle different data sizes based on FIFO configuration.
The temperature sensor data size and conversion
formula vary depending on the FIFO mode:
1. FIFO disabled: Uses 20-bit data format
2. FIFO enabled (standard resolution): 16-bit data
3. FIFO enabled (high resolution): 20-bit data
The implementation now:
- Uses the 'fifo_highres_enabled' flag
to determine the correct data size
- Applies the appropriate conversion formula
based on the resolution mode
- Handles all three possible FIFO configurations
- Ensures accurate temperature readings in all modes
Signed-off-by: Shreehari HK <shreehari.hk@alifsemi.com>
Document that CONFIG_CLOCK_STM32_HSE_CLOCK is no longer user-configurable
and the replacement mechanism for setting its value (through Device Tree).
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Ensure the CONFIG_CLOCK_STM32_HSE_CLOCK symbol cannot be overridden by
making it depend on the Device Tree node "clk_hse" being enabled. The
symbol's value is also directly sourced from that node instead of being
user-configurable.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Provide the HSE clock frequency by enabling and configuring its Device Tree
node in the board's DTS instead of using Kconfig.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Provide the HSE clock frequency by enabling and configuring its Device Tree
node in the board's DTS instead of using Kconfig.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
SDHC support was disabled in commit
e67470933a2005d82bfa3a7f0328196a139b2cc0 due to unresolved runtime
twister failures observed after rebasing adi-main to Zephyr v4.1,
however the feature was still left in the board's list of supported
features. This caused twister to continue selecting
tests/drivers/disk/disk_performance for the board, which fails to build,
and thus continued failures in ci. It was mainly observed on push events
because recent PRs haven't changed anything in this area.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Some SDHC related tests fail on CI checks when
rebase adi-main on to Zephyr v4.1 release
candidate.
This commit disables SDHC until the problem is
solved.
Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
Add ethernet DMA buffer/descriptor region (sram2) and read only
flash region 0x08FFF800 with unique device ID registers to MPU region
list. The unique device ID is used to create a random mac address by
the ethernet driver. Ethernet DMA buffer/descriptor memory section is
also added to linker script.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
Add SOC_SERIES_STM32H7RSX to applicable Kconfig parameters and enable
use of .eth_stm32_desc and .eth_stm32_buf linker sections for ethernet
dma.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
currently Kconfigs in stepper area are not uniformly organized
some folders have config while the others follow menuconfig
Also without having activated drivers explicitly following
Kconfigs appear in autoconf.h
CONFIG_STEPPER_ADI_TMC 1
CONFIG_STEPPER_ADI_TMC50XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ADI_TMC51XX_RAMPSTAT_POLL_INTERVAL_IN_MSEC 100
CONFIG_STEPPER_ALLEGRO 1
refactor Kconfig.tmc51xx to tmc51xx folder
refactor adi_tmc bus related Kconfigs in adi_tmc/bus
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
Creation of the zephyr/samples/net/openthread/shell/boards to support
the MCXW7x boards components.
Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
Add retained memory driver for BURAM on Silicon Labs Series 2
devices. This is a 128-byte register-based backup memory available
in all power states.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Parallel build for Doxygen has been available since v1.9, and allows to
claim a few seconds off the build time (only the input processing can be
done in parallel, but that's still a noticeable performance
improvement).
Set NUM_PROC_THREADS to 0 to use as many cores as available on the
system (21 seconds build-time down to 16 on my machine).
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add PM support to cc23x0 SPI module. This implies listing states which
cause power loss and enabling device runtime PM for the DMA in the DT.
Signed-off-by: Julien Panis <jpanis@baylibre.com>
Provide default values for common kconfig symbols for main, idle and
isr stack sizes, which apply on all STM32 MCU families with low RAM
memory(less than 8 KiB).
These kconfig symbols help reduce kernel sizes to fit within
limited RAM.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This driver adds support for the Infineon FM25XXX series of chips.
Has been tested on Infineon FM25CL64B-G.
Signed-off-by: Luna Pes <zephyr@orangemurker.com>
Move the watermark threshold trigger mode to a configurable dt boolean.
When using the default configuration of watermark threshold
interrupt greater than or equals, extra interrupts are serviced
to icm45686_event_handler().
When `fifo-watermark-equals;` is added to the sensor DT overlay,
the new behavior is only one interrupt is generated per watermark
threshold crossing. Until the host drains the fifo, no extra interrupts
will be generated.
Signed-off-by: Anthony Williams <anthony289478@gmail.com>
When compiling with C++ enabled (CONFIG_CPP), add an unused member to
prevent an empty struct; this makes the struct size the same for both C
and C++.
Fixes the following warnings:
In file included from include/zephyr/drivers/gpio.h:22:
In file included from include/zephyr/tracing/tracing.h:9:
In file included from include/zephyr/kernel.h:17:
In file included from include/zephyr/kernel_includes.h:32:
In file included from include/zephyr/kernel_structs.h:29:
In file included from include/zephyr/arch/structs.h:29:
include/zephyr/arch/riscv/structs.h:11:1: error: empty struct has size 0
in C, size 1 in C++ [-Werror,-Wextern-c-compat]
11 | struct _cpu_arch {
| ^
In file included from include/zephyr/drivers/gpio.h:22:
In file included from include/zephyr/tracing/tracing.h:9:
In file included from include/zephyr/kernel.h:17:
In file included from include/zephyr/kernel_includes.h:36:
In file included from include/zephyr/arch/cpu.h:25:
In file included from include/zephyr/arch/riscv/arch.h:18:
include/zephyr/arch/riscv/thread.h:68:1: error: empty struct has size 0
in C, size 1 in C++ [-Werror,-Wextern-c-compat]
68 | struct _thread_arch {
| ^
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
When Mesh is built without CONFIG_BT_SETTINGS and with CONFIG_ASAN
(and CONFIG_NO_OPTIMIZATION), the call to bt_mesh_settings_set is not
optimized out. Since settings.c isn’t compiled when CONFIG_BT_SETTINGS
is disabled, the linker reports an undefined reference.
Guard the call with !IS_ENABLED(CONFIG_BT_SETTINGS) so the call and the
subsequent code is compiled out when settings are disabled.
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
When building with the address sanitizer and size optimizations some of
the mbedtls assembler fails to build, with an error like:
error: ‘asm’ operand has impossible constraints or there are not enough
registers
Avoid this issue by forcing speed optimizations for this problematic
file if any optimization is chosen.
A similar fix was originally introduced in the module:
4f1e8f5a78
but it seems to have stoped working when the content of the file was
moved.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The generated docs for building this sample suggested using
`-DCONF_FILE=overlay-tunnel.conf`, but that was just an artifact of
using the `:conf:` directive in the kind of generic app-command.
Without specifying `-DEXTRA_CONF_FILE=overlay-tunnel.conf`, which
also pulls in `prj.conf`, there were a few build errors.
Update the docu to provide a concrete example of building for
`native_sim` with `:gen-args: -DEXTRA_CONF_FILE=overlay-tunnel.conf`.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit addresses an issue where the IMU interrupt is enabled too
early by the nxp_nbu driver, this leads to a race condition where the
interrupt can be triggered even though the IMU driver is not fully
initialized.
The interrupt shall not be enabled at Zephyr level since this will
be done by the low level driver in the hal_nxp.
Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
Update hal_stm32 to include
- fix for compiling for STM32H5 with clang
- ale/cle pin definitions for FMC peripheral
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>