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.

LAUNCHXL-F28377S: Where is entity of the SFO function?

Part Number: LAUNCHXL-F28377S

Hi All,

I am looking for entity of SFO function because of error of;

unresolved symbol _SFO, first referenced in ./init.obj dsp C/C++ Problem

Does anyone know where is it (I found prototype of it but entity is not there)?

Best

Takano

  • Hello,
    I guess you need to add the SFO library into your project. You may find in controlSUITE "...\controlSUITE\device_support\F2837xS\v210\F2837xS_common\lib"
  • HI DIsona,

    Thanks for your replying.

    After add lib file into my project, build notified that it is not compatible as follows;

    Description Resource Path Location Type
    <a href="processors.wiki.ti.com/.../16008">file "../SFO_v8_fpu_lib_build_c28.lib<SFO_v7_fpu_lib_build_c28.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2800" specified in a previous file or on the command line</a> file "../SFO_v8_fpu_lib_build_c28.lib<SFO_v7_fpu_lib_build_c28.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2800" specified in a previous file or on the command line dsp C/C++ Problem

    Do you know what should I do to solve it?

    Best,

    Takano

  • It seems, that your project doesn't use FPU, but this library does. I think there are two ways of solving this problem:

    1) Change SFO library - you have "fpu" in the name of your library. Delete this lib from your project and add another instead. There are usually two version of each lib in CONTROLSUITE - with and without FPU. If you can't find the lib in the latest version of device support, search in earlier version. Or just use file search in Explorer. No problem, if you take an old SFO

    2) turn on FPU in your project settings.

    The first way is preferred, if you are not going to use FPU in  your project.

  • Hi Disona,

    Thank you very much for your advice, now build is finished with your second way.

    Remained warning is only one as follows;
    #10210-D creating ".stack" section with default size of 0x400; use the -stack option to change the default size dsp C/C++ Problem
    Is this a warning or notification? I think this is notification so we can ignore this message. Is my thinking correct?

    Best,
    Takano
  • Well... The idea, that we can ignore all the warnings is not good :)
    Anyway, this particular warning can be ignored. This one means, that you didn't modify stack size manually, so it was set automatically by default at 0x400 words. That's enough for most applications.
  • Hi Disona,

    Many thanks to you! I understand the message.