This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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" |