Hello I want to start debugging my project

I have started to code my project and I find very limited info on debugging so I moved to the platform.io IDE for my Arduino Uno. I am using an avr-debugger library but my project fails to build and gives the multiple definitions of __vector_18 or in attachInterrupt multiple definition of __vector_1 and im not sure why this is happening. All my code/build files on github at

and help appreciated

Please post a link to that library. Does your project build if you don't use that library? Does your program build if you leave the below two lines out (maybe it's the library)

#include "avr8-stub.h"
#include "app_api.h"

Notes:

  1. I'm not familiar with platform.io
  2. It's a bit strange for me that it complains about __vector_1; I would have expected __vector_2 (INT1).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.