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

    Arduino IDE 2.3.2 M5Stamp C3, M5Unified ping time out

    Arduino
    3
    6
    2.0k
    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.
    • H
      HappyUser
      last edited by

      M5Unified 0.1.13 installed. Empty sketch. Takes long time to compile and then ping time out by the compiler.
      Any idea?
      #include <M5Unified.h>

      void setup() {
      // put your setup code here, to run once:

      }

      void loop() {
      // put your main code here, to run repeatedly:

      }

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @HappyUser
        last edited by

        @happyuser Perhaps the sketch is 'too' empty.
        You should put a delay(100); in the Loop or it will jam up with too short cycle time.
        Is the Board Type in the Arduino IDE comm window 'M5StampC3'?

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

        1 Reply Last reply Reply Quote 0
        • H
          HappyUser
          last edited by

          Thanks,
          Tried it also with a small sketch, same issue. I think it is related to the combination of M5StampC3 board and the M5Unified library.

          teastainT 1 Reply Last reply Reply Quote 0
          • teastainT
            teastain @HappyUser
            last edited by

            @happyuser OK, the Stamp series (generally) don't need a library, just the code adjusted for their pinout and other specs.
            Try compiling and uploading without the unified library.
            Use serial print to test if code is running.
            -Terry

            Cheers, Terry!

            100% M5Stack addict with several drawers full of product!

            1 Reply Last reply Reply Quote 0
            • H
              HappyUser
              last edited by

              On GitHub it says :
              Supported devices (ESP32-C3)

              M5STAMPC3 / C3U

              I assume this refers to the Stamp C3 product. If so, it would be fair to assume that M5Unified is compatible with that device. It think the Arduino compiler has serious trouble compiling it.

              1 Reply Last reply Reply Quote 0
              • felmueF
                felmue
                last edited by

                Hello @HappyUser

                it is correct that M5StampC3 is supported by M5Unified library, but I can confirm that the library currently doesn't compile due to errors in Mic_Class.cpp and Power_Class.cpp.

                I suspect that since there isn't much to gain from using a library like M5Unified for a stamp product (as @teastain already mentioned), M5Stack engineers aren't that alert in keeping the library updated.

                Thanks
                Felix

                GPIO translation table M5Stack / M5Core2
                Information about various M5Stack products.
                Code examples

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post