Commit Graph

1687 Commits

Author SHA1 Message Date
Hao Luo
ba52a93ac9 drivers: adc: Add support for Apollo510 ADC
This commit adds support for Apollo510 SoC in ambiq adc driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-05-14 09:11:17 +02:00
Christian Rask
bd14664e85 test: driver: display: add test case for x_nucleo_gfx01m2
Add test case for x_nucleo_gfx01m2 shield with nucleo_g071rb board.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
2025-05-13 16:22:52 +02:00
Chen Xingyu
dc4e259dde samples: drivers: Add auxdisplay_digits sample
This commit introduces a new sample for the Auxiliary display driver.

The sample demonstrates counting from 0 to 1000, with an interval of 100ms
between each increment.

This sample primarily serves to demonstrate the capabilities of segment
displays.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-05-09 21:08:32 +02:00
Krzysztof Chruściński
7a162846c4 samples: drivers: adc: adc_sequence: Fix nrf54h20dk configuration
AIN9 source needs special handling (all from AIN8-AIN14). Conversion
result needs to be scaled up by 3.6 additionally to gain and reference
voltage. In order to achieve correct value in the sample vref-mv is
used as reference voltage instead of predefined internal reference
source.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-05-09 15:40:53 +02:00
Krzysztof Chruściński
2174e1690a samples: drivers: adc: adc_sequence: Do not overwrite vref_mv
Sample is reading vref-mv property to get reference voltage and then if
reference source is set to ADC_REF_INTERNAL this value is overwritten.
If vref-mv property is provided then it should not be overwritten.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-05-09 15:40:53 +02:00
Neil Chen
a944cc3155 samples: drivers: i2c: add target_eeprom support for frdm_mcxa153 board
add i2c target_eeprom support for frdm_mcxa153 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-09 12:51:20 +02:00
Josuah Demangeon
c2b408df9b samples: drivers: video: capture: fix Arduino Nicla Vision
Since #84446 it became necessary to enqueue a first video buffer before
performing the transfers. Apply this config change to the sample.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-05-09 01:40:47 +02:00
Michael Hope
3fe4bcb67b boards: wch: add the ch32v006evt
The WCH CH32V006EVT is an evaluation board for the RISC-V based
CH32V006K8U6 SOC.

The board is equipped with a power LED, reset button, USB port for
power, and two user LEDs.

Add the board definition, documentation, and sample overlay.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-05-09 01:40:22 +02:00
Hao Luo
04aaa18f1d drivers: counter: add counter support for apollo510
This commit adds support for apollo510 counter

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-05-08 08:55:06 +02:00
Hao Luo
c2ef2c551e drivers: rtc: add rtc support for apollo510
This commit adds support for apollo510 rtc

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-05-08 08:55:06 +02:00
Stanley Huang
e589fd6e24 boards: raytac: Add support for raytac_an54l15q_db
Add support for Raytac's new AN54L15Q-DB demo board.

Signed-off-by: Stanley Huang <stanley@raytac.com>
2025-05-08 08:54:58 +02:00
Josuah Demangeon
d4c39f8ebc samples: drivers: video: capture: add FRDM-MCXN947
Add FRDM-MCXN947 to the video capture sample documentation and twister
YAML configuration, using the DVP OV7670 camera module newly introduced.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-05-07 15:13:42 +01:00
Josuah Demangeon
e6517d0c7b boards: nxp: frdm_mcxn947: migrate ov7670 to a shield
The OV7670 was defined as part of the FRDM-MCXN947 board attached to the
SmartDMA and I2C peripheral. Migrate the devicetree to a reusable shield
that can be swapped with other image sensors.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-05-07 15:13:42 +01:00
Alain Volmat
339d7fdb8b samples: video: capture: allow -ENOSYS blanking error
The display blanking API mentions that display_blanking_on
and display_blanking_off should return -ENOSYS if it is not
implemented by the driver. It should not be considered as
an error since it might not be needed in order to have the
display work correctly.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-05-07 08:17:52 +01:00
Luis Ubieda
d26ed348ef samples: gnss: vmu_rt1170: correct alias assignment to gnss node
Otherwise, callbacks subscriptions the application subscribes to will
not ever trigger.

Additionally, rename this overlay so it's compatible with hwmv2 target:
vmu_rt1170/mimxrt1176/cm7.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-07 00:02:06 +02:00
Dhanesh S R
3f2f6ae3fc samples: adc: Change atmel samv71 adc reference
Changed reference to ADC_REF_EXTERNAL0 as it is the only value supported
by current driver implementation and 3v3 external reference is connected
on the board.

