2020-08-25 01:38 PM
Hi,
I created a new project using ready HAL Libraries on STM32F3, I get an weird error (expected an identifier) on the following line in the file (stm32f303xc.h):
__IO uint32_t TR; /*!< RTC time register, Address offset: 0x00 */
Can anyone help?
Solved! Go to Solution.
2020-08-25 01:51 PM
As .h files are never compiled on their own, you should check the .c file including it and other include files too. Possibly TR is defined somwhere else as a constant or so.
2020-08-25 01:51 PM
As .h files are never compiled on their own, you should check the .c file including it and other include files too. Possibly TR is defined somwhere else as a constant or so.
2020-08-25 02:09 PM
Yes, you have right, RT was defined in other place too.
Thank you, solved