micropython/tests/pyb/pyb_f411.py

10 lines
148 B
Python

# test pyb module on F411 MCUs
import os, pyb
if not "STM32F411" in os.uname().machine:
print("SKIP")
raise SystemExit
print(pyb.freq())