Add i2c target support to the i2c_mcux driver.
Add the frdm_mcxc242 board to i2c_target_api tests.
Signed-off-by: Maximilian Werner <maximilian.werner96@gmail.com>
Protect scmi_send_message_polling() with channel mutex to prevent
concurrent access with interrupt-driven transfers.
Without this fix, PM subsystem could send polling-mode messages
while an interrupt-mode transfer was in progress, corrupting the
shared channel state.
Fixes hang on i.MX943 during I2C initialization when PM attempted
to send power state notifications concurrently.
Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
Enables hardware RX timestamping for the STM32 FDCAN driver by
leveraging the M_CAN timestamping interface.
Introduces a new `timestamp-counter` property in the device tree binding.
If `CONFIG_CAN_RX_TIMESTAMP` is enabled and this property is defined,
the driver configures the M_CAN Timestamp Select to use the
external timestamp counter value.
This allows linking a Zephyr Counter device to the FDCAN instance to
provide precise packet timing.
Signed-off-by: Igor Knippenberg <knippenberg@filics.eu>
Fix validation of AD length handling in the Bluetooth shell.
Reject zero-length AD fields before subtracting the AD type size.
The previous implementation compared an unsigned length
against zero after subtraction, making the error path
unreachable.
Signed-off-by: Om Srivastava <srivastavaom97714@gmail.com>
Document the OpenOCD version required for Zephyr thread
awareness and how to use CONFIG_DEBUG_THREAD_INFO.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
ESP32 OpenOCD uses $_TARGETNAME_0 instead of $_TARGETNAME.
Set the correct target handle to enable RTOS awareness.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Change ESP_RTOS from none to Zephyr in all ESP32 board
openocd.cfg files to enable thread awareness during debug.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Remove the --no-init flag to fix west debugserver on boards
with built-in USB JTAG (ESP32-C6, ESP32-H2).
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1. Fixes an issue in UMAC where valid P2P devices were filtered
during a connect scan due to strict SSID length matching.
2. P2P NOA Bug Fix.
3. Linker issue fix in Raw modes.
4. LMAC BIMG offset change.
5. RPU Version update from 1.2.14.6 to 1.2.14.7.
6. Display scan fix for WPA3 HNP and H2E.
Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
stm32h7rsxx bumps to STM32CubeH7RS version 1.3.0.
stm32l4xx bumps to STM32CubeL4 version 1.18.2.
stm32l5xx bumps to STM32CubeL5 version 1.6.0.
stm32n6xx bumps to STM32CubeN6 version 1.3.0.
Update dma_stm32.h to sync with HAL new function prototype for
LL_DMA_IsActiveFlag_HT*() functions that now expect a const pointer
on STM32L4X series. While at it, also update the STM32MP13X series
that expects the same prototypes.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
I2C controller on rpi_pico2 boards were getting misconfigured due to
`CONFIG_I2C_DW_CLOCK_SPEED` not getting set properly. This change fixes
the value for this Kconfig symbol to the correct clock speed (clk_peri)
that is used by I2C controller.
Signed-off-by: Dev Joshi <devbhave@qti.qualcomm.com>
Some libraries like libcoap make use of mbedtls_version_get_number
which is enabled by MBEDTLS_VERSION_C.
We add a config option to be able to selectively enable it.
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit adds the MikroE CAN FD 6 Click shield under the same
assignees as other of the CAN driver based shields.
Signed-off-by: Stephan Linz <linz@li-pro.net>
Add shield definition for the MikroElektronika CAN FD 6 Click shield,
an mikroBUS compatible evaluation module for the TI TCAN4x5x CAN
controller series.
Signed-off-by: Stephan Linz <linz@li-pro.net>
Add support for High-g data in FIFO. The HG data wiil be marked in
FIFO with LSM6DSV80X_XL_HG_TAG.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).
The driver implements a chip_api structure which has to be used to
provide device specific callbacks. The only lsm6dsvxxx family device
currently supported is lsm6dsv320x.
More information about LSM6DSV16X:
https://www.st.com/resource/en/datasheet/lsm6dsv320x.pdf
Signed-off-by: Armando Visconti <armando.visconti@st.com>
The Device Tree property names that are common to lsm6dsv16x and
lsm6dsv32x drivers are now prefixed with LSM6DSVXXX_ (and not
LSM6DSV16X_) just for the sake of clarity.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
drivers/sensor/adi/max30210/max30210_trigger.c:144:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
144 | uint8_t temp_hi_setup[2];
| ^
drivers/sensor/adi/max30210/max30210_trigger.c:175:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
175 | uint8_t temp_inc_fast_thresh;
| ^
drivers/sensor/adi/max30210/max30210_trigger.c:196:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
196 | uint8_t temp_dec_fast_thresh;
| ^
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Add -Wno-unique_unit_address_if_enabled for all boards,
as bflb SoCs contains a lot of overlapping peripheral nodes.
Signed-off-by: Camille BAUD <mail@massdriver.space>
Remove whitespace between parentheses and value. This seems to be the only
place in tree where such a pattern is found, and it violates the rules of
the Devicetree linter executed by CI.
Replace ARM-specific MPU attributes with their plain variant, also removing
the unnecessary parentheses in the process.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Remove unnecessary parentheses and switch to the plain variant of the
RAM_NOCACHE "attribute".
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The documentation currently indicates that Cortex-M0 and Cortex-M1 have
programmable fault priorities which is not true. Fix this error.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Added additional LEDs and an alias so that examples such
basic/threads will build/run on this board.
Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
Added pwm-led0 alias so that basic/blinky_pwm and basic/fade_led
samples can be built/run on the ek_ra6m4.
Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
For clarity and compactness, use
`spi_context_max_continuous_chunk()` instead of open-coding
the same tx/rx length selection logic.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
There is a corner case that the ACL_Data_Packet_Length is less than
the MPS of the L2CAP BR channel connection. Then the partial data
will be sent and the remaining data will be sent in sequence in the
function `l2cap_br_data_pull()`. The issue occurs when sending the
continuing fragment HCI ACL packet, due to the reference counting of
sending buffer is 0. Therefore, the application will be asserted in
the function `send_buf()`.
Fix the issue by managing the reference count of the sending buffer.
Use the function `net_buf_ref()` to increment the reference count of
the sending buffer.
If the sending buffer is the last fragment, use `net_buf_unref()` to
decrement the reference count of the sending buffer to ensure that
the send buffer can be properly released when the data is sent out.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Device continued receiving multicast data after leaving IGMP group
because the driver did not configure the SiWx917 firmware to stop
filtering for the multicast MAC address.
Register a Zephyr multicast monitor callback (net_if_mcast_mon_register)
that calls sl_wifi_configure_multicast_filter() to add or remove
multicast MAC filters in the firmware when groups are joined or left.
Signed-off-by: Devika Raju <Devika.Raju@silabs.com>
- Adds sam_e54_xpro.overlay files for wdt test projects.
- Adds sam_e54_xpro platform allow in testcase.yaml.
- Adds wdt board specific configuration in main.c
Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
- Updates the board yaml file with watchdog entry for enabling CI
to include watchdog for testing
Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
- Adds devicetree node of watchdog in same5xd5x family
- Adds the binding yaml for g1 driver of watchdog
Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
The radio driver updates the filters but never submit
the new ones to the radio core.
The filters was only applied later thanks, probably during
a channel selection that was happening often.
Update the driver stop RX operation and restart it using
the new filters.
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
When using OpenThread, set_channel operation may be called often
with the same channel number.
Everytime, even if the channel has not changed, the driver stop all
the radio operations, restart the synthesizer and then restart RX
operations.
This behavior prevents OpenThread joiner to work correcly.
This updates the driver to only stop radio operations if this is really
required.
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Add ADC samples support for board RZ/A2M-EVK
Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>