esp-rs / esp-template

A minimal esp-hal application template for use with cargo-generate
Apache License 2.0
136 stars 27 forks source link

Add DebugAssist option for protecting memory on C3 #129

Open georgik opened 9 months ago

georgik commented 9 months ago

C3 has very little memory. When people are porting applications or adding new crates they might run into memory problems. Consider introducing DebugAssist to the template to simplify steps when porting application to C3.

Sample code: https://github.com/georgik/esp32-memory-limit/blob/main/examples/12-alloc-stack-overflow-protection.rs#L37

bjoernQ commented 6 months ago

Maybe #146 is an even easier way to get a similar experience (and much easier to implement in the template)