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.

TMS320F280037: unable to compile code

Part Number: TMS320F280037
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

see attached screen shot 

generated code complaining it has an undefined identifier , but the adc.h where the defines are is on 'Path'  i'm a tad unsure how to talk this as i've only been using the micro a few weeks (i'm used to microchip PIC's ) 

i've tried moving the file in to my working directory but still no good .

any assistance would be gratefull .  i can attach code if need be 

ideally id like to be able to edit board.c and include adc.h to see if that helps but the build button just regenerates the file ...

Thanks

  • Hi John,

    SysConfig auto generates the files like board.c and since those are auto generated based on the sysconfig settings, you will not be able to add adc.h to that file since every time it builds the auto generated files we'll get replaced.

    What example are you using? Are you adding SysConfig to your project? I assume you have the latest C2000WARE SDK and SysConfig tool support correct?

    Could you try importing one of our examples from our C2000WARE SDK into your project that is adc related and try building that. IF that works, double check your include paths and linker command files. Make sure your main code includes the correct files needed for your project.

    Best,

    Ryan Ma

  • as i wrote .. i've only been using the micro a month .. so CCS v12 and C2000ware sdk 5.01 .. but yes i'll try an example from scratch and try to compile it .. thanks 

  • looks like my sysconfig isnt set up like the example ... i'll adjust and report back .. Thanks

  • Hi John,

    Please let me know if you have any further questions or any feedback with using our SDK and CCS. 

    If you're planning to start development code and forsee in the future of possible migration to another one of our C2000 devices. Please check out this FAQ on being able to start off with a simple empty driverlib-based project that can migrate across our expansive portfolio!

    Best,

    Ryan Ma