Commit graph

10700 commits

Author SHA1 Message Date
Jordan Yates
94a8c5241a samples: lora: send: counter in packet
Add an incrementing counter in the transmitted packet to differentiate
one packet from the next.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-05-01 09:34:21 +02:00
Anuj Deshpande
969c3e9980 samples: Fix inconsistent variable naming
Similar variables were using alpha and alph as a prefix

Signed-off-by: Anuj Deshpande <anuj@makerville.io>
2025-05-01 07:15:44 +02:00
Francois Ramu
95d95dc82c samples: code_relocation_nocopy: update macro for flash size and address
In case of the st,stm32-xspi-nor compatible
new property and node definitions will requires new macro
to get the external NOR flash base address and size

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-04-30 18:44:24 +02:00
Mark Wang
bc47bce39b bluetooth: handsfree: improve the cod print string
cod is three bytes, print it as 6 hex values.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-04-30 13:59:58 +02:00
Francois Ramu
8501c46772 boards: st: stm32 add the SD disk name to boards with sdmmc node
Add a disk name to the SDMMC node, as done for all other SD card
compatibles in tree.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-04-30 10:55:04 +01:00
Marek Matej
780bafab6a tests, samples: update esp32_devkitc board records
Update the tests using the esp32_devkitc_xxx entries.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-04-29 16:48:55 +02:00
Johan Hedberg
f85d63a6cc Bluetooth: Remove USB H4 mode support
This non-standard feature never had any proper host side implementation
(e.g. it was never upstreamed to BlueZ), and since it comes with notable
maintenance overhead it's fair to just remove it.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-04-29 13:00:33 +02:00
Johan Hedberg
26d97164be Bluetooth: HCI: Use H:4 encoding for buffers
Encode the packet type as a H:4 payload prefix for buffers passing to &
from HCI drivers. The existing bt_buf_set/get_type functions are
deprecated, but kept compatible with the change, except that they can only
be called once, since they modify the buffer payload.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-04-29 13:00:33 +02:00
Abhinav Kulkarni
bbeb01d325 boards: nxp: mimxrt1060_evk: Added support for IW612 and IW416 SoCs
- Added separate overlay conf files for wifi IW416 and IW612 SoCs.
- Added overlay debug conf file for nxp wifi needed to enable debug logs.
- Added additional configurations for module's region selection.

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2025-04-29 08:16:46 +01:00
Derek Snell
faceffbb97 samples: drivers: uart: async_api: exclude some platforms with LPUART
NXP platforms with the LPUART require DMA for the async feature.
Exclude platforms without DMA.  Also exclude platforms with DCACHE
since this sample does not place the UART buffers in non-cacheable
memory.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-04-29 02:42:19 +02:00
Vladislav Pejic
d7c2605aae samples: sensor: Add adxl372 streaming config
Adds adxl372 streaming configuration to accelerometer samples.

Signed-off-by: Vladislav Pejic <vladislav.pejic@orioninc.com>
2025-04-28 12:55:18 -05:00
Robert Lubos
6a672bc5ba samples: net: mqtt_publisher: Enable MQTT 5.0 support
Enable MQTT 5.0 support in the mqtt_publisher sample and make use
of the topic aliasing feature.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-04-28 16:40:33 +02:00
Sayooj K Karun
74d6b21cd3 samples: tflite-micro: hello_world: round off quantization
Add roundoff to quantization calculation so that precision
is not lost in in edge cases or when quantization error
propagates through model layes.

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2025-04-28 16:40:02 +02:00
Fabrice DJIATSA
3f67e2efd4 samples: drivers: display: update display sample
add stm32u5g9j_dk2 conf file for display app.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-04-28 13:40:52 +01:00
Pályi Lőrinc
018963e0c7 samples: net: secure_mqtt: error code to enum
The error code `0x80` is replaced with its
corresponding `mqtt_suback_return_code` enum
value. This will make the code more readable, as
users of this example do not have to look up, what
`0x80` encodes.

Signed-off-by: Pályi Lőrinc <palyilorinc33@gmail.com>
2025-04-28 13:41:17 +02:00
Philipp Steiner
91dfa23f80 samples: bme280: adafruit: Add missing conf and power-domains
Add missing conf and power-domains for adafruit_feather_esp32s2
boards for the BME280 sample

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2025-04-28 08:37:41 +02:00
Vladislav Pejic
644dd757b2 samples: sensor: Add adxl367 streaming config
Adds adxl367 streaming configuration to accelerometer samples.

