Skip to content

Commit c6c5a37

Browse files
chrtaMaureenHelm
authored andcommitted
tests: adc: Add support for lpcxpresso55s28 in the ADC test
Add lpcxpresso55s28 board to the ADC test to prevent compilation issues. Signed-off-by: Christian Taedcke <[email protected]>
1 parent 0371b86 commit c6c5a37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/drivers/adc/adc_api/src/test_adc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@
223223
#define ADC_1ST_CHANNEL_ID 4
224224
#define ADC_2ND_CHANNEL_ID 5
225225

226-
#elif defined(CONFIG_BOARD_LPCXPRESSO55S69_CPU0)
226+
#elif defined(CONFIG_BOARD_LPCXPRESSO55S69_CPU0) || \
227+
defined(CONFIG_BOARD_LPCXPRESSO55S28)
227228
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, nxp_lpc_lpadc))
228229
#define ADC_RESOLUTION 12
229230
#define ADC_GAIN ADC_GAIN_1

0 commit comments

Comments
 (0)