M5Stack MultiApp Advanced Firmware



  • @calin Wow! That was quick, much appreciated.



  • @1nformatica The openweather don't provide so much data... so i have to do some extended redesign on the weather app to make it look nice. Until then, i added my (working) WU key to repository so you can try the weather app.



  • @calin

    Would it be much hassel to add in the webserver WiFi settings (For those times WPS is not available) and
    Weather settings (API key, language, country and city)



  • @kryten

    • If your router don't support WPS, you can use the SmartConfig app on the phone to connect the M5Stack to Wifi
    • Weather settings are already implemented. Read the project description.
      At the Weather Station chapter you can find info about WeatherParams.txt file and how to use it.


  • @calin Yes I saw this after I postede, sorry.

    This is really good work by the way ;)



  • Hi All, I have just uploaded a video review of the Apps to Youtube Apps Review
    I made a silly mistake with the oscilloscope App as of course it cannot handle negative going inputs!!



  • @1nformatica You didn't apply the PlatformIO patch and you are getting the BtnA (left key) unwanted "presses".
    M5Stack use GPIO39 for BtnA.
    There is a bug on arduino-esp32 framework that cause interference between Wifi and GPIO39.
    That patch contain arduino-esp32 precompiled libraries that don't have this bug.
    Since the libraries came precompiled, i don't have access to the code to find what's causing that bug and fix the problem.



  • Hello, Calin,
    I allowed myself a tiny mod to your App. Now it can be launched from the SD card under SD-Menu from tobozo. https://github.com/tobozo/M5Stack-SD-Updater.
    Modification consists in main.c mod and extra libraries. Just unzip Matroska.zip to project folder and build. Resulting firmware.bin in .pioenvs\m5stack-core-esp32
    is compatible with tobozo loader.
    Zip here:
    https://yadi.sk/d/8sroLeG_3YMfwe



  • @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



  • @calinM5Stack 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



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

    when will he come back

    thanks



  • @picpic020960M5Stack 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.



  • 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



  • @picpic020960M5Stack 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...



  • 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



  • @picpic020960M5Stack 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.



  • 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



  • @picpic020960M5Stack 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.



  • 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



  • @picpic020960M5Stack 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.


登录后回复
 

与 M5Stack Community 的连接断开,我们正在尝试重连,请耐心等待