Commit graph

10700 commits

Author SHA1 Message Date
Martin Durietz
022903f01b samples: boards: Add MCO support for nucleo_wl55jc
Added overlay and modified sample.yaml to support the nucleo_wl55jc
board in the MCO example.

Signed-off-by: Martin Durietz <martin.durietz@gmail.com>
2025-03-24 19:23:09 +01:00
Andre Heinemans
2338f8efc5 samples: openamp_rsc_table: enable support for imx95_evk
openamp_rsc_table will run on the i.MX95 M7 core and can communicate
to the A55 that runs linux-imx.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-03-24 12:17:53 +01:00
Katarzyna Giądła
cefd85d16f samples: subsys: settings: Extend sample timeout
Defined timeout has not been enough for some platforms.
The change extendes timeout.

Signed-off-by: Katarzyna Giądła <katarzyna.giadla@nordicsemi.no>
2025-03-22 02:41:15 +01:00
Alberto Escolar Piedras
72502938b3 samples/drivers/mbox: Fix test regex
In 9d7ee123a5
the regex used to verify the sample is doing what it should was changed
in a way in which it cannot possibly pass.
Let's fix it.

While at it, in the same commit, the simulator version of the test was
merged with the real_hw version, but the test name kept "real_hw" which
is now missleading => let's fix it.

And let's set as integration platform the simulated target, so it
can actually be runtime tested in CI.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-03-22 02:41:05 +01:00
Lucas Tamborrino
054aced95c samples: boards: espressif: ulp
Add ULP directory for samples related to the
Ultra Low Power Coprocessor.
Add a sample to demonstrate the debug process of the LP Core

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2025-03-21 17:05:20 +01:00
Lucas Tamborrino
c6f84d0ba2 boards: espressif: esp32c6: Add LP Core board support
Add ULP Coprocessor board support for C6.
This requires a change in the board qualifier depending on the build
target.
Update esp32c6 overlay and configuration files to the proper name.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2025-03-21 17:05:20 +01:00
Robert Lubos
a61287e876 net: lib: tls_credentials: Rename TLS_CREDENTIAL_SERVER_CERTIFICATE
TLS_CREDENTIAL_SERVER_CERTIFICATE credential type is misleading, as in
fact it just represents a public certificate, it does not matter if the
certificate belongs to a server or a client. And actually, it was
already used in-tree for clients as well, for example in LwM2M.

Therefore rename the credential type to a more generic
TLS_CREDENTIAL_PUBLIC_CERTIFICATE and deprecate the old one.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-03-21 14:18:52 +01:00
The Nguyen
abde41911e samples: display: lvgl: add support for rtk7eka6m3b00001bu shield
Enable build support for samples/subsys/display/lvgl on rtk7eka6m3b00001bu

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-03-21 14:17:21 +01:00
The Nguyen
78c63263f5 samples: display: add support for rtk7eka6m3b00001bu shield
Enable samples/drivers/display build support for rtk7eka6m3b00001bu
display shield

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-03-21 14:17:21 +01:00
The Nguyen
6592d399ff samples: modules: lvgl: add support for rtk7eka6m3b00001bu shield
Add support for lvgl demo on rtk7eka6m3b00001bu display shield

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-03-21 14:17:21 +01:00
TOKITA Hiroshi
230280e0e9 boards: arduino: uno_r4: Add ADC, PWM, I2C, SPI, and TRNG
Add support for basic peripherals.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-21 09:51:47 +01:00
Mahesh Mahadevan
380494af38 samples: button: Enable PM Mode 3 on NXP RD_RW612
Enable testing this sample with PM Mode 3

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-21 09:51:38 +01:00
Chaitanya Tata
8fe1df6f59 samples: net: zperf: Remove fixed size config for nRF70
nRF70 now by default uses variale buffers.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-20 21:58:36 +01:00
Chaitanya Tata
0b8601cfbe samples: net: zperf: Fix RAM overflow for nRF70
nRF70 driver now uses a separate heap, so, no need to explicitly
configure the kernel heap.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-20 21:58:36 +01:00
Mahesh Mahadevan
4ef64e7ac0 boards: frdm_rw612: Add Display support
Add support to work with the LCD-PAR-S035 display
that is connected over the PMOD interface.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-03-20 21:57:58 +01:00
Jukka Rissanen
fceb30d935 samples: net: vlan: Refactor VLAN support
Move the common VLAN setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-20 17:16:10 +01:00
Jukka Rissanen
6dd239098b samples: net: txtime: Refactor VLAN support
Move the common VLAN setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-20 17:16:10 +01:00
Jukka Rissanen
f47c5a6c6d samples: net: mdns_responder: Refactor VLAN support
Move the common VLAN setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-20 17:16:10 +01:00
Jukka Rissanen
723cbb6df3 samples: net: echo-client: Refactor VLAN support
Move the common VLAN setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-20 17:16:10 +01:00
Jukka Rissanen
3c6d3ed6c2 samples: net: echo-server: Refactor VLAN support
Move the common VLAN setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-20 17:16:10 +01:00
Martin Hoff
80f0801ef8 samples: Add silasb xg29_rb4412a to some sample.yaml with overlay
Enable to test samples on silabs xg29_rb4412a board.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-03-20 17:14:35 +01:00
TOKITA Hiroshi
dbd1449132 samples: net: http_server: add extra config for enable DHCPv4
Add `overlay-dhcpv4.conf` for using this sample with DHCPv4.

