modules/py_csi_ng: Add new CSI API.

A modern API that supports multiple CSI instances.
The API is a work in progress and is not backwards
compatible, but it can be enabled and used at the
same time as the old "sensor" module.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
iabdalkader 2025-05-16 09:55:06 +03:00
parent 00bfd6f38f
commit 522560a48e
2 changed files with 1516 additions and 0 deletions

View File

@ -138,6 +138,11 @@ MPY_CFLAGS += -DMICROPY_PY_CSI=1
MPY_MKARGS += MICROPY_PY_CSI=1
endif
ifeq ($(MICROPY_PY_CSI_NG), 1)
MPY_CFLAGS += -DMICROPY_PY_CSI_NG=1
MPY_MKARGS += MICROPY_PY_CSI_NG=1
endif
ifeq ($(MICROPY_PY_FIR), 1)
MPY_CFLAGS += -DMICROPY_PY_FIR=1
MPY_MKARGS += MICROPY_PY_FIR=1

1511
modules/py_csi_ng.c Normal file

File diff suppressed because it is too large Load Diff