micropython/tests/feature_check/inlineasm_thumb2.py
Damien George d30d5c99af tests/run-tests.py: Skip Thumb2 tests if target doesn't support them.
Signed-off-by: Damien George <damien@micropython.org>
2023-12-06 16:05:37 +11:00

11 lines
125 B
Python

# check if Thumb2/ARMV7M instructions are supported
@micropython.asm_thumb
def f():
it(eq)
nop()
print("thumb2")