Hi. I have done a bit of digging elsewhere and found some hints that what I am experiencing may be a compiler or linker bug in recent IDE versions, and wondering what I must do to get the DigiSpark DigiCDC "Echo" example sketch to work. I am using Arduino IDE 1.8.9 on Windows 10 (Home Ed'n.) and the DigiSpark board package 1.6.7.
When I try to compile the "Echo" example, I get an error (edited, to replace part of the file path with "..."):
Error while detecting libraries included by C:\Users...\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkCDC\usbdrvasm.S
Despite the error message, the build seems to complete (it shows amount of spaced used and remaining, etc.). But when I "upload" the "Echo" sketch to the DigiSpark board and try to run it, Windows 10 gives me a USB device error:
USB device not recognized The last USB device you connected to this computer malfunctioned, and Windows does not recognize it.
The upload (over USB) seems to work fine, so I think I have the right USB drivers installed in Win 10.
I have asked about this over on the DigiStump forum, but there has been no reply as of yet (after posting my questions there yesterday). I am hoping someone here might know something about this.
I also posted in the Italian forum here, because someone there ("Alessandro") had the exact same problem back in October 2018, but it looks like no one has addressed this specific issue there, either. (I used Google Translate to (try to) read and respond to the forum posts there.)
On other forums (I forget which) I found other issues related to usbdrvasm.S that seem to be related to some kind of compiler (or assembler or linker) issue.
Can anyone tell me what I must do to get this to work?
FWIW, I did get a custom version of the basic "Blink" sketch to build, upload and run on the DigiSpark board, so the basic environment infrastructure seems to be okay for supporting DigiSpark in the Arduino IDE.
Thanks for any help, and best regards,
"DuinoSoar".