1

“.xcswp .ccsproject .cdtbuild .cdtproject .project xc xh hardware.h .cmd readme.txt”这些文件是我评估板的源文件。我该如何处理这些文件?

4

1 回答 1

2

给定以下文件列表:

.x.c.swp .ccsproject .cdtbuild .cdtproject .project x.c x.h hardware.h .cmd readme.txt

我不能绝对确定,因为我面前没有实际的文件。但这是我(根据经验)的期望:

x.c
a C source code file
shows how to write a C source file for the MSP430

x.h
a C header file for the `x.c` source file
shows how to write a C header file for the MSP430

hardware.h
a header file that contains: 
all the peripheral addresses
names for all the hardware registers the compiler will recognize
for the MSP430

.x.c.swp
This is a file created by the editing of the `x.c` file
you can ignore this file

.ccsproject
.cdtbuild
.cdtproject
.project
skeletons of files that the Code Composer Studio IDE 
will create when a `project` for your program is created
A project is a way to keep a list of the files (and related info) about a program in one place

.cmd
This is a skeleton linker command file for any MSP430 program
The documentation will tell you how to write a `project.cmd` file
for your own program.

readme.txt
This is a text file that tells you some details about the files,
that were supplied by the manufacture of the IDE and the MSP430
于 2016-07-14T15:33:45.417 回答