symisc / sod

An Embedded Computer Vision & Machine Learning Library (CPU Optimized & IoT Capable)
https://sod.pixlab.io
Other
1.75k stars 213 forks source link

How to solve the problem that the dynamic memory can not be applied for on the SCM(stm32 and tc264)? #30

Closed shuo-Liu closed 3 years ago

shuo-Liu commented 3 years ago

How to solve the problem that the dynamic memory can not be applied for on the SCM(stm32 and tc264)?

symisc commented 3 years ago

You can allocate sod_img and sod_realnets on the stack and use a global buffer pool to mimic malloc() behavior