I am doing a university course using an STM32L431 and started using Keil uVision 5. My team has run up against the code limit with all optimizations turned on and it seems to be unavoidable. Is there an easy way to import a project back from keil. I keep running into issues whether it's files not being read in or in the most recent case
#ifndef __TARGET_FPU_VFP in port.c
failing and throwing the error along with a bunch of different stray # in the same file. As far as I can see I have set this option. I also ran into the same issue trying to import into segger embedded studio.
I realize it might be a bit on the nose to ask on this forum but the help has been worth it.
I had tried going through the settings one by one but that didn't work. In the end it was the third attempt at a clean project after sleeping on it that did the trick.
gabj said:I had tried going through the settings one by one but that didn't work.
Often, settings work together - so they need to be kept as a complete set.
Glad you got it working.
Hi gabj,
I need also to move an existing project developed on MDK Keil to STMCubeIDE but I have not had any success. Would you mind explaining how you worked it out to me? I have been trying to create my new project on STMCubeIDE from scratch by copying and pasting the source files but it looks like some files are not recognizable by STMCubeIDE. From the existing project, I have the uvprojx and uvoptx files.
Any insight is appreciated
Thank you.
Regards.
As already noted, problems creating an STM32CubeIDE project are nothing to do with Keil or ARM - you need to ask ST about that!
https://community.st.com/s/topic/0TO0X000000y2j7WAA/stm32cubeide