導航:首頁 > 文件處理 > ccs工程新建文件夾

ccs工程新建文件夾

發布時間:2022-08-17 06:38:45

⑴ 如何在CCS3.3中創建一個工程

1、要在Memory Section Manager屬性中為「Segment For DSP/BIOS Objects」 和 「Segment For malloc()/free()」分配Dynamic Memory Heaps,必須首先在要分配的段(比如,IRAM)中勾選「create a heap in this memory「,並給出heaps size。

2、要把*.tcf文件生成的*.cmd文件手動加入工程中,否則編譯報錯如下:

------------------------------ test.pjt - Debug ------------------------------
Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section .gblinit without SECTIONS specification
>> warning: creating output section .mem without SECTIONS specification
>> warning: creating output section .rtdx_data without SECTIONS specification
>> warning: creating output section .sys without SECTIONS specification
>> warning: creating output section .clk without SECTIONS specification
>> warning: creating output section .hst1 without SECTIONS specification
>> warning: creating output section .hst without SECTIONS specification
>> warning: creating output section .pip without SECTIONS specification
>> warning: creating output section .hst0 without SECTIONS specification
>> warning: creating output section .hwi_vec without SECTIONS specification
>> warning: creating output section .swi without SECTIONS specification
>> warning: creating output section .printf without SECTIONS specification
>> warning: creating output section .sts without SECTIONS specification
>> warning: creating output section .tsk without SECTIONS specification
>> warning: creating output section .TSK_idle$stk without SECTIONS specification
>> warning: creating output section .idlcal without SECTIONS specification
>> warning: creating output section .idl without SECTIONS specification
>> warning: creating output section .LOG_system$buf without SECTIONS
specification
>> warning: creating output section .log without SECTIONS specification
>> warning: creating output section .sysinit without SECTIONS specification
>> warning: creating output section .vers without SECTIONS specification
>> warning: entry point symbol _c_int00 undefined

undefined first referenced
symbol in file
--------- ----------------
SWI_D_rdytab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$B d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_procId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_knlId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$L d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VCREATEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doError d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_F_start d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_boot d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VDELETEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
KNL_glue d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doAbort d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_loop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_DFLTMICROSECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_cacheInit64P d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_htimePerLtime d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_tddr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doPutc d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PRD_F_tick d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_NUMHOOKS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_microseconds d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_or d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_R_mask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackend d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_c_int00 d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_config d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_OBJ_table d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_A_VECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_FXN_F_nop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_enableTimer d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_prd d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_calibrate d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameRequestMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_F_isr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_D_tabbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_cinit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_halt d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_startup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_setup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_queues d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_A_TABBEG d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_F_dataPump d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VEXITFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_RTDX_Poll d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_busyObj d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
SWI_F_enable d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
FXN_F_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_getVersion d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_inputClock d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_initdone d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_HWI_dispatchTab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameReadyMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_busy d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
>> error: symbol referencing errors - './Debug/test.out' not built

>> Compilation failure

Build Complete,
2 Errors, 23 Warnings, 0 Remarks.

3、
[main.c] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -pdsw225 -fr"D:/CCStudio_v3.3/MyProjects/test/Debug" -d"_DEBUG" -me -mv6400+ -@"Debug.lkf" "main.c"
"main.c", line 20: warning: function declared implicitly

