yjdwbj commented on issue #2238: URL: https://github.com/apache/incubator-nuttx/issues/2238#issuecomment-723536606
> Just pulled the latest upstream and built a couple of configurations with no errors. > What config are you trying to build? > Do you have all the dependencies? Hi, Ouss4, thanks you replay me. I already known how to resolve the problem, I changed the target file like below: ```sh ~$git diff arch/arm/src/stm32l4/Kconfig diff --git a/arch/arm/src/stm32l4/Kconfig b/arch/arm/src/stm32l4/Kconfig index e8a831cdac..af71b5d568 100644 --- a/arch/arm/src/stm32l4/Kconfig +++ b/arch/arm/src/stm32l4/Kconfig @@ -5232,7 +5232,7 @@ config STM32L4_ADC3_INJ_CHAN ---help--- Number of configured ADC3 injected channels. -if STM32L4_ADC1_INJ_CHAN > 0 +if STM32L4_ADC1_INJ_CHAN config STM32L4_ADC1_JTIMTRIG int "ADC1 external trigger for injected channels" @@ -5244,7 +5244,7 @@ config STM32L4_ADC1_JTIMTRIG endif -if STM32L4_ADC2_INJ_CHAN > 0 +if STM32L4_ADC2_INJ_CHAN config STM32L4_ADC2_JTIMTRIG int "ADC2 external trigger for injected channels" @@ -5256,7 +5256,7 @@ config STM32L4_ADC2_JTIMTRIG endif -if STM32L4_ADC3_INJ_CHAN > 0 +if STM32L4_ADC3_INJ_CHAN config STM32L4_ADC3_JTIMTRIG int "ADC3 external trigger for injected channels" ``` I just want to known that use express such as `if STM32L4_ADC2_INJ_CHAN > 0` is wrong or my way is wrong. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org