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.

AM5708: DSP compile options

Part Number: AM5708
Other Parts Discussed in Thread: SYSBIOS

Hi,

I have a question about compile option 's setting by xdc tools . the example is blow:

e2e.ti.com/.../3059085

in the link above , there an word below,

/opt/ti/xdctools_3_25_00_48/xdc XDCARGS="ti.targets.C64P=\"\" ti.targets.C674=\"\" ti.targets.arm.elf.M3=\"\" ti.targets.arm.elf.M4=\"\" ti.targets.elf.C64P=\"\" ti.targets.elf.C64T=\"\" ti.targets.elf.C66=\"/opt/ti/ccsv5/tools/compiler/c6000_7.4.4\" ti.targets.elf.C674=\"\" gnu.targets.arm.GCArmv5T=\";LONGNAME=;profiles.release.compileOpts.copts=-O2 -ffunction-sections\" google.targets.arm.Bionic=\"\"" XDCBUILDCFG=./codec_engine.bld --jobs=1 -Pr ./cetools/examples

I want to know where I can set profiles.release.compileOpts.copts to -O3 ?

  • Hi,

    See the screenshot for an example. If you have a CCS project, you can set -O3. Similarly, if you use makefile, you can add into the compiler option flag.

    I am not sure about your build environment, it should be a SYSBIOS project. You can use above ways to add/change -O3.

    Regards, Eric

    Regards, Eric