from adafruit_blinka.microcontroller.rp2040_u2if import *
elif chip_id == ap_chip.GENERIC_X86:
print("WARNING: GENERIC_X86 is not fully supported. Some features may not work.")
-elif chip_id == None:
+elif chip_id is None:
print("WARNING: chip_id == None is not fully supported. Some features may not work.")
elif "sphinx" in sys.modules:
pass
elif "sphinx" in sys.modules:
# pylint: disable=unused-import
from adafruit_blinka.microcontroller.generic_micropython import Pin
-elif chip_id == None:
+elif chip_id is None:
print("WARNING: chip_id == None is not fully supported. Some features may not work.")
from adafruit_blinka.microcontroller.generic_micropython import Pin
else:
- raise NotImplementedError("Microcontroller not supported: ", chip_id)
\ No newline at end of file
+ raise NotImplementedError("Microcontroller not supported: ", chip_id)