Commit graph

10761 commits

Author SHA1 Message Date
Tomi Fontanilles
9fe86b7dfe samples: net: cellular_modem: improve nRF9160 DK configurations
- Async UART would start receiving some data incorrectly
  without HW RX byte counting at baud rates above 115200.

- Increase the UART buffer sizes to be able to receive
  whole UART TXs of 1500 bytes sent by SLM at once.

- Remove the Kconfig items whose definition is now redundant.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-03-20 07:54:44 -05:00
Tomasz Moń
d05d51d869 samples: bluetooth: hci_usb: Use common USB sample initialization
Convert hci_usb sample to use common USB sample initialization code.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2024-03-20 12:34:46 +01:00
Lauren Murphy
d0ae602cef tflite-micro: update README to pull optional module
tflite-micro is an optional module now, and needs to be
pulled for the sample to build.

Fixes #69942.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2024-03-19 14:31:15 -04:00
Andrzej Głąbek
7cda16528c samples: Replace nRF54H20 PDK with nRF54H20 DK
nRF54H20 PDK is superseded by nRF54H20 DK and will no longer be
supported.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-18 19:11:36 +00:00
Jamie McCrae
369e40b27b samples: ipc: rpmsg_service: Add sample file, remove broken builds
Adds a sample file so that this sample is built in CI and removes
all configurations that do not build

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-18 15:41:53 +01:00
Benjamin Cabé
9da1390b55 asamples: drivers: ht16k33: fix product link
Update URL to product page to HTTPS & more recent version.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé
fd265dba61 doc: samples: use https URL for adt7420 sample
http://www.analog.com/adt7420 does not exist anymore nor redirect to
https, so update the link to be https

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Alberto Escolar Piedras
e807b7e1c2 samples/basic/hash_map: Remove clarification sentence
This current sentence would need to be clarified a bit
further to be really correct:
It is only when building with the host C library that it
applies, but with native_sim we can build with other
libC's.
The twister tests definitions are testing only with
embedded C libraries,
and there is anyway no harm if somebody defines the heap
size even if using the host libC.
So as such it would seem better to just remove this
sentence.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 17:13:18 -04:00
Daniel DeGrasse
ec5df8a0e5 treewide: fix board identifier in overlays for lpcxpresso55s69
Fix board identifier in overlays for the lpcxpresso55s69_cpu0 target.
Board identifiers were renamed with the following command:

for file in $(find . -name "lpcxpresso55s69_cpu0.*"); do;
	mv $file ${file/_cpu0/_lpc55s69_cpu0};
done

