| Summary: | <xdc/std.h> should define magic symbols for all TI compilers | ||
|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Karl Wechsler <karl> |
| Component: | Core | Assignee: | Dave Russo <d-russo> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | cring, d-russo, karl, sascha |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:3.21 | ||
|
Description
Karl Wechsler
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 |