Skip to main content
Arnas Matiukas
Associate II
February 2, 2018
Solved

Undefined reference to HAL & The selection cannot be launched

  • February 2, 2018
  • 2 replies
  • 1298 views
Posted on February 02, 2018 at 10:11

Hello everyone, i guess this is not the right place to ask, but official Atollic TrueSTUDIO forum gave me no answers. Maybe someone here had same problem as me. 

Yesterday i moved from Keil to TrueSTUDIO IDE since it is free for STM32. After base code generation using STM32CubeMX i can't get over the error after building Debug. It does not find reference to any HAL and FreeRTOS functions. If i try to build Release the errors does not appear. Also then i try to RUN my project i get 'The selection cannot be launched, and there are no recent launches.'. What could be wrong?

P.S I am junior developer and never used debugging tools. Does Debug build and run is just as same as flash + use of debug tools

?

    This topic has been closed for replies.
    Best answer by Jeanne Joly
    Posted on March 20, 2018 at 17:36

    Hello

    matiukas.arnas

    ,

    This issue is now fixed in the current CubeMX release.

    Please, upgrade with CubeMX4.25 if not already done.

    BR. Jeanne

    2 replies

    Technical Moderator
    February 14, 2018
    Posted on February 14, 2018 at 14:32

    Hello

    matiukas.arnas

    ,

    This is a known bug reported in this

    https://community.st.com/0D50X00009XkWopSAF

    and will be fixed in coming version of CubeMx.

    Best Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Jeanne Joly
    Jeanne JolyBest answer
    Associate
    March 20, 2018
    Posted on March 20, 2018 at 17:36

    Hello

    matiukas.arnas

    ,

    This issue is now fixed in the current CubeMX release.

    Please, upgrade with CubeMX4.25 if not already done.

    BR. Jeanne