-however- the interrupt bug in v13 is not resolved so there may be freaky experiences.
otherwise, works very nicely with 1 GPS module under v13 ide on windows and mac osx tested with 168 and 328p
#ifndef GCC_VERSION#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)#endif
// Work-around for avr-gcc 4.3.0 OSX version bug// Preserve the registers that the compiler misses// (courtesy of Arduino forum user *etracer*)#if (GCC_VERSION == 40300) asm volatile( "push r18 \n\t" "push r19 \n\t" "push r20 \n\t" "push r21 \n\t" "push r22 \n\t" "push r23 \n\t" "push r26 \n\t" "push r27 \n\t" ::);#endif
// Work-around for avr-gcc 4.3.0 OSX version bug// Restore the registers that the compiler misses#if (GCC_VERSION == 40300) asm volatile( "pop r27 \n\t" "pop r26 \n\t" "pop r23 \n\t" "pop r22 \n\t" "pop r21 \n\t" "pop r20 \n\t" "pop r19 \n\t" "pop r18 \n\t" ::);#endif
Is it fairly easy to update the compiler for arduino-0013? Do you have to build it, or is there a binary distribution you can just untar in the right place?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16