2021-06-15 09:34 PM
2021-06-16 12:30 AM
There isn't an importer specifically for a KEIL project inside STM32CubeIDE (such as with SW4STM32 or TrueSTUDIO). However, you might still be able to manually import a project by gradually moving source code from one project to the other and resolving any issues that arises.
2021-06-16 03:03 AM
2021-06-16 08:16 AM
@LaoMa sounds you have a STM32CubeMX .ioc file available to you (you're asking how to import pinout).
If so you can easily move from Keil to STM32CubeIDE.
Either still rely on STM32CubeMX loading your .ioc file and move to project generator asking to generate code electing STM32CubeIDE as toolchain ! Remains to add your custom files.
Or rely on STM32CubeIDE itself Thanks "File > New > STM32 Project from an existing .ioc file" ! Remains to add your custom files.
2021-06-17 01:28 AM
Thanks, Cartu.
not sure to have fully understood, I suppose to need a little deeper training but I will follow what you suggest, believing in your experience.
In case, I will post again .....
Maurizio
2021-06-17 03:03 AM
Thanks for tricks, but I do not have the .ioc file in the KEIL project. I suppose the code and pin-out were generated into the KEIL IDE.
I know the function of the pins, of course, but at this point I am stuck!
Any further suggestion?
To be noticed (but I'm sure you know it!) that in the new project generated in the STM23Cube, there's the .ioc file but with a note about the code need to be generated.
By logic, I would like to insert the pin-out, but then what about peripherals, clock and power modes which are all spare in the source code? (I see it's a mess, I know. but I really wanna pass to STM32Cube IDE.....
It could be that the step by step method has to be applied..... it will be long, unfortunately.
Waiting for info,
thanks again.
Maurizio