samples/drivers: stm32f3_disco: Enable DAC Sample application
This commit enables DAC sample application to build and run on stm32f3_disco platform. Updated documentation. Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
This commit is contained in:
parent
71192fb821
commit
bfa650d708
3 changed files with 19 additions and 1 deletions
|
@ -50,6 +50,17 @@ The sample can be built and executed for the
|
|||
:goals: build flash
|
||||
:compact:
|
||||
|
||||
Building and Running for ST Disco F3
|
||||
=========================================
|
||||
The sample can be built and executed for the
|
||||
:ref:`stm32f3_disco_board` as follows:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/drivers/dac
|
||||
:board: stm32f3_disco
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
||||
Building and Running for ST Nucleo F429ZI
|
||||
=========================================
|
||||
The sample can be built and executed for the
|
||||
|
|
7
samples/drivers/dac/boards/stm32f3_disco.overlay
Normal file
7
samples/drivers/dac/boards/stm32f3_disco.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: |
|
||||
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
|
||||
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi nucleo_f429zi bl652_dvk
|
||||
bl653_dvk bl654_dvk bl5340_dvk_cpuapp
|
||||
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco
|
||||
depends_on: dac
|
||||
harness: console
|
||||
harness_config:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue