Other Parts Discussed in Thread: CONTROLSUITE
I have a large program that we have been writing and testing for the last few years.
It initially was created using controlSuite and some USB throughput test code I got from TI.
I got the USB running and pushing data out at the required rate.
After this I did not need the USB so I excluded it from the build to speed up compiling and testing.
Now we are getting close to releasing the product and I have spent a week trying to put the USB back.
The F2837xD Peripheral Driver Library has been deprecated, so I tried to add the driverlib.lib where the USB is now.
Now I get plenty of conflicts like this below, what can I do to get the USB running again easily.
Any steps for adding this without saying take an example and start from it, I have thousands of lines of code.
Example issue:
None of these are deprecated and from what I read they should work together.
This TI file is in the projecet "F2837xD_Adc.c" it includes "F2837xD_Adc_defines.h" which defines:
#define ADC_RESOLUTION_12BIT 0
To add driverlib.lib I have included this in the project "driverlib.h" it includes "adc.h" which defines
typedef enum
{
ADC_RESOLUTION_12BIT = 0x00, //!< 12-bit conversion resolution
ADC_RESOLUTION_16BIT = 0x40 //!< 16-bit conversion resolution
} ADC_Resolution;
This redefinition causes an error, this is only an example a few more exist.