diff --git a/samples/drivers/dac/README.rst b/samples/drivers/dac/README.rst index f5732e5d6b7..99478330c3b 100644 --- a/samples/drivers/dac/README.rst +++ b/samples/drivers/dac/README.rst @@ -35,6 +35,17 @@ The sample can be built and executed for the :goals: build flash :compact: +Building and Running for ST Nucleo F767ZI +========================================= +The sample can be built and executed for the +:ref:`nucleo_f767zi_board` as follows: + +.. zephyr-app-commands:: + :zephyr-app: samples/drivers/dac + :board: nucleo_f767zi + :goals: build flash + :compact: + Building and Running for NXP TWR-KE18F ====================================== The sample can be built and executed for the :ref:`twr_ke18f` as diff --git a/samples/drivers/dac/sample.yaml b/samples/drivers/dac/sample.yaml index efdcb9edc66..2c11cfdf0ad 100644 --- a/samples/drivers/dac/sample.yaml +++ b/samples/drivers/dac/sample.yaml @@ -5,7 +5,7 @@ tests: tags: DAC platform_allow: | arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb - nucleo_l073rz nucleo_l152re twr_ke18f + nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi depends_on: dac harness: console harness_config: diff --git a/samples/drivers/dac/src/main.c b/samples/drivers/dac/src/main.c index 5ea128b413e..a2a8f521923 100644 --- a/samples/drivers/dac/src/main.c +++ b/samples/drivers/dac/src/main.c @@ -12,7 +12,8 @@ defined(CONFIG_BOARD_NUCLEO_G071RB) || \ defined(CONFIG_BOARD_NUCLEO_G431RB) || \ defined(CONFIG_BOARD_NUCLEO_L073RZ) || \ - defined(CONFIG_BOARD_NUCLEO_L152RE) + defined(CONFIG_BOARD_NUCLEO_L152RE) || \ + defined(CONFIG_BOARD_NUCLEO_F767ZI) #define DAC_DEVICE_NAME DT_LABEL(DT_NODELABEL(dac1)) #define DAC_CHANNEL_ID 1 #define DAC_RESOLUTION 12