From e21c30cf9dd74ecc63feecb8f76c331c43c0eb74 Mon Sep 17 00:00:00 2001 From: liuguo09 Date: Sat, 8 Feb 2020 00:30:58 +0800 Subject: [PATCH] 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 --- 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 5682c9adc8..7bbeaa9996 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 */