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.

TMS320F28386D: Missing stdint.h/stdbool.h inclusion in driverlib emif.h

Part Number: TMS320F28386D

Hi,

While using drivelib, we have an error at compiling while using the emif driver of the driverlib.

We narrowed it down to stdbool.h and stdint.h missing includes in the emif.h file of the driverlib so I wanted to raise the issue towards you in order for others to know and the issue to be fixed in a later release.

I think you only see the error only pops if you have the DEBUG preprocessor variable present.

Regards,

Clément

  • Hi,

    Can you add more details on the problem? Are you using the debug library in your code? We don't see this issue internally with the examples and while building the library, so wanted to understand the issue here.

    Thanks
    Vasudha

  • I don't have the exact error as it was a colleague of mine who experienced it and I forgot to note it.

    It was about bool, uint16_t and int16_t not being recognized by the compiler.

    But basically, we were just including emif.h from the driverlib of that processor and as there is no #include <stdint.h> or #include <stdbool.h> in emif.h (compared to other driver header files such as bgcrc.h for example if you look at the included headers), it popped the error.

    Maybe you are not experiencing it because in the test codes of the emif you have those two header files included before the include of the emif.h header file.

    Best regards,

    Clément

  • Hi,

    Ok, thanks for reporting this. I will get this fixed in the upcoming release.

    Thanks
    Vasudha