All fixed, many thanks MicroController...
Now to make it useful...
Search found 4 matches
- Tue Sep 12, 2023 1:43 pm
- Forum: General Discussion
- Topic: Stack issue
- Replies: 7
- Views: 2098
- Tue Sep 12, 2023 9:58 am
- Forum: General Discussion
- Topic: Stack issue
- Replies: 7
- Views: 2098
Re: Stack issue
To be honest, I did suspect something on those lines, it makes perfect sense but, I haven't coded in years and had convinced myself is was something to do with string manipulation, or my lack of knowledge of modern coding techniques, or the Cat...
Many thanks, I will fix it...
Mike
Many thanks, I will fix it...
Mike
- Tue Sep 12, 2023 4:11 am
- Forum: General Discussion
- Topic: Stack issue
- Replies: 7
- Views: 2098
Re: Stack issue
I have changed it a little, here's the code... void printStack(char *mytxt) { char *SpStart = NULL; char *StackPtrAtStart = (char *)&SpStart; UBaseType_t watermarkStart = uxTaskGetStackHighWaterMark(NULL); char *StackPtrEnd = StackPtrAtStart - watermarkStart; if(stacktot == 0) { stackori = stacktot ...
- Mon Sep 11, 2023 12:53 pm
- Forum: General Discussion
- Topic: Stack issue
- Replies: 7
- Views: 2098
Stack issue
In a recent project I noticed my board resets after 18 touch events/processes. Basically I use Makerfabs-ESP32-S3-SPI-TFT-with-Touch board and a mixed bag of example code to produce a Macro Keyboard. It works perfectly for about 18 button(touch) presses but then resets (I run out of Stack). Chances ...