def stub_and_esp32_function_only(func):
 return check_supported_function(func, (lambda o: (o.IS_STUB or (o.CHIP_NAME == 'ESP32'))))

def stub_and_esp32_function_only ( func ) : return check_supported_function ( func , ( lambda o : ( o . IS_STUB or ( o . CHIP_NAME == 'ESP32' ) ) ) )
attribute for a function only supported by software stubs or esp32 rom .