This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32F3 invalid Bool defintion inside USB library

Hi.

Long time professional on competitors products, I'm not experimenting with the uVision IDE and STM32F3 Discovery board.

First thing for me is understanding how to setup a project, so I started a new project.
I have replicated the structure of the demo project, including all the necessary inclusion paths.

The problem I have is that in usb_type.h (42) there is this snippet
typedef enum
{
FALSE = 0, TRUE = !FALSE
}

bool;

Which triggers
#65: expected a ";"
error on line 45, and a warning
#64-D: declaration does not declare anything

I did every possible compare of my project and the demo one from ST and I can't find any difference in include paths, include paths' hierarchy, included files or anything else able to justify this.

I'd really appreciate some help here.
Thanks

0