User manual
UM0036 Getting started with STVD
Doc ID 7705 Rev 11 27/385
2.3 Add source files (.asm, .c, .s) to your project
Source files (.asm, .c, .s) contain the code for building your application. To add the
application source files to your project:
1. Right-click on the Source Files folder, then select Add Files to Folder from the
contextual menu.
A browse window opens, allowing you to find the source files to add to your project.
2. Highlight the file(s) and click on Open.
Figure 5. Open window
RESULT
Your project’s Source Files folder now contains the source code that you want to use to
build your application.
Table 5. Default files and folders for projects
Project default
Folders Files
ST Assembler
Linker
Cosmic C Metrowerks C Raisonance C
Source files XXXX
interupt_vector.c X
vector.c X
main.c XXX
Include files XXXX
External dependencies XXXX
modm.h X