器件型号:TMS320F280048
香榭丽舍
我向我们的客户提出这一问题。
用户正在将其旧代码从包括 CLA 在内的 F28035迁移到 F280048。
(在 F28035上、用户能够在 CLA 上使用位字段编码风格的寄存器。)
他们可以在 F28004x C28x (.c 文件)上使用位字段和 driverlib 编码样式、但他们会受困于 CLA (.cla 文件)。
它们遵循中"F28004x_dev_user_guide.PDF"的第2.3章
C:\TI\c2000\C2000Ware_1_00_06_00\device_support\f28004x\docs
1.包含如下所示的路径和库
2.在"xxx_cla.cla"中包括如下所示
3.在 main.h 中,包括如下内容
#include "dsp_type_define.h"
#include "initial .h"
#include "xxx_cla.h"
//来自代码/外设
#include "..._adc.h"
#include "..._CAN.h"
#include "..._cla.h"
#include "..._ePWM.h"
#include "..._GPIO.h"
#include "...timer.h"
//来自 ti include/common
#include "device.h"
//来自 ti driverlib
#include "driverlib.h"
///////////////////////////////////////////////////////////////////
此处附上了构建错误消息。
e2e.ti.com/.../Problems_5F00_modified.txt
如果我们漏掉任何东西、您有什么意见吗?
黄维恩


