Hi,
I am trying to use inline version of ECPY_directWait() from framework components(version 3.21.3.34) in my code for better performance. According to API reference guide if I define the macro ECPY_DIRECTWAIT_INLINE in project settings it should just work fine. But it throws compilation errors when the macro is defined. The same issue is repeated when ECPY_INLINE_ALL is defined in order to make functions ECPY_directConfigure32() & ECPY_setFinal() inline. It seems there is a problem with ECPY_VERSION_MACRO macro definition. Please let me know if I am missing anything.
I am using CCS Version: 5.1.0.09000 & C6000 cg Tools 7.3.6.
You can find the build log below.
"D:/CCSV5_INSTALL_DIR/framework_components_3_21_03_34/packages/ti/sdo/fc/ecpy/ecpy_directwait.h", line 48: error #78-D: this declaration has no storage class or type specifier
"D:/CCSV5_INSTALL_DIR/framework_components_3_21_03_34/packages/ti/sdo/fc/ecpy/ecpy_directwait.h", line 49: error #66: expected a ";"
"D:/CCSV5_INSTALL_DIR/framework_components_3_21_03_34/packages/ti/sdo/fc/ecpy/ecpy_directwait.h", line 104: warning #12-D: parsing restarts here after previous syntax error
"D:/CCSV5_INSTALL_DIR/framework_components_3_21_03_34/packages/ti/sdo/fc/ecpy/ecpy_directwait.h", line 110: error #171: expected a declaration
"D:/CCSV5_INSTALL_DIR/framework_components_3_21_03_34/packages/ti/sdo/fc/ecpy/ecpy.h", line 693: warning #12-D: parsing restarts here after previous syntax error
Regards,
Vijay