🤖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.5k
    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.
    • 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
                                        • B
                                          brianbgarber
                                          last edited by

                                          Hello, I realize this topic is very old but I'm trying to compile the MultiApp Advanced firmware. I'm getting several compile issues:

                                          1. src/Apps/WiFiWps/WpsConnect.cpp:30:12: error: 'struct esp_wps_config_t' has no member named 'crypto_funcs'

                                          2. src/Apps/WiFiWps/WpsConnect.cpp:30:28: error: 'g_wifi_default_wps_crypto_funcs' was not declared in this scope

                                          3. src/Apps/WiFiWps/WpsConnect.cpp:90:27: error: no matching function for call to 'onEvent(void (&)(arduino_event_id_t, system_event_info_t))'

                                          4. src/Apps/WiFiWps/WpsConnect.cpp:90:18: error: invalid conversion from 'void ()(arduino_event_id_t, system_event_info_t)' to 'WiFiEventSysCb' {aka 'void ()(arduino_event_t*)'} [-fpermissive]

                                          5. *** [.pio\build\esp-wrover-kit\src\Apps\WiFiWps\WpsConnect.cpp.o] Error 1

                                          6. lib/ESP32Audio/src/AudioOutputI2S.cpp:190:10: error: 'i2s_write_bytes' was not declared in this scope

                                          7. *** [.pio\build\esp-wrover-kit\lib803\ESP32Audio\AudioOutputI2S.cpp.o] Error 1

                                          I did clone the git repo today, so everything should be up to date. Looks like I'm missing some library?

                                          Thanks,
                                          Brian

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