2012-05-30 01:27 AM
Another problem, and it is the 4th that i found in few days.
STM8 libraries doesnt support a project with multiples devices, I was able to fix it just including at the beginning of each .c file something like: (for exampleo for stm8s_uart1.c)#if defined(UART1)
....
#endif
So, if you have a generic project and you include the uart1 because one of the device use it, when you compile for another device you get an error in that library.
#error-library-multi-cpu