Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode strings not well supported #34

Closed
mrx23dot opened this issue Apr 14, 2023 · 1 comment
Closed

Unicode strings not well supported #34

mrx23dot opened this issue Apr 14, 2023 · 1 comment

Comments

@mrx23dot
Copy link

As I know they were only added to C18 standard, many embedded compiler way older, like C99,
but would be nice if it was fully C89 for portability.

problem in usb_std.h

USB_STRING_DESC(s)
uint16_t wString[]; 

e.g.
static const struct usb_string_descriptor manuf_desc_en = USB_STRING_DESC("Open source USB stack for STM32");
static const struct usb_string_descriptor prod_desc_en  = USB_STRING_DESC("CDC Loopback demo");
@mrx23dot
Copy link
Author

sorry, wrong project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant