Skip to content
Permalink
Browse files

kconfig: Use 'CONFIG_FOO_*' in #endif comments to avoid CI failures

zephyrproject-rtos/ci-tools#65 tweaks the check
for references to undefined Kconfig symbol to whitelist anything on the
form 'CONFIG_FOO_*' (or 'CONFIG_FOO_*_...'). This is meant for #endif
comments that talk about many related symbols.

Fix two existing #endif comments to use that format, so that some
entries can be removed from the whitelist in the CI check.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
  • Loading branch information...
ulfalizer authored and galak committed May 17, 2019
1 parent 6b51ef7 commit ea5866e5f00d363317f5255b3d218da4a6c2bd1d
Showing with 2 additions and 2 deletions.
  1. +1 −1 drivers/clock_control/clock_stm32_ll_common.c
  2. +1 −1 drivers/gpio/gpio_stm32.h
@@ -344,7 +344,7 @@ static int stm32_clock_control_init(struct device *dev)
LL_RCC_HSI_Disable();
LL_RCC_MSI_Disable();

#endif /* CONFIG_CLOCK_STM32_PLL_SRC_... */
#endif /* CONFIG_CLOCK_STM32_PLL_SRC_* */

#elif CONFIG_CLOCK_STM32_SYSCLK_SRC_HSE

@@ -133,7 +133,7 @@
#define STM32_PERIPH_GPIOD LL_AHB2_GRP1_PERIPH_GPIOD
#define STM32_PERIPH_GPIOE LL_AHB2_GRP1_PERIPH_GPIOE
#define STM32_PERIPH_GPIOH LL_AHB2_GRP1_PERIPH_GPIOH
#endif /* CONFIG_SOC_SERIES_.. */
#endif /* CONFIG_SOC_SERIES_* */

#ifdef CONFIG_SOC_SERIES_STM32F1X
#define STM32_PINCFG_MODE_OUTPUT (STM32_MODE_OUTPUT \

0 comments on commit ea5866e

Please sign in to comment.
You can’t perform that action at this time.