AnsweredAssumed Answered

"stm8s_uart1.c bad struct/union operand" when build project

Question asked by Pol on Sep 2, 2017
Latest reply on Oct 23, 2017 by Philipp Krause



I want to using uart1 with STM8S103K,


i do (already work):

1. write program to display 4 pieces of 7 segment. 

2. define STM8S103 in STM8S.h


after add stm8s_uart1.c and stm8s_uart1.h and build project, the compiler(Cosmic) tell error

"stm8s_uart1.c bad struct/union operand" 

it's look like somethings not define to project.


Help please.