2014-01-23 01:39 PM
Hi, I've just installed Keil UVison 5 and compiled a program I created for the STM32F4 Discovery board a few months ago using UVision 4 and I'm getting errors relating to .h and .c files not existing. Is there a new folder structure for UVision 5, or any ideas why this might be happening? The files that are related to the errors are all present in project sub folders.
2014-01-23 04:18 PM
2014-01-24 12:33 AM
''I'm getting errors relating to .h and .c files not existing''
So do the files exist? You're obviously going to get such errors if they don't - aren't you?!If they do exist, are they in the location(s) that your project specifies?2014-01-24 04:00 AM
2014-01-24 06:02 AM
File permissions?
Spaces in path names?How about quoting the exact message - using copy & paste, not maual retyping2014-01-24 06:33 AM
Would hope it could deal with spaces in the file names by now, did have a colleague who was having some issues with source trees dumped off the Desktop
2014-01-24 02:44 PM
2014-01-24 02:54 PM
Below is the copy of the exact error.
compiling stm32f4_discovery_sdio_sd.c...
stm32f4_discovery_sdio_sd.c: Error: #5: cannot open source input file ''..\..\..\Utilities\STM32F4-Discovery\stm32f4_discovery_sdio_sd.c'': No such file or directory
..\..\..\Utilities\STM32F4-Discovery\stm32f4_discovery_sdio_sd.c: 0 warnings, 1 error
''.\Discover-More\Project.axf'' - 1 Error(s), 1 Warning(s). That's not a file released by ST in their firmware library, I created one by porting the SD card support to the STM32F4-DISCO.
2014-01-25 08:55 AM
OK cheers Clive ill have ago, I see you have posted a lot of info relating to the SD card set up so I'll check them posts out.......why would it stop working though? This is the exact same folder structure I used with UVision 4?
2014-01-25 09:22 AM
I'm not using uv5, but my presumption would be you can't open the file in the editor either, so it's complaining it can't see the file, which is either there or it isn't, and if it's there then you could remove it from the project tree and add it back, or edit the path in the file options menu.