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.

CCS: CCS7.0 UIA

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

    I has installed the UIA in the SYS/BIOS.( version uia_2_20_00_02    bios_6_46_04_53     xdctools_3_32_01_22_core  CCS7.0).

   I add UIA in my project. new adding :

var Load = xdc.useModule('ti.sysbios.utils.Load');

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

in my project cfg file, and I rebuild my project,there are many error show as below. Could you have any idea? Thank you!

cla8fg package/cfg/amic11x_app_pa8fg.c ...

subdir_rules.mk:33: recipe for target 'build-912623121-inproc' failed

package/cfg/amic11x_app_pa8fg.c:1344:9: warning: initialization from incompatible pointer type

ti_uia_loggers_LoggerStopMode_Object__create__S,

^

package/cfg/amic11x_app_pa8fg.c:1344:9: warning: (near initialization for 'ti_uia_loggers_LoggerStopMode_Module__FXNS__C.__sfxns.__create')

package/cfg/amic11x_app_pa8fg.c:11520:15: error: unknown type name 'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11520:118: error: 'CT__ti_uia_events_DvtTypes_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11520:168: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_events_DvtTypes_Module__startupDoneFxn ti_uia_events_DvtTypes_Module__startupDoneFxn__C = ((CT__ti_uia_events_DvtTypes_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11579:15: error: unknown type name 'CT__ti_uia_events_UIAErr_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11579:114: error: 'CT__ti_uia_events_UIAErr_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11579:162: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_events_UIAErr_Module__startupDoneFxn ti_uia_events_UIAErr_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAErr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11710:15: error: unknown type name 'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11710:114: error: 'CT__ti_uia_events_UIAEvt_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11710:162: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_events_UIAEvt_Module__startupDoneFxn ti_uia_events_UIAEvt_Module__startupDoneFxn__C = ((CT__ti_uia_events_UIAEvt_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11906:15: error: unknown type name 'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11906:132: error: 'CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11906:189: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn__C = ((CT__ti_uia_loggers_LoggerStopMode_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11995:15: error: unknown type name 'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11995:120: error: 'CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:11995:171: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn ti_uia_runtime_EventHdr_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_EventHdr_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12069:15: error: unknown type name 'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12069:134: error: 'CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12069:192: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_QueueDescriptor_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12128:15: error: unknown type name 'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn'

__FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12128:126: error: 'CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn' undeclared here (not in a function)

__FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:12128:180: error: expected ')' before numeric constant

__FAR__ const CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn ti_uia_runtime_UIAMetaData_Module__startupDoneFxn__C = ((CT__ti_uia_runtime_UIAMetaData_Module__startupDoneFxn)0);

^

package/cfg/amic11x_app_pa8fg.c:18464:9: error: conflicting types for 'ti_uia_loggers_LoggerStopMode_Object__create__S'

xdc_Ptr ti_uia_loggers_LoggerStopMode_Object__create__S (

^

In file included from package/cfg/amic11x_app_pa8fg.c:77:0:

C:/ti/uia_2_20_00_02/packages/ti/uia/loggers/LoggerStopMode.h:514:18: note: previous declaration of 'ti_uia_loggers_LoggerStopMode_Object__create__S' was here

__extern xdc_Ptr ti_uia_loggers_LoggerStopMode_Object__create__S( xdc_CPtr __aa, const xdc_UChar *__pa, xdc_SizeT __psz, xdc_runtime_Error_Block *__eb );

^

gmake.exe: *** [package/cfg/amic11x_app_pa8fg.oa8fg] Error 1

js: "C:/ti_am335R3_04_AMIC/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake[1]: *** [build-912623121-inproc] Error 1

gmake: *** [build-912623121] Error 2

subdir_rules.mk:30: recipe for target 'build-912623121' failed

gmake: Target 'all' not remade because of errors.