用于Msp430控制器编码

时间:2016-07-13 12:30:53

标签: c++ c gcc msp430 code-composer

“。x.c.swp .ccsproject .cdtbuild .cdtproject .project x.c x.h hardware.h .cmd readme.txt”这些是作为评估板的源文件提供的文件。 我该如何处理这些文件?

1 个答案:

答案 0 :(得分: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