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.

Problems including header file for F28335

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I've recently received the F28335 for a project to do at uni, but received no other sorts of documentation or help. I've gone through the tutorials posted online about them and read through some of the forums, but am still having a lot of problems adding the header files. I've downloaded all of the header files from the tutorial and added them to the same project, but I am still getting errors saying #1965 cannot open source file "DSP2833x_Device.h" (this file is definitely included in the project).

Any help would be greatly appreciated.

Cheers,

Ben

  • Ben,

    You probably need to set your include paths in the project build options. Make sure you get both DSP2833x_common\include and DSP2833x_headers\include.

  • Hi Adam,

    Both the DSP2833x_common and DSP2833x_headers folders were added to the #include search path (as you can see in the photo) and in the same folder as the main script but it is still coming up with an error code saying the DSP2833x_Device.h source file cannot be opened. This source file is definitely in the DSP2833x_headers folder and seems to compile without an issue.

    Here's a screenshot of the window I'm working with at the moment just in case you can see anything obviously wrong with it.

    Any more ideas with what might be wrong?

    Cheers

  • woops, it seems like the photos didn't send
  • Ben,

    Try opening one of the example projects in controlSUITE and make sure it compiles. Then go through its build options and make sure the ones in your project are similar.
  • Hi,

    I gave that a crack, but they wouldn't compile either. The issue seems to be with the #include. Even in the example code the errors came with the #include.  

    I'm also getting a lot of errors saying "gmake: ***No rule to make target.

    I'm running Code Composer Studio 6.1.0 if that would make any difference.

    Cheers

  • Okay, try this for me:

    1. In CCS, go under the Project menu and choose Import CCS Projects.

    2. Select C:\ti\controlSUITE\device_support\f2833x\v140\DSP2833x_examples_ccsv5\cpu_timer as the search directory. Make sure that the "Copy projects into workspace" checkbox is unchecked. Click on the Finish button. (You may see a warning about XDAIS; that's fine.)

    3. In the Project Explorer frame, you should now see a project called Example_2833xCpuTimer. Right-click on this project and select Rebuild Project. The project should compile without errors. (XDAIS warnings are fine.)

    4. To remove the project from the project list, you can right-click on it and choose Delete. In the dialog box, make sure that the "Delete project contents on disk" checkbox is unchecked, then click on OK.

    Does that work? If not, you might need to reinstall CCS and/or controlSUITE.