Sorry just trying to set up the Keil system to run a simple starter program with an STM32F051. Used STM32Cube to get the code set up, ported over to the Keil uVision tool. When I go to compile I get the following. It doesn't seem to find the path but can't figure out why
Any help? *** Using Compiler 'V5.06 update 2 (build 183)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'ST_blink' compiling stm32f0xx_it.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_it.__i'. compiling stm32f0xx_hal_msp.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_msp.__i'. compiling main.c... Fatal error: C3906U: Malformed via file 'st_blink\main.__i'. compiling system_stm32f0xx.c... Fatal error: C3906U: Malformed via file 'st_blink\system_stm32f0xx.__i'. compiling stm32f0xx_hal_tim.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_tim.__i'. compiling stm32f0xx_hal_i2c.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_i2c.__i'. compiling stm32f0xx_hal_dma.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_dma.__i'. compiling stm32f0xx_hal_cortex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_cortex.__i'. compiling stm32f0xx_hal_pwr.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_pwr.__i'. compiling stm32f0xx_hal_tim_ex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_tim_ex.__i'. compiling stm32f0xx_hal.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal.__i'. compiling stm32f0xx_hal_rcc.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_rcc.__i'. compiling stm32f0xx_hal_flash.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_flash.__i'. compiling stm32f0xx_hal_i2c_ex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_i2c_ex.__i'. compiling stm32f0xx_hal_gpio.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_gpio.__i'. compiling stm32f0xx_hal_pwr_ex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_pwr_ex.__i'. compiling stm32f0xx_hal_rcc_ex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_rcc_ex.__i'. assembling startup_stm32f051x8.s... startup_stm32f051x8.s: error: A3906U: Malformed via file 'st_blink\startup_stm32f051x8._ia'. compiling stm32f0xx_hal_flash_ex.c... Fatal error: C3906U: Malformed via file 'st_blink\stm32f0xx_hal_flash_ex.__i'. "ST_blink\ST_blink.axf" - 1 Error(s), 0 Warning(s). Target not created.
Rename your project folder to an ascii only name, for example 'ABC', then try it again.
Building things under the Desktop, Program Files, or other virtualized directory paths might be problematic.
Removed the _ still have the same problem. Doesn't seem to like any of my library files. Nothing on the web about this C390U error? Any additional help would be great???
Is there anything suspicious before the
st_blink\stm32f0xx_hal_gpio.__i
Or you may need to create a new project at a good location, add the source code, library files, configure the project properties, and try again. I found several google results, but most of them are written in Simplified Chinese, one is from http://www.iranmicro.ir (Iran, I believe).