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

    Bala2 example code will compile but running the code does not progress past calibration. <SOLVED>

    Scheduled Pinned Locked Moved PRODUCTS
    4 Posts 2 Posters 9.0k Views
    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.
    • MattMM Offline
      MattM
      last edited by MattM

      The Bala2 example application source from Github https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Application/Bala2 compiles successfully but when the code is ran on the Bala2 Core it stops at the "calibration finished!!" indication. I have tried this in both Arduino IDE 1.8.13 and PlatformIO with the same result. I can flash the Bala2 with the M5burner factory firmware and everything works as expected. Is there an additional step to building from source?

      Has any one been able to successfully build the example application from source?

      1 Reply Last reply Reply Quote 0
      • MattMM Offline
        MattM
        last edited by

        I answered my own question. Looks like I had the wrong build target. Everything is working as expected. I used the following build environment in PlatformIO and everything builds and works correctly. It is possible when I had the problem that I had chosen the wrong "board" for the build target. I'm considering this a closed issue as far as I am concerned.

        platformio.ini
        [env:m5stack-grey]
        platform = espressif32
        board = m5stack-grey
        framework = arduino
        lib_deps = m5stack/M5Stack@^0.3.1

        1 Reply Last reply Reply Quote 0
        • m5stackM Offline
          m5stack
          last edited by

          So what board did you choose before? can be compiled but un normal.

          1 Reply Last reply Reply Quote 0
          • MattMM Offline
            MattM
            last edited by

            @mattm said in Bala2 example code will compile but running the code does not progress past calibration.:

            m5stack-grey

            =====> m5stack-grey

            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