Skip to content

Commit

Permalink
tests: adc: Add support for lpcxpresso55s28 in the ADC test
Browse files Browse the repository at this point in the history
Add lpcxpresso55s28 board to the ADC test to prevent compilation issues.

Signed-off-by: Christian Taedcke <[email protected]>
  • Loading branch information
chrta authored and MaureenHelm committed Jan 5, 2021
1 parent 0371b86 commit c6c5a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/drivers/adc/adc_api/src/test_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@
#define ADC_1ST_CHANNEL_ID 4
#define ADC_2ND_CHANNEL_ID 5

#elif defined(CONFIG_BOARD_LPCXPRESSO55S69_CPU0)
#elif defined(CONFIG_BOARD_LPCXPRESSO55S69_CPU0) || \
defined(CONFIG_BOARD_LPCXPRESSO55S28)
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, nxp_lpc_lpadc))
#define ADC_RESOLUTION 12
#define ADC_GAIN ADC_GAIN_1
Expand Down

0 comments on commit c6c5a37

Please sign in to comment.