micropython: add micropython component
This commit is contained in:
9
components/language/micropython/tests/pyb/pyb_f411.py
Normal file
9
components/language/micropython/tests/pyb/pyb_f411.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# test pyb module on F411 MCUs
|
||||
|
||||
import os, pyb
|
||||
|
||||
if not "STM32F411" in os.uname().machine:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(pyb.freq())
|
Reference in New Issue
Block a user