McroPython's Inline Assembler can not be used

  • I am enjoying MicroPython with M5Stack. I found out that you can use Inline Assembler with MycroPython while examining the Web. I tried it, but there was no error. Can I use MicroPython's Inline Assember with M5Stack? Or is it wrong to use?

    M5StackでMicroPythonを楽しんでいます。Webを調べているとMycroPythonでInline Assemblerを使えることがわかりました。試して見ましたが、エラーとないました。M5StackではMicroPythonのInline Assemberは使えないのでしょうか?それとも使い方が間違っているのでしょうか?

    MicroPython ESP32_LoBo_v3.2.16 - 2018-05-15 on M5Stack with ES information.

    ... def uadd(r0, r1) -> uint:
    ... add(r0, r0, r1)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    SyntaxError: invalid micropython decorator

  • @min0_kabe Sorry, I made mistake in this line.

    "but there was no error." --> "but there was the error."

  • @min0_kabeMcroPython's Inline Assembler can not be used 中说:

    MicroPython's Inline Assember

    Inline assembler is not supported on ESP32.

  • @loboris I understand it. Thank you for your reply.