This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28027 Flash API - redefines

Hi All

I need to delete and write internal Flash and so am trying to use the Flash2802x_API_V200.lib.

The problem that I am having is that I also need the driver.lib due to various other peripherals, but this then gives a redefined error due to the following two routines/variables being found in both of these libraries:

_Flash_CPUScaleFactor
_Flash_CallbackPtr

If I remove the Flash2802x_API_V200.lib the API calls _Flash2802x_Erase and _Flash2802x_Program are missing (logically) and if I remove the driver.lib there are many missing functions (like Flash_Init, _GPIO_Init, PIE_Init, etc.).

I understand that the Flash API code is only available within the library so there  is no option but to link the library, but how is it possible to use the driver.lib too without this error??

Regards

Mark