M5Stack MultiApp Advanced Firmware
-
@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...
-
@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 -
sad that the pre-compiled firmware is no longer available.
when will he come back
thanks
-
@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. -
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
-
@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...
-
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
-
@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.
-
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 frameworkthanks for help
Regards
-
@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 frameworkthanks 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.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 PlatformIOYou 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
-
@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 !
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.
-
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
-
@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. -
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?
-
@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.