Add missing SoC overlay with UART1 loopback pin
configuration and add esp32c5_devkitc to the
platform_allow list.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
(cherry picked from commit 401b45abee)
Allow cdc_acm_poll_in() to receive when CDC ACM function gets enabled,
but only when the IRQ API is not already used.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
(cherry picked from commit 8d2cc34ecf)
Move to the new MXC_SPI_GetAndClearFlags API to avoid a race condition
where flags not handled in the ISR would be cleared and missed as a result.
This fix removes the need for the previous partial workaround that simply
masked the issue in most scenario.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
(cherry picked from commit c8601b95dd)
When DMA is enabled, but there are no DMA channels assigned to the SPI
peripheral, properly fall back to setting up the dummy bytes for SPI RTIO
operations.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
(cherry picked from commit 513adafb72)
Add CONFIG_LSM6DSVXXX_ENABLE_TEMP directive in few places where it was
missing.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 43af622bc5)
When a request is performed on a single accelerometer axis
(e.g. SENSOR_CHAN_ACCEL_X) the driver must return a single
scalar q31 data.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 4cc4f244ec)
The sensor_three_axis_data structure is not used for single
axis data. So reflect this in the doxygen documentation.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 8e1ebc35f9)
In a IMU there might be multiple concurrent asynchronous requests
active at the same time. Increase the size of the RTIO queues.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 44b7a95c19)
Fixes a bug introduced in commit
17bc03c31c in which drivers using 16-bit
buffers never initialize the upper 16-bits of the 32-bit variable.
Solution is to zero the buffer before use.
Signed-off-by: John Batch <john.batch@infineon.com>
(cherry picked from commit 3015f65409)
Don't use COMMAND_EXPAND_LISTS for the targets added for menuconfig,
guiconfig, etc. so the list of shields is properly quoted when including
multiples with a semicolon separator.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
(cherry picked from commit ca53d65386)
Replaced them with tmc50xx_read_actual_position() resp.
tmc51xx_read_actual_position().
Signed-off-by: Andreas Schweigstill <andreas@schweigstill.de>
(cherry picked from commit 324338ad39)
By default the DWMAC ethernet controller is configured
to drop all multicast packets. Currently, HW filtering is
not supported, so we need to configure the controller to
pass all multicast packets.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
(cherry picked from commit 0fe8f5541c)
Set the CSI data length accordfing to chips PHY usage in wifi driver
internal to fix the issue.
Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
(cherry picked from commit dc91be72e7)
The ARM64 coredump arch block did not include FP (x29) and SP,
making GDB unable to unwind the stack. The GDB stub also
misinterpreted SPSR as SP (tu[20] mapped to SP_EL0), producing
corrupted stack pointer values and broken backtraces.
Bump the arch block version to v2 (24 registers, 192 bytes)
adding FP and SP after the existing 22 registers. Update the
GDB stub to auto-detect v1 vs v2 blocks by payload size and
correctly map SPSR (skip), ELR (PC), FP (x29), and SP.
When CONFIG_ARM64_SAFE_EXCEPTION_STACK is enabled and the
exception originated from EL0, use the saved esf->sp (original
sp_el0 stored by the exception entry code) instead of computing
it from the ESF address, since the exception handler may be
running on a separate safe stack.
Fixes#99054
Signed-off-by: Anirudha Sarangi <anirudha.sarangi@amd.com>
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
(cherry picked from commit 355cb6c663)
This implementation relies on PSA Crypto. Make sure it's enabled.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
(cherry picked from commit 6b1d0f010b)
net_tcp_foreach() drops tcp_lock before the callback and re-acquires
it afterwards. A concurrent tcp_conn_release() can free the next
node cached by SYS_SLIST_FOR_EACH_CONTAINER_SAFE during this window,
causing the iterator to follow a dangling pointer on the next
iteration.
Move context teardown in tcp_conn_release() inside the tcp_lock
critical section and keep tcp_lock held across the callback in
net_tcp_foreach(). No current callback acquires tcp_lock.
Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
(cherry picked from commit cd85e0e890)
Removing the pointer cast on dev->api breaks building C++ files that
include ethernet.h
Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
(cherry picked from commit 493508086a)
Some of the sensore channels (e.g. SENSOR_CHAN_GRAVITY_VECTOR and/or
SENSOR_CHAN_GBIAS_XYZ) are returning three axis values. The current
code was passing a single value and was actually crashing.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 5c85ba6)
Add SENSOR_ATTR_CHIP_ID entry (last one) in sensor_attribute_name
declaration/initialization. This is fixing a sensor_shell crash.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit c5e1f4f)
If gpio level gets immediately at high level after sensor is started,
then call interrupt stream handler in order to avoid losing it. As a
side effect no data would be ever read.
Co-authored-by:Brenden Adamczak <cerebralasylum1@gmail.com>
Signed-off-by: Brenden Adamczak <cerebralasylum1@gmail.com>
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 018a044e71)
When setting SFLP game gbias the accel/gyro data rate must be temporarily
changed and then restored back to original values. But in the process the
saved rates got mistakenly corrupted.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
(cherry picked from commit 8712e72d6a)
Fixes an issue whereby a write might have partially been successful
but failed due to insufficient space in the storage device by
re-attempting the write again with the offset, and if it still
fails, return an error
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
(cherry picked from commit f99dbd622e)
Fixed CTRLA register write bugs in spi g1 driver
Updated the transfer function for handling dma mode
Fixes#106580
Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
(cherry picked from commit 294da648ff)
When `h_set` is unset in the handler (which is allowed according to the
docs), then this function causes a nullpointer dereference because
it has no check for this.
This change applies the behavior of `settings_runtime_get` to
`settings_runtime_set` to catch this case as expected.
Signed-off-by: Martin Stumpf <finomnis@gmail.com>
(cherry picked from commit 10989f9702)
For MAX32 boards using OpenOCD, properly respect the passed --serial runner
parameter.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
(cherry picked from commit fb0f849ab4)
Adds 4.4 to the list of supported releases and updates references to the
next planned release as 4.5. The EOL date is set to one year after
release.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
- Do not access "ver" field in the RSA context structure because this has
been removed from TF-PSA-Crypto.
- Add PSA_WANT for AES and CTR in order to support encrypted images.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Merge release and release notes areas into one and have all release
releated files be maintained by the acting release managers.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Call i2c_hal_init() during driver init and after the clock
off/on cycle in i2c_hw_fsm_reset(). On SoCs where the
controller clock gate defaults to off, the peripheral would
not respond until explicitly enabled, matching the behavior
of ESP-IDF's i2c_hal_init().
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Use tone consistent with other bullet points and link to the driver's
binding so that readers have a clear starting point to learn more.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Drop Synopsis / Designware from ARC's full name and just go with "ARC"
which should be obvious enough of a name when listed alongside other
processor architectures.ull name for
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Moves release notes documenting the removal of some Xtensa architecture
Kconfigs and some Bluetooth controller Kconfigs into the "Removed APIs
and options" section.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Add a note about the new dependency of kernel.h to generated headers.
This has been a major source of breakages for us downstream, it'll
likely be useful to other users too.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Add zbus async listeners, improve multi-domain proxy agent notes, and add
new API entries to the v4.4.0 release notes.
Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
Found a couple other cases of "dumb" lists being referenced in
the kernel. Converted these to "simple".
Also tweaked some information related to thread priority queues.
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
Expand the ZTEST_BENCHMARK_OUTPUT_CSV Kconfig help text to describe the
two CSV row formats (sampled and timed) so that users don't have to
reverse engineer them by looking at the code.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>