-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TFT_eSprite drawString is crash #83
Comments
This example is no problem by the character size is between 2 and 8 .
If folloow modification is bad.
|
I investigated. *int16_t TFT_eSPI::drawString(const char string, int32_t poX, int32_t poY, uint8_t font) When specifying the "uint8_t font" value, there is no problem between 2 and 8. My Trouble Source Code
https://gist.github.com/anoken/8ef9355e6945080b37fed12d6edb1e94 Crash Point TFT_eSPI::textWidth(const char *string, uint8_t font) If "uint8_t font" value between 2 and 8 is follow process. This is No problem. But, If "uint8_t font" value1 or 9 is follow process. This is crash point. And, M5Stack is No problem. |
Hi, I found that the root cause of this issue is just initialization code of Adding |
@ciniml your workaround worked for me - thanks! |
Kernel panic occurs when the size of drawString is set to 1 in TFT_eSprite.
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
There is no problem if the character size is 2 or more.
I use
・arduino-esp ver 1.04
・m5stickc libs in adrduino ver 0.1.1
The text was updated successfully, but these errors were encountered: