🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    McroPython's Inline Assembler can not be used

    Scheduled Pinned Locked Moved FAQS
    4 Posts 2 Posters 7.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MIN0_KABE
      last edited by

      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.

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

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MIN0_KABE @MIN0_KABE
        last edited by

        @min0_kabe Sorry, I made mistake in this line.

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

        1 Reply Last reply Reply Quote 0
        • loborisL Offline
          loboris
          last edited by

          @min0_kabe 在 McroPython's Inline Assembler can not be used 中说:

          MicroPython's Inline Assember

          Inline assembler is not supported on ESP32.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            MIN0_KABE @loboris
            last edited by

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

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post