cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling a project generated by CubeIde with FreeRtos, None timer on systick and LL driver only end with error

Paolo Andreuzza
Associate II

In a particular time critical application, I'd like to use the LL driver only, FreeRtos and, to preserve an hw resouce, I've selected "none" in SystemCore->Sys->TimeBaseSource.

Trying to compile the project generated in this way, I get "fatal error: stm32g0xx_hal.h: No such file or directory", even if I don't use hal at all.

If I delete the file stm32g0xx_hal_gpio.c from source, the project compile correctly, but if I rebuild the project from the ioc, the file is created again and the error is the same.

Step to reproduce the problem:

  • Create a new project for STM32G070 microcontroller
  • In the ioc file enable CMSIS_V1 in Middleware->freertos configuration
  • In the ioc file set SystemCore->Sys->TimeBaseSource to "none"
  • In the ioc file set Project Manager -> Advanced Settings -> RCC to LL
  • Generate the code
  • Try to compile

STM32CubeG0 Firmware Package V1.3.0

STM32CubeIDE Version: 1.3.1 Build: 6291_20200406_0752 (UTC)

Thank You in advance

Paolo

0 REPLIES 0