TI中文支持网
TI专业的中文技术问题搜集分享网站

28335 Flash_API的cmd编译问题

1.使用FLASH_API的cmd文件时Example_Flash28335_API.cmd

文件没有做修改

2.main中Example_MemCopy(&Flash28_API_LoadStart,&Flash28_API_LoadEnd,&Flash28_API_RunStart);

extern Uint16 Flash28_API_LoadStart;
extern Uint16 Flash28_API_LoadEnd;
extern Uint16 Flash28_API_RunStart;

放在Main之前申明

3.编译文件提示

errors为:

Description Resource Path Location Type
#10008-D cannot find file Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 135 C/C++ Problem

Description Resource Path Location Type
#10008-D cannot find file Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 136 C/C++ Problem

Description Resource Path Location Type

#10010 errors encountered during linking; "Example_2833xEcanA_to_B_Xmit.out" not built Example_2833xEcanA_to_B_Xmit C/C++ Problem

warnings为

Description Resource Path Location Type
#10068-D no matching section Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 135 C/C++ Problem

Description Resource Path Location Type
#10068-D no matching section Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 136 C/C++ Problem

双击ERRORS的错误提示,跳向了CMD文件中

Flash28_API:
{
-lFlash28335_API_V210.lib(.econst) -lFlash28335_API_V210.lib(.text)
}

其中

-lFlash28335_API_V210.lib(.econst) 

-lFlash28335_API_V210.lib(.text)

两行前面有叉号

请帮忙解答一下怎么解决这个问题?

he code:

1.打开工程属性对话框中

build–c200 linker–file serch path中

2.include library file or command file as input中添加

flash28335_api_v210.lib和rts2800_fpu32.lib

add dir to library search path中添加了两个文件所在文件夹的路径

编译之后errors故障消除

但是warnings还在

Description Resource Path Location Type#10068-D no matching section Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 135 C/C++ Problem

不清楚这是为什么?

1.使用FLASH_API的cmd文件时Example_Flash28335_API.cmd

文件没有做修改

2.main中Example_MemCopy(&Flash28_API_LoadStart,&Flash28_API_LoadEnd,&Flash28_API_RunStart);

extern Uint16 Flash28_API_LoadStart;
extern Uint16 Flash28_API_LoadEnd;
extern Uint16 Flash28_API_RunStart;

放在Main之前申明

3.编译文件提示

errors为:

Description Resource Path Location Type
#10008-D cannot find file Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 135 C/C++ Problem

Description Resource Path Location Type
#10008-D cannot find file Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 136 C/C++ Problem

Description Resource Path Location Type

#10010 errors encountered during linking; "Example_2833xEcanA_to_B_Xmit.out" not built Example_2833xEcanA_to_B_Xmit C/C++ Problem

warnings为

Description Resource Path Location Type
#10068-D no matching section Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 135 C/C++ Problem

Description Resource Path Location Type
#10068-D no matching section Example_Flash28335_API.cmd /Example_2833xEcanA_to_B_Xmit line 136 C/C++ Problem

双击ERRORS的错误提示,跳向了CMD文件中

Flash28_API:
{
-lFlash28335_API_V210.lib(.econst) -lFlash28335_API_V210.lib(.text)
}

其中

-lFlash28335_API_V210.lib(.econst) 

-lFlash28335_API_V210.lib(.text)

两行前面有叉号

请帮忙解答一下怎么解决这个问题?

user5942953:

回复 he code:

问题解决了吗?

赞(0)
未经允许不得转载:TI中文支持网 » 28335 Flash_API的cmd编译问题
分享到: 更多 (0)