Community
Participate
Working Groups
This would simplify use of <xdc/std.h>. Using it without xdc build flow is very cumbersome (I know, it's documented, but ...) See attached.
Added select.h to the ti.targets package (in xdctargets-d14) which selects appropriate xdc_target_* values based on TI compiler pre-defined macros. This header is included by xdc/std.h (in xdc-w22) whenever 1. a TI compiler is used _and_ 2. the xdc_target_* symbols are _not_ already defined Not all TI targets are supported; obsolete targets were ommitted. All future TI targets will require that this file be updated.
I verified the fix using the test target.select from the xdctest tree. With 3.21.00.30, the test fails because xdc_target_* values are not available either on the command line or from xdc/std.h. With 3.21.00.40, for multiple TI targets the test is passing because xdc_target_* values are brought in from xdc/std.h by including ti/targets/select.h.
Shipped in XDCtools 3.21.
Shipped in XDCtools 3.21