2008-08-29 02:17 AM
Ethernet: Porting memcopy.s to GCC
2011-05-17 12:55 AM
I've working with the implementation of ethernet in ARM STR912W44. I found nice sample code in um0248 which is sample code for a webserver.
The problem is some functions in 91x_enet.c uses a fast memcopy in assembler found in memcopy.s. This assembler is for IAR (I think) and I am using GCC. Have anyone found this memcopy.s for GCC or ported it? I've tried to port it myself but get the following error: ''relocation truncated to fit: R_ARM_ABS16 against `.text''' when I exhange the IAR DCW, DC32 to h.word and .word.