cancel
Showing results for 
Search instead for 
Did you mean: 

TrueSTUDIO 9.3.0 : undeclared and unknown type error

TKyeo.1
Associate

I'm new in embeded programming. and now I'm trying to test UART with NUCLEO-F103RB.

I installed STM32CubeMX 6.6.1 and TrueSTUDIO 9.3.0. I created using CubeMx and compiled with TrueStudio, but failed.. there are many undeclared(first use in this function) and unkown type.

Is there any bug in TrueSTUDIO 9.3.0 or CubeMX 6.6.1?

How can I remove these errors?

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @TKyeo.1​ 

First let me thank you for posting.

The TrueSTUDIO is no longer supported by the STM32CubeMX that's why you are facing this issue .

So i recommend you to change the IDE .

Please have a look to this Link for more information.

Thx

Ghofrane

View solution in original post

2 REPLIES 2
Bob S
Principal

Looks like the proper include files aren't being parsed. Make sure you have "USE_HAL_DRIVER" and something like "STM32F103xx" pre-defined. Under project properties, "C Compiler", "Symbols" (I'm guessing, (TRUEStudio appears to use a different menu scheme).

Ghofrane GSOURI
ST Employee

Hello @TKyeo.1​ 

First let me thank you for posting.

The TrueSTUDIO is no longer supported by the STM32CubeMX that's why you are facing this issue .

So i recommend you to change the IDE .

Please have a look to this Link for more information.

Thx

Ghofrane