after add
stm8s_gpio.c and stm8s_gpio.h and build project, the compiler(Cosmic) tell error
#error cpstm8 main.c:25(15+3) bad struct/union operand
#error