Part Number: TMS320F280048
Champs,
I am asking this for our customer.
The user is migrating their older codes from F28035 including CLA onto F280048.
(On F28035, the user is able to use registers in bit-field coding style on CLA.)
It's OK for them to use bit-field and driverlib coding styles on F28004x C28x (.c files), but they get stuck on CLA (.cla files).
They followed the chapter 2.3 of the "F28004x_DEV_USER_GUIDE.PDF" in
C:\TI\c2000\C2000Ware_1_00_06_00\device_support\f28004x\docs
1. Include path and lib like below
2. In "xxx_cla.cla" includes like below
3. In main.h, includes like below
#include "dsp_type_define.h"
#include "initial.h"
#include "xxx_cla.h"
// from code/peripheral
#include "..._adc.h"
#include "..._can.h"
#include "..._cla.h"
#include "..._epwm.h"
#include "..._gpio.h"
#include "...timer.h"
// from ti include/common
#include "device.h"
// from ti driverlib
#include "driverlib.h"
////////////////////////////////
The building error message is attached here.
Do you have any comment if we miss anything?
Wayne Huang