[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Nice to have: XCK Definition
From: |
Frédéric Nadeau |
Subject: |
Re: [avr-libc-dev] Nice to have: XCK Definition |
Date: |
Tue, 10 Mar 2009 08:01:48 -0500 |
The XMLs I have come from AVR Studio 4.16 build 628.
I forgot to mention, to overcome #define limitation, pin names that:
- Start with '(like 'RESET, 'RD, 'SS, etc) will be named N_SS_DDR
- Ends with +(like AMP1+) will be named AMP1_P_DDR
- Ends with -(like AMP1-) will be named AMP1_N_DDR
Comments on that?
On Tue, Mar 10, 2009 at 7:46 AM, Weddington, Eric
<address@hidden> wrote:
>
>
>> -----Original Message-----
>> From:
>> address@hidden
>> [mailto:address@hidden
>> org] On Behalf Of Frédéric Nadeau
>> Sent: Tuesday, March 10, 2009 6:17 AM
>> To: address@hidden
>> Subject: Re: [avr-libc-dev] Nice to have: XCK Definition
>>
>> My original plan was to have something like this:
>>
>> #define INT0_DDR DDRB
>> #define INT0_PORT PORTB
>> #define INT0_PIN PINB
>> #define INT0_IDX 1
>>
>> Witch let people use it in a more or less common way:
>> INT0_DDR |= _BV(INT0_IDX );
>
> I would prefer that it be used in the common way above. I would rather not
> get into adding new macros.
>
>
>>
>> A word on progress:
>> I'm almost done with my program to append the defines at the end of
>> each ioxxx.h. I did use the original AVR Studio xml(I scraped my linux
>> machine days ago, so I did not use Bob xml file). Should I report
>> errors in AVR Studio xml to someone?(Like PD0 being written as "PDO")
>
> Please report them to avr AT atmel DOT com.
>
> Oh, are you using the latest XML files from the 4.16 release of AVR Studio?
>
>
>> Since this require a lot of file to be modified, I was thinking that
>> it might be a good idea to make a brench in the CVS for that feature,
>> and when it is done and clean merge it with HEAD.
>
> One way we could do this, is to commit it to HEAD, but not to the 1.6 branch
> yet. The latest releases are from the 1.6 branch.
>
> Joerg, do you have any thoughts about this?
>
> Eric Weddington
>
- [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/09
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/09
- Re: [avr-libc-dev] Nice to have: XCK Definition, Oleksandr Redchuk, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/10
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/10
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/11
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/11
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/11
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/12
- RE: [avr-libc-dev] Nice to have: XCK Definition, Weddington, Eric, 2009/03/12
- RE: [avr-libc-dev] Nice to have: XCK Definition, Ron Kreymborg, 2009/03/13
- Re: [avr-libc-dev] Nice to have: XCK Definition, Frédéric Nadeau, 2009/03/13