Using MDK-ARM Microcontroller Development Kit by Keil™ UM1467
23/46 Doc ID 022172 Rev 1
7.3 Creating your first application using the MDK-ARM toolchain
7.3.1 Managing source files
Follow these steps to manage source files.
1. In the Project menu, select New µVision Project... to display the Create Project File
dialog box. Name the new project and click Save.
Figure 26. Creating a new project
2. When a new project is saved, the IDE displays the Device selection dialog box. Select
the device used for testing. In this example, we will use the STMicroelectronics device
mounted on the STM32F4DISCOVERY board. In this case, double-click on
STMicroelectronics, select the STM32F407VGT6 device and click OK to save your
settings.
Figure 27. Device selection dialog box
3. Click Yes to copy the STM32 Startup Code to the project folder and add the file to the
project as shown in Figure 28.
Figure 28. Copy the STM32 Startup Code dialog box
Note: The default STM32 startup file includes the SystemInit function. You can either comment out
this file to not use it or add the system_stm32f4xx.c file from the STM32f4xx firmware
library.