[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

Build Complete,
0 Errors, 1 Warnings, 0 Remarks.

warning 的原因是對應行的元素沒有聲明。
解決辦法就是加入聲明。

舉例如下:
#include <std.h>
#include <string.h>
//#include <stdio.h> //打開該句就可以了

void main(void)
{
unsigned int i;
unsigned int sum=0;

for(i = 0; i<=100; i++ )
{
sum += i;
}
printf("the sum = %d .\n",sum);
printf("the program run over!\n");

printf("the program run over!\n");

⑵ 關於ccs3.3源文件的添加,求具體方法!

建議你看一下一個完整的工程有哪些文件構成的,《手把手教你DSP》中有,網上的電子資料中也有。一個工程主要由頭文件,庫文件,源文件和CMD等構成。其中庫文件和頭文件大部分都是通用的,只有源文件是需要自己根據具體項目來編寫的,當然初始化的部分也是有一些範例,可以直接拿來用的。

⑶ CCS中新建工程後的include和cmd文件怎麼導入啊在安裝文件里找嗎

針對每一個系列的DSP,TI官方網站上都有相應的頭文件和cmd文件,你可以去TI的官網上搜索,搜索器件型號比如TMS320F2812或者關鍵字C/C++ Header Files,可以下載的。下載以後,解壓到你想要的位置,就可以通過添加文件的方法添加了。
TI提供的頭文件和cmd文件很詳細,具體,基本上就夠用了,當然cmd文件有時候還是要自己配置的,但是對於新手入門來說,TI提供的cmd文件已經夠用了。等到你熟悉cmd文件格式和要求,就可以自己寫了,這方面的資料TI官網上也有。

⑷ ccs如何編譯工程文件

你應該參照相關的工程學科,然後進行專業術語的編輯。

⑸ 如何用CCS5建立一個DSP28335工程

新建工程:
1.路徑,文件名不得包含中文。
2.拷貝文件夾:common,headers.
3.添加cmd文件:common/cmd/28335_RAM_link.cmd headers/cmd/DSP28335_Headers_nonBIOS.cmd

4.必須添加的8個Source文件: common/source/ADC_cal.asm /CodeStartBranch.asm
/Defaultisr.c /PieCtrl.c /PieVect.c /SysCtrl.c /usDelay.asm headers/source/GlobalVariadleDefs.c
5.其他的文件在common/source里按需添加
6.添加自己寫的 .c 文件:放置在工程里

7.右擊工程文件,點擊Build options

設置兩個地方:
1.在Compiler下點擊Advanced->將浮點型庫支持選上(fpu32
點擊Preprocesso填寫頭文件路徑:在Path(-i)下寫:
..\..\DSP2833x_headers\include;..\..\DSP2833x_common\include
2.在link的basic下將Suppress Banner(-q)的復選框勾起設置堆棧的大小:Stack Size(-heap)
設置為0x200 的Libraries 下設置Search path(-i):..\..\DSP2833x_common\include
Inic Libraries: rts2800_fpu32.lib

⑹ ccs3.3如何在一個工程中創建cmd文件

1、要在Memory Section Manager屬性中為「Segment For DSP/BIOS Objects」 和 「Segment For malloc()/free()」分配Dynamic Memory Heaps,必須首先在要分配的段(比如,IRAM)中勾選「create a heap in this memory「,並給出heaps size。

2、要把*.tcf文件生成的*.cmd文件手動加入工程中,否則編譯報錯如下:

------------------------------ test.pjt - Debug ------------------------------
Warning: The project has no cmd file while the Text Linker is selected
[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> warning: creating output section .gblinit without SECTIONS specification
>> warning: creating output section .mem without SECTIONS specification
>> warning: creating output section .rtdx_data without SECTIONS specification
>> warning: creating output section .sys without SECTIONS specification
>> warning: creating output section .clk without SECTIONS specification
>> warning: creating output section .hst1 without SECTIONS specification
>> warning: creating output section .hst without SECTIONS specification
>> warning: creating output section .pip without SECTIONS specification
>> warning: creating output section .hst0 without SECTIONS specification
>> warning: creating output section .hwi_vec without SECTIONS specification
>> warning: creating output section .swi without SECTIONS specification
>> warning: creating output section .printf without SECTIONS specification
>> warning: creating output section .sts without SECTIONS specification
>> warning: creating output section .tsk without SECTIONS specification
>> warning: creating output section .TSK_idle$stk without SECTIONS specification
>> warning: creating output section .idlcal without SECTIONS specification
>> warning: creating output section .idl without SECTIONS specification
>> warning: creating output section .LOG_system$buf without SECTIONS
specification
>> warning: creating output section .log without SECTIONS specification
>> warning: creating output section .sysinit without SECTIONS specification
>> warning: creating output section .vers without SECTIONS specification
>> warning: entry point symbol _c_int00 undefined

undefined first referenced
symbol in file
--------- ----------------
SWI_D_rdytab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$B d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_procId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_knlId d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IRAM$L d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VCREATEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doError d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_F_start d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_boot d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VDELETEFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
KNL_glue d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doAbort d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_loop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_DFLTMICROSECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_cacheInit64P d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_EXC_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_htimePerLtime d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_tddr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_doPutc d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PRD_F_tick d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
__HOOK_NUMHOOKS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_microseconds d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_or d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_R_mask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_stackend d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_c_int00 d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_config d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_OBJ_table d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_A_VECS d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_FXN_F_nop d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_enableTimer d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_D_prd d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_calibrate d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameRequestMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_F_isr d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
PIP_D_tabbeg d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TRC_cinit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_UTL_halt d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_MEM_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
RTA_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_startup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_setup d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_KNL_queues d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
CLK_A_TABBEG d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_F_dataPump d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
TSK_VEXITFXN d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
HWI_F_dispatch d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_RTDX_Poll d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_init d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_D_busyObj d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_TSK_exit d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
SWI_F_enable d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
FXN_F_run d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_GBL_getVersion d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_CLK_inputClock d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
GBL_initdone d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
_HWI_dispatchTab d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
LNK_dspFrameReadyMask d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
IDL_F_busy d:\\CCStudio_v3.3\\myprojects\\test\\Debug\\testcfg.obj
>> error: symbol referencing errors - './Debug/test.out' not built

>> Compilation failure

Build Complete,
2 Errors, 23 Warnings, 0 Remarks.

3、
[main.c] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -pdsw225 -fr"D:/CCStudio_v3.3/MyProjects/test/Debug" -d"_DEBUG" -me -mv6400+ -@"Debug.lkf" "main.c"
"main.c", line 20: warning: function declared implicitly

[Linking...] "D:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

Build Complete,
0 Errors, 1 Warnings, 0 Remarks.

warning 的原因是對應行的元素沒有聲明。
解決辦法就是加入聲明。

舉例如下:
#include <std.h>
#include <string.h>
//#include <stdio.h> //打開該句就可以了

void main(void)
{
unsigned int i;
unsigned int sum=0;

for(i = 0; i<=100; i++ )
{
sum += i;
}
printf("the sum = %d .\n",sum);
printf("the program run over!\n");

printf("the program run over!\n");

⑺ ccs中新建的一個工程可以有多個cmd文件嗎

回復
lican0816
的帖子需要先建一個文件,把它們放在一個文件夾里,包括工程文件,.lib
.cmd
.asm
.c文件,再載入就可以了

⑻ 如何在CCS3.3中建立一個簡單的工程

CCS建立一個完整的工程,至少需要以下4個文件:存儲器分配cmd文件、C語言系統庫rts2xx.lib、包含main函數的c源文件、矢量跳轉表asm匯編文件。
(1)cmd命令文件是用來分配存儲空間的。
(2)rts2xx.lib是C語言系統庫,包含了編譯器提供的所有功能:①初始化C語言環境(入口地址是_c_int0),②設置堆棧,③提供標準的c語言函數庫。
(3)有且只有一個包含main函數的c源文件,系統庫初始化完畢後就把控制權交給main()函數了。
(4)矢量跳轉表文件,通常是匯編文件(asm)形式,此文件需要准確的定位在程序的起始地址,其內容是匯編語句中的無條件跳轉語句「B」。
程序執行的常規流程是:矢量表的第一條指令可設置為"B _c_int0」 ,從而在上電復位後,把控制權交給系統庫,系統庫初始化完畢後,把控制權交給main()函數。
注意:(1)不用添加頭文件到工程,在編譯時,根據制定的路徑,頭文件會自動被掃描到工程。
(2)Ti公司的歷程中使用了頭文件sysvecs.h包含跳轉語句"B」來實現矢量跳轉表文件。
下面詳細說明創建工程的步驟
1. 打開CCS3.1,假設模擬器驅動已經配置好。Project-New...打開創建工程窗口Project Creation。在Project中輸入Hello,Location可以選擇MyProjects目錄。CCS會根據輸入的Project名字,在Location制定的目錄下創建一個Hello的文件夾。
在CCS的File View中會出現如下項目結構
下面要給項目添加或者新建文件,點擊工具欄上的新建文件圖標,或者菜單:File→New→Source File,或者直接用快捷鍵Ctrl+N
這樣會建立一個標題為Untitled的文本編輯窗口,用戶在這里編寫.cmd、.asm、.c、.h等各種類型的文件編寫完成後別忘記保存。
可以創建cvectors.asm,roam.cmd,hello.c三個文件,並添加到工程中,單擊Project→Add Files to Project,會彈出一個對話框,選擇不同的文件類型,往工程里添加文件。添加完用戶編寫的3個文本文件後,再添加庫文件rts2xx.lib(位於目錄C:\CCStudio_v3.1\C2400\cgtools\lib)。到這步,一個完整的工程就建立起來了。
2. 設置編譯選項,菜單Project→Build Options...,彈出的對話框選擇Linker選項卡
單擊菜單Project→Build,會在工程文件所在的目錄下生成out可執行文件hello.out.
單擊菜單File→Load Program,將hello.out文件下載到LF2407A中,在下載程序前,LF2407A必須設置成MP方式,將mp/mc*拉高,或者較復雜的通過GEL語言設置寄存器SCSR1的mp/mc*位)。
按下F5,程序在DSP中運行,窗口的stdout中顯示 「hello,DSP world」.

閱讀全文

與ccs工程新建文件夾相關的資料

熱點內容
我的鹽城app怎麼添加不了家庭成員 瀏覽:493
php商城並發 瀏覽:348
熊貓繪畫app怎麼做出大佬的筆刷 瀏覽:603
雲存儲伺服器知識 瀏覽:461
伺服器cpu是什麼指令集 瀏覽:590
糖貓t10怎麼安裝app 瀏覽:992
電腦加密u盤怎麼使用 瀏覽:517
linux如何升級php版本升級 瀏覽:841
二級程序員c語言難度 瀏覽:352
批處理編譯qt 瀏覽:66
鐵友app怎麼查詢機票訂單 瀏覽:197
myeclipselinux破解版 瀏覽:417
批處理命令語法不正確 瀏覽:889
pdf合並成一個pdf在線 瀏覽:383
柱加密區構造要求 瀏覽:514
地板木龍骨標准跟加密區別 瀏覽:150
解壓放鬆的好地方河南 瀏覽:965
搜狗怎麼移動到文件夾 瀏覽:617
文件自動選擇到文件夾 瀏覽:794
贈送的app怎麼在ipad下載 瀏覽:508