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.

Obtaining error: struct "SCIPRI_BITS" has no field "free"

Other Parts Discussed in Thread: CONTROLSUITE

Hi I am currently working with C2000 , I have fuzzy logic controller added to my program ,I use SCI Transmitter Receiver for displaying my waveforsms ,while trying to build  I am getting the following error 

Error highlighted in Blue colour

"E:/Mtech/Thesis/Hardware/Hardware_new/hardware_june29/Regen_PI_Correct3_subsystem_200e_cap_boost2_fuzzy_ert_rtw/MW_c28xx_csl.c", line 51: error: struct "SCIPRI_BITS" has no field "free"
1 error detected in the compilation of "E:/Mtech/Thesis/Hardware/Hardware_new/hardware_june29/Regen_PI_Correct3_subsystem_200e_cap_boost2_fuzzy_ert_rtw/MW_c28xx_csl.c".

>> Compilation failure
gmake: *** [MW_c28xx_csl.obj] Error 1
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.

However when I remove SCI Transmitter and I am able to build successfully.

Please suggest a solution

  • Hi,

    What specific device are you using? What version of controlSUITE are you using? Are you using using the "free" field in your source code?

    If you change the name from "free" to "freesoft" in your source code does it work? It looks like the bit field name is actually "freesoft".

    The struct is defined in /headers/source/xxxx_GlobalVariableDefs.c

    sal