# build/platform/base.py from abc import ABC, abstractmethod from ..compiler.base import Compiler class Platform(ABC): name = "generic" @abstractmethod def compiler(self) -> Compiler: raise NotImplementedError @abstractmethod def cflags(self, test: bool = False): return [] def supports_rp2040(self) -> bool: return False