diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-08-23 12:21:12 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-25 17:38:55 +0100 |
commit | 2bf044442eae7dbdaff91051d2c135b4aa51f1b2 (patch) | |
tree | f22d657138d316cc1e3b1669d001c90d14809741 /tests/pyb/timer.py.exp | |
parent | 8c0add4eeeb77b8b4c6cb5a0313e6f06b0a62d32 (diff) | |
download | micropython-2bf044442eae7dbdaff91051d2c135b4aa51f1b2.tar.gz micropython-2bf044442eae7dbdaff91051d2c135b4aa51f1b2.zip |
Add support for pyb.micros() by using the systick timer.
I also removed trailing spaces from modpyb.c which affected a couple
of lines technically not part of this patch.
Tested using: https://github.com/dhylands/upy-examples/blob/master/micros_test.py
which eventually fails due to wraparound issues (I could fix the test to compensate
but didn't bother)
Diffstat (limited to 'tests/pyb/timer.py.exp')
0 files changed, 0 insertions, 0 deletions