unicore-mx icon indicating copy to clipboard operation
unicore-mx copied to clipboard

Test framework

Open brabo opened this issue 8 years ago • 1 comments

Buildup a testing framework ASAP.

brabo avatar Jun 28 '16 12:06 brabo

One thing I was doing to test my changes, is to basically override MMIO32() macro, changing it to a function call, which and then verifying that the correct registers are accessed and correct values are set.

However, because I'm running the code on my machine (not the MCU), I find it much easier to implement this in C++, with all the standard library goodness.

I'll try to prepare a quick proof of concept, let me know what you think.

maksymko avatar Oct 28 '16 17:10 maksymko