simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Simulavr unit-tests


From: Petr Hluzín
Subject: Re: [Simulavr-devel] Simulavr unit-tests
Date: Thu, 7 Jul 2011 00:33:08 +0200

2011/7/6 Сергей Смирнов <address@hidden>:
> Are there any ready Python unit-tests for simulavr except for those 5 in the 
> 'examples' location? Is there some kind of simulavr unit test database? How 
> do you test simulavr when adding new models of microcontrollers?

There are no other tests, AFAIK.

When adding a new microcontroller then any existing tests would
exercise components which already exist. Existing examples can be
reused only for verifying IO register addresses (by compiling an
example for different MCU) - if the new MCU uses the same peripheral.

A new MCU family usually contains only few new lines of code, usually
it is just rewriting from a datasheet. Only new or different
peripheral would bring substantial amount of code - in such case I
would use existing know-working code somewhere from Internet to verify
it.

-- 
Petr Hluzin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]