When the DHCPv4 client is enabled, we must have a large number
for `CONFIG_ZVFS_EVENTFD_MAX`.
This sample may be frequently used with the DHCPv4 client,
so we'll add the extra config file.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-20 07:21:15 +01:00
Krzysztof Chruściński
a5d023a496 samples: drivers: adc: adc_sequence: Update nrf54h20 configuration
Add AIN9 pin in nrf54h20dk to verify AIN8-AIN13 inputs.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-03-19 10:57:33 +01:00
Emil Gydesen
065dca7e92 Bluetooth: ISO: Make setting ISO data explicit
The stack will no longer implicitly set the data path
for ISO channel, and the responsibility for doing that is
now for the upper layers/applications.

This provides additional flexibility for the higher layers
as they can better control the values and timing of the data
path, as well as support removing and even reconfiguring the
data path at will.
This also removes some complexity from the stack.

This commit also fixed a inconsistency in the disconnected
handler. CIS for centrals as well as BIS were still valid
bt_iso_chan channels in the disconnected callback,
but CIS for peripherals were completely cleaned up at this
point. This issue is fixed by moving the disconnected callback
handling to before the code to cleanup the channel for
peripherals.

Since there is a difference in how you remove data paths
depending on the GAP role (central/peripheral), the
iso_info struct type has been expanded to be more
concise of which type of CIS it is.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-03-19 10:56:57 +01:00
Abderrahmane JARMOUNI
cbced96e2c samples: modules: lvgl: demos: increase native_sim mempool size
Increase native_sim_64 LVGL MEM_POOL_SIZE to accomodate flex_layout demo

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-03-19 01:28:54 +01:00
Flavio Ceolin
6e9f4bb6d6 samples: task_wdt: Use wdt device if it is ready
hw_wdt_dev may not be NULL and the device not be ready to be used.
If that is the case we explicitely initialize task_wdt_init with
NULL and do not use hw watchdog.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-03-19 01:24:56 +01:00
Francois Ramu
62f5386518 samples: boards: st: build only this sample for stm32 boards
Makes the sample build only in automatic test CI
Running on the nucleo_f411re board requires hsi enable
Running on the nucleo_wba55cg can still output the console
on the usart1 Tx even if the usart1Rx is used by the MCO output

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-03-18 19:59:17 +01:00
Jukka Rissanen
5ab95a7e09 samples: net: echo_service: Fix documentation
Clarify the documentation in the README.rst file. Also remove the
obsolete comment from main.c as it is no longer correct.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-18 19:58:53 +01:00
Jilay Pandya
93191aae77 samples: stepper: extend sample with enable, disable, stop functions
extend stepper generic sample to include enable, disable and stop functions

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-03-18 19:53:59 +01:00
Benjamin Cabé
f7ad282504 boards: arduino: doc: Adopt Sphinx custom board directives
Adds zephyr:board and zephyr:board-supported-hw directives to the
Arduino docs in order to generate more of the boards' documentation
automatically.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-18 16:40:59 +01:00
Francois Ramu
1f3ffc3111 samples: code relocation for the stm32f746 disco kit
Add the configuration for using the external FLASh Memory
and execute the samples/application_development/code_relocation_nocopy/
on the stm32f746g_disco board

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-03-18 16:40:47 +01:00
Jilay Pandya
0a4acd8ee8 dts: bindings: spi: use hyphen instead of underscore
use hyphen instead of underscore in order to comply with device tree
specification.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-03-18 16:40:19 +01:00
Emil Gydesen
fb68b4be7e Revert "Bluetooth: Audio: Use generic count_bits to count bits"
This reverts commit ee335399c1.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-03-18 16:39:47 +01:00
Marcin Niestroj
82b614062f samples: net: echo_server: add runtime test for NSOS net init
Expect that networking is properly setup, by expecting
NET_EVENT_L4_CONNECTED event and listening for TCP/UDP incoming traffic on
both IPv4 and IPv6.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2025-03-18 08:27:06 +01:00
The Nguyen
2f6d4f6969 samples: watchdog: add support for renesas,ra-wdt
Add Renesas RA WDT support for samples/drivers/watchdog

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-03-18 08:26:40 +01:00
Emil Gydesen
ee335399c1 Bluetooth: Audio: Use generic count_bits to count bits
Instead of re-implementing or assuming that POPCOUNT is available
we now use the generic function from Zephyr.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-03-17 21:03:56 -04:00
Bartlomiej Buczek
c08edf7a72 samples: boards: nrf: system_off: Print reset reason.
Add printing reset reason at the beginning of the sample. Makes it easier
to determine if sample correctly wakes up from LP mode.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2025-03-17 19:59:15 +01:00
Jukka Rissanen
ac3cb9dac0 net: Change the net_linkaddr struct to not use pointers
Previously the net_linkaddr struct had pointers to the link address.
This is error prone and difficult to handle if cloning the packet as
those pointers can point to wrong place. Mitigate this issue by
allocating the space for link address in net_linkaddr struct. This will
increase the size of the net_pkt by 4 octets for IEEE 802.15.4 where the
link address length is 8, but there no increase in size if link address
is 6 bytes like in Ethernet/Wi-Fi.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-17 16:25:22 +01:00
Vinayak Kariappa Chettimada
64ea1b8696 tests: bsim: Bluetooth: broadcast_audio_source interleaved/sequential
Test broadcast audio source sample in interleaved and
sequential packing.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-03-17 16:24:33 +01:00
Vinayak Kariappa Chettimada
6d5658684f samples: Bluetooth: Support interleaved packing in BIS samples
Add Kconfig options in Broadcast ISO related samples to
support enabling interleaved packing use in subevents.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-03-17 16:24:33 +01:00
Vinayak Kariappa Chettimada
027fc01fe3 samples: Bluetooth: hci_uart hci_ipc configuration update
Updates to project configuration extras to build with
Zephyr Controller.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-03-17 16:24:33 +01:00
Andrej Butok
94c9cc98a9 sample: nvs: add NVS sample Kconfig
- adds the ability to change the NVS sample "Maximum reboot counter",
  "Reboot countdown" and its "Sleep time" parameters via Kconfig,
  without manually modifying the source code.
