This is an automated email from the ASF dual-hosted git repository. davids5 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new e21c30c arch/arm/include/stm32f010g0/chip.h: correct wrong #if defined to fix build break (#227) e21c30c is described below commit e21c30cf9dd74ecc63feecb8f76c331c43c0eb74 Author: liuguo09 <liuhai...@xiaomi.com> AuthorDate: Sat Feb 8 00:30:58 2020 +0800 arch/arm/include/stm32f010g0/chip.h: correct wrong #if defined to fix build break (#227) /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/include/arch/stm32f0l0g0/chip.h:53:42: error: missing ')' after "defined" 53 | #if defined(CONFIG_ARCH_CHIP_STM32F030RC || CONFIG_ARCH_CHIP_STM32F030CC) | ^~ /home/jenkins/jenkins-slave/workspace/NuttX-Nightly-Build/nuttx/include/arch/stm32f0l0g0/chip.h:53:45: error: missing binary operator before token "CONFIG_ARCH_CHIP_STM32F030CC" 53 | #if defined(CONFIG_ARCH_CHIP_STM32F030RC || CONFIG_ARCH_CHIP_STM32F030CC) Signed-off-by: liuhaitao <liuhai...@xiaomi.com> --- arch/arm/include/stm32f0l0g0/chip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/stm32f0l0g0/chip.h b/arch/arm/include/stm32f0l0g0/chip.h index 5682c9a..7bbeaa9 100644 --- a/arch/arm/include/stm32f0l0g0/chip.h +++ b/arch/arm/include/stm32f0l0g0/chip.h @@ -50,7 +50,7 @@ /* Get customizations for each supported chip */ -#if defined(CONFIG_ARCH_CHIP_STM32F030RC || CONFIG_ARCH_CHIP_STM32F030CC) +#if defined(CONFIG_ARCH_CHIP_STM32F030RC) || defined(CONFIG_ARCH_CHIP_STM32F030CC) # define STM32_FLASH_SIZE (256*1024) /* 256Kb */ # define STM32_SRAM_SIZE (32*1024) /* 32Kb */