|
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. |
Replies: 3 comments 6 replies
|
I believe the magic is in the file |
|
Hey @JiriBilek, @fpistm, |
|
As an answer to the EEPROM issue - that's an issue coming back since 1.8.0: |





I believe the magic is in the file
....\stm32\2.3.0\cores\arduino\stm32\usb\usbd_desc.cI haven't tried it yet here in Arduino environment, but if you define
USB_PRODUCT_STRINGto 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).