Skip to main content
TKyeo.1
Visitor II
November 7, 2022
Solved

TrueSTUDIO 9.3.0 : undeclared and unknown type error

  • November 7, 2022
  • 2 replies
  • 1754 views

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.
Best answer by Ghofrane GSOURI

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

2 replies

Bob S
Super User
November 16, 2022

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
Technical Moderator
November 23, 2022

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.