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.
CubeIDE, I'm sure Keil will miss you, you'll miss Keil more..
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.
Looking at the project files was helpful, thank you. I did notice a bunch of things looking there but the structure between keil and other IDEs is so wildly different that starting from a clean project, moving everything across and managing the errors that crop up ended up being the easiest
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.
>>Probably the easiest way is to start with a clean, basic project in the other IDE, and then bring in your files & settings.
This
Create a shell project, and use merge tools. Importing projects using the application seems hit-or-miss.
Frankly, the project files are in .XML, sort of thing an undergraduate should be able to create a serviceable port with a script...
gabj said: STMCube
This:
https://blog.st.com/stm32cubeide-free-ide/
the replacement for Atollic TrueStudio
https://blog.st.com/stm32cubeide-free-ide/#comment-4533616209
Ha ha - the Keil forum isn't really the place to ask how to get away from Keil!!
Doesn't your university have educational licences for Keil?
Moving from one IDE to another really shouldn't be an issue - it's just a matter of going through the settings in one, and making sure the same things are set in the other.
Probably the easiest way is to start with a clean, basic project in the other IDE, and then bring in your files & settings.
uVision .uvprojx project files are easy to view, and the Batch generation can be useful:
community.arm.com/.../160046
View all questions in Keil forum