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.

Does SYSBIOS 6.35.01.29 work with XDCTOOLS 3.24.06.63?

Other Parts Discussed in Thread: SYSBIOS

Using CCSv5.4, SYSBIOS 6.35.01.29, and XDCTOOLS 3.24.06.63.  We get (16) errors when we attempt to compile our project.  They are listed below.  The dependencies requirements for SYSBIOS 6.35.01.29 say XDCTOOLS 3.25.06.63 will work.  What have I done wrong?  Full disclosure, we did rebuild SYSBIOS to turn on the following two FATFS options:  _USE_LFN_ = 2   ..and..  _USE_STRFUNC = 1.

 

"C:\\CCSv5\\ccsv5\\utils\\bin\\gmake" -k -j 8 all

'Building file: ../app.cfg'

'Invoking: XDCtools'

"C:/CCSv5/xdctools_3_24_06_63/xs" --xdcpath="C:/CCSv5/myRepository/packages;C:/CCSv5/ccsv5/ccs_base;C:/CCSv5/edma3_lld_02_11_07_04;C:/CCSv5/biospsp_03_00_01_00;C:/CCSv5/biospsp_03_00_01_00/drivers;C:/CCSv5/ndk_2_22_03_20/packages;C:/CCSv5/bios_6_35_01_29/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C674 -p Model2400i -r debug -c "C:/CCSv5/ccsv5/tools/compiler/c6000_7.3.12" --compileOptions "-g --optimize_with_debug" "../app.cfg"

making package.mak (because of package.bld) ...

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

configuring app.x674 from package/cfg/app_p674.cfg ...

cl674 package/cfg/app_p674.c ...

"package/cfg/app_p674.c", line 17577: error: declaration is incompatible with "void ti_sysbios_BIOS_RtsGateProxy_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 229 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h")

"package/cfg/app_p674.c", line 17699: error: declaration is incompatible with "void ti_sysbios_hal_Hwi_HwiProxy_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 305 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/hal/package/Hwi_HwiProxy.h")

"package/cfg/app_p674.c", line 17844: error: declaration is incompatible with "void ti_sysbios_hal_Timer_TimerProxy_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 272 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/hal/package/Timer_TimerProxy.h")

"package/cfg/app_p674.c", line 17983: error: declaration is incompatible with "void ti_sysbios_heaps_HeapMem_Module_GateProxy_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 229 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/heaps/package/HeapMem_Module_GateProxy.h")

"package/cfg/app_p674.c", line 18866: error: declaration is incompatible with "void ti_sysbios_family_c64p_Hwi_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 437 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/family/c64p/Hwi.h")

"package/cfg/app_p674.c", line 19038: error: declaration is incompatible with "void ti_sysbios_gates_GateHwi_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 244 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/gates/GateHwi.h")

"package/cfg/app_p674.c", line 19179: error: declaration is incompatible with "void ti_sysbios_gates_GateMutex_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 262 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/gates/GateMutex.h")

"package/cfg/app_p674.c", line 19346: error: declaration is incompatible with "void ti_sysbios_hal_Hwi_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 358 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/hal/Hwi.h")

"package/cfg/app_p674.c", line 19546: error: declaration is incompatible with "void ti_sysbios_hal_Timer_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 330 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/hal/Timer.h")

"package/cfg/app_p674.c", line 19746: error: declaration is incompatible with "void ti_sysbios_heaps_HeapMem_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 302 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/heaps/HeapMem.h")

"package/cfg/app_p674.c", line 19939: error: declaration is incompatible with "void ti_sysbios_knl_Clock_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 330 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/knl/Clock.h")

"package/cfg/app_p674.c", line 20119: error: declaration is incompatible with "void ti_sysbios_knl_Queue_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 224 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/knl/Queue.h")

"package/cfg/app_p674.c", line 20260: error: declaration is incompatible with "void ti_sysbios_knl_Semaphore_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 329 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/knl/Semaphore.h")

"package/cfg/app_p674.c", line 20402: error: declaration is incompatible with "void ti_sysbios_knl_Swi_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 349 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/knl/Swi.h")

"package/cfg/app_p674.c", line 20550: error: declaration is incompatible with "void ti_sysbios_knl_Task_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 531 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/knl/Task.h")

 

