Loading...
 
Skip to main content

System Workbench for STM32


Multitude of HAL_RCC not resolved errors

Vetch,
Thanks for responding.

I followed your advice. The hal_conf.h file has HAL_RCC_MODULE_ENABLED defined.

I think I found the problem. The default in CubeMX Project >> Settings >> Project >> Toolchain / IDE was set to EWARM instead of STM32

I then ran build in STM32 and got no errors in the Problems window. This was run with Project Properties Build Type set to External Build. I do not know what External and Internal Build means. If I use Internal Build I get the Error 2 message in the Problems Window.

However, with no errors in Problems Window using External Build, it still will not run. I get this error message:

Error starting process.
Cannot run program "C:\STM32 Nucleo Projects\Test1_ST_20161117\SW4STM32\Test1_ST_20161117\Debug\Test1_ST_20161117.elf": Launching failed
Cannot run program "C:\STM32 Nucleo Projects\Test1_ST_20161117\SW4STM32\Test1_ST_20161117\Debug\Test1_ST_20161117.elf": Launching failed
Cannot run program "C:\STM32 Nucleo Projects\Test1_ST_20161117\SW4STM32\Test1_ST_20161117\Debug\Test1_ST_20161117.elf": Launching failed

Is this just because I do not have any code in the users code sections? or is it something else?

Thanks again,

Dave

I included a simple toggle of one IO pin and I still get the same error when attempting to run the project. The program in Main.c is this:

while (1)
{
/* USER CODE END WHILE */
HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_0);
/* Insert delay 100 ms */
HAL_Delay(200);
/* USER CODE BEGIN 3 */

}

no errors during complile


 
Collapse/expand modules below