When I pick digispark-usb as the board, PlatformIO installs micronucleus tool version 1.2 (mac binaries) whereas the current version is >2. I wonder if there is a way to modify some setting so it gets the latest version instead?
Please file an issue here Issues · platformio/platform-atmelavr · GitHub
The freshly installed PIO onto linux here, uses the “micronucleus” program found into “~/.platformio/packages/tool-micronucleus/” directory, and not the one which would be liked to use, which is in /usr/local/bin/.
To fix that,
I deleted “~/.platformio/packages/tool-micronucleus/micronucleus” file
I made a symbolic link form /usr/local/bin/micronucleus to ~/.platformio/packages/tool-micronucleus/micronucleus.
I worked in my case, I hope it would help.