Commit Graph

16 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
eba2529237 modules/py_helper: Fix error arg_to_image error message typo. 2025-07-04 17:54:22 -07:00
Ibrahim Abdelkader
81dd44aef4
Merge pull request #2735 from openmv/refactor_csi_init
Some checks are pending
🔥 Firmware Build / build-firmware (ARDUINO_GIGA) (push) Waiting to run
🔥 Firmware Build / build-firmware (ARDUINO_NANO_33_BLE_SENSE) (push) Waiting to run
🔥 Firmware Build / build-firmware (ARDUINO_NANO_RP2040_CONNECT) (push) Waiting to run
🔥 Firmware Build / build-firmware (ARDUINO_NICLA_VISION) (push) Waiting to run
🔥 Firmware Build / build-firmware (ARDUINO_PORTENTA_H7) (push) Waiting to run
🔥 Firmware Build / build-firmware (DOCKER) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV2) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV3) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV4) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV4P) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMVPT) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV_AE3) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV_N6) (push) Waiting to run
🔥 Firmware Build / build-firmware (OPENMV_RT1060) (push) Waiting to run
🔥 Firmware Build / code-size-report (push) Blocked by required conditions
🔥 Firmware Build / stable-release (push) Blocked by required conditions
🔥 Firmware Build / development-release (push) Blocked by required conditions
misc: Refactor CSI initialization code.
2025-06-27 22:42:05 +03:00
iabdalkader
4ded9fba91 common: Remove xalloc.
Originally meant to abstract gc_collect but we could just use
m_alloc and friends. Also was meant to provide functions like
alloc0, alloc_maybe etc.. which are all available in MP anyway.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-27 14:50:16 +02:00
Kwabena W. Agyeman
8cd7a309fd modules/py_csi_ng: Implement snapshot() image argument. 2025-06-27 09:30:06 +02:00
iabdalkader
522560a48e 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>
2025-06-25 21:15:20 +02:00
iabdalkader
72410dfc8c common/csi: Add support for multiple CSIs.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-25 10:37:41 +02:00
Kwabena W. Agyeman
3984ec783f ports/stm32: Move VOSPI memory near DMA controller.
On the STM32N6 the DMA memory meant to be used with the SPI bus is
in the low-performance memory domain. Moving the DMA buffers and
linked list buffers there reduces the AHB cycle time by the DMA
controller making it more stable.
2025-06-24 10:19:31 -07:00
Kwabena W. Agyeman
c758b71040 drivers/sensors/lepton: Fix refresh and resolution attributes. 2025-06-23 14:49:37 -07:00
Kwabena W. Agyeman
8e543c2a96 lib/imlib: Refactor fill_image_from_lepton out of py_fir_lepton. 2025-06-23 14:49:37 -07:00
Kwabena W. Agyeman
7e77155551 modules/py_spi_display: Reduce timeout from max to 5 seconds. 2025-06-18 12:39:20 -07:00
Kwabena W. Agyeman
eb2276e476 modules: Update SPIDisplay to allow LCD controllers to override commands. 2025-06-18 12:37:51 -07:00
iabdalkader
4c1e525d5a modules/spi_display: Disable SPI DMA mode if not supported.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-16 14:10:48 +02:00
iabdalkader
71689c4a4f modules: Refactor framebuffer API to accept a context.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-26 16:29:30 +03:00
iabdalkader
59a1db0088 modules/py_imu: Fix I2C mode. 2025-04-24 12:31:08 +02:00
iabdalkader
a5605401d5 modules/py_fir_lepton: Use CS pin stored in SPI bus.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-22 11:18:30 +02:00
iabdalkader
daf2bb30da misc: Restructure repo.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-13 08:28:34 +02:00