"package/cfg/app_p674.c", line 20712: error: declaration is incompatible with "void ti_sysbios_timers_timer64_Timer_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 528 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/timers/timer64/Timer.h")

>> Compilation failure

16 errors detected in the compilation of "package/cfg/app_p674.c".

  • Hi Dean,

    Can you share the app_p674.c or the lines of code that are generating a compilation error ? That should help us understand what is the incompatibility between the 2 function declarations.

    Best,

    Ashish

  • 5102.app_p674.c

    I think I've attached the correct file.  If not, here is the first code snippet that is causing the problem.

    void ti_sysbios_BIOS_RtsGateProxy_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz )

    {

        ti_sysbios_gates_GateHwi_Params__init__S(dst, src, psz, isz);

    }

    - Dean

  • Dean,
    the error message, actually the second parameter of the call

    "package/cfg/app_p674.c", line 17577: error: declaration is incompatible with "void ti_sysbios_BIOS_RtsGateProxy_Params__init__S(xdc_Ptr, const void *, xdc_SizeT, xdc_SizeT)" (declared at line 229 of "C:/CCSv5/bios_6_35_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h")

    indicates that you rebuilt SYS/BIOS 6.35 with XDCtools 3.25. You can verify that by checking the name of the file .xdc-### in the directory ti/sysbios/package. If it starts with xdc-z## then my assumption is correct. Such a version of SYS/BIOS is not compatible with XDCtools 3.24. You have to go back to the original version of SYS/BIOS 6.35 either by rebuilding it again with XDCtools 3.24 or by reinstalling it.

  • Sasha,

    Below is a snapshot of the last few SYSBIOS versions.  Each version has a recommended XDCTOOLS package to use.  For SYSBIOS 6.35.01.29 the recommended XDCTOOLS package is 3.24.07.73  ..or..  3.25.00.48.  Reading the release notes for SYSBIOS 6.35.01.29, the Dependencies Section has XDCTOOLS 3.24.06.63 or higher listed.

     

    1.  Can I rebuild SYSBIOS 6.35.01.29 with XDCTOOLS 3.24.06.63, or do I need to use XDCTOOLS 3.24.07.73?  Which 3.24.xxxx version of the XDCTOOLS is really compatible with SYSBIOS 6.35.01.29?

    2.  If I rebuild SYSBIOS 6.35.01.29 with one of the 3.24.xxxx versions of the XDCTOOLS, can I upgrade the XDCTOOLS to one of the 3.25.xxx versions and expect everything to work?  Or do I need to rebuild SYSBIOS every time I upgrade an XDCTOOLS version?

    3.  If I rebuild SYSBIOS 6.35.01.29 with the recommended XDCTOOLS 3.25.xxx version (3.25.00.48), can I expect to use that rebuilt SYSBIOS version with XDCTOOLS 3.24.xxxx versions?

    Thanks, Dean

  • Hi Dean,

    Dean Hofstetter said:

    1.  Can I rebuild SYSBIOS 6.35.01.29 with XDCTOOLS 3.24.06.63, or do I need to use XDCTOOLS 3.24.07.73?  Which 3.24.xxxx version of the XDCTOOLS is really compatible with SYSBIOS 6.35.01.29?

    XDC Tools 3.24.07.73 fixes 5 bugs (listed in the release notes). Please go through the list and if you find that none of the bugs affect you, it is okay to build SYS/BIOS with XDCTools 3.24.06.63.

    Dean Hofstetter said:

    2.  If I rebuild SYSBIOS 6.35.01.29 with one of the 3.24.xxxx versions of the XDCTOOLS, can I upgrade the XDCTOOLS to one of the 3.25.xxx versions and expect everything to work?  Or do I need to rebuild SYSBIOS every time I upgrade an XDCTOOLS version?

    3.  If I rebuild SYSBIOS 6.35.01.29 with the recommended XDCTOOLS 3.25.xxx version (3.25.00.48), can I expect to use that rebuilt SYSBIOS version with XDCTOOLS 3.24.xxxx versions?

    It is okay to build SYS/BIOS with XDC Tools 3.24.xx and then build your app with XDC Tools 3.25.xx. However, the other way around does not work. If you build SYS/BIOS with XDC Tools 3.25.xx, then you cannot build your app with XDC Tools 3.24.xx, you have to build the app with XDC Tools 3.25.xx.

    Best,
    Ashish