STM32Cube MX, VScode setup
Hello.
I'm having issues with STM32CubeMX and VScode setup. I have the STM32 VScode extension installed and all the extras that were required as per this page ( https://marketplace.visualstudio.com/items?itemName=bmd.stm32-for-vscode ). I generate a make file for the blue pill based on the STM32F103C8T6 IC. When I open the code in VScode I immediately see errors starting with (main.h: No such file or directory 20 | #include "main.h")
There are other errors starting with unknown type name 'RCC_OscInitTypeDef' | RCC_OscInitTypeDef RCC_OscInitStruct = {0};
'RCC_CLOCKTYPE_HCLK' undeclared (first use in this function) | RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
Any suggestions on how to set this up so these errors are permanently resolved?
