d3bb3e38df
A few tests still fail on PYBLITE, and that's due to differences in the available peripheral block numbers on the different MCUs (eg I2C(2) exists on one, but it's I2C(3) on the other).
11 lines
157 B
Python
11 lines
157 B
Python
# 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())
|