-
Hello, Is it possible to change board name when connected by serial? Right now I'm getting "GENERIC_L432KBUX CDC in FS Mode", but I would like to change it to something custom. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I believe the magic is in the file |
Beta Was this translation helpful? Give feedback.
-
Hey @JiriBilek, @fpistm, |
Beta Was this translation helpful? Give feedback.
-
As an answer to the EEPROM issue - that's an issue coming back since 1.8.0: |
Beta Was this translation helpful? Give feedback.
I believe the magic is in the file
....\stm32\2.3.0\cores\arduino\stm32\usb\usbd_desc.c
I haven't tried it yet here in Arduino environment, but if you define
USB_PRODUCT_STRING
to your desired name it should work. The definition should be global, given as -D directive for the compiler. This can be done by creating/editing build_opt.h file (https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h).