Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 231521

Forum Post: RE: TMS320F280025: convert 2 lines of code from DriverLib mode to Bit Field / Register-Level Mode

$
0
0
Hi Ryan, Thanks for your updates. I followed your instructions and make sure " #include "f28002x_device.h" " is added in my main .c file, and "f28002x_globalvariablesdefs.c" is in my project folder. Please see my CCS screen capture below: but the compilation still failed with error below: ========== >> Compilation failure subdir_rules.mk:9: recipe for target 'epwm.obj' failed "../epwm.c", line 2146: warning #190-D: enumerated type mixed with another type "../epwm.c", line 2177: warning #190-D: enumerated type mixed with another type "../epwm.c", line 2199: warning #190-D: enumerated type mixed with another type "../epwm.c", line 2224: warning #190-D: enumerated type mixed with another type "../epwm.c", line 2547: error #20: identifier "GpioCtrlRegs" is undefined "../epwm.c", line 2550: error #20: identifier "GpioDataRegs" is undefined 2 errors detected in the compilation of "../epwm.c". >> Compilation failure subdir_rules.mk:9: recipe for target 'QT2_AC_side.obj' failed "C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f28002x/headers/include/f28002x_lin.h", line 236: error #41: expected an identifier "C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f28002x/headers/include/f28002x_lin.h", line 236: error #80: expected a type specifier "C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f28002x/headers/include/f28002x_lin.h", line 236: error #170: a function type is not allowed here "C:/ti/c2000/C2000Ware_3_01_00_00/device_support/f28002x/headers/include/f28002x_lin.h", line 236: warning #109-D: signed bit field of length 1 3 errors detected in the compilation of "../QT2_AC_side.c". =========

Viewing all articles
Browse latest Browse all 231521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>