Page 1 of 1

Flashing a TFLite micro model to memory mapped PSRAM

Posted: Thu Oct 27, 2022 9:43 pm
by kh13824
Hello, I am new to ESP-IDF and I am currently working with the ESP32-S3. I am using the VSCode C++ Espressif environment and trying to allocate an large (2.5MB) unsigned char array (which corresponds to a machine learning model in TFLite) to a section of PSRAM. I would like to have this model accessible using TFLite's GetModel function. I have tried using malloc and working around in C but I feel like I am making this more complicated then it should be. Could anybody guide me in the right direction? Please let me know if you need anymore information.