Skip to main content
TKyeo.1
Visitor II
Nov 7, 2022 6:34 AM UTC
Solved

TrueSTUDIO 9.3.0 : undeclared and unknown type error

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?

This topic has been closed for replies.
Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
Nov 23, 2022 9:09 AM UTC

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

2 replies

Bob S
Super User
Nov 16, 2022 3:10 PM UTC

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
Ghofrane GSOURIBest answer
ST Technical Moderator
Nov 23, 2022 9:09 AM UTC

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.