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

    M5paper: source code of the default apps?

    SOFTWARE
    2
    6
    5.9k
    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
      Hamnet
      last edited by

      Is the source code of the default apps for M5paper published anywhere? I think that would help me understand many of the aspects.

      TIA,

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

        Hello @Hamnet

        this is the firmware which was initially loaded on the M5Paper.

        Thanks
        Felix

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

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

          Thank you Felix @felmue, that's very helpful.

          A naive question - how can I compile that back on to the device? The only mechanism I've got working to talk to it is Arduino - I see a reference to Arduino in the .ini file, but can't open it as a project in the Arduino IDE.

          Is there something different I need to open it in Arduino? Or do I need to use some different method altogether.

          Thanks again for all your assistance.

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

            Hello @Hamnet

            for this project M5Stack engineers decided to use Visual Studio Code and PlatformIO as programming environment (instead of Arduino). Try searching with Google for Arduino esp32 platformio for more information.

            Thanks
            Felix

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

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

              @felmue thank you.
              I've installed VS Code, and installed the PlatformIO IDE into it.
              Under Devices, it can see the one corresponding to the M5paper.
              Under Boards, it offers many of the M5 APIs, but M5paper isn't in the list.
              I can open the "M5Paper_FactoryTest" project; it has "board" set to "m5stack-fire".

              After a few false starts, it builds and installs on the device, so that's all good.

              Is there anything I can/should do to set the board correctly? Does it matter?

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

                Hello @Hamnet

                it takes time for a new board to be included in Arduino and subsequently into PlatformIO. So when M5Paper came out the easiest way to create an M5Paper PlatformIO project, was to take a similar board, in this case M5Stack Fire, which was already available. (The key here is that both M5Stack Fire and M5Paper use PSRAM.) And later on, I guess, M5Stack engineers simply forgot to fix that.

                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