RE: [avr-gcc-list] How to specifiy binary constants ?

2009-01-04 Thread Weddington, Eric
-list] How to specifiy binary constants ? Preston Wilson pwil...@scopuli.com wrote: There is a GCC extension that supports binary constants: http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html I have not used it, but I ran across the documentation while looking at other extensions

Re: [avr-gcc-list] How to specifiy binary constants ?

2009-01-04 Thread Joerg Wunsch
Weddington, Eric ewedding...@cso.atmel.com wrote: And yes, that avr-gcc extension was implemented by Joerg Wunsch. ;-) Actually, it became a generic GCC extension meanwhile, but it's been triggered by AVR-GCC users asking for it. -- cheers, Jorg .-.-. --... ...-- -.. .

Re: [avr-gcc-list] How to specifiy binary constants ?

2009-01-03 Thread Preston Wilson
Vincent Trouilliez wrote: what is the syntax to specify a binary constant (something like say b10101 ?). I can't find this information in the avr-libc manual, but I swear that 2/3 years ago, Joerg said that this would be soon implemented, so 3 years later I am hoping it's available ! :-)

Re: [avr-gcc-list] How to specifiy binary constants ?

2009-01-03 Thread Vincent Trouilliez
Preston Wilson pwil...@scopuli.com wrote: There is a GCC extension that supports binary constants: http://gcc.gnu.org/onlinedocs/gcc/Binary-constants.html I have not used it, but I ran across the documentation while looking at other extensions. Thanks, I just gave it a try, seems to have