felixwrt / sml-rs

Smart Message Language parser written in Rust
Other
11 stars 3 forks source link

DefaultArrayBuf is too large for an esp32 stack #32

Closed thinkrapido closed 1 week ago

thinkrapido commented 4 months ago

https://github.com/felixwrt/sml-rs/blame/b2b98edf0a92fe0d137e8f4302bf9776f4ac698d/src/lib.rs#L482

Place the buffer on the heap

thinkrapido commented 4 months ago

2 * 1024 is appropriate, but I think this won't store all the data.

felixwrt commented 4 months ago

There's two options here:

felixwrt commented 1 week ago

Hi Romeo, I'm closing this issue as I haven't heard back from you. Feel free to reopen if you still have issues with the lib.