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.

CCS: Take CCS as a pure code editor, but cannot reference the struct.



Tool/software: Code Composer Studio

I got a bunch of files and imported it into CCS.

Here is my steps.

1. From Project Explorer window, new a project with C/C++ -> C Project.

2. Select Executable -> Empty Project.

3. Check both Debug and Release.

4. Pass options "Cross compiler prefix" and "Cross compiler path" in Cross GCC Command window by just clicking Finish.

5. Right-click this project and select Import -> Import.

6. Choose General -> File System, Browse the folder from directory, and click Finish.

How to take CCS as a pure code editor? Thanks!

  • Andy,

    Please note that you are not creating a CCS project here. The project is a standard Eclipse C/C++ project. Is there a reason you are doing that vs creating a CCS project? The errors at the bottom right are showing up as you have not configured where the project is supposed to find make or gcc. If you are creating this type of project you need to set that up if you are planning on building the project. Note that you would also be limited to using GCC and not the TI compiler.

    I would highly suggest that you create a CCS project.

    Regards,
    John
  • Hi, apology for not explaining well on the title that why I was not creating a CCS project.
    The reason for that is I'm not going to compile those files, those files are only for reading .
    For this reason, Compiler is not needed in this case.
    The basic feature is just what I need, like text editor or syntax analyzer maybe?
  • Andy,

    A lot of editor functionality really depends on being able to recognize how to build the project. So setup a CCS project even if you are not going to use it to build. Otherwise in a day or 2 you will be asking why the editor is not recognizing conditional code (#ifdef) properly or why it can't open a header file from a definition.

    You can do what you are doing but just assume that some functionality is not going to work.

    Regards,
    John