boards: Add board config defines to adc test

The test_adc.c still have hardcoded information on a board basis,
that need to be added manually.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
This commit is contained in:
Steffen Jahnke 2022-06-20 08:18:44 +02:00 committed by Carles Cufí
parent 612b9247e4
commit 185e723ccb

View file

@ -65,7 +65,11 @@
defined(CONFIG_BOARD_UBX_EVKNINAB4_NRF52833) || \
defined(CONFIG_BOARD_WE_PROTEUS2EV_NRF52832) || \
defined(CONFIG_BOARD_WE_PROTEUS3EV_NRF52840) || \
defined(CONFIG_BOARD_BT610)
defined(CONFIG_BOARD_BT610) || \
defined(CONFIG_BOARD_PAN1780_EVB) || \
defined(CONFIG_BOARD_PAN1781_EVB) || \
defined(CONFIG_BOARD_PAN1782_EVB) || \
defined(CONFIG_BOARD_PAN1770_EVB)
#include <hal/nrf_saadc.h>
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, nordic_nrf_saadc))