TMS320F28335: Inquiry Regarding uint8_t Undefined in C2000 Project

Part Number: TMS320F28335

Dear, Technical Support Engineers

I am currently working on a library project targeting TMS320F28335 using Code Composer Studio (CCS) V12.6.0.00008 and the ti-cgt-c2000_22.6.1.LTS compiler.

During the build process, I am encountering the following compilation error:

error #20: identifier "uint8_t" is undefined

The error occurs in my test code (Unit Test source).

I would like to inquire:

  1. Is it expected that uint8_t cannot be used in the current project environment?

  2. If not, what is the recommended way to use C99 standard fixed-width integer types (e.g., uint8_t) in a C2000 environment?

Additionally, I would like to know whether this issue might be related to the compiler version, the target MCU, or both.

Thank you for your assistance.

Hyeondo