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.

error compiling spi_mem.c

Other Parts Discussed in Thread: AM1808

Hi, 

error compiling arm UBL 03.20.00.14 for AM1808, error messages in spiboot.c spi.c spi_mem.c like :

Symbol 'SPI_MEMORYMAP_SPACING' could not be resolved

Symbol 'Uint32' could not be resolved

Uint32 type could not be resolved

Uint16 type could not be resolved

Uint8 type could not be resolved

but .out could be generated normally.

I'm using ccsv5 to import ccsv4 projects, is that the reason problem comes? how to solve the problem?

at the end of make, 

armubl-03.20.00.14/ccsv4/omapl1x8\ubl-spi.out

gmake[1]: /usr/local/CCSv5/ccsv5/tools/compiler/tms470binhex470.exe: Command not found

gmake[1]: [post-build] Error 127 (ignored)

 

regards,

Pan

  • Pan,

       It sounds like your missing a header file or two. To resolve some of these errors, you should search through the source code to see where the Uint32, Uint16, and Uint8 are defined. Then simply include them into your project and rebuild.