add overlay file to configure external flash to run sample
in octal mode with dual rate transfer.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
PR #94869 now handles the DMA offset internally within the driver.
Therefore, the dma_stream channel is no longer increment by
STM32_DMA_STREAM_OFFSET(1) in the flash_stm32_ospi driver.
Additionally update in stm32l562e_dk dts the OSPI mode from
OSPI_OPI_MODE to OSPI_SPI_MODE to enable the sample to run
succesfully.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Change LEDC channel 0 pinmux from GPIO2 to GPIO8 to match
the onboard LED location on the ESP32-C3 SuperMini board.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The timer expiry function is executed by the system clock
interrupt handler. k_sleep() should not be called from
interrupt context. This change deferrs execution to system
workqueue.
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
Apply chnages from dts-linter 0.3.9.
Improve compliance with DTS Coding Style which says that:
4) Hex values in properties, e.g. “reg”, shall use lowercase hex.
The address part can be padded with leading zeros.
Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
After the BOARD_QUALIFIERS alignment between CMake and Kconfig, the
CMake variable no longer has a leading '/'. Add the separator
explicitly when constructing IPM_REMOTE_BOARD.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
CoAP .well-known/core handling routine assumed that the "user_data"
pointer in struct coap_resource will be set to a valid struct
coap_core_metadata pointer, or left NULL. This approach is error
prone (application cannot use "user_data" field freely) and renders the
"user_data" field useless for other cases.
Therefore, introduce a separate "metadata" pointer within the struct
coap_resource specifically to configure the resource-related metadata,
and leave "user_data" for the applications to use freely.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Copyright sign, trademark sign, registered trademark sign, ... and other
non-ASCII characters are OK to use in the documentation source files.
Replace them with the corresponding Unicode characters.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
In sample that is using a cellular modem on nrf9160dk the UART driver
feature was enabled to use TIMER peripheral for byte counting. It used
to be required to reliably received data even with HWFC. Some time ago
default receiver has been changed and UART with HWFC is able to reliably
receive data without need of using TIMER and PPI for byte counting.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Zephyr `<type>_ROOT`s, such as `BOARD_ROOT`, `DTS_ROOT`, `SCA_ROOT`,
are initialed by ROOT settings provided through CMake variable
`<type>_ROOT`, Zephyr base, and root settings specified in Zephyr
module's `zephyr/module.yml` file.
`SNIPPET_ROOT` didn't follow the same pattern as it also included
application source dir.
This commit aligns `SNIPPET_ROOT` to follow same principle for
constructing other Zephyr `<type>_ROOT` lists.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Add HL78xx GNSS support to the sample, including GNSS data/satellite
callbacks, optional auxiliary NMEA parsing, and a guided demo flow
that runs GNSS first when the modem boots in minimum functionality.
Key changes:
- Disable shell wildcard expansion to avoid unintended command matches
(CONFIG_SHELL_WILDCARD=n).
- Enable GNSS core and HL78xx GNSS integration.
- Configure satellites reporting and cap to 24 for concise logs.
- Start GNSS in AUTO mode and use GPS+GLONASS constellations.
- Boot modem in airplane (minimum functionality) to allow GNSS RF use.
- Support GNSSLOC (latest known fix) as an alternative to NMEA.
- Add optional NMEA output path and auxiliary NMEA sentence parsing.
- Add detailed logging for fixes, quality, HDOP, and satellites-in-view.
- Handle GNSS engine lifecycle and position events via evt monitor.
- Provide demo flow to:
1) Enter GNSS mode, 2) queue search, 3) wait for fix,
4) optionally query GNSSLOC, 5) exit GNSS and return to LTE.
- Rework sample boot path to run GNSS before LTE when not fully
functional, then reconnect to the network.
- After successful FOTA, re-run the app path to show updated modem info.
Behavior and impact:
- When GNSS is disabled, sample behavior remains unchanged.
- When GNSS is enabled, sample can collect a fix before LTE attach.
- LTE/GNSS RF sharing is respected; GNSS start is blocked if LTE is
active; airplane mode is used to permit GNSS operation.
- Enhanced logs improve visibility during field testing and demos.
Configuration highlights:
- CONFIG_SHELL_WILDCARD=n
- CONFIG_GNSS=y
- CONFIG_HL78XX_GNSS=y
- CONFIG_GNSS_SATELLITES=y
- CONFIG_HL78XX_GNSS_SATELLITES_COUNT=24
- CONFIG_HL78XX_GNSS_START_MODE_AUTO=y
- CONFIG_HL78XX_GNSS_CONSTELLATIONS_GPS_GLONASS=y
- CONFIG_MODEM_HL78XX_BOOT_IN_AIRPLANE_MODE=y
- CONFIG_HL78XX_GNSS_SOURCE_LOC=y
- Optional NMEA/AUX:
- CONFIG_HL78XX_GNSS_SOURCE_NMEA=y
- CONFIG_HL78XX_GNSS_AUX_DATA_PARSER=y
- CONFIG_HL78XX_GNSS_ADVANCED_NMEA_CONFIG=y
- CONFIG_HL78XX_GNSS_NMEA_{VTG,GNS,GLL,ZDA}=y
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Adjust the SWIR HL78xx EVK overlay to improve stability and TLS
compatibility when connecting to AWS IoT.
- Increase main stack and heap sizes for MQTT/TLS workloads
- Select an RSA-based TLS cipher suite supported by AWS IoT
- Disable the ECDSA-only cipher suite not used with RSA certificates
No functional logic changes; configuration-only update for the sample.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Add MAX42500 watchdog driver, including ability to configure voltage
monitors that can also generate reset conditions.
Signed-off-by: Pete Johanson <pete.johanson@analog.com>
The binding function `mctp_i3c_target_tx()` is called by (libmctp)
`mctp_message_tx()`, and it uses `k_sem_take()`.
In the mctp/i3c_bus_endpoint sample, `mctp_message_tx()` is executed
from isr callback (`stop_cb`). However, `k_sem_take()` must not be
called from isr context. This issue can be detected when
`CONFIG_ASSERT` is enabled.
To fix this, this patch moves the rx message handler to the system
workqueue.
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
This patch adds support for the STM32 XSPI memory controller in order to
enable PSRAM testing. It also adds a board overlay for the STM327S78
Discovery Kit that includes a PSRAM memory.
Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
Extend sample configuration with check that confirms
correct use of register event API.
Use PyTes to validate that code executes faster when
event is registered.
Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add overlay for nrf54lm20dk.
Manual configuration for RRAMC is currently disabled for that target.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Rework RRAMC latency part to use only a single configuration. In that
configuration there are 3 runs of the same code using 3 different
RRAMC modes. This approach does not require to recompile the sample
to see the results for different RRAMC configuration.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
…iant
Now that ext_flash_app variant is available, it should be used for
mcuboot related apps on this board.
Delete boards/nucleo_h7s3l8.overlay (and boards/stm32h7s78_dk.overlay)
which are not needed anymore.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
Add write-block-size and erase-block-size attributes to xspi nor flash
connected to xspi2. This is needed for mcuboot to handle flash access
of the ext_flash. The changes in the node structure is taken from the
stm32h7s78_dk board.
Update zephyr,flash-controller in samples/sysbuild/with_mcuboot/boards
/nucleo_h7s3l8.overlay to have CONFIG_STM32_APP_IN_EXT_FLASH set when
direct parent of flash is not XSPI but only the parent of the flash-
controller.
Signed-off-by: Thomas Decker <decker@jb-lighting.de>
Discover IN/OUT endpoint MPS at runtime (HS/FS agnostic).
Robust RX framing: handles header+payload in same read and
multiple frames per read.
Improve repeatability across consecutive runs:
detach kernel driver, clear halt, drain IN.
Add a ZLP-focused stress test:
Meaningful mainly for FS due to 1-byte LEN field.
Add BULK IN stress test
This makes the host tester a reliable regression tool for
MCTP-over-USB endpoint behavior.
Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
Fix Devicetree compilation errors caused by incorrect enum macro
names used in DTS overlay files.
Replace LSM6DSV16X_DT_ODR_AT_960Hz with the correct Devicetree enum
LSM6DSVXXX_DT_ODR_AT_960Hz in the stream_drdy sample boards overlay.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit adds sample amp-talk to demonstrate the openamp communication
between DSP and CM core.
It also uses multiple openamp instances on primary core to communicate with
other CM core and also DSP core.
Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
The EDAC sample README was using specific terminology (addr/mask) that
doesn't apply to all EDAC implementations. Update the documentation to
use the generic param1/param2 naming that matches the actual shell
command interface.
Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
Follow-up to PR# 102385.
Some occurrences of ${BOARD}${BOARD_QUALIFIERS} was missed in the
original alignment PR.
This commit adjusts the remaining occurrences to know include `/`.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
The nrf54l15 SoC is already present and tested through the
nrf54l15dk. Exclude from sample to save CI time.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
The value os board qualifiers in CMake and Kconfig differs.
CMake has a leading '/', as example:
CMake: BOARD_QUALIFIERS=/nrf52840
Kconfig: BOARD_QUALIFIERS=nrf52840
This was also discussed in
https://github.com/zephyrproject-rtos/zephyr/pull/69740
This commit aligns the value of the CMake variable BOARD_QUALIFIERS to
the value of BOARD_QUALIFIERS (CONFIG_BOARD_QUALIFIERS) in Kconfig.
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Adds support for the Infineon kit_psc3m5_evk evaulation board.
Note: The current implementation of PWM does not support output to a pin
with an on-board LED. Output can be observed using an oscilloscope on
pins P1.4 and P2.6.
Signed-off-by: John Batch <john.batch@infineon.com>
Use the TLS ciphersuite Kconfigs to select the desired TLS connection mode
instead of manually selecting all the crypto/key-exchanges Kconfigs.
For 'samples/subsys/mgmt/hawkbit' use the 'overlay-tls.conf' file for
testing 'sample.net.hawkbit.tls' instead of repeating the Kconfigs in the
yaml file.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Add device tree overlay configuration for the Infineon PSoC4100S Max
board to enable the counter alarm sample.
The overlay configures TCPWM0_1 for counter operation with interrupt
18 and clock divider settings appropriate for the PSoC4100S Max chip.
Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
A sample demonstrating usage of a driver for SCT2024 LED controller.
This sample enables 16 leds one by one and then disables them one
by one in an inifite loop.
Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
When PSA Crypto API are used they need a PSA ITS implementation and this
is provided by Secure Storage if TF-M is not enabled in the build.
Secure Storage can use Settings as backend and Settings, on its turn, can
use several other backends to store data (ex: ZMS, NVS, etc).
Since NVS is already enabled in other OpenThread Zephyr samples, let's
enable NVS also for this sample.
While at it, also slightly re-organize "sample.yaml" to share more data
between tests and allow building and testing also on the nrf52840dk board.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
The PSA setup functions would return -141
(`PSA_ERROR_INSUFFICIENT_MEMORY`).
Increasing the heap size makes the test run successfully.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Add a callback mechanism to allow applications to handle incoming
BR/EDR connection requests and decide whether to accept or reject
them, as well as specify the desired role (central/peripheral).
Update bt_br_set_connectable() to accept an optional callback function
parameter. When provided, callback is invoked on incoming connection
requests, allowing the application to inspect the remote device address
and Class of Device before accepting or rejecting the connection.
If no callback is provided, the connection request is accepted
internally with the default behavior based on the
`CONFIG_BT_ACCEPT_CONN_AS_CENTRAL` configuration option.
The accept_conn() function is updated to:
- Call the registered callback if available
- Pass the remote device address and Class of Device to the callback
- Accept the connection if the callback returns BT_BR_CONN_REQ_ACCEPT_*
- If the returned value is BT_BR_CONN_REQ_ACCEPT_CENTRAL, the role
switch will be requested.
- Reject the connection if the callback returns BT_BR_CONN_REQ_REJECT_*
- Add error handling and logging for failed connection acceptance
Update all existing callers of bt_br_set_connectable() to pass NULL
for the callback parameter to maintain backward compatibility.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
This commit removes the OPENTHREAD_REFERENCE_DEVICE flag for NXP RW612
samples, as these are not meant to be included in a test setup.
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>