#define MICROPY_HW_BOARD_NAME "ESP32S3 module (spiram octal)"
#define MICROPY_HW_MCU_NAME "ESP32S3"
#define MICROPY_PY_MACHINE_DAC (0)
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
#define MICROPY_HW_ENABLE_UART_REPL (1)
#define MICROPY_HW_I2C0_SCL (9)
#define MICROPY_HW_I2C0_SDA (8)
// Enable camera
#define MODULE_CAMERA_ENABLED (1)
// The offset only has an effect if a board has psram
// it allows the start of the range allocated to
#define MICROPY_ALLOCATE_HEAP_USING_MALLOC (1)
#define MICROPY_HEAP_SIZE_REDUCTION (512 * 1024)
cd micropython/micropython/ports/esp32
make BOARD=GENERIC_S3_SPIRAM_OCT USER_C_MODULES=/Users/HonestQiao/micropython/micropython/examples/usercmodule/cam/micropython.cmake PORT=/dev/cu.usbmodem14101 clean
make BOARD=GENERIC_S3_SPIRAM_OCT USER_C_MODULES=/Users/HonestQiao/micropython/micropython/examples/usercmodule/cam/micropython.cmake PORT=/dev/cu.usbmodem14101 all deploy
micropython/micropython/ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/sdkconfig.board:
micropython/micropython/ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.h
micropython/examples/usercmodule/cam/modcamera:
build:
build and flash log: make_camera.log
but there doesn't has a camera module:
no "camera" in the list.
import camera
will throw error.