Hi, I have tried to install the M5StackSDUpdater on my Core2 with no success, can you please point me to the good version that I should use for flashing and any modifications necessary for this model? Thanks
Dave
Posts made by dave17
-
RE: Uploading .bin program via SD card to Core2
-
vscode+Platformio : typeid error
I'm trying to see the datatype of a variable using typeid but I get the following message:
error: cannot use 'typeid' with -fno-rtti
Apparently this is due to a build flag in Platformio which cannot be changed?
Please advise -
RE: M5Core2 Arduino compiles sketch PlatformIO does not
@felmue
OK thanks, I will try to look into this, I have the impression that it might be due to a different compiler. By the way do you know if it is possible to convert the arduino sketch into code that can be compiled with classical gc++
Thanks -
RE: M5Core2 Arduino compiles sketch PlatformIO does not
Thank-you Felix,
that was helpful, that bit now compiles but I run into another compiling error raised by the ESP8266 libray:
"In file included from .pio/libdeps/m5stack-core2/ESP8266Audio/src/AudioGeneratorMIDI.cpp:65:
.pio/libdeps/m5stack-core2/ESP8266Audio/src/libtinysoundfont/tsf.h: In function 'void tsf_channel_midi_control(tsf*, int, int, int)':
.pio/libdeps/m5stack-core2/ESP8266Audio/src/libtinysoundfont/tsf.h:2100:1: error: insn does not satisfy its constraints:"
Again I don't understand why it does not compile in my VSCode/Platformio frame while it compiles fine in Arduino when I'm using the same version for the M5Core2 and ESP8266Audio libraries.
Does it have to do with the c++ compiler? Is it different between the 2 do the libraries have to be adapted to Platformio even if the have the same version number?
Thanks for your help. -
M5Core2 Arduino compiles sketch PlatformIO does not
Hi I have a nice webradio sketch that compiles fine with Arduino,
I have imported it into VSCode/PlatformIO, and installed the same libraries/versions that I used in Arduino (M5Core2.h and ESP8266.h) but VS code shows a compilation error saying something like:
"lib/M5Core2/src/M5Display.h:117:12: error: 'vector' in namespace 'std' does not name a template type..."
I tried to #include vector.h but it doesn't help?
How come it compiles in Arduino and not in VSCode/Platformio? -
M5Stack Core 2 GUI Library - Arduino
Hi,
I'm looking for a library with APIs allowing to quickly build a GUI using buttons, sliders, menus, etc.
Please advise -
Web radio
I have successfully installed à webradio sketch with Arduino using streaming mp3 flows. I would like to do something similar using micropython’ is that possible?
-
Micropython and C++
Can you run micropython and C++ (arduino) on M5stack using the same firmware? I would like to program with both as some libraries are only available for C++.
Can you launch a C++ script from micropython? I this is possible can you please give details of how to do it?
Thanks -
Several scripts on M5stack Core2
Hi I am new to M5stack, I'm using micropython with uniflow, works well but for the moment I can only run my script replacing main.py. How can you save several scripts (programs) on the device and say select one using a menu?
Thanks -
RE: Monitor serial output in Uiflow
@wsanders I finally succeded, using wiifi for connection to uiflow and cutecom to connect to /dev/ttyUSB0 (on linux) I do get the serial ouput!
Thanks for your advice, any idea on how to implement the socket to do everything via wifi? -
RE: How do I get the exception details in UIFlow?
@ajb2k3
Hi I tried to connect Thonny to my M5stack Core 2 but with no success, I when I set the port to esp32 and /dev/USB0 I get some serial port messages but the device is not recognized and I cannot program it with Thonny. Same with mu.
Can you please help? -
RE: How do I get the exception details in UIFlow?
@go-ozeki said in How do I get the exception details in UIFlow?:
TeraTerm
Hi how do you connect TeraTerm to uniflow? I'm using Uniflow both online and desktop (under linux) but I don't see how to get the console, if I use screen /dev/ttyUSB0 I get the serial output but then uniflow does not work anymore, I do you get both? -
RE: Monitor serial output in Uiflow
@wsanders Thanks for your reply but I don't see any possibility of doing that in uniflow (M5burner) with the online version nor with the Desktop version. When I click on COM it only gives the possibility of chosing /dev/ttyUSB0 or similar and on clue of a console ouput.
As for the socket where do you have to implement that? can you please provide more details and mention if you have evidence that this has been done successfully?
Thanks -
RE: Flow.m5stack.com downtime please read!!!!
I have bien trying to use M5stack core 2 with Thonny but witout success, does not run smoothly
Can you help? -
Monitor serial output in Uiflow
Re: Monitor serial output in Uiflow
Hi, is there a possibility of seeing console output when using UIflow via wifi. This would be important as output is essential for debugging.
Thanks