iabdalkader
25b7b8cbb2
ports/stm32: Add support for multiple CSIs.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-25 21:15:24 +02:00
Kwabena W. Agyeman
c4795d3191
ports/stm32: Increase SPI DMA efficency.
...
The SPI fifo triggers a request when it has 4-bytes of data allowing
for more efficent bus usage. The same technique is used on the H7
to reduce system bus matrix resources.
2025-06-24 10:19:31 -07: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
fc0cc40a31
drivers/sensors/lepton: Update lepton driver with asynchronous fb.
...
The FLIR Lepton driver now continously receives frames in the background
that are stored in allocated frame buffers. On snapshot the stored frame
is post-processed to produce a color an image.
* Transpose now works allowing for image rotation with IMU.
* Bilinear scaling is now used when drawing at a higher res.
2025-06-24 10:19:29 -07:00
Kwabena W. Agyeman
89d60c8002
ports/stm32: Add missing init bits to fix glitches.
2025-06-23 14:40:11 -07:00
Kwabena W. Agyeman
1dece0b461
ports/stm32: Fully implement N6 GPU driver for draw_image.
2025-06-23 14:29:32 -07:00
Kwabena W. Agyeman
8f81f16963
ports/stm32: Fix NEMA GPU driver.
...
* You have to clean and invalidate the destination image so that
the processor writes out the full image and so that the processor
doesn't flush cache lines ontop of the GPU writing the image.
* The ICACHE doesn't automatically flush itself after a draw operation.
Depending on the situation, it will just hold the entire source
image internally and never read it again. In particular, when
scaling something like 160x120 it just caches the whole image
and never reads it again.
2025-06-23 12:34:41 -07:00
iabdalkader
43c6b6c5fd
ports/stm32: Fix GPU drawing offset.
2025-06-23 12:34:41 -07:00
iabdalkader
b04f2fcf6a
ports/all: Refactor CSI I2C bus.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 14:14:02 +02:00
iabdalkader
e5178be046
ports/stm32: Reset pipes states on abort.
...
HAL STOP doesn't seem to do so.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 13:04:45 +02:00
iabdalkader
19f818c49f
ports/alif: Refactor CSI.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 12:49:57 +02:00
iabdalkader
fef2e1dc8b
ports/stm32: Refactor CSI.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 12:41:25 +02:00
iabdalkader
6cfd8dd82b
ports/nrf: Refactor CSI.
2025-06-23 12:41:21 +02:00
iabdalkader
f1286053e9
ports/mimxrt: Refactor CSI.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 12:41:16 +02:00
iabdalkader
7db2782d4b
ports/rp2: Refactor csi.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-23 12:41:16 +02:00
iabdalkader
f2823a53c1
misc: Disable rtl-loop2_doloop for M55.
...
Current toolchains are broken.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-20 14:20:55 +02:00
Kwabena W. Agyeman
acd4506e5a
ports/stm32: Fix missing sleep clocks.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-20 14:20:52 +02:00
iabdalkader
deba7c05a6
modules/py_audio: Add support for MDF.
2025-06-19 16:24:38 +02:00
iabdalkader
6793761eb8
ports/stm32: N6 support.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-19 16:13:14 +02:00
Kwabena W. Agyeman
8c842d1306
ports/alif: Fix SPI default clock polarity to match other ports.
2025-06-17 15:29:01 -07:00
iabdalkader
ef44dbc03f
micropython: Update submodule.
...
Add support for Alif machine_pin IRQ.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-17 18:28:50 +02:00
iabdalkader
6261074439
ports/alif: Disable SPI DMA mode.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-16 14:10:43 +02:00
iabdalkader
c6e8b499b9
ports/alif: Implement spi_transfer with poll and timeout.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-16 14:01:39 +02:00
Sighthesia
59e36120d9
ports: Add conditional compilation for py_fir_init0()
2025-06-10 22:57:31 +08:00
iabdalkader
7be7bb3ded
ports/stm32: Make dma handle static.
2025-06-07 16:34:54 +02:00
iabdalkader
333eea86da
modules/py_display: Pass DT to display controller initializer.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-02 16:11:59 +02:00
iabdalkader
6ddc772c2f
modules/py_display: Use board-defined DSI PLL config.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-02 10:01:24 +02:00
iabdalkader
bbb2c2b8fc
ports/alif: Define sign_alt flag.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-01 10:11:59 +02:00
iabdalkader
ec1ead267d
ports/mimxrt: Define sign_alt flag.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-01 10:11:59 +02:00
iabdalkader
009ca76049
ports/stm32: Define sign_alt flag.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-01 10:11:55 +02:00
Kwabena W. Agyeman
aeda4eb09c
ports/mimxrt: Fix unitialized edma_config fb pointer.
2025-05-05 15:34:22 -07:00
iabdalkader
78d1db2e81
ports/alif: Remove old event poll macro.
2025-05-05 17:17:07 +03:00
Kwabena W. Agyeman
1c377a506e
ports/alif: Change HP U55 config to SRAM_OPSI.
...
The correct performance information should be reported now when compiling the HP ROMFS img.
2025-04-27 14:56:45 -07:00
iabdalkader
7e668073e7
ports/nrf: Refactor framebuffer API to accept a context.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-27 09:04:30 +03:00
iabdalkader
5b412cf953
ports/rp2: Refactor framebuffer API to accept a context.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-27 09:04:30 +03:00
iabdalkader
a421777d42
ports/alif: Refactor framebuffer API to accept a context.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-27 09:04:27 +03:00
iabdalkader
168631e890
ports/mimxrt: Refactor framebuffer API to accept a context.
2025-04-26 16:29:30 +03:00
iabdalkader
d15d13ac41
ports/stm32: Refactor framebuffer API to accept a context.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-26 16:29:30 +03:00
iabdalkader
38e9cddad7
ports/nrf: Fix build.
2025-04-15 20:23:31 +02:00
iabdalkader
8ea48daf61
ports/stm32: Fix build.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-15 20:23:31 +02:00
iabdalkader
2e760d50cb
ports/mimxrt: Fix build.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-15 20:23:31 +02:00
iabdalkader
3147ca3f3b
ports/alif: Fix build.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-15 20:23:27 +02:00
iabdalkader
b4820a1541
ports/rp2: Fix build.
2025-04-15 18:54:11 +02:00
iabdalkader
4772ff2f27
misc: Refactor Makefiles.
...
Remove old Makefiles and replace with Makefile fragments.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-15 18:54:04 +02:00
iabdalkader
daf2bb30da
misc: Restructure repo.
...
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-13 08:28:34 +02:00