ARM STM32 I2C
Posted: Thu May 11, 2017 9:34 am
When using I2C or RTS, the DS3231 gives errors when compiling
Device STM32F051x8
TEST_Relo_STM32F051C8T6.c:277:24: error: unknown type name 'FCD_0a3a1_RTC1__ReadTime'
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadTime, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:277:50: error: expected declaration specifiers or '...' before '(' token
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadTime, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:281:24: error: unknown type name 'FCD_0a3a1_RTC1__ReadDate'
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadDate, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:281:50: error: expected declaration specifiers or '...' before '(' token
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadDate, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:298:69: error: 'FCVsz_01211_Buffer_Char__DATA' undeclared here (not in a function)
__attribute__((far)) MX_GLOBAL MX_UINT8 FCV_01211_Buffer_Char__DATA[FCVsz_01211_Buffer_Char__DATA];
Error(s) in build
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1
Device STM32F051x8
TEST_Relo_STM32F051C8T6.c:277:24: error: unknown type name 'FCD_0a3a1_RTC1__ReadTime'
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadTime, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:277:50: error: expected declaration specifiers or '...' before '(' token
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadTime, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:281:24: error: unknown type name 'FCD_0a3a1_RTC1__ReadDate'
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadDate, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:281:50: error: expected declaration specifiers or '...' before '(' token
MX_DLL_DECL(MX_UINT8, FCD_0a3a1_RTC1__ReadDate, (MX_UINT8 FCL_UNIT));
TEST_Relo_STM32F051C8T6.c:298:69: error: 'FCVsz_01211_Buffer_Char__DATA' undeclared here (not in a function)
__attribute__((far)) MX_GLOBAL MX_UINT8 FCV_01211_Buffer_Char__DATA[FCVsz_01211_Buffer_Char__DATA];
Error(s) in build
C:\Program Files (x86)\Flowcode 7\compilers\STARM\batch\stm32comp.bat notificado código de error 1