FU CHEN-WEI
b3f9d70003
sensors/PAG7980: Support PixArt image sensor PAG7920.
...
1. Add a sensor driver for PAG7920.
2. Add PAG7920-related definitions.
2024-04-18 16:59:12 +08:00
iabdalkader
caedd26f51
misc: Bump firmware version.
2024-03-04 18:38:30 +01:00
iabdalkader
834d157008
sensors/GC2145: Fix chip id bug in sensor probe.
2024-02-26 12:33:26 +01:00
iabdalkader
a62d606467
misc: Support using GC2145 and OV5640 at the same time.
...
Both sensors have the same I2C address, so can't be enabled at the
same time. This patch tries to read a byte-sized address first,
if GC2145 chip id is not read back, then it retries reading wide
address. I tested this with RT1060 and H7 and I can detect the OV5640
fine.
2024-02-15 21:01:47 +01:00
Ibrahim Abdelkader
32b7075bc6
Merge pull request #2141 from openmv/sensor_utils_reconfigure
...
ports/all: Add a sensor function to reconfigure hardware if/when needed.
2024-02-12 22:30:19 +02:00
iabdalkader
ebc4c6c831
ports/all: Add a sensor function to reconfigure hardware if/when needed.
...
sensor_dcmi_config function was called every time the pixel format changed,
and typically reconfigured the capture interface. This originated from the
stm32 port, which required reconfiguring the DCMI if the pixel format changed.
However, most ports only require configuring the capture interface once
during initialization (for example nrf, rp2 and mimxrt ports).
The new sensor_config function is called after a setting that may require
reconfiguring the hardware changes, such as such as window size, frame size,
or pixel format. The exact setting that has changed is passed to the function,
allowing ports to decide whether to do a full reconfiguration of the hardware,
or just ignore it based on the changed setting.
2024-02-12 18:32:36 +01:00
Kwabena W. Agyeman
61ec9006bb
hal/sensor_utils: Allow DMA memcpy fallback to CPU.
2024-02-10 10:42:30 -08:00
Kwabena W. Agyeman
7c6105e54c
ports/mimxrt: Use hardware byteswap support.
2024-02-10 10:31:52 -08:00
Ibrahim Abdelkader
3803e7d5fa
Merge pull request #2131 from openmv/refactor_boardconfig
...
misc: Refactor board config files.
2024-02-06 21:23:40 +02:00
iabdalkader
bc5222df03
misc: Refactor board config files.
...
- Rename options more consistently.
- Add OMV prefix to every config option.
- Replace the ST-specific DCMI prefix with CSI.
- Remove the clock source defined in every header to a common enum.
- Remove obsolete board config options.
2024-02-06 21:20:56 +02:00
Ibrahim Abdelkader
bd3aa0494e
Merge pull request #2089 from kwagyeman/kwabena/fix_yuv_shift
...
ports: Add yuv shift to match bayer shift.
2024-02-04 11:37:29 +02:00
iabdalkader
e7087367e3
misc: Add custom board reset function.
2024-02-04 11:07:24 +02:00
iabdalkader
345b80358d
ports/all: Refactor frame buffer line copying code.
2024-02-03 09:07:02 +02:00
iabdalkader
db65ab81d8
ports/all: Refactor frame rate control.
2024-02-03 08:59:52 +02:00
Kwabena W. Agyeman
9b0dc3458a
common/sensor: Add comments about bayer patterns.
2024-02-01 18:12:17 -08:00
Kwabena W. Agyeman
b5d9bbca30
ports: Move first_line and drop_frame to sensor.c.
2024-02-01 17:57:25 -08:00
Kwabena W. Agyeman
018f2eaed1
ports: Move copy_transposed_line to sensor.h.
2024-02-01 17:40:23 -08:00
iabdalkader
d04209e083
hal/omv_i2c: Update I2C flags.
2024-01-31 17:25:14 +02:00
iabdalkader
d478f19326
ports/all: Allow sensor_abort() to be called from different contexts.
...
This patch removes the duplicated `sensor_abort()` logic in the stm32 and mimxrt ports.
This is done by adding a `flush_fifo` argument, which controls the flush operation, and
a `in_irq` argument , which indicates whether `sensor_abort()` is called from within an
IRQ context or not.
2024-01-26 19:42:48 +02:00
iabdalkader
9999e0a9ea
imlib: Combine framebuffer reset and flush.
...
To simplify the API, a single function is now used to flush old
frames only, or reset and drop all frames.
2024-01-26 09:05:45 +02:00
iabdalkader
f42fa85873
ports/all: Remove custom pendsv prototypes.
2024-01-20 10:18:47 +02:00
iabdalkader
8da2436c05
ports/all: Refactor PendSV code.
...
All ports use common PendSV code now, with port-specific
PendSV entries defined in pendsv.h files.
2024-01-20 10:02:56 +02:00
iabdalkader
eec8640d7e
misc: Use LD wrap for redirecting serial data to TinyUSB debug code.
...
Prior to this update, each port had to be patched to call TinyUSB
debugging function. Now these wrappers will call the port's functions
if debugging is not enabled.
2024-01-19 18:09:49 +02:00
iabdalkader
9ac8540ed3
ports/all: Update code to support new CMSIS.
2024-01-16 19:20:09 +02:00
Kwabena W. Agyeman
00500ccdef
modules/sensor: Disable transpose for YUV422 images.
2024-01-12 18:51:27 -08:00
iabdalkader
4e148000be
misc: Bump firmware version.
2023-12-24 21:19:56 +01:00
iabdalkader
ba754186f7
misc: Fix TinyUSB polling.
2023-12-23 15:38:39 +01:00
iabdalkader
eb488a1922
misc: Bump firmware version.
2023-11-29 18:24:20 +01:00
iabdalkader
2fe47234b3
misc: Refactor common boot code.
2023-11-26 17:33:22 +01:00
Kwabena W. Agyeman
55e12f2499
sensors/gc2145: Add support for a wider FoV.
2023-11-17 08:16:22 -05:00
Ibrahim Abdelkader
fb9379e1e1
Merge pull request #1976 from openmv/ff_refactor
...
misc: Refactor file management code.
2023-10-29 11:57:26 +02:00
iabdalkader
364cbce1d7
misc: Fix build when debugging is enabled.
2023-10-17 15:49:17 +02:00
iabdalkader
0a04368528
misc: Refactor file management code.
2023-10-15 17:51:35 +02:00
iabdalkader
2aaff2a24e
misc: Bump firmware version.
2023-10-10 16:05:37 +02:00
iabdalkader
b1f0e0d1c0
misc: Bump firmware version.
2023-10-10 15:40:41 +02:00
Ibrahim Abdelkader
9b5b2476c4
Merge pull request #1938 from kwagyeman/kwabena/sensor_full_control
...
sensors: Add full control.
2023-10-04 20:26:09 +03:00
Kwabena W. Agyeman
abfd430854
sensors/ov7725: Add ioctl to control nightmode.
2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
3fde9542a8
sensors: Add stubs for controlling sensor blc.
2023-10-03 14:18:06 -07:00
iabdalkader
ae327c186d
sensors: Support scanning multiple devices on the camera bus.
...
To support boards that have multiple devices on the camera bus,
the scan now uses a list to return all detected addresses, and
it will check them all for a valid sensor.
2023-09-27 19:00:40 +02:00
Kwabena W. Agyeman
d7687260fe
drivers: Update SPI code to not reconfigure bus dynamically.
2023-09-18 12:36:13 -07:00
Kwabena W. Agyeman
c37260df95
ports/mimxrt: Enable support for all py modules.
2023-09-16 22:24:49 -07:00
Kwabena W. Agyeman
e46776795b
drivers: Upgrade SPI driver to support py drivers on all boards.
2023-09-16 13:21:33 -07:00
luzpaz
971f14daab
misc: Fix typos in src/omw subdirectory
...
Found via `codespell -q 3 -S "*.pgm,*.ppm,./src/hal,./src/drivers" -L als,dout,erro,extint,hsi,inout,ois,paeth,re-use,ser,serie`
2023-09-16 17:01:42 +00:00
Kwabena W. Agyeman
16c9faa179
sensors: Allow disabling settling time delays.
2023-09-10 18:47:57 -07:00
Kwabena W. Agyeman
b1a823f547
drivers: Move alloc alignment macros to the common header.
2023-09-08 10:49:24 -07:00
iabdalkader
8a90e070a8
misc: Bump firmware version.
2023-08-23 18:50:55 +02:00
Kwabena W. Agyeman
2a518eb224
misc: Handle short packets for debug mode in TinyUSB.
2023-07-16 13:31:12 -07:00
iabdalkader
26bd27bdbb
misc: Rename common header.
2023-07-04 12:53:23 +02:00
iabdalkader
35ed56310d
misc: Format code.
2023-07-02 21:49:23 +02:00
iabdalkader
7e355bca88
ports/stm32: Share GPIO IRQ descriptor with other ports.
...
* Move GPIO IRQ descriptor to common HAL to share it with other ports,
and reduce the default descriptor size, while allow ports to add bits.
2023-06-27 18:01:17 +02:00