diff options
Diffstat (limited to 'tests/pyb/pyb_f405.py')
-rw-r--r-- | tests/pyb/pyb_f405.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pyb/pyb_f405.py b/tests/pyb/pyb_f405.py new file mode 100644 index 0000000000..3c81fe109d --- /dev/null +++ b/tests/pyb/pyb_f405.py @@ -0,0 +1,11 @@ +# test pyb module on F405 MCUs + +import os, pyb + +if not 'STM32F405' in os.uname().machine: + print('SKIP') + import sys + sys.exit() + +print(pyb.freq()) +print(type(pyb.rng())) |