Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hi everyone,
I am trying to use some of the functions from the Solar_Lib_IQ library with the TMS320F28027F (well the LaunchPad XL for the now). I have included in my CCS project both Solar_IQ.h and IQmathLib.h but I have some building problems, I guess is because some redundancy during the type definition.
The exact problem is "this declaration has no storage class or type specifier" and it gives it when I first try to use some variables using types from the Solar_IQ library (lines 34, 35,36):
30 //IQ math variables
31 SPLL_1ph_SOGI_IQ spll1;
32 SPLL_1ph_SOGI_IQ_LPF_COEFF spll_lpf_coef1;
33
34 spll_lpf_coef1.B0_lf=B0_LPF;
35 spll_lpf_coef1.B1_lf=B1_LPF;
36 spll_lpf_coef1.A1_lf=A1_LPF;
SPLL_1ph_SOGI_IQ_LPF_COEFF is a struct type part of the Solar_IQ library, B0_LPF is a constant defined as _IQ23 type in the IQmath library.
Any suggestions on how to solve this problem ?? Thanks you very much in advance
Following my list of included libraries at main.h and also in the include directory tree, just in case you are able to find someone incompatible:
#include "DSP28x_Project.h" // Device Headerfile and Examples Include File
#include "f2802x_common/include/clk.h"
#include "f2802x_common/include/flash.h"
#include "f2802x_common/include/gpio.h"
#include "f2802x_common/include/pie.h"
#include "f2802x_common/include/pll.h"
#include "f2802x_common/include/pwm.h"
#include "f2802x_common/include/wdog.h"
#include "f2802x_common/include/sci.h"
#include "f2802x_common/include/timer.h"
#include "f2802x_common/include/adc.h"
#include "f2802x_common/include/spi.h"
#include "f2802x_common/include/f2802x_globalprototypes.h"
#include "IQ/include/Solar_IQ.h" //This one includes all the solar functions.
#include "include/IQmathLib.h" //This one includes all the IQmath functions.
#include <stdbool.h>