change the name of arduino pro micro shown in the "Devices and printers"

I have tried like show in but it don't have any goal. May be i don't understand correctly

I have changed name as code shows

micro.vid.0=0x2341 micro.vid.1=0x2341 micro.vid.2=0x2A03 micro.vid.3=0x2A03 micro.vid.4=0x2341 micro.vid.5=0x2341

micro.upload.tool=avrdude micro.upload.protocol=avr109 micro.upload.maximum_size=28672 micro.upload.maximum_data_size=2560 micro.upload.speed=57600 micro.upload.disable_flushing=true micro.upload.use_1200bps_touch=true micro.upload.wait_for_upload_port=true

micro.bootloader.tool=avrdude micro.bootloader.low_fuses=0xff micro.bootloader.high_fuses=0xd8 micro.bootloader.extended_fuses=0xcb micro.bootloader.file=caterina/Caterina-Micro.hex micro.bootloader.unlock_bits=0x3F micro.bootloader.lock_bits=0x2F"Arduino Micro""Pannello dx"{build.usb_flags}

and then o send again my sketch to configure Arduino as new game peripheric, but in resources is still Arduino Micro.

where i fault?

thank you

I don’t know if I remember correctly but you may have to remove device from your device manager and have your micro rediscovered when you plug it in a USB port so hopefully it will change.

No nothing has been changed, but my question is : it's enough cange the board.txt in the conf directory of arduino API and then compile and send my sketch or in unknown way for me send wich is in board.txt to the processor?

Or i have to do more?

Yes it should be enough. Turn on verbose compilation in preference you will see lines like these:

"C:\a185\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MICRO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8037 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="Arduino Micro"' "-IC:\a185\hardware\arduino\avr\cores\arduino" "-IC:\a185\hardware\arduino\avr\variants\micro" "C:\a185\hardware\arduino\avr\cores\arduino\wiring_digital.c" -o "C:\Users\x\AppData\Local\Temp\arduino_build_370459\core\wiring_digital.c.o"

In there you will find a -DUSB_PRODUCT="Arduino Micro" option. This value is taken from the boards.txt file. I tested it. If your compilation message doesn't say your product name, maybe you don't have arduino micro, you have genuino micro or else. The script under Arduino micro has a few places for 0x8x37 which resulted from a fight between Arduino LLC and Arduino SRL an age ago. Make sure you look up your device manager for the EXACT product ID and change the corresponding info in boards.txt

If all fails and you're frustrated, go to USBCore.cpp, which is located here: Arduino\hardware\arduino\avr\cores\arduino\USBCore.cpp

Change the following lines at the beginning:

// If no product is provided, use USB IO Board
#define USB_PRODUCT     "USB IO Board"


#define USB_PRODUCT     "Your board name"