tests: drivers: dac_api: add frdm_k64f board support
Add support for running the DAC API test case on the NXP FRDM-K64F development board. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
c517bcd40d
commit
20f941e556
|
@ -28,6 +28,12 @@
|
|||
#define DAC_RESOLUTION 12
|
||||
#define DAC_CHANNEL_ID 0
|
||||
|
||||
#elif defined(CONFIG_BOARD_FRDM_K64F)
|
||||
|
||||
#define DAC_DEVICE_NAME DT_LABEL(DT_NODELABEL(dac0))
|
||||
#define DAC_RESOLUTION 12
|
||||
#define DAC_CHANNEL_ID 0
|
||||
|
||||
#else
|
||||
#error "Unsupported board."
|
||||
#endif
|
||||
|
|
|
@ -2,5 +2,5 @@ common:
|
|||
tags: dac drivers userspace
|
||||
tests:
|
||||
drivers.dac:
|
||||
platform_whitelist: nucleo_l073rz twr_ke18f
|
||||
platform_whitelist: frdm_k64f nucleo_l073rz twr_ke18f
|
||||
depends_on: dac
|
||||
|
|
Loading…
Reference in a new issue