summaryrefslogtreecommitdiffstatshomepage
path: root/tests/pyb/pyb_f411.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pyb/pyb_f411.py')
-rw-r--r--tests/pyb/pyb_f411.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pyb/pyb_f411.py b/tests/pyb/pyb_f411.py
new file mode 100644
index 0000000000..3286539650
--- /dev/null
+++ b/tests/pyb/pyb_f411.py
@@ -0,0 +1,10 @@
+# test pyb module on F411 MCUs
+
+import os, pyb
+
+if not 'STM32F411' in os.uname().machine:
+ print('SKIP')
+ import sys
+ sys.exit()
+
+print(pyb.freq())