Hi,
I followed this tutorial https://www.hackster.io/voske65/usb-hid ... t-1-d63550 to create a USB Joystick with STM32CubeIDE - worked straight away - Great!
However, I am trying to convert this for use in the Arduino environment. I copied over the usb_hid.c/.h files, However, when I go to import "usb_device.h", in the same way as shown in the above tutorial, I get a "No such file or directory" error. What's the best way of including this file?
Many Thanks in advance!
STM32 F401CCux "usb_device.h" No such file or directory
-
- Posts: 3
- Joined: Sun Jul 16, 2023 1:52 pm
Re: STM32 F401CCux "usb_device.h" No such file or directory
This file is not part of the core. Probably it is a custom file from the cube_mx project.
The core already support HID(keyboard and mouse). You should simply start from this to add Joystick.
The core already support HID(keyboard and mouse). You should simply start from this to add Joystick.