Individual file settings

New to XMOS and XCore? Get started here.
Post Reply
BillyBag2
Junior Member
Posts: 7
Joined: Thu Mar 15, 2018 11:42 am

Individual file settings

Post by BillyBag2 »

How do I set individual file setting? I can change settings in the makefile command line. But I want to debug some files but leave others optimised. How can I set different options for different files?


robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Post by robertxmos »

Hi BillyBag

Would the following do what you want?
XCC_FLAGS_filename
Overides the flags passed to xcc for the filename specified. This option overides the flags for all build configurations.
see https://www.xmos.com/support/tools/othe ... nent=14789 for more options.

robert
BillyBag2
Junior Member
Posts: 7
Joined: Thu Mar 15, 2018 11:42 am

Post by BillyBag2 »

Thanks, this worked great. Added by hand to makefile but then it appears in the wizard after that. Also set VERBOSE to 1 to see the command line being used.
robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Post by robertxmos »

FYI
The 'VERBOSE' allow you to see what the make systems is doing - can be a bit noisy.
The alternative is to add '-v' or '--verbose' to your XC_flags - this list all the compilation steps (that you could do manually!)
Post Reply