Got it. I'll add the support to GCC's libatomic then send it in. Thanks.
On Jun 25, 2016 5:13 PM, "Joerg Wunsch" wrote:
> As Georg-Johann Lay wrote:
>
> > As libatomic will need close cooperation with the compiler, I'd
> > recommend to add it to GCC.
>
> That would be my
As Georg-Johann Lay wrote:
> As libatomic will need close cooperation with the compiler, I'd
> recommend to add it to GCC.
That would be my recommendation, too. If it's a compile feature,
it would better be there. Perhaps it's then even possible to find
a more efficient implementation (no
Hello!
Maybe I just don't know something, but I made convenient macros which turns
this code:
[code]
...
// For request
DDRA &= ~_BV(PA2);
// For LED
DDRB |= _BV(PB3);
// Wait for request
loop_until_bit_is_set(PINA, PA2);
// Turn LED on
PORTB |= _BV(PB3);
...
[/code]
into this completely