@Handcannon Well the Core and Core2 will no longer compile in Arduino IDE with the latest board def, 3.12 and M5Stack says it is a 'me' problem and recommend I use an earlier revision.

Posts made by teastain
-
RE: Uiflow 2.0 2.3.1
-
Trying to compile Core example from M5Stack github
I am trying to compile the Core Basic example from M5Stack github examples:
https://github.com/m5stack/M5Stack/blob/master/examples/Basics/Button/Button.inoI keep getting this error"
Arduino/libraries/M5Stack/src/utility/pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory 31 | #include <rom/miniz.h> | ^~~~~~~~~~~~~ compilation terminated. exit status 1 Compilation error: exit status 1
Because of this I recently erased my entire Arduino IDE down to the Arduino15 folder and only reinstalled the latest:
Arduino IDE ver2.3.6 and
esp32 boards 3.2.0 and
M5Stack boards 3.2.1
libraries:
M5Stack latest ver 0.4.6 and all other required dependancies.If...(and this is NOT the answer)...I revert to the old M5Stack boards 2.1.4, it compiles correctly. (and this is NOT the answer).
I keep my Arduino IDE environment up-to-date, but I have to be carful to not allow the M5Stack boards to update to current.
This is most tedious.
What can I do to permanently resolve this, going forward...without downgrading to an old M5Stack boards def like 2.1.4.
(This effects Core2, btw)
?How to install rom/miniz and compile OK?
Cheers, Terry
(@felmue do you have any ideas?) -
RE: Magnet on M5stickC Plus2
@felmue This community website seems to have a problem with AI bots offering useless information as if they did not even read or understand the users question..
This is the second one in a few weeks.
-
rom/miniz.h error still occurs when compiling for Core with board def 3.2.x
Only since the board def "updated" automatically from ver 2.1.4 to ver 3.2.x, I cannot compile my trusty, dusty Core Basic (Or Core2).
/Arduino/libraries/M5Stack/src/utility/pngle.c:31:10: fatal error: rom/miniz.h: No such file or directory
If I downgrade to 2.1.x it compiles as usual for 5 years running.
I found this on google:
https://www.gonnalearn.com/from-miniz-h-compilation-error-m5stack-arduino/
and there have been some other reports on this very community site.
https://community.m5stack.com/topic/7569/issue-with-core2-libraryMy Arduino IDE ver2.3.6 asks me EVERY DAY to upgrade to M5Stack board def 3.2.x.
This is getting tedious. Ver 3.2.1 recently added did not help.Is M5Stack abandoning the older Cores?
-
RE: M5 GNSS module with ESP32 board
@alexcap Did you take it outside and wait 12 minutes?
-
RE: ATOMS3R accelerometer and gyro readings always 0
@toffifee The raw outputs are beyond the ken of mortal man, except Accel which can easily be observed by placing it on a stationary level surface and observing that the accel values are stationary and one of the axes, usually Z is showing 1.00 (gravity).
Roll it onto its side and the 1.00 should move to another axis.
The other two outputs Gyro and Mag are best left to a positioning algorithm. -
RE: M5StickC not powering on after charging, Warning 22 when USB connected
@ren072 Sounds like the battery has expired, this is an older StickC!
It happened to me and later on a StickC Plus. -
RE: UNIT-EARTH with a M5Stack Core - Proper Pin?
@wwhite Did you plug the UNIT into the red socket on the left side?
These inputs are: 21 and 22.
You could plug it into the discrete I/Os around the base on the right side where you will find 26 and 36. -
RE: Не работает нижний порт
@nemelesic "Bruce" is hacking software and such is illegal.
-
RE: Cannot compile Core Basic or Core2 with M5Stack board def 3.20
@kuriko Thank you!
I will use 2.14 for now. -
RE: Cannot compile Core Basic or Core2 with M5Stack board def 3.20
@kuriko Why not fix ver3.20?
Add rom/miniz.h where it needs to be.
I try to keep my Arduino IDE setup up-to-date but now it reminds me that 3.20 is available and I may need it for newer Tab products?
We need customer support not frustrating answers.
Technically all of the Arduino IDE examples in YOUR M5Stack Github GitHub for Core and Core2 won't work.
e.g. https://github.com/m5stack/M5Core2/tree/master/examples
Are you saying that older M5Stack models are no longer supported? -
Cannot compile Core Basic or Core2 with M5Stack board def 3.20
After 'letting' Arduino IDE update a bunch of boards and libraries...
I cannot compile Core Basic or Core2 with M5Stack board def 3.20
I get;
fatal error: rom/miniz.h: No such file or directoryI updated every relevant file but the best fix was revert to M5Stack boards to ver 2.14
Therefore
3.20 was the problem.The IDE is now asking me to update to ver 3.20!
I asked Chat.M5Stack and it was not helpful.
I contacted M5Stack support and they just told me the problem is mine... -
RE: Using WiFi on Tab5 with the Arduino IDE
@smily77 said in Using WiFi on Tab5 with the Arduino IDE:
M5Stack Package 3.2.0
This board pkg (3.20) seems to be broken for many of us.
We have had to revert to ver2.14 and I have notified M5Stack support.Try reverting and see.
If still a problem make a simpler de-bug version of your sketch and add complications. -
RE: issue with CORE2 library
@Dan-Perren Me too!
After 'letting' Arduino IDE update a bunch of boards and libraries...
It started to happen.
fatal error: rom/miniz.h: No such file or directoryBest fix was revert to M5Stack boards to ver 2.14
(3.20 was the problem.)
cheers -
RE: drawString() - positioning confusion
@TomKatt BTW, I love your Blown Away by Maxell.
The ‘Canvas’ is M5’s name for TFT_eSPI !
Keep up the good work! -
RE: drawString() - positioning confusion
@TomKatt Sure, there's lots of us here.
You have to consider the world is on a 24hr cycle.
I would help you but it would not be what you want.
This is TFT_eSPI one of the most famous graphics drivers:
GFX, LVGL, TFT_eSPI .
LOTS of reference and examples.
As I said you have a M5StampS3 which is an ESP32 S3 wth a ST7789V2 LCD, also very common. All small M5Stack products use it. The one from the CardPuter will work in an old StickCPlus.
Here is the Canvas API:
https://docs.m5stack.com/en/arduino/m5gfx/m5gfx_canvasHave you tried replacing
DinMeter.Display.width() / 2, DinMeter.Display.height() / 2);
with literals, like 50, 50?
Experiment, research, have fun. -
RE: Stamp-C3 update thru pins (pinout question)
@davekc You doubt him at your peril, Sir!