Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Keil][STM32CubeIDE] How to create STM32CubeIDE project from Keil's project source files?

The background:
I have to use Keil in my job and honestly - I don't like it much.
The debug is great, but the editor is lacking in many features compared to other IDEs.

The main purpose of this blog entry is to make STM32CubeIDE project from Keil's project source files.

The solution:
I assume that the Keil's project structure is like this:
Let's start from creating a new STM32 project:
00.png


Chose your target and so forth as following examples:
01.png

02.png

03.png


Configure your STM32CubeIDE project as you wish - IMHO it is a good practice to visualise projects in STM32CubeMX and to use generated files for better understanding the one's intention and to speed up project creation and development:
04.png

05.png


I always want to have generated peripheral initialisation files as .c/.h pairs and to have all unused pins configured as analog - you can of course make a code generation as you wish - it is up to you.
06.png

07.png


Closing .ioc file will trigger window with saving decision:
08.png
09.png


Now it's a need to add source folders according to my Embedded project structure:
10.png
11.png

12.png
13.png

14.png
=>
15.png
=>
16.png

17.png
=>
18.png

19.png
=>
20.png

21.png
=>
22.png


Now the basic STM32CubeIDE project from Keil's project source files is ready.
To add Keil's toolchain to the STM32CubeIDE's project, see this blog entry.

------------------------------------------------------
Is this blog entry helpful or does it need an improvement?
Please leave the comment below.

Comments

There are no comments to display.

Part and Inventory Search

Blog entry information

Author
niciki
Read time
1 min read
Views
3,123
Last update

More entries in Uncategorized

More entries from niciki

Share this entry

Back
Top