elif "sphinx" in sys.modules:
# pylint: disable=unused-import
from adafruit_blinka.microcontroller.generic_micropython import Pin
+elif chip_id == ap_chip.GENERIC_X86:
+ print("WARNING: GENERIC_X86 is not fully supported. Some features may not work.")
+ from adafruit_blinka.microcontroller.generic_micropython import Pin
elif chip_id is None:
print(
"WARNING: chip_id == None is not fully supported. Some features may not work."