This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I am trying to merge the FEE parts into the UCOS-II.
The source codes of FEE parts is generated by HALCoGen with no change by me. And the errors like below occurs:
'Building file: D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/source/ti_fee_main.c'
"D:\workspace_v6_1\SCU-new\SCU\Drivers\CCS-HALCoGen-714\include\Device_types.h", line 112: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 253: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 335: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 337: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 339: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 340: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 341: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 342: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 343: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 344: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 387: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 388: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 420: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 429: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 437: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 438: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 448: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 449: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 450: error #20: identifier "boolean" is undefined
"D:/workspace_v6_1/SCU-new/SCU/Drivers/CCS-HALCoGen-714/include/ti_fee.h", line 451: error #20: identifier "boolean" is undefined
It is so strange :(
Hi,
We couldn't reproduce the issue with HALCoGen v04.05.00.
Are you including compiler's Std_Types.h anywhere in your project? In HALCoGen v04.05.00, all the fee files include hal_stdtypes.h generated by HALCoGen instead of compiler's Std_Types.h header file.
It will be nice if you could share the project.
Thanks and Regards,
Veena
Hi Veena,
In order to avoid the influence of the other parts of the project, I make a project just only including the FEE parts codes.
1. My compiler version is 5.2.4, and HALCoGen is HALCoGen: 04.04.00 - Released 03.April.2015.
2. I generate the source codes using the HALCoGen with the config files CCS-HALCoGen-714.dil and CCS-HALCoGen-714.hcg, and there is only a link error as below:
Hi,
You can drag and drop the zip file in the reply text box.
Thanks and Regards,
Veena
Hi Veena,
Can you see the zip file in this reply?
unzip password: e2e.ti.com
thanks so much!
Hi,
You should not see this problem if you are using HALCoGen v04.05.00.
In v04.04.00, all fee files were including compiler header file StdTypes.h and all other HALCoGen files included HACoGen generated hal_stdtypes.h. This was causing a conflict as there were same typedefs defined in both the files. That is the reason why we added #define __HAL_STDTYPES_H_ after including ti_fee.h in the example so that hal_stdtypes.h will not be included in the file.
In v04.05.00, we removed StdTypes.h header file inclusion from the fee files. Instead we included hal_stdtypes.h
Let me know if you see this problem with HALCoGen v04.05.00. If you want to use HALCoGen v04.04.00, you need to define __HAL_STDTYPES_H__ macro after including fee headers in your file.
Thanks and Regards,
Veena