Comments (11)
hi,
do you mean one of your loadable apps bounces back to SD-Menu when you attempt to load it?
it sounds like the action button is triggered before checkSDUpdater() is called, can you share the setup() code from that app?
I just did a test with a basic example and it behaves normally, so I'll need more info to reproduce this issue e.g. library version, platform, core options (especially Partition Scheme).
otherwise if you feel adventurous, the next release candidate is still being tested on the 1.2.8 branch
from m5stack-sd-updater.
Hi and thanks for getting back to me! I'll give that a go, to be honest it's actually the default apps from the SD Content. Maybe the apps themselves aren't compatible? I'll try with my own app later and see how it goes. Thanks again!
from m5stack-sd-updater.
oh right, the zip file in the readme has a few precompiled applications but they're only supported M5GO/M5Fire devices and use an outdated version of espressif arduino-esp32 core where OTA partitions have a different offset.
I will remove this link from the readme, sorry for the confusion
from m5stack-sd-updater.
Ok good stuff, so it's just compatibility with the bundled apps then. I should have realised sooner to be fair.
Have a great day!
from m5stack-sd-updater.
Just tried to compile 1.2.8 but got these errors (going to see if I can solve it)
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:66:19: note: #pragma message: M5Sack CoreS3 detected
#pragma message "M5Sack CoreS3 detected"
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:149,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h: In function 'void lsPart()':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:120:5: error: 'Flash' has not been declared
Flash::digest_t digest;
^~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:149,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:126:15: error: 'Flash' has not been declared
meta = Flash::getSketchMeta( part );
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h: In function 'void checkMenuStickyPartition(const char*)':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:175:7: error: 'Flash' has not been declared
if( Flash::getFactoryPartition() ) {
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:176:5: error: 'Flash' has not been declared
Flash::loadFactory(); // should trigger a restart
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:190:10: error: 'Flash' has not been declared
if (!Flash::comparePartition(running, nextupdate, sksize)) {
^~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/partition_manager.h:199:11: error: 'Flash' has not been declared
if (Flash::copyPartition( flgSD ? &dst : NULL, nextupdate, running, sksize)) {
^~~~~
In file included from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/main/main.cpp:1,
from /Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/M5Stack-SD-Menu.ino:80:
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h: In function 'void drawM5Menu(bool)':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:19: error: 'flashUpdaterIcon16x16_jpg' was not declared in this scope
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:19: note: suggested alternative: 'sdUpdaterIcon15x16_jpg'
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~
sdUpdaterIcon15x16_jpg
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:46: error: 'flashUpdaterIcon16x16_jpg_len' was not declared in this scope
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:588:46: note: suggested alternative: 'sdUpdaterIcon15x16_jpg_len'
tft.drawJpg(flashUpdaterIcon16x16_jpg, flashUpdaterIcon16x16_jpg_len, 8, 6, 16, 16);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdUpdaterIcon15x16_jpg_len
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h: In function 'void doFSChecks()':
/Users/jay/Downloads/M5Stack-SD-Updater-1.2.8/examples/M5Stack-SD-Menu/menu.h:964:23: error: 'Flash' has not been declared
factory_partition = Flash::getFactoryPartition();
^~~~~
exit status 1
Compilation error: 'Flash' has not been declared
from m5stack-sd-updater.
if you don't know how to update an arduino library from a repository I suggest you wait for the next release to pop in the library manager
unless you want to contribute there's no need to use the 1.2.8 branch to create your SD-Menu binary or compile your SD-loadable applicationss
from m5stack-sd-updater.
Ok, I did update the library and those were the compile errors but never mind. Im actually attempting to get it working on this device for a project: https://github.com/Freenove/Freenove_Development_Kit_for_ESP32_S3
How feasible do you think this is, if needs be I'd happily pay for help :)
from m5stack-sd-updater.
Freenove devkit does not seem to have a SD Card, I wouldn't recommend that board for a SD-Card based project 😉
from m5stack-sd-updater.
from m5stack-sd-updater.
well good news then 👍
here's a roadmap to get M5Stack-SD-Menu to work on a Freenove devkit:
- establish the pin map (SD card, TFT, Touch, buttons)
- create a board profile (Arduino IDE/platformio)
- create an LGFX config profile
- create an ESP32-Chimera-Core device profile
- add Freenove devkit profile to M5Stack-SD-Menu
- test, test, test!
Freenove devkit is currently sold at ~65€ on amazon in my country but I already spent my monthly budget, so if you want this in october you'll have to either send me a unit or paypal me so I can purchase it myself and start working on a proof of concept.
from m5stack-sd-updater.
Thanks for that, I'll give it a try. If I can't manage it I'll arrange for one to be shipped to you :)
from m5stack-sd-updater.
Related Issues (20)
- [SD-App] Please add simple WiFi Setup app HOT 3
- Provide ready to flash .bin files in github releases page HOT 2
- Suggestion: M5Stack Core2 Compat HOT 9
- M5Stack-SD-Menu does not work on a M5Stack-Faces (SD-Card problem) HOT 14
- Can't compile M5Stack-SD-Updater example - HOT 3
- error compiling HOT 2
- [SD-App] Please add ESP32-BLECollector HOT 2
- [SD-App] please add M5Core2 Currency Converter HOT 1
- [SD-App] Please add monopoldesign's M5Core2_Amiga HOT 1
- [SD-App] Please add WiFiChanViz HOT 1
- [SD-App] Please add ESP32-Tesseract
- SDLauncher: M5Stack core gray + SD <=> LoRa 868 RA-01H bus sharing conflicts HOT 14
- M5 Stack Core2 HOT 2
- Can you add botofancalin- multi app advance HOT 1
- Reporting a vulnerability HOT 1
- __has_include breaks under some conditions HOT 5
- M5Stack.h and SdFat.h combination causes compile error HOT 2
- AXP issue HOT 12
- M5StickC Plus 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m5stack-sd-updater.