In file included from ../services/inc/debug.h:1:0,
from ../wiring/inc/spark_wiring.h:36,
from ./inc/application.h:36,
from stellafreepour-v1.cpp:14:
../services/inc/service_debug.h:116:0: warning: "ERROR" redefined [enabled by default]
#define ERROR(fmt, ...)
^
stellafreepour-v1.cpp:10:0: note: this is the location of the previous definition
#define ERROR -1
^
stellafreepour-v1.cpp:10:18: error: expected identifier before '-' token
#define ERROR -1
^
../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:288:15: note: in expansion of macro 'ERROR'
typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
^
stellafreepour-v1.cpp:10:18: error: expected '}' before '-' token
#define ERROR -1
^
../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:288:15: note: in expansion of macro 'ERROR'
typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
^
stellafreepour-v1.cpp:10:18: error: expected unqualified-id before '-' token
#define ERROR -1
^
../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:288:15: note: in expansion of macro 'ERROR'
typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41:0,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:288:44: error: 'ErrorStatus' does not name a type
typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus;
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/stm32f2xx_conf.h:38:0,
from ../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:6924,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:276:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_SaveContext(CRYP_Context* CRYP_ContextSave,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:289:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_AES_ECB(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:294:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_AES_CBC(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:300:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_AES_CTR(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:307:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_TDES_ECB(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:312:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_TDES_CBC(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:319:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_DES_ECB(uint8_t Mode,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_cryp.h:324:1: error: 'ErrorStatus' does not name a type
ErrorStatus CRYP_DES_CBC(uint8_t Mode,
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/stm32f2xx_conf.h:46:0,
from ../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:6924,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_hash.h:225:1: error: 'ErrorStatus' does not name a type
ErrorStatus HASH_SHA1(uint8_t *Input, uint32_t Ilen, uint8_t Output[20]);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_hash.h:226:1: error: 'ErrorStatus' does not name a type
ErrorStatus HMAC_SHA1(uint8_t *Key, uint32_t Keylen,
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_hash.h:231:1: error: 'ErrorStatus' does not name a type
ErrorStatus HASH_MD5(uint8_t *Input, uint32_t Ilen, uint8_t Output[16]);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_hash.h:232:1: error: 'ErrorStatus' does not name a type
ErrorStatus HMAC_MD5(uint8_t *Key, uint32_t Keylen,
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/stm32f2xx_conf.h:48:0,
from ../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:6924,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_i2c.h:665:1: error: 'ErrorStatus' does not name a type
ErrorStatus I2C_CheckEvent(I2C_TypeDef* I2Cx, uint32_t I2C_EVENT);
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/stm32f2xx_conf.h:51:0,
from ../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:6924,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rcc.h:447:1: error: 'ErrorStatus' does not name a type
ErrorStatus RCC_WaitForHSEStartUp(void);
^
In file included from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/stm32f2xx_conf.h:53:0,
from ../platform/MCU/STM32F2xx/CMSIS/Device/ST/Include/stm32f2xx.h:6924,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/platform_config.h:41,
from ../platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/hw_config.h:32,
from ../hal/src/stm32f2xx/platform_headers.h:17,
from ./inc/application.h:32,
from stellafreepour-v1.cpp:14:
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:567:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_DeInit(void);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:570:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_Init(RTC_InitTypeDef* RTC_InitStruct);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:573:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_EnterInitMode(void);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:575:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_WaitForSynchro(void);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:576:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_RefClockCmd(FunctionalState NewState);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:579:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_SetTime(uint32_t RTC_Format, RTC_TimeTypeDef* RTC_TimeStruct);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:582:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_SetDate(uint32_t RTC_Format, RTC_DateTypeDef* RTC_DateStruct);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:590:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_AlarmCmd(uint32_t RTC_Alarm, FunctionalState NewState);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:596:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_WakeUpCmd(FunctionalState NewState);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:606:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_CoarseCalibConfig(uint32_t RTC_CalibSign, uint32_t Value);
^
../platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc/stm32f2xx_rtc.h:607:1: error: 'ErrorStatus' does not name a type
ErrorStatus RTC_CoarseCalibCmd(FunctionalState NewState);
^
In file included from ./inc/application.h:32:0,
from stellafreepour-v1.cpp:14:
../hal/src/stm32f2xx/platform_headers.h:25:1: error: expected declaration before '}' token
}
^
make[1]: *** [../build/target/user/platform-10stellafreepour-v1.o] Error 1
make: *** [user] Error 2
Error: Could not compile. Please review your code.