The FOMO model runs perfectly fine on the Portenta, but when I try to light up the
LED_BUILTIN, it gives the
Failed to allocate TFLite arena error.
The example code gives the following solution:
** NOTE: If you run into TFLite arena allocation issue. ** ** This may be due to may dynamic memory fragmentation. ** Try defining "-DEI_CLASSIFIER_ALLOCATION_STATIC" in boards.local.txt (create ** if it doesn't exist) and copy this file to ** `<ARDUINO_CORE_INSTALL_PATH>/arduino/hardware/<mbed_core>/<core_version>/`. ** ** See ** (https://support.arduino.cc/hc/en-us/articles/360012076960-Where-are-the-installed-cores-located-) ** to find where Arduino installs cores on your machine. **
I was successful in finding where it is located (even though the link does not work), but I am not sure how to edit the file, because the file expects a