Josverl/micropython-stubs

@micropython.asm_thumb

Closed this issue · 0 comments

need something like this

def asm_thumb(func: Callable) -> Callable:
    """
    This decorator is used to mark a function as containing inline assembler code.
    The assembler code is written s a subset of the ARM Thumb-2 instruction set, and is executed on the target CPU.
    See: https://docs.micropython.org/en/latest/reference/asm_thumb2_index.htm
    """
    ...