Other Parts Discussed in Thread: TMS320F28377S, C2000WARE
Hi,
I did as recommended in
F2837xS_DEV_USER_GUIDE.pdf:
2.3 Project: Adding Bitfield or Driverlib Support
When combining bitfield and driverlib support, add a pre-defined symbol
within the project properties called "_DUAL_HEADERS".
My project failes to compile if _DUAL_HEADERS is defined:
device_support/f2837xs/common/source/F2837xS_Adc.c", line 94: error #20: identifier "ADC_RESOLUTION_12BIT" is undefined
Reason:
- device_support\f2837xs\common\include\F2837xS_Adc_defines.h
#ifndef _DUAL_HEADERS
#define ADC_RESOLUTION_12BIT 0
#define ADC_RESOLUTION_16BIT 1
#else
#define ADC_BITRESOLUTION_12BIT 0
#define ADC_BITRESOLUTION_16BIT 1
#endif
- device_support\f2837xs\common\source\F2837xS_Adc.c:
uses ADC_RESOLUTION_12BIT
Compiles if ADC_RESOLUTION_12BIT is changed to ADC_BITRESOLUTION_12BIT
Without _DUAL_HEADERS all is OK.
May be this should be racefully pread roof.
Regards,
Frank