1 """Allows useful indirection to test Pin naming logic by switching platform in testing
 
   2     or where auto-detection is not feasible (e.g. multiple ESP8266 boards architecturally identical)
 
   7     platform = sys.platform
 
  11 if platform is not None:
 
  12     if platform == "esp8266":
 
  14     elif platform == "Atmel SAMD21":
 
  15         board="feather_m0_express"
 
  16     elif platform == "pyboard":
 
  17         platform="STM32F405RG"
 
  22 implementation = sys.implementation.name
 
  23 if implementation == "micropython":
 
  25 elif implementation == "circuitpython":