I've been using HALCoGen for for the past year or so for TMS570 processors (currently TMS570LS1224) and have had issues when including the std_nhet.h file from a .cpp file.
The file std_nhet.h file defines several fields in a union where the field names are keywords in c++. The keywords: "and", "or", "xor". These keywords are used to define the union for their appropriate instructions. I notice this only becomes an issue when I select to disable the "BlackBox Driver" and include the HETIDE generated code. The compiler will give me the following error:
Error[Pe040]: expected an identifier D:\#####\halcogen\include\std_nhet.h 658
Has anyone else run into this issue?
The one workaround I found to avoid fixing the issue every time I regenerate from HALCoGen is to edit the HALCoGen source file at C:\ti\Hercules\HALCoGen\v04.01.00\drivers\TMS570LS3137ZWT\HET570v000\std_nhet.h. This workaround is not ideal as it "changes" the HALCoGen distribution.
Is this something that could be changed in a future release?
Thanks for your help.