This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
您好!
我正在从 Resource Explorer.驱动程序库导入示例。 使用 MSP430FR2xx4xx。 导入项目时、默认芯片为__MSP430FR4133__.如果将儿科符号从项目属性更改为 __MSP430FR2433__,则可以看到头文件正确突出显示了 MSP430FR4133部分。 但是、当我构建项目时、我遇到了该错误
****为项目 ADC_ex2_intRef 构建配置调试****
"C:\\ti\\ccs1000\\ccs\\utils\bin\\gmake"-k -j 8 all -O
编译文件:"../adc_ex2_intRef.c"
调用:MSP430编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=none --include_path="C:/ti/ccs1000/ccs/ccs_base/msp430/include --include_path="C:/Users/vadimp/workspace_v10/adc_ex2_intRef --include_path="C:/Users/vadimp/workspace_v10/adc_ex2_intRef/driverlib/MSP430FR2xx_4xx --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power_none"--advice:hw_config=all --include_erratinatinatina-exc_datiag=-support/capsitive-support/capsisitive_support/capsisitive_support/capsisitive-proc = union_cp_excatisitive-exc_datisinc -support/capacit_support/capsisit_support/capsisitive-proc -support/capacitive_support/capacitive_support/capacitive_support/capacitive_support/capacitive_support/capacitive_support/capacitive_support/capacit_
>>编译失败
subdir_rules.mk:9:目标'adc_ex2_intRef.obj'的配方失败
"C:\users\vadimp\workspace_v10\adc_ex2_intRef\driverlib\MSP430FR2xx_4xx\rom_headers/rom_driverlib_fr253x_fr263x.h"、第288行:致命错误#35:#error 指令:"不支持大型代码模型"
如何解决?
谢谢 Vadim
抱歉、我是指预定义符号 __MSP430FR2433__
您好、Gary、
我的问题不是示例、而是更改预定义符号会导致错误的原因。 我在 C2000中使用相同的技巧、在 C2000中、它的行为是正确的。
谢谢 Vadim
您好 Vadim、
[引用 user="Vadim piskun"]导入项目时,默认芯片为__MSP430FR4133__.如果将儿科符号从项目属性更改为 __MSP430FR2433__,则可以看到头文件正确突出显示 了 MSP430FR4133 部分。
您是否只更改了--define 设置? 如果是、您是否可以在通用项目构建设置中将器件型号更改为 MSP430FR2433? 当我这么做时,它会更新--define,但也会更新一些其他设置。 但是、该工程已成功编译。
谢谢
Ki
您好、Gary、
我按照您的指示、重新导入了一个项目、并将其导入到了 fr2433中。 但是、当我构建它时、我仍然有这个错误
>>编译失败
subdir_rules.mk:9:目标'adc_ex2_intRef.obj'的配方失败
"C:\users\vadimp\workspace_v10\adc_ex2_intRef\driverlib\MSP430FR2xx_4xx\rom_headers/rom_driverlib_fr253x_fr263x.h"、第288行:致命错误#35:#error 指令:"不支持大型代码模型"
1在编译"./adc_ex2_intRef.c"时检测到灾难性错误。
编译已终止。
gmake:***[ADC_ex2_intRef.obj]错误1.
如果我查看项目目录、ROM 头文件会被编辑:rom_driverlib_fr253x_fr263x.h
谢谢 Vadim
您使用哪个 CCS 版本? 您是否使用 MSP430插件正确安装了它?
您好、Gary、
我为 C2000和 MSP430安装了版本10。 如何检查插件?
谢谢 Vadim
HII Gary、
我已安装此工具。 我有 版本:10.0.0.00010和 MSP430 ware 3.80.09.03
谢谢 Vadim
Vadim、
我可以使用最新的 MSP430ware 复制它。 3.80.07.00不会出现此问题。
我不确定发生了什么变化、但该示例似乎存在问题。 我将为器件专家分配此主题。
如果我将--code_model 设置为较小,则错误消失。
谢谢
Ki