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.

Error #20 "identifier undefined"

Other Parts Discussed in Thread: CONTROLSUITE

Good evening ppl, my name is Eliomar, Im new using CCS v6 (i have like 3 days using it), im making an application with PSO algorithm.

I was having problem with some includes files, because i was using the "#include" directive and i did not had the path of the header files specified in my project (specific adc.h, pwm.h, gpio.h, etc). now i succesfully include the path of these files and the directive include does not generate an error.

Now the CCS generate 98 erros because it appears some indentifiers in many inline functions (inside the header files) are undefined, it says identifiers like "uint16_t" is undefined. the problem is that i dont know how to fix it, dont supose those identifiers are already defined in the header file? how can i define those identifiers? i need to include another file? another path?

Thanks and regards from Venezuela.

PD: i inserted a capture that i take from de errors .     

  • Hi,

    As the error says you need a proper header defining uint16_t definition. Instead check with the latest examples that can be found here:
    C:\ti\controlSUITE\device_support\f2802x\v230\f2802x_examples_structs

    Regards,
    Gautam