Signed-off-by: Vladislav Pejic <vladislav.pejic@orioninc.com>
2025-04-28 08:34:35 +02:00
Johann Fischer
07f196b33a sample: usb: add usbd test feature to samd21/samr21_xpro boards
Add usbd test feature to samd21/samr21_xpro boards.
Add samr21_xpro board to integration_platforms in a few samples.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-04-27 08:35:00 +02:00
Phi Bang Nguyen
78b9f25f76 drivers: video: Use video interfaces binding for ov7670 and smartdma
Have ov7670 and video smartdma use video interfaces binding. With
this, we can fix the chicken-egg issue in init priority and don't need
the workaround anymore.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-04-26 11:15:50 -04:00
7e31f6be48 samples: watchdog: add the ch32v003evt to the sample
The CH32V003 has a straight-forward watchdog that does not support
callbacks. Add an overlay and support.

To make the sample fit in flash, remove the unused logging from the
project configuration. The sample itself doesn't seem to use logging
so this is (mostly) a no-op.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-04-26 10:55:17 +02:00
Declan Snyder
e358713ea4 drivers: Move flexram to misc driver
Flexram is really not a memory controller, and does not belong in memc
namespace or directory. Move it to it's own misc directory and remove
memc_ from the namespace.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-04-26 10:55:09 +02:00
Jacob Wienecke
db63e563a9 drivers: memc: memc_nxp_flexram.h: Move to the public includes directory
Moved to: include/zephyr/drivers/misc/flexram/memc_nxp_flexram.h

This change makes it so that the .h file does not need to be pulled in
using the CMakeLists.txt file, and can be included like other public
includes.

Removes drivers/memc/memc_nxp_flexram.h

Add memc_nxp_flexram.h to include/zephyr/drivers/misc/flexram

Modify drivers/memc/memc_nxp_flexram.c to use the new include path.

Modifies the mimxrt1170 magic_addr sample to include the driver using
the new include path.

Modify the soc file: soc/nxp/imxrt/imxrt11xx/soc.c to use the new path.

Add relevant information to migration-guide-4.2.rst.

Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
2025-04-26 10:55:09 +02:00
Mahesh Mahadevan
f5691120ca samples: display: Add overlay for FRDM_RW612 boards
Enable low power mode (PM Mode 3) for FRDM_RW612 board.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-04-25 19:00:06 +02:00
Derek Snell
79b0e06692 samples: sensor: thermometer: frdm_rw612: enable Standby power mode
Enables System PM and Standby (AKA Sleep or PM3) mode, to test I2C
after waking from Standby mode.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-04-25 18:59:57 +02:00
Neil Chen
096468e7f2 samples: sensor/mcux_lpcmp: Add LPCMP use case
Enable LPCMP use case on NXP frdm_mcxa153 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-25 18:59:33 +02:00
Neil Chen
2826c4eb81 samples: drivers/adc: Support adc example for NXP frdm_mcxa153
Support adc example for NXP frdm_mcxa153

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-04-25 18:59:33 +02:00
Jordan Yates
bb0f19260a samples: uart: async_api: added
Add a sample that utilises the ASYNC API to queue packets in bursts.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-25 18:58:47 +02:00
Michal Kozikowski
9a6f116a6a soc: nordic: nrf54h: Disable GPD for MCUBoot
Disable GPD for MCUBoot build, as it cannot be
reinitialized later in application (SDFW does not
support reinitialization).

Also, remove the GPD disabling from the mcumgr sample
for nRF54H20 iron board app - it was the reinitialization
that caused problems.

Signed-off-by: Michal Kozikowski <michal.kozikowski@nordicsemi.no>
2025-04-25 14:06:08 +02:00
Hoang Nguyen
dda00a8ccb samples: subsys: llext: shell_loader: Exclude Renesas RZ/A2M
RZ/A2M requires MMU enabled. This sample disables MMU, so exclude the
platform.

Signed-off-by: Hoang Nguyen <hoang.nguyen.jx@bp.renesas.com>
Signed-off-by: Binh Nguyen <binh.nguyen.xw@renesas.com>
2025-04-25 14:05:01 +02:00
Jamie McCrae
bf59791aee samples: mgmt: mcumgr: smp_svr: Remove boot_info node
Removes a node from the devicetree overlay for a board for this
sample

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-04-25 14:03:34 +02:00
Jukka Rissanen
7595a4bb39 samples: net: zperf: Add compilation of concurrent upload support
Make sure we compile test CONFIG_ZPERF_SESSION_PER_THREAD support.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-04-25 10:22:33 +01:00
Derek Snell
dd825203b5 boards: nxp: add mcx_n9xx_evk
Another board for the MCXN947 SOC, very similar to FRDM-MCXN947

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-04-25 11:04:08 +02:00
Markus Becker
4e5b524775 samples: drivers: jesd216: Make output correct DTS syntax
This way, the content can directly be copied into DTS and overlay files.

