Which release of the Digispark IDE do you use?
As mentioned, the latest release changes a lot of things.
Both DigisparkArduino and Arduino are 1.0.4.
I made quite few experiments with Digispark. So far it seems the first problem is that when creating new project, all .xconfig files copied into the project have 0 bytes length
. Copying them over from template manually makes "automatic procedure" run successfully. Trying to build anything complains about missing boards.txt files for IDEs I don't have installed
, so it ends with errors (in my case 4 of them, Mpide, Wiring, MapleIDE, Arduino/teensy is not installed). Then it tries to compile every library for every board
it finds, for example SPI library from Arduino, which does not work on Digispark. Playing with EXCLUDE_LIBS in project's Makefile, excluding any library causing error had some results, but I was not able exclude everything, so build never suceeded. I was able to run Upload, Digispark was detected, but probably because the code was not built it failed afterwards.
Trying same for Arduino Uno
, I had more success. I still had to copy .xconfig
manually, it did not complain about missing IDE's boards.txt
. It still compiles all libraries it finds
, including everything in Sketchbook Library folder (even if I did not perform "Add User's Libraries"), but I was able to EXCLUDE_LIBS these which does not work. So I was able to upload default project code (LED flashes 3-times).
If you need any logs or want me to try anything, I will be happy to help.