AnsweredAssumed Answered

USB HID mouse

Question asked by Beh on May 8, 2014
Latest reply on May 9, 2014 by Beh

I want to create custom HID device with stm32f407 and as first step I tried to rebuild the demo project for usb Mouse HID on my own, i've added needed libraries and definitions (frome demo project) and use USB_init as below to config the usb on micro, but when I connect USB to pc, after some second it says "not usb recognized device"
anything more should I do for config the usb?

#include "stm32f4xx.h"
#include "usbd_hid_core.h"
#include "usbd_usr.h"
#include "usbd_desc.h"
#include "usbd_conf.h"
#include "usb_conf.h"
int main(void)
    while(1) {}
    return 0;

thank you