Additionally, remove lpcxpresso55s69_ns overlay targets where they are
no longer needed (or rename them where they are)

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-15 17:12:08 -04:00
Hake Huang
6525d6c1e8 samples: tfm_integration: lpc55s69: enable tfm samples
Enable lpcxpresso55s69/lpc55s69/cpu0/ns for supported tfm samples

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2024-03-15 10:33:46 -05:00
Alberto Escolar Piedras
05f1b2c207 samples misc: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
af047e1891 samples/subsys: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
cb2016c2a0 samples/posix: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
442a3e2c5c samples/net several: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
272495a358 samples/subsys/zbus/uart_bridge: Remove redundant overlays
Remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
1d96cab18d samples/subsys/settings: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
ada74bf631 samples/subsys/display/lvgl: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
86d71c7d83 samples/net/sockets/*: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
7ea52466ee samples/net/gptp: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
1b25efda6c samples/net/gptp: Use hwmv2 native targets identifiers
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
dda9ab949b samples/drivers: Use hwmv2 native targets
For the 64 bit targets, change identifiers to the new hwmv2 ones.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
b08a007c28 samples lvgl/demos: Use hwmv2 native targets
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
cbe76fbc7e samples lvgl/accelerometer_chart: Use hwmv2 native targets
For the 64 bit targets, change identifiers to the new hwmv2 ones.
And remove redundant overlays (which were equal for the 32
and 64 bit versions)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras
1dd67be2e1 samples/net/telnet: Filter out for NATIVE_APPLICATION
This sample enables EVENTFD (through NET_SOCKETS_SERVICE)
which is not kconfig compatible with the old
NATIVE_APPLICATION targets (native_posix[//64])
Let's explicity filter out this platforms to avoid the
sample from failing to build

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
sukrit buddeewong
ddb147d0a4 sample: net: mqtt: add ALPN Sample code for aws
due to MQTT now have ALPN support
the example code of using ALPN to connect MQTT
over port 443 need to be added

Signed-off-by: sukrit buddeewong <sukrit.omu@gmail.com>
2024-03-14 17:04:11 -05:00
Gerard Marull-Paretas
752079a070 samples: drivers: mbox: fix nRF54H20 vevif/bellboard regexes
Both VEVIF and BELLBOARD test cases are unidirectional from the core
executing the test (cpuapp). For VEVIF, cpuapp pings, and for BELLBOARD,
cpuapp pongs.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-14 09:47:31 +00:00
Lyle Zhu
c803b1e1f4 Samples: Bluetooth: HF: Fix link key missing issue
The bonding info is not loaded after the Bluetooth
initialization again.

Call settings_load after the Bluetooth initialized.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-03-14 09:47:23 +00:00
Ryan Erickson
2ca67b56fb samples: net: cellular_modem: add mg100 support
Add support for mg100 gateway.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
2024-03-13 13:05:51 -05:00
Ryan Erickson
ebd74fe332 samples: net: cellular_modem: add pinnacle 100 support
Add support for Pinnacle 100 DVK.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
2024-03-13 13:05:51 -05:00
Ryan Erickson
cf628c6779 samples: net: cellular_modem: fix kconfig warning for logging
Logging needs to be on for CONFIG_MODEM_MODULES_LOG_LEVEL_DBG to work.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
2024-03-13 13:05:51 -05:00
Eve Redero
4809491b26 boards: st: st25dv_mb1283_disco: add mb1283 board
ST25DV discovery kit, including an LCD color screen.
ST25 support not included.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2024-03-13 09:50:26 -05:00
Vinayak Kariappa Chettimada
cd6674f7c2 samples: Bluetooth: Broadcast audio sink USB headset on nRF52 Series
Broadcast audio sink USB headset on nRF52 Series with USB
support.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-03-13 12:33:20 +01:00
Eve Redero
e5573a6ee0 doc: samples: lvgl: add details to lvgl demos readme
LVGL demos in this folder are all based on pointer input devices,
not any input devices types.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2024-03-12 17:56:36 +00:00
Emil Gydesen
4d2bc5f5e8 samples: Bluetooth: Add stereo support for broadcast audio sink
The broadcast audio sink now supports stereo if
CONFIG_TARGET_BROADCAST_CHANNEL=3 (LEFT | RIGHT).

It parses the BASE to find a set of BIS (1 or 2) that contain
the channel allocation from CONFIG_TARGET_BROADCAST_CHANNEL.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-03-12 13:56:55 +01:00
Abderrahmane Jarmouni
84638156c7 samples: subsys: fs: littlefs: add stm32 configs & tests
Add & fix configs & test cases for stm32 boards.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2024-03-11 17:55:08 +00:00
Daniel DeGrasse
e61e6a4092 samples: drivers: ipm: ipm_mcux: fix build command documentation
Documentation for IPM MCUX sample did not provide correct command for
building sample. To resolve this, add the "--sysbuild" argument to build
command documentation

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-11 10:25:09 -04:00
Graham Harrison
20283846d0 samples: bluetooth: ESS Naming clean up
Fix for ESS naming

Signed-off-by: Graham Harrison <graham.harrison@axcendcorp.com>
2024-03-09 14:08:30 -06:00
Fin Maaß
6e12b0210f log: net: move log_backend_net_get() to header
This moves the declaration of log_backend_net_get() to
zephyr/logging/log_backend_net.h

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-03-08 15:18:30 +00:00
Ioannis Karachalios
6afea7c51c boards: renesas: dts: Add overlay files to support LCDC
In order to avoid defining almost the same overlays for different
sample codes and/or applications a common overlay file per
display interface is defined under the boards dts folder.
In doing so, an application/sample code will only have to
define another overlay explicitly under application's board
folder if more blocks are to be enabled. In either case, users
should explicitly invoke the requested overfiles at 'west build'
invokation by using the DTC_OVERLAY_FILE system variable.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-03-08 10:21:06 +00:00
Christopher Friedt
6ef6cf54b4 samples: posix: add environment variable sample app
Add a sample application to demonstrate some basic
C and shell interfaces for manipulating environment
variables.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2024-03-08 04:28:47 -05:00
Emil Gydesen
53cca3ea4e samples: Bluetooth: Broadcast sink: Add proper parsing decoding of LC3 data
The sample assumed that the broadcast audio was always a single
frame per block. This commit improves the validation of the
codec configuration from the broadcast source, and properly
decodes the SDU using the configuration values.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-03-08 10:20:29 +01:00
Gerard Marull-Paretas
80cc7d1ee5 drivers: mbox: update MBOX consumers to the new API
Update all usages of the MBOX API to the latest API changes (to be
squashed for bisectability).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-07 14:32:57 +00:00
Gerard Marull-Paretas
529bf56aa3 samples: drivers: mbox_data: use DT
Instead of hardcoded stuff in C sources (node label and channel IDs).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-07 14:32:57 +00:00
Gerard Marull-Paretas
ab8574a791 samples: drivers: mbox: use DT
Instead of hardcoding stuff in the sample (mbox node label and channel
ids).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-07 14:32:57 +00:00
Chang An
3605d57ae1 LE Audio: bt_bap_broadcast_sink_cb.syncable should provide the BIGInfo
Modify bt_bap_broadcast_sink_cb.syncable to provide the BIGInfo
instead of just the encryption field.

Signed-off-by: Chang An <chang.an_1@nxp.com>
2024-03-07 11:09:12 +00:00
Reto Schneider
1e11bbe1f8 samples: drivers: crypto: Put keys in ROM
This change reduces the RAM consumption.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2024-03-07 10:58:23 +00:00
Phi Bang Nguyen
5607a44658 samples: drivers: display: Modify heap size configs for RT595 & RT1170
The heap size for i.MX RT1170 is way too much while for i.MX RT595, it
is too small to afford for 4-bytes formats, e.g. ARGB8888.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-03-07 10:57:57 +00:00
Jens Rehhoff Thomsen
056fe7d2ae Bluetooth samples: Add USE_SPECIFIC_BROADCAST_CHANNEL Kconfig
Added USE_SPECIFIC_BROADCAST_CHANNEL which enable/disables the use of a
specific channel audio location for the broadcast audio sink sample.
If USE_SPECIFIC_BROADCAST_CHANNEL is set to no then first valid channel
is chosen. In this case broadcast channel with no audio location is
also supported.

Signed-off-by: Jens Rehhoff Thomsen <jthm@demant.com>
2024-03-07 11:44:16 +02:00
Lyle Zhu
40cf23daff Bluetooth: Rename BT_BREDR to BT_CLASSIC
Rename BT_BREDR to BT_CLASSIC
Rename CONFIG_BT_BREDR to CONFIG_BT_CLASSIC

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-03-07 11:26:45 +02:00
Lyle Zhu
83bfa4c91b Bluetooth: Host: Move BR headers to subfolder classic
Move BR/EDR header files from "include/zephyr/
bluetooth" to subfolder "include/zephyr/bluetooth/
classic".

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-03-07 11:26:45 +02:00