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

    M5Stack MultiApp Advanced Firmware

    PROJECTS
    14
    51
    298.6k
    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.
    • C
      Calin @Kabron
      last edited by Calin

      @kabron you can do that if you whant for your M5Stack.
      @tobozo can make a repository that contain this mods too.
      I won't do that because i need every bit of flash memory for the apps that i am working on...

      I just updated MultiApp.

      • Added Tetris game with score and high score counter.
      • Fixed some bugs related to fonts

      Getting closer to flash size limit...

      0_1530314904726_Memory.PNG

      KabronK 1 Reply Last reply Reply Quote 0
      • KabronK
        Kabron @Calin
        last edited by Kabron

        @calin 在 M5Stack MultiApp Advanced Firmware 中说:

        @tobozo can make a repository that contain this mods too.

        With one tiny exception:
        Tobozo's app does not restart menu with BtnA+Reset

        1 Reply Last reply Reply Quote 0
        • P
          picpic020960
          last edited by

          sad that the pre-compiled firmware is no longer available.

          when will he come back

          thanks

          C 1 Reply Last reply Reply Quote 0
          • C
            Calin @picpic020960
            last edited by Calin

            @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

            sad that the pre-compiled firmware is no longer available.

            when will he come back

            thanks

            Install VsCode, PlatformIO, then flash the project to M5Stack.
            Is a straight forward procedure.
            I removed the pre-compiled firmware because the M5Stack had to be formatted with a specific partition table for pre-compiled firmware to work.

            1 Reply Last reply Reply Quote 0
            • P
              picpic020960
              last edited by

              no is straight forward with corporate proxy !

              old version of pre-compiled firmware work fine.

              why partition issue ?

              [pre-compiled firmware is best for MultiApp popularity]

              thanks

              C 1 Reply Last reply Reply Quote 0
              • C
                Calin @picpic020960
                last edited by

                @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                no is straight forward with corporate proxy !

                Well... yeah... you are right on this one...

                [pre-compiled firmware is best for MultiApp popularity]

                thanks

                Ok... i will bring it back later today...

                1 Reply Last reply Reply Quote 1
                • P
                  picpic020960
                  last edited by picpic020960

                  Hi Calin

                  tested last night ! sync , download , finish , reset and ... black screen

                  maybe my error : use the old [not Advanced] FLASH_DOWNLOAD_TOOLS_V3.6.4.zip

                  other way : 'old MultiApp' is OK without SD card and no jpg , maybe 'Advanced' no ?

                  more : windows 10 (on thomson tablet)

                  my fear :have bad clone !

                  I test again tonight

                  Regards

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Calin @picpic020960
                    last edited by

                    @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                    Hi Calin

                    tested last night ! sync , download , finish , reset and ... black screen

                    maybe my error : use the old [not Advanced] FLASH_DOWNLOAD_TOOLS_V3.6.4.zip

                    other way : 'old MultiApp' is OK without SD card and no jpg , maybe 'Advanced' no ?

                    more : windows 10 (on thomson tablet)

                    my fear :have bad clone !

                    I test again tonight

                    Regards

                    As i told you... the best solution is to COMPILE the project on PlatformIO.
                    The M5Stack came with default factory partitions table.
                    That partition table is incompatible with MultiApp-Advanced firmware.
                    Old MultiApp firmware use standard partitions table and that's why that precompiled binary work.
                    The precompiled firmware only write the application data. So precom piled binary will be useful only if you try to update the multiapp-advanced firmware to a newer version.
                    Will NOT work if you try to write the multiapp-advanced over a different application.

                    On MultiApp-advanced i use a custom partition table that is written if you compile and upload the project from PlatformIO.

                    1 Reply Last reply Reply Quote 0
                    • P
                      picpic020960
                      last edited by picpic020960

                      Hi Calin , OK

                      Download (and unzip) this repository ==> OK
                      Download and Install Visual Studio Code https://code.visualstudio.com/ ==>OK
                      Install the PlatformIO Extension ==> OK
                      Install ESP32 Framework on PlatformIO ==> How TO ? no link and a lot of ESP32 framework

                      thanks for help

                      Regards

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Calin @picpic020960
                        last edited by Calin

                        @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                        Hi Calin , OK

                        Download (and unzip) this repository ==> OK
                        Download and Install Visual Studio Code https://code.visualstudio.com/ ==>OK
                        Install the PlatformIO Extension ==> OK
                        Install ESP32 Framework on PlatformIO ==> How TO ? no link and a lot of ESP32 framework

                        thanks for help

                        Regards

                        Go to Platforms
                        Type in ESP32 on the search bar
                        Click on Espressif 32
                        Click INSTALL
                        Wait to finish (this may take 1 - 5 minutes, depending on your internet connection speed)
                        Done.

                        0_1530807254012_ESP32Platform.PNG

                        To open MultiApp Advanced project:
                        right click on the project folder
                        Select "Open in VsCode"
                        VsCode will open and the project will be loaded in PlatformIO

                        You don't need to install any library to compile the MultiApp-Advanced. All necessary resources are included into project.

                        1 Reply Last reply Reply Quote 0
                        • P
                          picpic020960
                          last edited by picpic020960

                          Calin

                          first compil :
                          src\Apps\WiFiWps\WpsConnect.cpp:73:16: error: no match for 'operator=' (operand types are 'esp_wps_config_t' and '<brace-enclosed initializer list>')

                          some mistake ?

                          edit :
                          commented ==> Build OK
                          but how to load the firmware in the m5stack ?

                          other question : how to apply the patch ?

                          thanks for help

                          Regards

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Calin @picpic020960
                            last edited by Calin

                            @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                            Calin

                            first compil :
                            src\Apps\WiFiWps\WpsConnect.cpp:73:16: error: no match for 'operator=' (operand types are 'esp_wps_config_t' and '<brace-enclosed initializer list>')

                            some mistake ?

                            No. There is no mistake.
                            PlatformIO updated the Arduino-ESP32 framework to new version.
                            I updated the MultiApp firmware to work with this new version.
                            If you use git, just pull the latest commit from github and recompile.
                            If not, download the repository again then compile.

                            edit :
                            commented ==> Build OK
                            but how to load the firmware in the m5stack ?

                            Please READ the repository instructions !

                            0_1530824824747_instructions.PNG

                            other question : how to apply the patch ?

                            The old patch is no longer needed... because Espressif fixed the GPIO39 bug on the latest arduino-esp32 framework.

                            1 Reply Last reply Reply Quote 0
                            • P
                              picpic020960
                              last edited by

                              Hi Calin

                              when m5stack not connected i see ' <version....py>' at end of build report.

                              (from memory , now at work , not at home)

                              when m5stack connected i see nothing at end of build report.

                              i have com1 and com4. how to choose ?

                              thanks for help

                              Regards

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Calin @picpic020960
                                last edited by

                                @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                                Hi Calin

                                when m5stack not connected i see ' <version....py>' at end of build report.

                                (from memory , now at work , not at home)

                                when m5stack connected i see nothing at end of build report.

                                i have com1 and com4. how to choose ?

                                thanks for help

                                Regards

                                You don't have to chose anything.
                                No need to select the upload port.
                                PlatformIO will detect the M5Stack port automatically, once is connected to PC USB.

                                1 Reply Last reply Reply Quote 0
                                • KabronK
                                  Kabron
                                  last edited by Kabron

                                  New version compilation results:
                                  M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
                                  E (705) SPIFFS: mount failed, -10025
                                  [E][SPIFFS.cpp:47] begin(): Mounting SPIFFS failed! Error: -1
                                  OK
                                  [E][Preferences.cpp:330] getUShort(): nvs_get_u16 fail: light NOT_FOUND
                                  and nothing more...

                                  any ideas?

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Calin @Kabron
                                    last edited by Calin

                                    @kabron 在 M5Stack MultiApp Advanced Firmware 中说:

                                    New version compilation results:
                                    M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
                                    E (705) SPIFFS: mount failed, -10025
                                    [E][SPIFFS.cpp:47] begin(): Mounting SPIFFS failed! Error: -1
                                    OK
                                    [E][Preferences.cpp:330] getUShort(): nvs_get_u16 fail: light NOT_FOUND
                                    and nothing more...

                                    any ideas?

                                    Please update the Espressif 32 platform to latest version (v1.1.1 at this moment)
                                    That should solve the problem.

                                    KabronK 1 Reply Last reply Reply Quote 0
                                    • KabronK
                                      Kabron @Calin
                                      last edited by Kabron

                                      @calin 在 M5Stack MultiApp Advanced Firmware 中说:

                                      Please update the Espressif 32 platform to latest version (v1.1.1 at this moment)
                                      That should solve the problem.

                                      I have 1.1.2 installed and do not know how to degrade
                                      P.S.
                                      degrade with
                                      platform = espressif32@1.1.1
                                      and now it works

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        Calin @Kabron
                                        last edited by

                                        @kabron 在 M5Stack MultiApp Advanced Firmware 中说:

                                        @calin 在 M5Stack MultiApp Advanced Firmware 中说:

                                        Please update the Espressif 32 platform to latest version (v1.1.1 at this moment)
                                        That should solve the problem.

                                        I have 1.1.2 installed and do not know how to degrade
                                        P.S.
                                        degrade with
                                        platform = espressif32@1.1.1
                                        and now it works

                                        I just tested with espressif32 V1.1.2 and work's just fine.
                                        Please download the latest repository commit and compile.
                                        it should work just fine.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Rodlenz
                                          last edited by

                                          Hi Calin, thanks for this amazing work. How I can add my own code/Application? Tks in advance for any help you can provide. brgds.

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            amn @Rodlenz
                                            last edited by

                                            Hi
                                            somebody make a test with Netatmo ?
                                            I would like to be sure before start this install to see if there are possibility to connect via API key to netatmo server.
                                            interest by this
                                            Thx

                                            amn

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