5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



STM32 Visual Tracking Car Tutorial 2.2 Keil uVision5 create a new project tutorial

Posted by Fiona Su on

Steps to create a new project with Keil uVision5

1.You need to double-click image.pngto enter KeiluVision5 programming interface.

image.png 

2. You need to click 【 Project----new uvision project to create project.

image.png 

3. You need to select the location where the project is stored and name the project.

image.png 

4.You need to select STMicroelectronics.

image.png 

5.The STM32 Visual Tracking Car, we use is the STM32F103RCT6 chip,so we need to select STM32F103RC, then we need to click OK.

image.png 

6.Close the window as shown below

image.png 

7. You need to add some folders in our newly created project folder to store some files. As shown in the figure below, only examples.

image.png 

8. Put some files into these folders separately, as shown in the figure below.

image.png 

image.png 

image.png 

The above three folders store the firmware library that comes with STM32. We have provided these files, so you only need to copy directly.

BSP is used to store files related to hardware configuration

APP is used to store application files

9. You need to Click on the location shown below to set up the compiled project environment.

image.png 

10. You will see the interface shown below, and create a new folder as shown in the following figure.

image.png 

image.png 

image.png 

image.png 

image.png 

image.pngimage.png 

image.png 

11. Keil μVision 5 allows the user to configure the project based on the actual conditions of the target hardware. By clicking the target toolbar icon (red box) or clicking the menu item Project->Options for Target, you can specify the target hardware and related parameters of the selected device on-chip components in the pop-up Target page. The following figure is related to the settings of this example.

12. Click on the C/C++ option and enter: STM32F10X_HD,USE_STDPERIPH_DRIVER

image.png 

13. Include paths:

Since there are many folders in our project, we need to add the corresponding path so that the compiler can find it.Add step by step until the final completion

image.png 

image.png 

image.png 

image.png 

image.png 

image.png 

!Note:Here is just an example. If you have other files in your project, you need to add the path.

14.Setting the HEX file

image.png 

15.We need to create a new Output folder under the project folder to store the HEX file.

image.png 

image.png

STM32 Visual Tracking Car Tutorial Overview

2.Development environment

3.Experimental tutorial

4. About battery

5. About installation

Download

Buy the STM32 Visual tracking robot car

0 comments

Leave a comment

Please note, comments must be approved before they are published