Per issue we’ve found the actual culprit – PlatformIO has multiple toolchain-atmelavr packages for the GCC 7.3.0 version, but the very latest one does not contain the avr-gdb.exe
, for whatever reason. It’s just missing. The exact version of that package is 2.70300.201015
.
The other 7.3.0 GCC package version, 1.70300.191015
does contain the executable and immediately works in my test.
Could you again try your project with your libraries but this time with the pacakge
platform_packages =
toolchain-atmelavr@1.70300.191015
and see if both the linking error is gone and debugging works?