Hi https://github.com/ARMmbed/mbed-os/blob/ffdd54315f98bda6021fec9076d271571dbe32e3/TESTS/usb_device/hid/main.cpp#L45-L46 MSG_KEY_DEVICE_READY is defined twice Regards,