Increase Stack Size (Stack Canary exception on Loop Task)

czuvich
Posts: 36
Joined: Tue Sep 04, 2018 1:58 am

Increase Stack Size (Stack Canary exception on Loop Task)

Postby czuvich » Wed Dec 12, 2018 5:28 pm

Chip: ESP32 WROVER-B Dev Kit
IDE: Arduino

I'm getting Stack canary watchpoint triggered (loop task) while running some WiFi code on Arduino. I'm guessing it's due to the HTTP JSON serialization/deserialization routines; however, the allocations are not that large. I'm even using using std::vector... anyways.

Is there a way to increase the stack size allocation for the loop task in Arduino? (or at all)

czuvich
Posts: 36
Joined: Tue Sep 04, 2018 1:58 am

Re: Increase Stack Size (Stack Canary exception on Loop Task)

Postby czuvich » Wed Dec 12, 2018 5:47 pm

I'm barking up the wrong tree here... I moved my HTTP code to a task, and I was able to get it working just fine. This chip rocks!

Who is online

Users browsing this forum: Baidu [Spider] and 43 guests