Hi, it's my first post here. Im learning to use UART and I'm getting a "invalid initializer" error while debugging this code. Can someone please explain why?
Look at the detailed description of the error and its location - you didn't even show it in your post. Show the source code line in which the error is signaled. Either it's a simple syntax error or an attempt to initialize static data with a pointer or dynamic expression.
My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice