首页 > 其他分享 >电赛开发板之c2000 f28069m开发环境配置与报错because its compiler definition is not available.解决

电赛开发板之c2000 f28069m开发环境配置与报错because its compiler definition is not available.解决

时间:2024-07-02 19:28:55浏览次数:3  
标签:available definition 芯片 ccs 编译 报错 软件 下载 compiler

1.CSS报错

See details below... 
  Error: Import failed for project 'Example_2806xECap_Capture_Pwm' because its compiler definition is not available. Please install the C2000v22.6 compiler before importing this project - click 'View > CCS App Center' to check if compiler updates are available, or install the compiler manually and register it with CCS through 'Preferences > CCS > Build > Compilers'.

这是因为你没有安装对应芯片的compiler

软件安装是自带的是msp340compiler,没装过其他的,你要编译msp432  f28069m  c2000等芯片就要添加compiler

安装方法:

A.打开get  starting  中的app  store


因为软件里的有时候不是最新版,所以有时候它有时候在软件自带的app下载没用

B.去官网搜索c2000compiler填写下载或者去app点learn  more进入官网

下载完后,打开下载c2000compiler程序把他下载到你ccs软件目录下的compiler下

(注:这个compiler是ccs软件编译不同芯片所用的编译规格没有这个compiler,那你就不能编译对应芯片代码,ccs的compiler存在ccsv6\tools\compiler)

你也可以人工添加下载得到的文件到ccs的compiler存放所在,如图:

补充:人工把compiler按到软件里

点击windows

点击preference-》code  composer  studio-》build-》compiler-》add打开ccs软件系统下存compiler所在,把刚刚从官网下下来的compiler复制粘贴进去,然后选中点击添加

2.下一步安装c2000ware

他里面有所有c2000的示例代码和用户手册说明

官网:www.ti.com中搜索c2000ware

划到下载页面

点击dowmload option

填写信息安装

填写好后就是下图

下载到ccs存储目录下

开veiw打开resource explorer

选择你要的芯片和文件然后按照右边的提示编译

标签:available,definition,芯片,ccs,编译,报错,软件,下载,compiler
From: https://blog.csdn.net/2301_80317247/article/details/140109752

相关文章