Commit Graph

173 Commits

Author SHA1 Message Date
iabdalkader
c28958e04e Replace sensor flags with bit fields.
* Much easier to manipulate and saves some memory.
2021-09-04 22:04:31 +02:00
iabdalkader
2bce479868 Bump firmware version. 2021-08-27 15:12:52 +02:00
iabdalkader
83c0ee97ce Fix set_framerate. 2021-08-24 23:00:46 +02:00
iabdalkader
ad96d3e68d Enable text compression and fix all exception issues. 2021-08-11 16:24:45 +02:00
iabdalkader
c6d0ec9d25 Fix sensor.read_reg 2021-08-06 17:45:24 +02:00
iabdalkader
bd245546b7 Bump firmware version. 2021-08-02 22:47:12 +02:00
iabdalkader
af1772a2ac Add cambus_enable function. 2021-07-31 21:48:23 +02:00
iabdalkader
5ed5671423 Allow sensor_utils probe_init to take bus id/speed args. 2021-07-15 20:59:58 +02:00
iabdalkader
0491a6a884 Add sensor error codes. 2021-07-01 20:51:42 +02:00
iabdalkader
a700397b07 Move common image sensor driver code to a common file.
* Provide image sensor driver utility functions that can be used by all ports.
* Provide default (weak) functions that can be replaced by port-specific drivers.
2021-06-29 21:37:05 +02:00
iabdalkader
5a1d74d5eb Rename dcmi/dma config functions. 2021-06-29 16:34:32 +02:00
iabdalkader
0da5002b79 Rename sensor functions for consistency across ports. 2021-06-29 14:36:19 +02:00
iabdalkader
25525aaf11 Rename dcmi_abort to sensor_abort. 2021-06-25 00:05:33 +02:00
iabdalkader
012313b791 Bump firmware version. 2021-06-19 22:47:57 +02:00
Kwabena W. Agyeman
f06fce870d Finish MT9M114 driver 2021-06-19 12:08:49 -07:00
Ibrahim Abd Elkader
ce22083930
Merge pull request #1367 from kwagyeman/kwabena/mt9m114_driver_finishing
Add method to get actual xclk freq
2021-06-16 22:53:55 +02:00
Lake Fu
15264b7dac
Support PixArt image sensor PAJ6100 (#1365)
* Support PixArt image sensor PAJ6100
2021-06-16 22:45:14 +02:00
Kwabena W. Agyeman
a1c2ef7612 Add method to get actual xclk freq 2021-06-15 21:32:43 -07:00
Kwabena W. Agyeman
b3d2d5484c Update MT9M114 driver to work 2021-06-13 19:32:34 -07:00
Ibrahim Abd Elkader
a7f2a6fcab
Merge pull request #1356 from kwagyeman/kwabena/make_frame_rate_control_work
Add working frame rate control for all sensors to STM32
2021-06-09 19:41:00 +02:00
Ibrahim Abd Elkader
a3c7d65f26
Merge pull request #1353 from kwagyeman/kwabena/disable_auto_flush
Add disable full flush logic
2021-06-09 19:04:01 +02:00
Kwabena W. Agyeman
8ec2fbcb70 Add feature to disable the full flush on the frame buffer 2021-06-08 21:48:28 -07:00
Kwabena W. Agyeman
9124d765a9 set_frame_rate now works for any FPS 2021-06-08 21:16:53 -07:00
Ibrahim Abd Elkader
af79b8c3cf
Merge pull request #1355 from kwagyeman/kwabena/add_missing_resolutions
Add missing resolutions to sensor driver
2021-06-08 21:20:12 +02:00
Kwabena W. Agyeman
20546fc7bc Add missing resolutions to sensor driver 2021-06-07 12:12:15 -07:00
Kwabena W. Agyeman
5669011efc Fix RGB565 byte reversal flag name 2021-06-07 11:57:14 -07:00
iabdalkader
b0f36d4d0e Bump firmware version. 2021-05-27 20:36:43 +02:00
iabdalkader
6f02fa2114 Fix mutex locking. 2021-05-21 23:17:40 +02:00
iabdalkader
dcc2e1cad7 Use pre-defined GCC macro to test for the architecture.
* CPU macro was not actually defined, which made the test pass on all MCUs.
2021-05-16 22:29:26 +02:00
iabdalkader
974e2efa34 Rename mutex_t to avoid conflict with other SDKs. 2021-05-14 22:39:12 +02:00
iabdalkader
5810304023 Add basic GC2145 driver 2021-05-14 01:30:47 +02:00
iabdalkader
606c0691d1 Bump firmware version. 2021-05-13 23:38:23 +02:00
iabdalkader
5d3e2c60c2 Bump firmware version. 2021-05-13 23:08:24 +02:00
Ibrahim Abd Elkader
9935547b2c
Merge pull request #1311 from kwagyeman/kwabena/fix_usbdbg_flush
Fix usbdbg flushing before script end
2021-05-13 22:24:25 +02:00
Kwabena W. Agyeman
d1b6202693 Fixed usb command draining 2021-05-13 12:50:52 -07:00
iabdalkader
dbc467f928 Fix reset to bootloader command.
* Set RTC magic only for boards that need it.
2021-05-13 21:34:08 +02:00
iabdalkader
ed43bd58c0 Make mutex support Cortex-M0/M0+ 2021-05-12 23:19:10 +02:00
Ibrahim Abd Elkader
381e6257ef
Merge pull request #1304 from kwagyeman/kwabena/frame_cb
Add frame complete callback support
2021-05-10 02:19:52 +02:00
Ibrahim Abd Elkader
571ed1f466
Merge pull request #1302 from kwagyeman/kwabena/add_priority_to_locking
Make frame buffer readout locking more fair
2021-05-08 02:02:56 +02:00
Kwabena W. Agyeman
94462ef746 Add frame complete callback support 2021-05-06 21:12:48 -07:00
Kwabena W. Agyeman
8150459399 Make frame buffer readout locking more fair 2021-05-04 22:02:14 -07:00
iabdalkader
f6bc7c4a0f Implement missing USBDBG function to return IRQ status. 2021-05-04 20:22:50 +02:00
iabdalkader
b69c397bff Add ulab config file per board. 2021-04-27 22:19:43 +02:00
iabdalkader
be53435a8f Add mutex lock_timeout 2021-04-25 19:30:39 +02:00
Kwabena W. Agyeman
9dd90ae55f Add support for double buffer, triple buffering, and video fifo 2021-04-15 18:13:40 -07:00
iabdalkader
a42f3a6474 Remove streaming mode.
* Will be replaced by double buffering soon.
2021-04-02 21:46:58 +02:00
iabdalkader
9e9009bad2 Add initial MT9M114 driver. 2021-03-30 03:09:33 +02:00
iabdalkader
80cc1f3baf Bump firmware version. 2021-03-27 00:38:36 +02:00
iabdalkader
c729ed9f33 Add 320x320 resolution for HM01B0 2021-03-25 23:07:41 +02:00
iabdalkader
03de0ceb26 Add Himax ioctl to control internal osc.
* Add ioctl to switch to internal OSC for MD.
* Add example to show how to wake up from low-power on MD events.
2021-02-22 03:35:25 +02:00
iabdalkader
d36cfb2313 Implement Himax motion detection with ioctls. 2021-02-21 22:55:29 +02:00
iabdalkader
29226a8b08 Implement sensor driver for nrf/Nano 33 2021-02-21 01:01:00 +02:00
iabdalkader
aeb7539cfa Update license date. 2021-02-14 16:47:45 +02:00
iabdalkader
46495ff8cf Bump firmware version. 2021-02-13 22:08:33 +02:00
iabdalkader
1ced9d1507 Make sure pendsv is not masked before stop/exec script. 2021-02-13 01:19:04 +02:00
iabdalkader
10f9600008 Bump firmware version. 2021-01-31 22:59:03 +02:00
iabdalkader
6d70b9e2a6 Bump firmware version. 2021-01-22 23:04:34 +02:00
iabdalkader
2a190f35c0 Update ulab to 2.1.3 2021-01-22 21:20:03 +02:00
iabdalkader
6fa0b9f478 Bump firmware version. 2021-01-13 22:01:22 +02:00
iabdalkader
8a24f84123 Bump firmware version. 2021-01-13 21:40:43 +02:00
Kwabena W. Agyeman
ad00a842e9
Switch to compressed error messages (#1116) 2021-01-10 19:58:07 +02:00
iabdalkader
5aa41b6cbe Define UID size in board config. 2021-01-07 20:28:54 +02:00
iabdalkader
e122e4e82d Add OpenMV gpio and i2c abstraction layer. 2021-01-05 00:07:45 +02:00
iabdalkader
222d704ac3 Rename flag. 2021-01-02 19:59:37 +02:00
iabdalkader
832760b65c Add new and update read/write bytes functions. 2021-01-01 21:52:38 +02:00
iabdalkader
f12fb5fda6 Make cambus/I2C driver portable.
* Use I2C IDs to initialize the cambus/I2C driver instead of handles.
* Different ports can provide implementations in omv/ports/<port>/cambus.c/cambus_struct.h.
2020-12-29 00:54:53 +02:00
iabdalkader
520e46721c Make USB debug configurable to work with different ports. 2020-12-26 23:03:25 +02:00
iabdalkader
a0d7cf13ad Allow building the image library and modules without a filesystem.
* Images, models and descriptors I/O can be disabled with imlib flag.
* Image creation in memory still works if image I/O is disabled.
* TF and Haar can still load built-in models/cascades if image I/O is disabled.
2020-12-26 21:05:34 +02:00
iabdalkader
53b2d6b8b3 Update USB debugging.
* Move usbdbg.h to common headers.
* Update text buffer functions.
2020-12-23 23:19:08 +02:00
iabdalkader
4bfa7b41b7 Remove STM32_HAL_H from common code. 2020-12-19 20:51:52 +02:00
iabdalkader
908d5c8291 Remove code dependency on mp.h header. 2020-12-18 23:16:55 +02:00
iabdalkader
9f5dbae31b Move mutex to common code. 2020-12-18 21:54:29 +02:00
iabdalkader
bc6d1d22f0 Split code into common and port specific code. 2020-12-18 00:59:28 +02:00