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

CCS Debug和Release编译生成的.out文件大小相同,是没有正确设置Release编译选项吗?

Debug

ARM Compiler:

-mv7M3 –code_state=16 –float_support=vfplib -me

–include_path="E:/00. Software/Embeded Software/Lotr"

–include_path="C:/ti/simplelink_cc13x0_sdk_4_10_02_04/source/ti/posix/ccs"

–include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include"

–define=DeviceFamily_CC13X0 -g –diag_warning=225 –diag_warning=255

–diag_wrap=off –display_error_number –gen_func_subsections=on

ARM Linker:

-mv7M3 –code_state=16 –float_support=vfplib -me

–define=DeviceFamily_CC13X0 -g –diag_warning=225 –diag_warning=255

–diag_wrap=off –display_error_number –gen_func_subsections=on

-z -m"Lotr.map" -i"C:/ti/simplelink_cc13x0_sdk_4_10_02_04/source"

-i"C:/ti/simplelink_cc13x0_sdk_4_10_02_04/kernel/tirtos/packages"

-i"C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib"

–diag_wrap=off –display_error_number –warn_sections –xml_link_info="Lotr_linkInfo.xml" –rom_model

Kevin Qiu1:

你用的哪个例程,我来测试一下

edward ray:

回复 Kevin Qiu1:

C:\ti\simplelink_cc13x0_sdk_4_10_02_04\examples\rtos\CC1310_LAUNCHXL\drivers\adcbufcontinuous

Kevin Qiu1:

回复 edward ray:

我测试也是一样,编译选项是对的

edward ray:

回复 Kevin Qiu1:

是不是新版本的CCS去除了Debug和Release的区别,而将代码优化放到了CCS Build——ARM Compiler——Optimization选项中了

Kevin Qiu1:

回复 edward ray:

二者区别可以看下这里的说明e2e.ti.com/…/939092

赞(0)
未经允许不得转载:TI中文支持网 » CCS Debug和Release编译生成的.out文件大小相同,是没有正确设置Release编译选项吗?
分享到: 更多 (0)