Commit graph

92424 commits

Author SHA1 Message Date
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é e914c60ae1 boards: intel_adsp: fix dead link
Chromium OS disk format documentation has moved.

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
Benjamin Cabé 72a36668db doc: boards: acn52832 remove 404 link
Aconno doesn't seem to be around anymore. Remove deadlink to product page.
Issue originally reported in #67099

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé c75b99e963 doc: boards: update links to DWM1001 web page
This board's docs are now to be found on Qorvo website, update links
accordingly.
Originally reported in #67099.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé 8f09325e4a doc: boards: Update E73-TBB product page link
E73-TBB board now lives at cdebyte.com.
Fixes #67099.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé 8190fb6257 boards: doc: fix dead link to Keyestudio CAN-BUS Shield page
Fix an HTTP 404 for the link to Keyestudio CAN-BUS Shield product page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé 910ec65b0d boards: Fix dead link in Laird Connectivity Sentrius BT610 Sensor page
Fix dead link to Sentrius™ BT610 Thermistor Coefficient Calculator page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Benjamin Cabé 9395771d8b boards: doc: Fix dead links in Arduino Nicla Sense ME doc page
Updated 3 dead (404) links in the doc page for Arduino Nicla Sense ME.
Also uniformized indenting of sphinx links in the process.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-03-15 18:21:05 -04:00
Kai Vehmanen 010f39a409 soc: intel_adsp_cavs: store PS when power gating secondary core
When non-primary core is powered down and restart with sequence of:
 - PM state set to SOFT_OFF
 - once target core is idle, cut power with soc_adsp_halt_cpu()
 - power up core again with k_smp_cpu_resume()

The execution will continue from stored DSP core context, but
will hit an assert in z_smp_cpu_mobile() as the PS.INTLEVEL
is zero.

Fix this issue by storing and restoring PS register in this flow.

Link: https://github.com/zephyrproject-rtos/zephyr/issues/70181
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-15 18:16:51 -04:00
Declan Snyder d1029da089 tests: spi_loopback: Support rd_rw612_bga
Add rd_rw612_bga to spi loopback test

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-15 18:07:45 -04:00
Declan Snyder ba1ab8cc5e boards: rd_rw612_bga: Enable FC0 as SPI
Enable flexcomm0 as SPI on rd_rw612_bga

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-15 18:07:45 -04:00
Declan Snyder fa6e894e1d soc: nxp: rw: Clock SPI Flexcomms
Clock flexcomms if used as SPI

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-03-15 18:07:45 -04:00
Jamie McCrae 774aa3605f boards: lairdconnect: bl5340_dvk: Fix file name
Fixes an wrong file name for a file that had been renamed as part
of the hwmv2 port

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-15 17:13:57 -04:00
Jiafei Pan c2447d4230 boards: imx93_evk: add led1 alias
So that it can be used to run basic thread sample application.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-15 17:13:41 -04:00
Jiafei Pan ee4131afc1 tests: gpio_basic_api: change imx93 evk board name
Updated according to hardware model v2 board name changes.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-03-15 17:13:41 -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
Mahesh Mahadevan 3c68a20d75 boards: frdm_mcxn947: Move the GPIO button nodes to the common file
Move the GPIO button dts nodes to the common dts file so it
be selected by either cpu core.
Also fix an error in the GPIO setting for one of the switches.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-15 17:12:53 -04:00
Daniel DeGrasse 868f0cdfec boards: update lpcxpresso55s69_cpu0 name in build commands
Update lpcxpresso55s69_cpu0 (and ns target) names in build commands in
the board documentation. Also, correct the documentation for dual core
images on this part, as it was out of date.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-15 17:12:08 -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
Daniel DeGrasse 8347abd001 drivers: counter: counter_nxp_mrt: include soc.h for MRT CMSIS defines
Include soc.h in nxp MRT driver, so that CMSIS register definitions will
be available in this file

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-15 17:12:08 -04:00
Ren Chen 765a4eb0b8 drivers: timer: it8xxx2: enhances the accuracy of hw cycle calculation
This commit enhances the accuracy of hardware cycle calculation before
setting the IT8xxx2 event timer. The next target cycle is calculated by
the last, elapsed, and expected timeout ticks. And then, the difference
in hardware cycles between the target cycle and the current cycle is set
into the event timer. This increased accuracy effectively resolves the
clock drift issue.

Tested with:
west build -p always -b it8xxx2_evb tests/kernel/timer/timer_api
     -T kernel.timer.tickless
west build -p always -b it8xxx2_evb tests/kernel/timer/timer_behavior
     -T kernel.timer.timer

