ODROID-GO compatible M5STACK Library

Moderators: mdrjr, odroid

ODROID-GO compatible M5STACK Library

Unread postby Kabron » Fri Jul 27, 2018 1:52 am

I modified native arduino M5STACK library to suite both M5STACK and ODROID-GO.
Look in the examples folder.
Also read comments in M5Stack.h
Tested with VisualMicro for Visual Studuo

Could not upload via forum engine, so take it here:
https://yadi.sk/d/0wo7ympO3Zc6RT

odroid.jpg
odroid.jpg (82.45 KiB) Viewed 788 times

odroid1.jpg
odroid1.jpg (104.26 KiB) Viewed 788 times
Kabron
 
Posts: 45
Joined: Sun Feb 24, 2013 9:01 pm
languages_spoken: english
ODROIDs: U2, ODROID-GO

Re: ODROID-GO compatible M5STACK Library

Unread postby mad_ady » Fri Aug 10, 2018 3:18 pm

Not sure how I missed this - great!
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID-GO compatible M5STACK Library

Unread postby jutleys » Sun Aug 12, 2018 6:33 pm

where do you place the files on root of sd?
jutleys
 
Posts: 51
Joined: Fri Jul 20, 2018 1:06 am
languages_spoken: english
ODROIDs: Odroid Go

Re: ODROID-GO compatible M5STACK Library

Unread postby Kabron » Sun Aug 12, 2018 7:22 pm

jutleys wrote:where do you place the files on root of sd?

Copy content of the folder
M5Stack-0.2.0\examples\SD_Menu\SD_content_ODROID-GO
directly to SD card root
Kabron
 
Posts: 45
Joined: Sun Feb 24, 2013 9:01 pm
languages_spoken: english
ODROIDs: U2, ODROID-GO

Re: ODROID-GO compatible M5STACK Library

Unread postby mad_ady » Tue Aug 14, 2018 11:16 pm

In order to launch the apps, I'm guessing one needs to flash them or create fw versions of them, right?
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID-GO compatible M5STACK Library

Unread postby Kabron » Tue Aug 14, 2018 11:38 pm

mad_ady wrote:In order to launch the apps, I'm guessing one needs to flash them or create fw versions of them, right?

You only need to compile and flash any one of the applications(e.g. SD menu) and copy SD_content folder to SD card.
Then turn on device with btnA pressed. (Not need in case SD menu flashed) SD menu app loaded from SD and present disk menu.
In the future to add new application you only need to add in code
#include "M5StackUpdater.h"
and
if (digitalRead(BUTTON_A_PIN) == 0) {
Serial.println("Setup Will Load menu binary");
updateFromFS(SD, "/menu.bin");
ESP.restart();
}
Details:
https://github.com/tobozo/M5Stack-SD-Updater
Kabron
 
Posts: 45
Joined: Sun Feb 24, 2013 9:01 pm
languages_spoken: english
ODROIDs: U2, ODROID-GO

Re: ODROID-GO compatible M5STACK Library

Unread postby mad_ady » Wed Aug 15, 2018 12:20 am

Thanks, I'll give it a try
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID-GO compatible M5STACK Library

Unread postby mad_ady » Thu Aug 16, 2018 11:19 pm

I've made some quick fw files from the bins you provided. You can get them here: https://mega.nz/#F!o8pVWLJT!U5TCD1WWSmXLqKYIqXRtFg and flash them like a regular emulator.

Some notes:
*menu.bin: Navigation with the Menu key. A - info, B - Load. Does not actually load the other apps (saved them as bin on the root of the SD).
*PacketMonitor: Has a buzz from the speaker. Start changes channel.
*MultiApp: Menu - left arrow. B = Select, A - right arrow. Has a mini file manager and can open jpg files. Works really nice
*Pacman: Screen is garbled (like color static)
*PacMon: Start changes channels
*WifiAnalyzer: Looks pretty neat. Has no controls. Has a buzz from the speaker.
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID-GO compatible M5STACK Library

Unread postby fixmero » Sun Aug 19, 2018 6:23 am

awesome job. thanks for this port :)

works fine, only button mapping seems to be wrong, maybe you could check this.
and can you please give a little introducing how you did compile this binarys? what tools are needed?

thanks in advance
fixmero
 
Posts: 1
Joined: Sun Aug 19, 2018 6:15 am
languages_spoken: english
ODROIDs: GO

Re: ODROID-GO compatible M5STACK Library

Unread postby Calin » Thu Sep 13, 2018 1:31 pm

I am the author of M5Stack MultiApp.
I just got the Odroid-Go...
Now i can adapt the multiApp to work properly on it.
Calin
 
Posts: 1
Joined: Thu Sep 13, 2018 1:24 pm
languages_spoken: english
ODROIDs: Odroid-Go

Re: ODROID-GO compatible M5STACK Library

Unread postby mad_ady » Thu Sep 13, 2018 1:40 pm

We're looking forward to it, thanks!
User avatar
mad_ady
 
Posts: 4430
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID-GO compatible M5STACK Library

Unread postby danhans42 » Thu Sep 13, 2018 10:41 pm

Possible daft question...

Can this be used to flash standard IDF files or is it just for binaries built using the M5stack arduino libaries?

Thanks
danhans42
 
Posts: 19
Joined: Thu Jun 30, 2016 4:38 am
languages_spoken: english
ODROIDs: C2


Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest