You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I tryed to compile With CubeIDE as MakeFileProject and got sevral errors:
usb_descriptors.c:96:27: error: initializer element is not constant
.bMaxPacketSize = usb_endpoints[usb_endpoint_address_control].rx_size,
Thanks for this issue. My bad. I used non-const initializes in a few places in the code. Although recent versions of gcc and clang can live with that, this violates the C standard. Older versions of gcc (which you probably use with you installation of CubeIDE) consider this an error. Anyhow, fixed in #57, please test it should work with CubeIDE now.
As for Keil and IAR, I don't think I care for those at this point.
All this of course is very good, but is there a way to compile it in Windows, preferable with known instruments: Cube, Keil, IAR...?
The text was updated successfully, but these errors were encountered: