I just ran into something here, are digitalReadFast() and digitalWriteFast() compatible with LC ?
I had a small piece of code which used these and sometimes I got this compile error:
Wierd part is in trying to localize it, by removing some surrounding commands the error would go away. I'm guessing this has something to do with memory alignment.
Once I converted the digitalWriteFast() operations to digitalWrite() (and similar for Read) the error went away.
I had a small piece of code which used these and sometimes I got this compile error:
C:\Users\Brian\AppData\Local\Temp\ccS1gvqR.s: Assembler messages:
C:\Users\Brian\AppData\Local\Temp\ccS1gvqR.s:2029: Error: lo register required -- `sub ip,#1'
Wierd part is in trying to localize it, by removing some surrounding commands the error would go away. I'm guessing this has something to do with memory alignment.
Once I converted the digitalWriteFast() operations to digitalWrite() (and similar for Read) the error went away.