Hi,
I am using the LPC 1788, and after adding an usb host lite project to an existing project, I have met the linking error with all files compiling right.
".\Flash\LPC1788_OMR.axf: Error: L6971E: s_single_read.o(.data) type RW incompatible with main_program.o(.ARM.__AT_0x10003650) type ZI in er RW_IRAM1. "
The following figure is the R/W Memory set. And also I has attached the .map file.
And I am seeking help for what is the reason of this error and how to handle this kind of error?
Many thanks.
Original Attachment has been moved to: LPC1788_OMR.map.zip
It is probably better to ask this on the Keil/ARM website.
From my limited knowledge of the issue it appears your extensive use of absolute variable placements somehow creates this conflict of section attributes (RW vs. ZI), but I may be wrong...