Signed-off-by: Markus Becker <Markus.Becker@tridonic.com>
2025-04-24 16:54:59 +02:00
Sayooj K Karun
bf104d42cb bluetooth: mtu_update: peripheral: Add NULL check
Add NULL check for connection context, and only send the
notification if connection is established.

Signed-off-by: Sayooj K Karun <sayooj@atmosic.com>
2025-04-24 11:57:43 +02:00
Javad Rahimipetroudi
42683c369c samples: spi_flash: add support for blackpill_f411ce
This commit add spi nor flash support for blackpill_f411ce board

Signed-off-by: Javad Rahimipetroudi <javad321javad@gmail.com>
2025-04-24 01:27:27 +02:00
Jukka Rissanen
c09ec58f01 samples: net: dsa: Enable DHCPv4 and start it when interface is up
Enable DHCPv4 when network interface goes up. This makes it easier
to test IP connectivity with DSA.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
Yangbo Lu
4eb1669ac6 samples: net: dsa: convert to new dsa core driver
Converted to new dsa core driver. And adapted mimxrt1180_evk to it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
Yangbo Lu
14e4e12441 samples: net: dsa: rename master/slave to conduit/user
Renamed master/slave to conduit/user.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
Yangbo Lu
b22db75cec include: ethernet: rename dsa master/slave to conduit/user
Renamed dsa master/slave to conduit/user for capabilities.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
Yangbo Lu
018a718e12 net: dsa: make current DSA core driver obsolete
Current DSA TX/RX way was hard-coded in ethernet devices driver
with ETH_DSA_SUPPORT and NET_DSA.
This patch is to make such way obsolete, as we actually will support
a better DSA framework to handle this in NET/DSA core driver.
To make legacy devices not affected, below options are used instead.

- ETH_DSA_SUPPORT_DEPRECATED
- NET_DSA_DEPRECATED

Once the legacy devices are converted to new DSA framework, this code
could be removed.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00
Greg Leach
23338e5708 samples: Add BL54L15/L15u DVK support
Adds support for the BL54L15 and BL54L15u DVK boards.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2025-04-23 15:02:20 +02:00
Jordan Yates
3048e6df6e samples: net: zperf: test NET_ZPERF_SERVER=n
Validate that zperf compiles without `NET_ZPERF_SERVER`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-23 11:48:42 +02:00
Jordan Yates
ed93ea3913 samples: net: enable NET_ZPERF_SERVER
Enable `NET_ZPERF_SERVER` for samples that currently enable `NET_ZPERF`
to prevent feature regressions.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-23 11:48:42 +02:00
Kate Wang
b74feaacb8 samples: drivers: display: Enable example for g1120b0mipi on mimxrt798s
Enable display example for g1120b0mipi shield on mimxrt798s board and
update board document.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-04-23 10:03:42 +02:00
Johann Fischer
5b385493b3 samples: usb: testusb: use new USB device stack
Rework sample to use new USB device stack.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-04-23 02:15:10 +02:00
Jordan Yates
80f7124155 samples: net: zperf: fix NRF_WIFI_DATA_HEAP_SIZE
Commit e33d9ee4 incorrectly stated that:
 > Now that nRF70 by default uses zero-copy fine-tune the configuration
   to get optimal memory while getting peak throughputs.

This is incorrect since `NRF_WIFI_ZERO_COPY_TX` is only enabled by
default for the nRF54L series. Update the data heap size so that the
smaller value is only used when `NRF_WIFI_ZERO_COPY_TX` is enabled.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-22 10:00:19 +02:00
Jordan Yates
6695c8f0d6 doc: zbus: update iperf version information
Update iperf version information for use with zperf. Note the fallback
kconfig option for versions older than `2.0.10`, and remove the warning
about `LAST PACKET NOT RECEIVED!!!` since it is not longer present with
the fixed UDP header.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-22 09:59:57 +02:00
Andrej Butok
5f20f41808 samples: mcux_acmp: enable support for all mimxrt1170 revisions
Enables support for the mcux_acmp sample for all mimxrt1170 revisions.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-04-22 09:59:46 +02:00
Alain Volmat
0501e7ad20 samples: drivers: display: add stm32n6570_dk specific conf
Add stm32n6570_dk conf file in order to increase the amount of
HEAP to ensure k_malloc allocation goes well.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-04-22 09:59:34 +02:00
Benjamin Cabé
76c266c0a7 samples: uuid: fix README issues
- use zephyr-app-commands
- fix bullet list formatting
- cross-reference UUID doxygen group

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-22 04:34:51 +02:00