AnsweredAssumed Answered

CubeMX 4.24 generates uncompilable code for TrueStudio

Question asked by Richard Beneš on Jan 31, 2018
Latest reply on Feb 22, 2018 by Ryan Damsgaard

Hello everyone,

 

after update of STM32CubeMX it started to generate simply uncompilable code for TrueSTUDIO.

When I select FATFS od FREERTOS and TrueSTUDIO as a IDE, after compilation,

functions like HAL_Init(), osThreadCreate(), osKernelStart(), HAL_RCC_OscConfig(), HAL_SD_ReadBlocks_DMA()

and similar are marked with errors "Undefined reference".

 

However when I choose only SDIO, all HAL functions are compiled without problems.

 

I've got Atollic TrueSTUDIO® for STM32 v9.0.0, hovewer I don't think that problem is in IDE.

When I generate code in CubeMX code for MDK-ARM v5, everything compiles without problem.

 

From attached projects, only SAMPLE_SDIO.ioc works.

 

Does someone have similar problem?

Outcomes