2022-08-13 12:13 AM
2022-08-13 12:50 AM
The C compilers should work materially simular to most others.
There should be STM8 libraries and examples available for download via the product pages. You could code these differently if they are unsatisfactory, or you could move the #define into your own include files if you didn't want to see them.