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.

Compiler/TMS320F28379D: Why my project use TMU but I still need to set FPUmathTables

Part Number: TMS320F28379D

Tool/software: TI C/C++ Compiler

Hi

I have a project but it has a compile warning message as below:

warning #10247-D: creating output section "FPUmathTables" without a SECTIONS specification

I searched TI forum and found that I need to set --fp_mode=relaxed option to avoid this warning message.

This warning message disappears when I add this option.

The issue is why I need to set FPUmathTables. Could you please let me know which operation that

uses FPUmathTables in my project? And I have set --tmu_support=tmu0 in the project so I think

compiler will automatically use TMU commands instead of using FPUmathTables.

My project is attached.

F28379Project.zip

thanks,

Jiakai

  • Jiakai,

    I looked at your project in Notepad++, and I can see it includes the FPUFastRTS library (rts2800_fpu32_fast_supplement.lib). This library uses FPUMathTables, and I believe this causes the Warning, even though the TMU instructions are what are used.

    Thanks,
    Sira
  • Dear Sira,

    Thank you very much. the warning message disappeared after I removed rts2800_fpu32_fast_supplement.lib.

    By the way, I want to ask you another question:

    In the CCS v3.3 project I attached before, I use --fp_mode=relaxed option in the .pjt file but this option couldn't 

    copy to a newer CCS version (say CCS v8.2), Could you let me know if I have any way to set this option in a 

    CCS v3.3 project?

    Regards,

    Jiakai

  • Jiakai,

    Is your question how to set the fp_mode in the v3.3 project or in the v8.2 project?

    Thanks,

    Sira

  • Hi Sira,

    I want to know how should I set fp_mode in v3.3 project to let v8.2 import this v3.3 project correctly.

    thanks,
    Jiakai
  • Jiakai,

    I don't know, because I don't have a v3.3 installation. In any case, why not import the project as is to v8.2, then make the change in v8.3 and save that setting?

    Thanks,
    Sira
  • Hi Sira,

    We are developing a software that generates whole CCS v3,3 project.

    We had tried to generate higher CCS (Eclipse) project (say CCS v5) but the

    project is very complicate and there are some strange numbers that 

    let CCS reports error on the generated project.

    I knew TI has a newer project type that similar to v3.3 project (text based),

    if you have any documents about it, please let me know.

    thanks,

    Jiakai

  • Jiakai,

    I asked a CCS expert I know but he didn't know this. You'll have to post a separate question to the e2e CCS forum, and I'm sure you'll get an answer.

    Can you close this issue as Answer Verified?

    Thanks,
    Sira
  • Thank you very much.