- reduces the default number of resets to 5 (was 400).
- adds the ability to reduce flash memory wear on real devices
  by reducing the number of write iterations.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-03-17 13:57:54 +01:00
Sai Santhosh Malae
c6198008f5 drivers: watchdog: siwx91x: Add siwx91x WDT driver
Implement Watchdog driver for siwx91x device

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-03-17 13:56:24 +01:00
Benjamin Cabé
06e86e95da Revert "drivers: gpio_cc13xx_cc26xx: Update for latest sdk"
This reverts commit 99e7223a1c.

Breaks CI with the following compilation error in SPI.c:52:
error: 'SPI_MASTER' undeclared here (not in a function)

Failing tests (cc3220sf_launchxl/cc3220sf)
- sample.net.sockets.echo.offload.simplelink
- sample.net.sockets.http_get.offload.simplelink
- sample.net.wifi

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-17 13:55:34 +01:00
Ayush Singh
99e7223a1c drivers: gpio_cc13xx_cc26xx: Update for latest sdk
- It seems that the mask variants of GPIO functions are not present in
  the latest sdk, so replace those with direct register access.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-03-17 09:25:58 +01:00
Carlo Kirchmeier
08d652db56 test: fs: enable fstab devicetree integration for fatfs
Added tests in order to verify the functionality of the
newly added fatfs fstab integration.

Signed-off-by: Carlo Kirchmeier <carlo.kirchmeier@zuehlke.com>
Co-authored-by: Carlo Kirchmeier <carlo.kirchmeier@zuehlke.com>
Co-authored-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2025-03-15 13:07:40 +01:00
Anas Nashif
78b114afba samples: hash_map: use sample identifier for samples
Use 'sample' in the identifier to mark this as a sample.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-03-15 00:35:23 +01:00
Anas Nashif
f29ae72d79 kernel: rename 'dumb' scheduler and simply call it 'simple'
Improve naming of the scheduler and call it what it is: simple. Using
'dumb' for the default scheduler algorithm in Zephyr is a bad idea.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-03-15 00:34:58 +01:00
Leon Rinkel
b5cd22ea16 boards: adafruit: add initial support esp32s3 feather tft
The Adafruit Feather ESP32S3 is a development board in the Feather
standard layout, sharing peripheral placement with other devices labeled
as Feathers or FeatherWings. The board is equipped with an ESP32-S3 mini
module, a lithium ion battery charger and a USB-C connector. Compared to
the base model, this TFT variant additionally comes with a 240x135 pixel
IPS TFT color display.

Signed-off-by: Leon Rinkel <leon@rinkel.me>
2025-03-14 17:53:13 +01:00
Leon Rinkel
3caa0b9ed5 boards: adafruit: add initial support for esp32s3 feather
The Adafruit Feather ESP32S3 is a development board in the Feather
standard layout, sharing peripheral placement with other devices labeled
as Feathers or FeatherWings. The board is equipped with an ESP32-S3 mini
module, a lithium ion battery charger and a USB-C connector.

Signed-off-by: Leon Rinkel <leon@rinkel.me>
2025-03-14 17:53:13 +01:00