-
- Downloads
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)
Showing
- stmhal/modpyb.c 39 additions, 3 deletionsstmhal/modpyb.c
- stmhal/qstrdefsport.h 1 addition, 0 deletionsstmhal/qstrdefsport.h
- stmhal/stm32f4xx_it.c 5 additions, 0 deletionsstmhal/stm32f4xx_it.c
- stmhal/systick.c 36 additions, 0 deletionsstmhal/systick.c
- stmhal/systick.h 1 addition, 0 deletionsstmhal/systick.h
Loading
Please register or sign in to comment