Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TrinketHidCombo missing file #28

Open
stvgale opened this issue Feb 17, 2019 · 4 comments
Open

TrinketHidCombo missing file #28

stvgale opened this issue Feb 17, 2019 · 4 comments

Comments

@stvgale
Copy link

stvgale commented Feb 17, 2019

Fresh unzip won't compile because usbdrvasm16.inc: No such file or directory.

Error:
In file included from
/Arduino/libraries/TrinketHidCombo/usbdrvasm_includer.S:24:0:
/Arduino/libraries/TrinketHidCombo/usbdrv/usbdrvasm.S:384:34: fatal error: usbdrvasm16.inc: No such file or directory
compilation terminated.
exit status 1

@BloodGlow
Copy link

same thing bro

@TTh0r
Copy link

TTh0r commented Mar 18, 2019

I have the same issue

@IMI4tth3w
Copy link

same issue

@tly000
Copy link

tly000 commented Jan 9, 2020

Youre trying to use the library on a microcontroller with F_CPU != 16500000_ (i.e. with a clock setting other than 16.5 Mhz). You need to copy the file usbdrvasm16.inc from any other V-USB project into the usbdrv folder. If your clock rate is 16.5 Mhz, something went wrong with the defines...

If you try to use the library with a clock rate other than 16.5 Mhz, you might need to remove the clock_prescale_set(clock_div_1); call in usbBegin() (TrinketHidComboC.c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants