# test pyb module on F405 MCUsimportos,pybifnot"STM32F405"inos.uname().machine:print("SKIP")raiseSystemExitprint(pyb.freq())print(type(pyb.rng()))# test HAL error specific to F405i2c=pyb.I2C(2,pyb.I2C.MASTER)try:i2c.recv(1,1)exceptOSErrorase:print(repr(e))