I thought by following your youtube, https://www.youtube.com/watch?v=ZN-rLSyhBN8 , Debug your arduino code on your local machine, using blink example but, changing all necessary configuration files and paths for local debugging Arduino Due code, perhap it would compile and work, it did compile with no errors, it did not require adding #include "arduino.h", see first compile in video. Guess all paths and other configurations correct?
Next "Create a debug configuration" steps 1. project -> properties 2. Arduino -> Manage Configurations 3. New -> Create New Configuration -> Name: localdebug entered 4. Configuration: localdebug selected 5. Platform Folder: C:/unitTest/git/hardware/jantje/sam_local 6. Board: Arduino Due selected 7. Debug or unit test: Debug selected , click OK at this point error message
Reason:
Internal Error:
<
modified sam_local to match avr_local files but with sam information, including boards.txt, platform.txt, programmers.txt, files, paths, file changes/additions from normal avr files made to sam files as appropriate, think all compiler settings/paths are correct for arm since it compiled ok, etc.
Would the sloeber-ide-v4_1 settings for arm (arduino due) other than those in the video need to be changed to make local debugging possible?
Would be very helpful to know what is different in avr_local from normal information for setting up debugging avr, with this information should be able to make arm debugging on local machine work, any info and help would be greatly appreciated.