[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] add code for atmega8 timer1
From: |
Petr Hluzín |
Subject: |
Re: [Simulavr-devel] add code for atmega8 timer1 |
Date: |
Thu, 4 Aug 2011 23:46:54 +0200 |
On 1 August 2011 18:53, langure <address@hidden> wrote:
> Hi.
> I work with atmega8 and I need for simulation interrupt and timer0,1,2,
> because
> I changed/wrote code for timer1, mask for tifr,timsk register (use
> irq_vtable for bit mask)
> add description for register timers (TCNT1L H,TCCR1A B,TIMSK,TIFR ...)
> change files: devsupp.c, devsupp.h, timers.c, timers.h, defn/mega8.h
> How can I add/change code with cvs system?
> I registered in savannah.nongnu.org, user=langure
Great hear that!
Please submit the patch to the patch tracker [1]. Someone, probably
me, will review the patch and commit it if it is good. In general
maintainers offer commit privileges after several well-written
patches. (I cannot do that.)
However it seems that ATmega8 does contain all the 3 timers already
[2],[3]. What specifically do your patches implement?
Did you add the support for C (not C++) version of simulavr?
[1] https://savannah.nongnu.org/patch/?group=simulavr
[2] http://git.savannah.gnu.org/cgit/simulavr.git/tree/src/atmega8.cpp
[3] http://git.savannah.gnu.org/cgit/simulavr.git/tree/src/hwtimer/hwtimer.h
Thank you for your effort.
--
Petr Hluzin