Re: [Patch, avr] Add device name to cpp_builtins

2014-07-31 Thread Denis Chertykov
2014-07-30 11:19 GMT+04:00 Senthil Kumar Selvaraj : > On Mon, Jul 28, 2014 at 08:09:28PM +0200, Georg-Johann Lay wrote: >> Senthil Kumar Selvaraj schrieb: >> >The below patch adds a new preprocessor define for the device name >> >(__AVR_DEVICE_NAME__) that was passed to the compiler. >> > >> >While

Re: [Patch, avr] Add device name to cpp_builtins

2014-07-30 Thread Senthil Kumar Selvaraj
On Mon, Jul 28, 2014 at 08:09:28PM +0200, Georg-Johann Lay wrote: > Senthil Kumar Selvaraj schrieb: > >The below patch adds a new preprocessor define for the device name > >(__AVR_DEVICE_NAME__) that was passed to the compiler. > > > >While the device name macro (say __AVR_ATmega128__) can be used

Re: [Patch, avr] Add device name to cpp_builtins

2014-07-28 Thread Georg-Johann Lay
Senthil Kumar Selvaraj schrieb: The below patch adds a new preprocessor define for the device name (__AVR_DEVICE_NAME__) that was passed to the compiler. While the device name macro (say __AVR_ATmega128__) can be used to check for a specific device, there is no way right now for code to get th

Re: [Patch, avr] Add device name to cpp_builtins

2014-07-24 Thread Denis Chertykov
2014-07-23 12:04 GMT+04:00 Senthil Kumar Selvaraj : > The below patch adds a new preprocessor define for the device name > (__AVR_DEVICE_NAME__) that was passed to the compiler. > > While the device name macro (say __AVR_ATmega128__) can be used to > check for a specific device, there is no way rig