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:
parent
d79062516e
commit
f55fcc9fd2
3 changed files with 5 additions and 2 deletions
|
@ -63,4 +63,8 @@ config SPI_0
|
||||||
default y
|
default y
|
||||||
depends on SPI
|
depends on SPI
|
||||||
|
|
||||||
|
choice ADC_MCUX_ADC16_VREF
|
||||||
|
default ADC_MCUX_ADC16_VREF_ALTERNATE
|
||||||
|
endchoice
|
||||||
|
|
||||||
endif # BOARD_FRDM_KW41Z
|
endif # BOARD_FRDM_KW41Z
|
||||||
|
|
|
@ -10,4 +10,3 @@ CONFIG_GPIO=y
|
||||||
CONFIG_PINMUX=y
|
CONFIG_PINMUX=y
|
||||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=40000000
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=40000000
|
||||||
CONFIG_OSC_EXTERNAL=y
|
CONFIG_OSC_EXTERNAL=y
|
||||||
CONFIG_ADC_MCUX_ADC16_VREF_ALTERNATE=y
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ config ADC_MCUX_ADC16_CLK_DIV_RATIO_8
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice ADC_MCUX_ADC16_VREF
|
||||||
prompt "Voltage Reference Selection"
|
prompt "Voltage Reference Selection"
|
||||||
default ADC_MCUX_ADC16_VREF_DEFAULT
|
default ADC_MCUX_ADC16_VREF_DEFAULT
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue