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.

Bug in Industrial SDK SPI flashing tools

Other Parts Discussed in Thread: SYSBIOS

The support files for the SPI Flash tool in the AM335x Industrial SDK 1.0.0.9 an earlier have a bug which generates confusing warnings.  The files are located at

am335x_sysbios_ind_sdk_1.0.0.9\sdk\tools\flashing tools\SPI_Flash\src

In these files , the construct


#ifdef AM335X_DRIVER
    #define printf(...)   ;
#endif

is located before the include files.  If AM335X_DRIVER is defined, this interferes with the definition of printf in one of the compiler library header files, leading to warnings which make no sense where CCS flags them in the IDE.  (That is a separate IDE problem.)

The solution is to move the ifdef construct to after the include files.

Gerry Belanger