boards: frdm_kw41z: Override ADC vref choice properly

In order to overrdie a choice one needs to define it again. Override it
by redefining it in the .defconfig file.

See #22474.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-02-14 14:33:53 +01:00 committed by Johan Hedberg
commit f55fcc9fd2
3 changed files with 5 additions and 2 deletions

View file

@ -63,4 +63,8 @@ config SPI_0
default y
depends on SPI
choice ADC_MCUX_ADC16_VREF
default ADC_MCUX_ADC16_VREF_ALTERNATE
endchoice
endif # BOARD_FRDM_KW41Z

View file

@ -10,4 +10,3 @@ CONFIG_GPIO=y
CONFIG_PINMUX=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=40000000
CONFIG_OSC_EXTERNAL=y
CONFIG_ADC_MCUX_ADC16_VREF_ALTERNATE=y

View file

@ -35,7 +35,7 @@ config ADC_MCUX_ADC16_CLK_DIV_RATIO_8
endchoice
choice
choice ADC_MCUX_ADC16_VREF
prompt "Voltage Reference Selection"
default ADC_MCUX_ADC16_VREF_DEFAULT