[email protected] wrote:
On Thu Jul  9 22:55 , "[email protected]"  sent:

The attached code should implement atmega88 and atmega168.

It hasn't been tested much.

It compiles and the result still passes make check .



The attached "patch" is obviously incomplete.

I've attached the missing files.



atmega668base.{cpp,h} are slightly edited copies

of the corresponding atmega48 files.

If we add these, a refactoring is probably in order.
Deriving the atmega48 from the same base as the
atmega88 and atmega168 would remove duplicate code
and allow all three to be improved simultaneously.
If I commit it, will your next path do the refactoring? :-D
IIRC assignment to a PIN register will not toggle any PORT
bits and the USART in master SPI mode is unimplemented.

I even left the erroneous copyrights alone.



The patch subsumes the three-in-one patch.

--
Michael Hennebry
[email protected]
"War is only a hobby."

---- Msg sent via CableONE.net MyMail - http://www.cableone.net

_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel


--
Joel Sherrill, Ph.D.             Director of Research & Development
[email protected]        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985




_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to