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/MSP432E401Y: getting compiler errors if using CCS to create a new project

Part Number: MSP432E401Y
Other Parts Discussed in Thread: MSP430I2040

Tool/software: Code Composer Studio

If I simply imported a project from one of the examples of drivelib in the simplelink_msp432e4_sdk_2_10_00_17 Resource Explorer, I got no compiler error.

But when I used CCS to create a new project first, and then 'add files' to the created project, I then got compiler errors.  Why?  How to resolve it?  Thanks.

  • When Importing files, include paths are provided in the .projectSpec file. This tells the compiler and the linker where to find the appropriate files.

    Please look at the project properties of the project imported from the SDK with those of the project you created.

    Regards,
    Chris
  • Indeed, I learned that the included files are different from the project I imported to that I created because of include paths. As a result of that, the project I created is not compatible to the files I added from the example folder, and the compiling errors popped up. However, this phenomenon does not show on other devices, like MSP432P401R, MSP430i2040, etc. Why? Thanks.

**Attention** This is a public forum