For my stm32L475VGT6 I have done the basic setup with uVision 5.28 and cubeMx 5.4 to turn on a LED.
I'm getting the following error:
...AppData\Local\Arm\Packs\Keil\STM32L4xx_DFP\2.1.0\MDK\Boards\ST\STM32L496G-DISCO\Common\LED_STM32L496G_Discovery.c(34): error: #5: cannot open source input file "stm32l496g_discovery.h": No such file or directory
#include "stm32l496g_discovery.h" // Keil.STM32L496G-Discovery::Board Support:Drivers:Basic I/O
I'm not sure if the compiler needs something here? What is also suspicious, although I choose device specific dfp for stm32L475VGT6 in uVision, it downloads/uses files like stm32l496g_discovery.
Any help would be greatly appriciated :-)
Probably need to set up the Include Paths properly to find the file
There is no STM32L496G supported by the Pack Installer
Beside, we recommend to install MDK to C:\Keil_V5
Thanks for your answer, I'm working with stm32L475VGT6. I seems that "LED Api" is not supported for this board, so I'm using now the "hal" functions to work with led's.
View all questions in Keil forum