Signed-off-by: Dhanesh S R <sr.dhanesh@protonmail.com>
2025-05-06 18:24:14 +02:00
Hao Luo
660390835b dts: ambiq: change to enable ambiq drivers in overlays
Keep minimal system in board dts, only enable driver in overlays

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-05-05 21:56:47 +02:00
Michael Hope
51209ef7ec samples: pwm: add the CH32V003EVT to the blinky_pwm and led/pwm samples
The CH32V003 has a single red LED that can be driven by GPIO or TIM2
CH1. Add to the samples.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-05-05 21:56:38 +02:00
Steffen Jahnke
b64cd0dd96 boards: panasonic: Update PAN B511 Evaluation Board
The PAN B511 evaluation board is a development tool for the
nRF54L15 from Nordic Semiconductor. Updates are based on latest
changes for nrf54l15dk.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
2025-05-02 10:38:46 +02:00
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
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
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
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
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
Michael Hope
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
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
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
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
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
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
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
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
Phi Bang Nguyen
f363bd6e36 drivers: video: Support controls of 64-bit integer type
Add supports for controls that need 64-bit integer such as pixel rate.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-04-21 20:03:31 +02:00
Phi Bang Nguyen
c95387a815 drivers: video: Add video query control API
Application can query information about a control given the control id,
the framework fill the rest of the structure. Application can also
enumerate all kinds of device's supported controls by iterating with
VIDEO_CTRL_FLAG_NEXT_CTRL on the same API.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-04-21 20:03:31 +02:00
Phi Bang Nguyen
135528a1be drivers: video: Implement video control framework
Implement the video control framework with the following features:

- Drivers initialize the control with a valid value range at boot which
  guides the application developer and the framework. Hence, the video
  framework could do all common works for drivers e.g., sanity check.

- Controls need to be cached to memory. Video framework handles
  get_ctrl(), drivers don't need to implement this API. It is because
  reading control value directly from registers are not only inefficient
  but also sometimes impossible, e.g. controls that scatter through
  several registers. Only "volatile" control needs to be updated at
  runtime.

- Only the devices (e.g., sensors) owning the controls need to
  implement set_ctrl(). Other devices of the pipeline do not need to
  propagate set_ctrl() and hence, do not need to implement this API

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-04-21 20:03:31 +02:00
Andrej Butok
45008f26c5 samples: tests: mimxrt1170_evk: avoid duplication in configuration
- Remove duplicated conf/.overlay configuration for
  mimmxrt1170_evk A and B revisions that have the same content.
- No change if .conf/.overlay have different content.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-04-18 17:46:59 +02:00
Eve Redero
cb8b1cdc74 dts: atmel: add adc node to due
Add ADC0 node and associated pincontrols
in sam3x and Arduino Due device trees.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-04-17 00:56:30 +02:00
Dhanesh S R
38a81f13ea samples: dac: sam: Add missing pin configuration for sam_v71_xult
DAC pins are not defined for SAM V71(B) Xplained Ultra - this was
causing device initialization to fail. This commit fixes that.

Signed-off-by: Dhanesh S R <sr.dhanesh@protonmail.com>
2025-04-15 09:28:09 +02:00
Georgios Vasilakis
5c06558be2 samples: tests: Exclude nRF54L10 NS for unsupported tests/samples
The ADC and watchdog samples are not currently supported for the
non secure target of the nRF54L10 DK.

Add exclusions for these until they are supported.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2025-04-14 20:05:17 +02:00
Marcio Ribeiro
915779947a samples: i2s & led_strip: update esp32 board overlay files
Updates esp32 i2s and led_strip board overlay files

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-11 06:32:40 +02:00
Sebastian Głąb
a2f4154674 samples: drivers: watchdog: Enable sample on nrf54L09 and L20
Add overlays required to run watchdog sample on:
- nrf54l09pdk/nrf54l09/cpuapp,
- nrf54l09pdk/nrf54l09/cpuflpr,
- nrf54l20pdk/nrf54l20/cpuflpr.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-04-10 12:57:27 +02:00
Sebastian Głąb
9bb5e2f910 samples: drivers: mbox: Enable sample on L09 and L20
Add board overlays required to run mbox sample on
nRF54L09 and nRF54L20 targets.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-04-10 12:57:27 +02:00
Sreeram Tatapudi
970460e809 drivers: adc: Update configuration values for CAT1B ADC
- Update resolution and inter reference mV
	- make unused code conditional

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-04-09 09:03:19 +02:00
Georgios Vasilakis
ce4240f893 samples: tests: Exclude nRF54L15 NS for unsupported tests/samples
The ADC and watchdog samples are not currently supported for the
non secure target of the nRF54L15 DK.

Add exclusions for these until they are supported.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2025-04-08 01:51:18 +02:00
Marcio Ribeiro
c2235a727d samples: i2s: add esp32 board overlay files
Adds esp32 board overlay files to i2s samples

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Matthias Hauser
941a5489d3 dts: boards: we: add board Ophelia-IV
add new board Ophelia-IV

Signed-off-by: Matthias Hauser <matthias.hauser@we-online.de>
2025-04-03 13:16:05 +02:00
Jilay Pandya
d18f49132c drivers: stepper: refactor enable(dev,flag) to enable & disable
refactoring enable function into enable and disable increasing readability
and increasing coherence with other stepper apis in terms of
nomenclature

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-04-03 00:03:29 +02:00