On Thu Jul 9 22:55 , "address@hidden" 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.
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
address@hidden
"War is only a hobby."
---- Msg sent via CableONE.net MyMail - http://www.cableone.net
_______________________________________________
Simulavr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/simulavr-devel