Well I solve this problem by put INC_PATH instead of SRC_PATH. But I have another problems now, this errors came up:
En el fichero incluido desde /home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/DSP28x_Project.h:49,
desde /home/gaston/f28027_gpio_wrapper.c:17:
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/headers/include/F2802x_Device.h:85:17: error: expected ‘;’ before ‘volatile’
85 | extern cregister volatile unsigned int IFR;
| ^~~~~~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/headers/include/F2802x_Device.h:86:17: error: expected ‘;’ before ‘volatile’
86 | extern cregister volatile unsigned int IER;
| ^~~~~~~~~
| ;
En el fichero incluido desde /home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/headers/include/F2802x_Device.h:187,
desde /home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/DSP28x_Project.h:49,
desde /home/gaston/f28027_gpio_wrapper.c:17:
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/headers/include/F2802x_PieVect.h:57:18: error: expected ‘;’ before ‘void’
57 | typedef interrupt void(*PINT)(void);
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/headers/include/F2802x_PieVect.h:68:5: error: expected specifier-qualifier-list before ‘PINT’
68 | PINT PIE1_RESERVED;
| ^~~~
En el fichero incluido desde /home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_examples.h:205,
desde /home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/DSP28x_Project.h:50,
desde /home/gaston/f28027_gpio_wrapper.c:17:
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:70:10: error: expected ‘;’ before ‘void’
70 | interrupt void INT13_ISR(void); // INT13 or CPU-Timer 1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:71:10: error: expected ‘;’ before ‘void’
71 | interrupt void INT14_ISR(void); // INT14 or CPU-Timer 2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:72:10: error: expected ‘;’ before ‘void’
72 | interrupt void DATALOG_ISR(void); // Datalogging interrupt
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:73:10: error: expected ‘;’ before ‘void’
73 | interrupt void RTOSINT_ISR(void); // RTOS interrupt
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:74:10: error: expected ‘;’ before ‘void’
74 | interrupt void EMUINT_ISR(void); // Emulation interrupt
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:75:10: error: expected ‘;’ before ‘void’
75 | interrupt void NMI_ISR(void); // Non-maskable interrupt
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:76:10: error: expected ‘;’ before ‘void’
76 | interrupt void ILLEGAL_ISR(void); // Illegal operation TRAP
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:77:10: error: expected ‘;’ before ‘void’
77 | interrupt void USER1_ISR(void); // User Defined trap 1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:78:10: error: expected ‘;’ before ‘void’
78 | interrupt void USER2_ISR(void); // User Defined trap 2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:79:10: error: expected ‘;’ before ‘void’
79 | interrupt void USER3_ISR(void); // User Defined trap 3
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:80:10: error: expected ‘;’ before ‘void’
80 | interrupt void USER4_ISR(void); // User Defined trap 4
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:81:10: error: expected ‘;’ before ‘void’
81 | interrupt void USER5_ISR(void); // User Defined trap 5
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:82:10: error: expected ‘;’ before ‘void’
82 | interrupt void USER6_ISR(void); // User Defined trap 6
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:83:10: error: expected ‘;’ before ‘void’
83 | interrupt void USER7_ISR(void); // User Defined trap 7
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:84:10: error: expected ‘;’ before ‘void’
84 | interrupt void USER8_ISR(void); // User Defined trap 8
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:85:10: error: expected ‘;’ before ‘void’
85 | interrupt void USER9_ISR(void); // User Defined trap 9
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:86:10: error: expected ‘;’ before ‘void’
86 | interrupt void USER10_ISR(void); // User Defined trap 10
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:87:10: error: expected ‘;’ before ‘void’
87 | interrupt void USER11_ISR(void); // User Defined trap 11
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:88:10: error: expected ‘;’ before ‘void’
88 | interrupt void USER12_ISR(void); // User Defined trap 12
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:93:10: error: expected ‘;’ before ‘void’
93 | interrupt void ADCINT1_ISR(void); // ADC INT1 ISR - 1.1 OR 10.1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:94:10: error: expected ‘;’ before ‘void’
94 | interrupt void ADCINT2_ISR(void); // ADC INT2 ISR - 1.2 OR 10.2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:95:10: error: expected ‘;’ before ‘void’
95 | interrupt void XINT1_ISR(void); // External interrupt 1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:96:10: error: expected ‘;’ before ‘void’
96 | interrupt void XINT2_ISR(void); // External interrupt 2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:97:10: error: expected ‘;’ before ‘void’
97 | interrupt void ADCINT9_ISR(void); // ADC INT9 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:98:10: error: expected ‘;’ before ‘void’
98 | interrupt void TINT0_ISR(void); // Timer 0
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:99:10: error: expected ‘;’ before ‘void’
99 | interrupt void WAKEINT_ISR(void); // WD
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:104:10: error: expected ‘;’ before ‘void’
104 | interrupt void EPWM1_TZINT_ISR(void); // EPWM-1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:105:10: error: expected ‘;’ before ‘void’
105 | interrupt void EPWM2_TZINT_ISR(void); // EPWM-2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:106:10: error: expected ‘;’ before ‘void’
106 | interrupt void EPWM3_TZINT_ISR(void); // EPWM-3
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:107:10: error: expected ‘;’ before ‘void’
107 | interrupt void EPWM4_TZINT_ISR(void); // EPWM-4
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:112:10: error: expected ‘;’ before ‘void’
112 | interrupt void EPWM1_INT_ISR(void); // EPWM-1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:113:10: error: expected ‘;’ before ‘void’
113 | interrupt void EPWM2_INT_ISR(void); // EPWM-2
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:114:10: error: expected ‘;’ before ‘void’
114 | interrupt void EPWM3_INT_ISR(void); // EPWM-3
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:115:10: error: expected ‘;’ before ‘void’
115 | interrupt void EPWM4_INT_ISR(void); // EPWM-4
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:120:10: error: expected ‘;’ before ‘void’
120 | interrupt void ECAP1_INT_ISR(void); // ECAP-1
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:129:10: error: expected ‘;’ before ‘void’
129 | interrupt void SPIRXINTA_ISR(void); // SPI-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:130:10: error: expected ‘;’ before ‘void’
130 | interrupt void SPITXINTA_ISR(void); // SPI-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:139:10: error: expected ‘;’ before ‘void’
139 | interrupt void I2CINT1A_ISR(void); // I2C-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:140:10: error: expected ‘;’ before ‘void’
140 | interrupt void I2CINT2A_ISR(void); // I2C-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:145:10: error: expected ‘;’ before ‘void’
145 | interrupt void SCIRXINTA_ISR(void); // SCI-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:146:10: error: expected ‘;’ before ‘void’
146 | interrupt void SCITXINTA_ISR(void); // SCI-A
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:159:10: error: expected ‘;’ before ‘void’
159 | interrupt void ADCINT3_ISR(void); // ADC INT3 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:160:10: error: expected ‘;’ before ‘void’
160 | interrupt void ADCINT4_ISR(void); // ADC INT4 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:161:10: error: expected ‘;’ before ‘void’
161 | interrupt void ADCINT5_ISR(void); // ADC INT5 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:162:10: error: expected ‘;’ before ‘void’
162 | interrupt void ADCINT6_ISR(void); // ADC INT6 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:163:10: error: expected ‘;’ before ‘void’
163 | interrupt void ADCINT7_ISR(void); // ADC INT7 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:164:10: error: expected ‘;’ before ‘void’
164 | interrupt void ADCINT8_ISR(void); // ADC INT8 ISR
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:173:10: error: expected ‘;’ before ‘void’
173 | interrupt void XINT3_ISR (void); // External interrupt 3
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:178:10: error: expected ‘;’ before ‘void’
178 | interrupt void PIE_RESERVED(void); // Reserved for test
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:179:10: error: expected ‘;’ before ‘void’
179 | interrupt void rsvd_ISR(void); // for test
| ^~~~~
| ;
/home/gaston/ti/c2000/C2000Ware_3_01_00_00/device_support/f2802x/common/include/f2802x_defaultisr.h:180:10: error: expected ‘;’ before ‘void’
180 | interrupt void INT_NOTUSED_ISR(void); // for unused interrupts