This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
After importing a makefile based project (by creating a new "Makefile project with existing Code") it's usually necessary to pass the project a lot of variables that feed the makefile to work right. In the AM57xx pdk there's a batch file (pdksetupenv.bat) that creates these variables for command line building.
Instead of manually write them one by one in each project, is it possible to automaitcally import them all from a predetermined file?
(I am currently using a tricky approach consisting in executing the CCS from a batch file that previously called pdksetupenv.bat, but I hate it almost as much as retyping all that stuff).
Thank you very much,
Daniel
Rafael,
Thank you for your reply. As you suggested importing a "macros.ini" or similar file to the entire workspace does work right. If sharing them among all the workspace is a problem for some workspace's projects another option is to write these variables in a secondary makefile to be included only in the main makefile of the projects of intererest.
Thanks,
Daniel
Hello Rafael,
I have to retract from my last post. Variables introduced via importing macros.ini end up defined in "Project Properties -> Resources -> Linked Resources -> Path Variables" wherefrom they have no visibility to the makefile. It seemed to work just because those variables stayed declared from a previous session in "Project Properties -> C/C++ Variables -> Environment" , and I didn't realize that until now. So, is there any way to import a bunch of variables to there in CCS v6.1.3 ?. As I told you I am currently defining them within a secondary makefile to be included in the first line of the main makefiles.
Thanks,
Daniel