i am using stm32f4 discovery board.I was using USBH driver for usb host application.I got the code from Contrib repo(developed by @dismirlian).
I want to use usb stick to connect with stm32f4 board and collect some data. I don't need to use/enumarate other class devices.
Behavior:
i compiled the code and i got following error:
Code: Select all
make: *** No rule to make target `hal_usbh_lld.c', needed by `build/obj/hal_usbh_lld.o'. Stop.
make: *** Waiting for unfinished jobs....
../../chibios30/os/hal/src/usbh/hal_usbh_uvc.c:26:6: warning: "HAL_USBH_USE_IAD" is not defined [-Wundef]
#if !HAL_USBH_USE_IAD
^
../../chibios30/os/hal/src/usbh/hal_usbh_uvc.c:27:2: error: #error "USBHUVC needs HAL_USBH_USE_IAD"
#error "USBHUVC needs HAL_USBH_USE_IAD"
^
i am not sure to where to define this Macro.