samples: drivers: stm32l562e_dk: Configuring DAC application
This commit configures DAC sample application using overlay to build and run on stm32l562e_dk platform. This has been tested in stm32l562e_dk platform. Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
parent
58153cb970
commit
d1c692afe7
3 changed files with 19 additions and 1 deletions
|
@ -72,6 +72,17 @@ The sample can be built and executed for the
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
:compact:
|
:compact:
|
||||||
|
|
||||||
|
Building and Running for STM32L562E DK
|
||||||
|
======================================
|
||||||
|
The sample can be built and executed for the
|
||||||
|
:ref:`stm32l562e_dk_board` as follows:
|
||||||
|
|
||||||
|
.. zephyr-app-commands::
|
||||||
|
:zephyr-app: samples/drivers/dac
|
||||||
|
:board: stm32l562e_dk
|
||||||
|
:goals: build flash
|
||||||
|
:compact:
|
||||||
|
|
||||||
Building and Running for NXP TWR-KE18F
|
Building and Running for NXP TWR-KE18F
|
||||||
======================================
|
======================================
|
||||||
The sample can be built and executed for the :ref:`twr_ke18f` as
|
The sample can be built and executed for the :ref:`twr_ke18f` as
|
||||||
|
|
7
samples/drivers/dac/boards/stm32l562e_dk.overlay
Normal file
7
samples/drivers/dac/boards/stm32l562e_dk.overlay
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/ {
|
||||||
|
zephyr,user {
|
||||||
|
dac = <&dac1>;
|
||||||
|
dac-channel-id = <1>;
|
||||||
|
dac-resolution = <12>;
|
||||||
|
};
|
||||||
|
};
|
|
@ -6,7 +6,7 @@ tests:
|
||||||
platform_allow: |
|
platform_allow: |
|
||||||
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
|
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
|
||||||
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi nucleo_f429zi bl652_dvk
|
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi nucleo_f429zi bl652_dvk
|
||||||
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco
|
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk
|
||||||
depends_on: dac
|
depends_on: dac
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue