def esp8266_function_only(func):
 return check_supported_function(func, (lambda o: (o.CHIP_NAME == 'ESP8266')))

def esp8266_function_only ( func ) : return check_supported_function ( func , ( lambda o : ( o . CHIP_NAME == 'ESP8266' ) ) )
attribute for a function only supported on esp8266 .