Hi,
I'm trying to modify the Cypress EZ-USB firmware for some added functionality, but I'm having some problems regarding running out of code space. It seems that when I call some of the EZUSB I2C library functions, my code space balloons by quite a bit. For example EZUSB_InitI2C would increase my code space by 500bytes. The default firmware already uses up over 6KB, which leaves me with about 1KB+ to play with, so 500 bytes is a lot to be just calling an initialize function. Has anyone experienced similar problems? Is there any way of solving this?
btw I'm using Keil uVision2 with the Cypress CY3686 EZUSB NX2 LP-FLEX DVK.
Thanks.