Skip to content

Instantly share code, notes, and snippets.

// Include the header file to get access to the MicroPython API
//#include "lib/libc/string0.c"
// Code adapted from https://github.com/espressif/esp32-camera
#include "esp_camera.h"
#include "esp_log.h"
#include "py/nlr.h"
#include "py/obj.h"
# Location of top-level MicroPython directory
ESP_IDF_DIR = $HOME/esp/esp-idf/
# Name of module
MOD = test
# Source files (.c or .py)
SRC = test.c
# Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
// Include the header file to get access to the MicroPython API
#include "py/dynruntime.h"
// Code adapted from https://github.com/espressif/esp32-camera
#include "esp_camera.h"
#include "esp_log.h"
#include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"