Difference: CustomNopMicroPython (6 vs. 7)

Revision 72022-09-22 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="TinyML"

Preparing a custom version of MicroPython with TensorFlow

Introduction

Line: 30 to 30
 
    • make
  • cd .. (the micropython folder of tflite-micro-micropython)
    • git apply ../boards/esp32/MICROLITE_SPIRAM_CAM/micropython.patch
      MicroPython allocates the full SPIRAM installed on the esp32-cam module for its heap. However, the esp32-camera driver needs some SPIRAM for its image buffer. The patch modifies main.c in micropython/ports/esp32 such that part of the SPIRAM is kept free for the camera driver.
Changed:
<
<
  • cd boards/esp32/MICROLITE_SPIRAM_16M (when using the TTGO T7 Mini32 V1.5 ESP32-WROVER-B CPU board)
>
>
  • cd boards/esp32/MICROLITE_SPIRAM_16M (when using the TTGO T7 Mini32 V1.5 ESP32-WROVER-B CPU board) or
    cd boards/esp32/MICROLITE_SPIRAM_CAM when using the esp32-cam module
 
    • idf.py clean build (this builds the MicroPython firmware)
  • flash the custom MicroPython interpreter
    • idf.py flash
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback