|
Post by pedrosilva on Jun 29, 2018 17:22:11 GMT
Hi;
I added the path of libAurduino.a in the menu Properties > C/C++ General > Settings > Tool Settings > Paths and Symbols > Libraries with sucess, but when I build the project I get:
error: cannot find -lC:\Hitex\AURduinoIDE\Eclipse\Test_Project\aurix\variants\tc275\libAurduino.a
|
|
|
Post by Admin on Jul 2, 2018 8:06:14 GMT
You should not need to add this path! Please make sure you use the default AurduinoMulticoreUser project as a basis for your own work. This has all the paths and settings already configured so that all the Arduino-style libraries and functions are available.
|
|
|
Post by pedrosilva on Jul 2, 2018 8:18:32 GMT
Thank for your reply. So I can't create a new project and add the Libraries manually?
|
|
|
Post by Admin on Jul 2, 2018 8:19:56 GMT
Theoretically you could but it would be a lot of work simply to reproduce what is already there! There are also dozens of include paths to add....
|
|
|
Post by pedrosilva on Jul 2, 2018 8:26:10 GMT
For me to debug only my C file, and not the files in the AurduinoMulticoreUser what should I do? I added my C file in the Sketches and I want only debug that file.
|
|
|
Post by Admin on Jul 2, 2018 8:28:28 GMT
Assuming you are using the free PLS UDE debugger, there is nothing special you need to do. Your C file should be in the sketches directory and the debugger will find it, provided at least one function in your file is called from setup(), Loop() etc.
|
|
|
Post by pedrosilva on Jul 2, 2018 9:16:04 GMT
Got it, I had to edit and add my code to the BoardEOLtest.cpp file because it is called in the main.cpp. Thank you for your help.
|
|