2011/7/6 Сергей Смирнов <[email protected]>: > 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 _______________________________________________ Simulavr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/simulavr-devel
