@micropython.asm_thumb error #11006
Unanswered
GKellu
asked this question in
RP2040 / Pico
Replies: 1 comment 6 replies
-
Maybe you try the code with the actual nightly build of the firmware. If I run your example with that, I get no error.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I try to use following code on pi pico with micropython v1.19.1:
@micropython.asm_thumb
def asm_add(r0, r1):
add(r0, r0, r1)
Code is from latest documentation on micropython. I get this error:
Traceback (most recent call last):
File "", line 3, in asm_add
SyntaxError: expecting an assembler instruction
I get this error on every code tested from documentation. I have tested it on micropython v1.17 with same result.
Please help me how to use inline assembler on pi pico with micropython.
Beta Was this translation helpful? Give feedback.
All reactions