Dear all:
I call the AER lib API in scale's codec. The AER lib includes aer, type, vpe, swtools, fract, asm, util packages.
First, I add "requires ti.mas.aer[......];" in ti/sdo/ce/examples/codecs/scale/package.xdc to call and find the AER lib and API.
Second, I add "#include <ti/mas/aer/aer.h>" in ti/sdo/ce/examples/codecs/scale/scale_ti_impl.c to include the AER API.
Finally,I call the aerCreate() function in ti/sdo/ce/examples/codecs/scale/scale_ti_impl.c to test the whether AER API can be utilized normally.
Then I compile the codec in ti/sdo/ce/examples/codecs/scale.
The error is found : in ti/mas/types/types.h, #error invalid targets.
I add "#define ti_targets_C674" in ti/mas/aer/aer.h, then no error is found when compiling the codec.
But I don't know if the defining targets in aer.h is right or wrong.
I think that TI's AER packages should not be modified.
It is not siutable to define targets in aer.h.