tools/libraries.py
def is_supported(self, target, toolchain):
        """Check if a target toolchain combination is supported

        Positional arguments:
        target - the MCU or board
        toolchain - the compiler
        """
        if not hasattr(self, 'supported'):
            return True
        return (target.name in self.supported) and \
            (toolchain in self.supported[target.name])
Check if a target toolchain combination is supported

        Positional arguments:
        target - the MCU or board
        toolchain - the compiler
        
Check if a target toolchain combination is supported
Positional arguments:
target - the MCU or board
toolchain - the compiler
Check if a target toolchain combination is supported Positional arguments : target - the MCU or board toolchain - the compiler
def is_supported(self, target, toolchain):
        if not hasattr(self, 'supported'):
            return True
        return (target.name in self.supported) and \
            (toolchain in self.supported[target.name])
def is_supported ( self , target , toolchain ) : if not hasattr ( self , 'supported' ) : return True return ( target . name in self . supported ) and ( toolchain in self . supported [ target . name ] )
Check if a target toolchain combination is supported
Positional arguments:
target - the MCU or board
toolchain - the compiler
Check if a target toolchain combination is supported Positional arguments : target - the MCU or board toolchain - the compiler
"""Check if a target toolchain combination is supported

        Positional arguments:
        target - the MCU or board
        toolchain - the compiler
        """
self
target
toolchain