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.

XDC Tools configuro silent mode ?

Hello everyone

(target C6678, compiler 7.4.11, XDCTools 3_30_05_60_core)

When building an SYS/BIOS (TI-RTOS) application, the compilation of the .cfg file is very verbose.

This is mainly due to the call of the Configuro tool of XDCTools

xs --xdcpath=... xdc.tools.configuro -o $(DST_DIR) -t ti.targets.elf.C66 -p $(PLTFORM) -r release -c "$(C6X_COMPILER_DOS)" $(CFG_FILE)

Is there a way to make it less verbose, a sort of silent mode similar to make -s ?

Thank you,
Clement

  • Clement,
    are you building in CCS or on the command line? XDCtools is set to the least verbose output by default. Can you copy the output of your build, and I'll be able to tell if there are any lines that could be eliminated.
    Try adding
    xdc.module('xdc.cfg.SourceDir').verbose = 0;
    to your CFG script. That reduces the output from the compilation of SYS/BIOS sources.
  • Hi Sasha,

    1)I am building on the command line.

    2) Here's a sample output (before adding your line of code)

    Command: C6x XS Configuro applied on A0_A_c0.cfg for creating linker.cmd
    making package.mak (because of package.bld) ...
    generating interfaces for package A0_A_c0 (because package/package.xdc.inc is older than package.xdc) ...
    configuring A0_A_c0.xe66 from package/cfg/A0_A_c0_pe66.cfg ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    Starting build of library sources ...
    making T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/ipc.ae66 ...
    gmake[1]: Entering directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/ipc'
    cle66 D:/CoralieDev/COTS/TI/ipc_3_30_01_12_modif_octane/packages/ti/sdo/utils/NameServer.c ...
    are66 Ipc.obj ...
    gmake[1]: Leaving directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/ipc'
    making T:/coralie/octane/Test/projet/sp_cobra/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/utils.ae66 ...
    gmake[1]: Entering directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/utils'
    cle66 D:/CoralieDev/COTS/TI/ipc_3_30_01_12_modif_octane/packages/ti/sdo/utils/UTILS.c ...
    are66 UTILS.obj ...
    gmake[1]: Leaving directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/utils'
    making T:/coralie/octane/Test/projet/sp_cobra/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/sysbios/sysbios.ae66 ...
    gmake[1]: Entering directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/sysbios'
    cle66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/BIOS.c ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c64p/Exception_asm.s64P ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c64p/MemoryProtect_asm.s64P ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/timers/timer64/Timer_asm.s64P ...
    asme66 D:/CoralieDev/COTS/TI/bios_6_41_01_36_patch_octane3/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ...
    are66 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj c64p_MemoryProtect_asm.obj timer64_Timer_asm.obj c62_TaskSupport_asm.obj ...
    gmake[1]: Leaving directory `T:/coralie/octane/Test/projet/sp_/atelier/trace/m_sp_/a_sp_/C6x/A0_A_c0/package/cfg/A0_A_c0_pe66.src/sysbios'
    Build of libraries done.
    cle66 package/cfg/A0_A_c0_pe66.c ...

    3) Here's the output with your line of code

    Command: C6x XS Configuro applied on A0_A_c1.cfg for creating linker.cmd
    making package.mak (because of package.bld) ...
    generating interfaces for package A0_A_c1 (because package/package.xdc.inc is older than package.xdc) ...
    configuring A0_A_c1.xe66 from package/cfg/A0_A_c1_pe66.cfg ...
    generating custom ti.sysbios library makefile ... 
    generating custom ti.sdo.utils library makefile ...
    generating custom ti.sdo.ipc library makefile ...
    cle66 package/cfg/A0_A_c1_pe66.c ...

    It is definitively better.
    If there is no easy way to get rid of the "generating" lines, I can live with it

    Thank you,

  • Clement,
    what you have now is the least verbose output.