CARPP wrote:CFLAGS = -I. -DICACHE_FLASH -mlongcalls
fixed it for me
This effecively moves ALL your code into flash, which may be ok depending on what you are doing, but just be wary of functions that are long lived or that need to operate at low level.
If you get resets and timeouts, this should be the first place to look