Fixes #67474 #67833

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2024-03-15 17:11:33 -04:00
Flavio Ceolin 417747886c tests: sprintf: Avoid buffer overrun
fwrite parameters are "size_t size" and "size_t nmemb",
when writing a string we should set sizeof(char) and len(string).
The test is doing it wrongly and making the function read more
memory than it should.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-03-15 17:08:58 -04:00
Samy Francelet 4163ea0207 drivers: eswifi: Add option for maximum data size
Default MAX_DATA_SIZE might be too small depending
on application (e.g. handling the scan result with 12 APs detected)
Added config option for MAX_DATA_SIZE and warning for the user

Signed-off-by: Samy Francelet <samy.francelet@ik.me>
2024-03-15 15:16:27 -05:00
Alberto Escolar Piedras cf362a018c nrf53_bsim: Enable CodedPhy support in DTS
The RADIO HW model supports coded phy now, let's enable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Alberto Escolar Piedras 84df9f5e71 nrf52_bsim: Enable CodedPhy support in DTS
The RADIO HW model supports coded phy now, let's enable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Alberto Escolar Piedras 4442477d93 Bluetooth: Controller: Add coded phy radio timings for nrf52_bsim
Add Coded Phy radio timings for the nrf52_bsim

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Alberto Escolar Piedras b7787792f1 Bluetooth: Controller: Nordic HAL: Use HAL to configure Timer's CC
Use the HAL always when setting the TIMERs CC registers,
(also for coded Phy) to ensure things work properly for simulation.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Alberto Escolar Piedras 81ea7fc889 manifest: Update nRF hw models to latest
* Update the HW models module to
df94612a846b8b1da166d3e4e4273df54de02340

Including the following:
* df94612 GPIO: Add test API to be notified on output changes
* 0da9163 HW models: Use libUtil bs_create_folders_in_path
* c7798a4 CodedPhy: Several fixes and added documentation
* 534c8d4 RADIO: Move CCM decryption trigger to CRCEND
* bde13fc RADIO: Preliminary Coded Phy support
* ff2a79d RADIO: Refactored modulation selection
* f3823e5 RADIO: Fix in Tx packet end time
* d6ebdd9 RADIO: Refactored Address selection

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Alberto Escolar Piedras f2d79470f3 Manifest: Update bsim to version v2.2
Which includes BLE coded phy support

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 13:55:27 -05:00
Jeppe Odgaard 20f747bb63 drivers: sensor: qdec_stm32: fix inverted polarity
Use the Polarity member instead of the ActivityInput.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2024-03-15 17:43:51 +01:00
Erwan Gouriou 94477c099c boards: st: nucleo_wba: Fix openocd configuration
Using Zephyr SDK 0.16.5, openocd can be used to debug WBA based boards.
Fix documentation and clean up board.cmake configuration for
nucleo_wba52cg from a local configuration which shouldn't have been
upstreamed

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-15 17:28:16 +01:00
Erwan Gouriou ba2b167a40 boards: nucleo_wba: Add flash partitions
Add flash partitions which can be used with mcuboot.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-15 17:28:16 +01:00
Emil Gydesen 5d054a7eb8 Bluetooth: TMAP: Shell: Improve logging of role
The role is a 16-bit value, and is best logged as %04X.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-03-15 10:35:26 -05:00
Morten Priess 6f374d850a Bluetooth: controller: Parameter check for ISO sync recv qualification
Add HCI input parameter validation according to spec for passing
qualification tests.

- Conditional compile of LE Set PA Receive Enable feature
- Store BIGinfo encryption state and number of streams
- Do not report BIGinfo if phy is invalid or unsupported
- Return disallowed ll_read_iso_tx_sync uses sync recever handle
- Validate BIS indices in ll_big_sync_create

Signed-off-by: Morten Priess <mtpr@oticon.com>
2024-03-15 10:34:48 -05:00
Morten Priess feb58c2906 Bluetooth: controller: Add handling of HCI reset for sync_iso
Properly shut down ticker and initialize data at HCI reset.

Signed-off-by: Morten Priess <mtpr@oticon.com>
2024-03-15 10:34:48 -05: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 13a7258ea4 native_posix: Add twister definition for native_sim/native/64
Which will replace the old native_sim_64 to align it with
the hwmv2 naming conventions.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras 0108c6ba38 native_sim: Add twister definition for native_sim/native/64
Which will replace the old native_sim_64 to align it with
the hwmv2 naming conventions.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-15 16:13:12 +01:00
Alberto Escolar Piedras 88e48375ec tests/modules/nanopb: 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 0d5ac4ef11 tests/ztest: 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 8abdc49664 tests/subsys several: 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 94a8681527 tests/subsys/dfu: 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 5ddb8d499e tests/subsys/fs: 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 0df3c62461 tests/subsys/input: 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 00f2397364 tests/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 822778ddab tests/posix: 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 9ccf2074e4 tests/misc/check_init_priorities: Use hwmv2 native targets ident
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 2c6db3b717 tests/lib: 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 185c60673b tests/boards/native_sim: 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