Commit Graph

2417 Commits

Author SHA1 Message Date
Ibrahim Abdelkader
92da636906
Merge pull request #1606 from kwagyeman/kwabena/openmvpt_cache_fixes
imlib: Fix py_lcd cache alignment and handling.
2022-04-03 09:10:17 +02:00
Kwabena W. Agyeman
de17876630 stm32: Fix module deinit between main.py to USBDBG. 2022-04-02 18:26:39 -07:00
Kwabena W. Agyeman
4e62482d5f imlib: Fix cache usage for the OpenMV PT for its LCD. 2022-04-02 17:49:30 -07:00
dianjixz
3bdae6d7e2
imlib: Fix quad_segment_maxima memory leak.
Memory forgot to free when nmaxima is least 4 maxima.
2022-03-30 16:21:49 +08:00
iabdalkader
ab6dc1aad9 ports/rp2: Fix cambus fast mode plus frequency. 2022-03-15 22:54:53 +02:00
iabdalkader
927edf6a8b ports/rp2: Add cambus gencall. 2022-03-15 22:50:26 +02:00
iabdalkader
054cec7467 sensors/MLX9064x: Sync frame reading.
* Fix frame glitches when reading speed is slower than framerate.
2022-03-15 22:35:02 +02:00
iabdalkader
9ed84c6334 imlib: Add ImageIO finaliser to close the stream when deleted. 2022-03-14 16:31:45 +02:00
iabdalkader
3085dc20cd sensors/FIR: Support buses with multiple devices.
* Fixes #1584
2022-03-12 00:21:37 +02:00
iabdalkader
2960a803cb sensors/cambus: Support returning multiple devices from scan. 2022-03-12 00:04:11 +02:00
iabdalkader
ef275cf29c Bump firmware version. 2022-03-10 21:14:08 +02:00
iabdalkader
20b98f02c9 Bump firmware version. 2022-03-10 21:01:20 +02:00
Ibrahim Abdelkader
134ef5ece3
Merge pull request #1585 from openmv/winc1500_timeout
drivers/winc1500: Fix timeout handling.
2022-03-10 20:46:00 +02:00
iabdalkader
39d6f0f9a0 drivers/winc1500: Fix timeout handling.
* Change timeout meaning to match modusocket timeout.
2022-03-10 20:37:26 +02:00
Ibrahim Abdelkader
03d6c93002
Merge pull request #1583 from kwagyeman/kwabena/add_lepton_version_number
sensors/Lepton: Update to support version number in IDE.
2022-03-10 18:56:10 +02:00
Kwabena W. Agyeman
859d8139db Lepton: Update to support version number in IDE. 2022-03-10 08:27:30 -08:00
iabdalkader
ac7540db38 micropython: Update to 1.18. 2022-03-10 02:06:04 +02:00
iabdalkader
c0dd6a3b82 boards/NANO-RP2040: Update manifest. 2022-03-10 01:30:41 +02:00
iabdalkader
797f327770 boards/OPENMVPT: Fix RTC errata. 2022-03-09 01:19:49 +02:00
iabdalkader
f8342b92ab stm32: Fix openmv disk file.
* Fixes #1574
2022-03-06 05:22:41 +02:00
iabdalkader
56a06250ac sensors: Fix GC2145 window subsampling ratio.
* Fixes #1570
2022-03-06 05:07:52 +02:00
iabdalkader
c0e3a17919 boards: Remove raw FB size macro.
* This old macro is very easy to miss when updating OMV_FB_SIZE.
* Use a linker script variable to get the raw framebuffer size.
2022-03-04 01:55:30 +02:00
iabdalkader
5c96d9004b OPENMV2: Update memory config to fix self-test issues. 2022-03-03 14:58:10 +02:00
iabdalkader
248e15b3a7 stm32: Fix RTC clock source for 4P and PT. 2022-03-03 14:20:59 +02:00
iabdalkader
44a2216de7 OPENMVPT: Set RTC clock source back to LSE on startup. 2022-03-02 16:00:42 +02:00
iabdalkader
82e7acb979 OPENMVPT: Disable RTC LSE clock source.
* Due to an issue with the crystal oscillator, the LSE can't be
enabled without reworking the board, otherwise it will never start.
2022-02-28 16:13:52 +02:00
iabdalkader
ad55071c5f stm32: Add LSE driver strength config option. 2022-02-28 03:06:52 +02:00
iabdalkader
38c26cec92 imlib: Add hardware JPEG decoder support. 2022-02-27 20:23:16 +02:00
iabdalkader
b5b26ff390 imlib: Fix JPEG decompress buffers cache alignment. 2022-02-27 17:34:40 +02:00
iabdalkader
421a685370 imlib: Update JPEG decoder and fix memory issues.
* Fix MemManage fault on decoding odd images.
* Support decoding YCBCR to Grayscale.
* Support decoding Grayscale to RGB565.
* Minor formatting fixes.
* Use a single decompress function for all formats.
* Fixes #1550
2022-02-27 16:14:49 +02:00
Ibrahim Abdelkader
d895e169fd
Merge pull request #1555 from openmv/pt_lse_mode
OPENMVPT: Fixe LSE oscillator mode.
2022-02-26 03:16:40 +02:00
Ibrahim Abdelkader
3551d6d280
Merge pull request #1554 from openmv/jpeg_callbacks
imlib: Enable hardware JPEG callbacks.
2022-02-26 03:04:48 +02:00
iabdalkader
275db7facc OPENMVPT: Fixe LSE oscillator mode. 2022-02-26 03:04:23 +02:00
iabdalkader
490ce48b54 imlib: Enable hardware JPEG callbacks. 2022-02-26 02:58:55 +02:00
dianjixz
aa614370df
imlib: Fix imlib_rgb565_to_l output.
It should not be negative when the imlib_rgb565_to_l function input is zero, e.g. y=0.137931f, fast_floorf(116 * 0.137931f) = 15.999996,  15.999996 - 16 < 0.
2022-02-24 13:57:36 +08:00
iabdalkader
8df4b647d0 OPENMVPT: Fix H7 RTC clock source. 2022-02-22 03:47:25 +02:00
Lincoln Lorenz
bc07e01312 Lepton: Fix default temperature range. 2022-02-18 12:43:55 -05:00
Lincoln Lorenz
6b2cd10088 Lepton: Add high temperature measurement mode support. 2022-02-18 01:49:09 +02:00
iabdalkader
383cf75704 Bump firmware version. 2022-02-17 21:59:42 +02:00
iabdalkader
18b50a2f2e py_tf.c: Fix output scaling for uint8/int8. 2022-02-17 21:35:52 +02:00
iabdalkader
f3384f9942 Bump firmware version. 2022-02-14 22:00:52 +02:00
iabdalkader
0cb8a9eb69 ulab: Update to v4.0.0
* Fixes #1521
2022-02-12 18:34:32 +02:00
iabdalkader
9de1f50a65 Libtf: Add support for replacing/adding built-in models. 2022-02-08 02:10:16 +02:00
Kwabena W. Agyeman
acb3ceb45d Make space for object detection networks 2022-02-07 20:42:27 +02:00
iabdalkader
66860540d2 NICLAV: Add readme txt. 2022-01-27 18:07:34 +02:00
iabdalkader
7cdc974c2e Nicla: Rename board files. 2022-01-27 17:28:36 +02:00
Ibrahim Abdelkader
36b7e57bf5
Merge pull request #1510 from openmv/add_png_support
Add png support
2022-01-27 03:16:49 +02:00
Kwabena W. Agyeman
f12a4659c8 Add PNG Support 2022-01-27 03:04:59 +02:00
iabdalkader
4dac638338 Lodepng updates.
* Configure the library for OpenMV.
* Reverse bit format endianness.
* Add a custom color conversion callback.
* Make RGB to GS conversion use channels average.
2022-01-27 03:04:41 +02:00
iabdalkader
f6ea2d4deb Add lodepng PND decoder/encoder. 2022-01-27 03:02:23 +02:00
Ibrahim Abdelkader
9d8dcf8d5c
Merge pull request #1512 from kwagyeman/kwabena/fix_strncpy
Fix strncpy issue with new GCC
2022-01-26 15:49:12 +02:00
Kwabena W. Agyeman
927854257c Fix strncpy issue with new GCC 2022-01-25 22:11:34 -08:00
iabdalkader
3af6a95793 RP2: Add UART init/deinit and softreboot message. 2022-01-25 15:54:37 +02:00
Ibrahim Abdelkader
69fd21acd2
Merge pull request #1195 from kwagyeman/kwabena/portena_poe_shield_fixes
Add support for the OV5640 to the Arduino Portenta
2022-01-22 22:57:56 +02:00
iabdalkader
c2b6e2a1f5 NANO-RP2040: Fix raw buffer size.
* Fixes #1505
2022-01-19 22:19:08 +02:00
iabdalkader
9981a29e8b NANO-RP2040: Update memory config. 2022-01-17 23:37:41 +02:00
Kwabena W. Agyeman
b57db1d8e8 Add support for the Portenta for the OV5640 2022-01-16 15:37:08 -08:00
iabdalkader
1379b173dd NANO-RP2040: Add fresh filesystem custom templates. 2022-01-15 23:27:57 +02:00
iabdalkader
2ae2465d6a Bump firmware version. 2022-01-09 22:20:21 +02:00
Ibrahim Abd Elkader
d0dcadb4d8
Merge pull request #1498 from openmv/fb_cache_fix
Make sure cached CPU writes are flushed before returning the buffer
2022-01-09 22:01:21 +02:00
iabdalkader
e6cc4223d4 Make MDMA fully offload image transfer by default. 2022-01-09 21:15:54 +02:00
iabdalkader
1c6b452bba * Invalidate framebuffer cache before using.
* Fixes #1407
2022-01-09 21:06:29 +02:00
Kwabena W. Agyeman
9f980c8148 Fix all issues with ImageIO to support all modes and older files 2022-01-09 10:43:40 -08:00
Kwabena W. Agyeman
6689dcde4e Fix copy_to_fb when targetting an image 2022-01-09 09:48:48 -08:00
Kwabena W. Agyeman
2e8b6cf2ab Comment out distance sensor initially 2022-01-08 14:21:05 -08:00
Kwabena W. Agyeman
0dafebddb5 Fix flag spec on timer 2022-01-06 22:54:08 -08:00
iabdalkader
3eef51b229 Nina WiFi driver fixes.
* Return -1 on timeout error from recv(), recvfrom(), send() and sendto().
* Disable active connections before connecting/reconnecting.
* Fix manual DNS bug.
* Set secondary DNS server
2022-01-05 18:45:57 +02:00
Ibrahim Abd Elkader
0933da0d12
Merge pull request #1486 from kwagyeman/kwabena/update_mt
Update MT driver to support the 22/24/32/34
2022-01-03 22:23:13 +02:00
iabdalkader
a0504eda90 Create fresh filesystem contents for Nano RP2040. 2022-01-03 19:30:47 +02:00
iabdalkader
165d3ac712 Move fresh filesystem code to factoryreset.c 2022-01-03 19:30:47 +02:00
iabdalkader
486a25d85e ff_wrapper: Add f_touch_helper. 2022-01-03 19:30:41 +02:00
iabdalkader
6f4f4844fb Portenta: Add custom readme file. 2022-01-03 15:05:40 +02:00
Kwabena W. Agyeman
84f53d01bb Update MT driver to support the 22/24/32/34 2022-01-02 13:54:17 -08:00
iabdalkader
b1cc0aae98 NANO-RP2040: Add support for DHT11 and DHT22 sensors. 2022-01-02 15:47:46 +02:00
iabdalkader
bb1b5948e0 Bump firmware version. 2022-01-01 18:15:49 +02:00
iabdalkader
8cb4b8fea4 Bump firmware version. 2022-01-01 17:54:36 +02:00
iabdalkader
a6f026ba81 Move fresh filesystem contents to template files. 2022-01-01 00:36:20 +02:00
Ibrahim Abd Elkader
40372df6ce
Merge pull request #1482 from openmv/pyexec_frozen_modules
Execute frozen boot scripts first before filesystem.
2021-12-31 20:31:15 +02:00
iabdalkader
b0c7a32721 Rework boot scripts and pyexec.
* Run frozen _boot.py if it exists (for early boot stuff).
* Allow freezing main.py and boot.py boot scripts.
* Give frozen boot scripts priority over filesystem boot scripts.
2021-12-31 20:17:42 +02:00
Kwabena W. Agyeman
c86f01741f
Add Objection Detection Support (#1462)
Support for segmentation networks has been added. You can now segment images using tensorflow into grayscale images that show a heatmap per class you are looking for. The segment() method will return a list of images of these grayscale heat maps.

detect() will then do all the above but internally run find_blobs() on the heat maps to return instead a list of lists, where each sub list is the blobs detected per class.

EdgeImpulse will have support for running segmentation networks thus enabling object detection and localization on Cortex-M processors.

* PYTF now uses the optimal amount of memory for buffers versus all - buffers are placed in SRAM if they fit producing a massive speed boost.
* Custom scaled/offset outputs now work.
* Updated to the latest tensorflow library.
* You have access to all input/output model parameters.
* Person detection is now int8 and blazing fast - 20 FPS on the Arduino Portena.
* Added m55 libs (m0plus libs coming soon once EdgeImpulse adds support for them in the tensorflow make file)
* Classify/Segment/Detect work on all image types directly (JPG/BAYER/YUV/RGB565/GRAYSCALE/BINARY)
2021-12-30 18:30:28 +02:00
iabdalkader
804b510ac7 Fix ULPI DIR pin definition. 2021-12-29 16:20:28 +02:00
Kwabena W. Agyeman
165408f3c8 Fix jpeg loading 2021-12-28 19:04:38 -08:00
iabdalkader
0a82b20911 Bump firmware version. 2021-12-18 23:50:04 +02:00
iabdalkader
508419f6d5 Bump firmware version. 2021-12-13 20:08:26 +02:00
Kwabena W. Agyeman
c05e945016 Unsigned var in count down loop fixed 2021-12-11 18:38:28 -08:00
iabdalkader
70830281bd Add missing MT9M114 ID. 2021-12-11 23:03:39 +02:00
iabdalkader
708f7fe1ac Update to MicroPython 1.17 2021-12-10 19:01:54 +02:00
iabdalkader
5c127078ca Nina driver updates, bug fixes. 2021-11-17 18:29:23 +02:00
iabdalkader
df6f77bd06 Bump firmware version. 2021-11-09 16:55:44 +02:00
iabdalkader
a86369477b Portenta: Set default sensor clock to 12MHz.
* Support detecting MT9V034.
* Add Himax specific clock.
2021-10-28 20:38:03 +02:00
Ibrahim Abd Elkader
d322bcf0de
Merge pull request #1460 from kwagyeman/kwabena/fix_network_usage_in_scripts
Kwabena/fix network usage in scripts
2021-10-18 21:05:04 +02:00
Kwabena W. Agyeman
2603c12854 Fix IS_JPEG 2021-10-16 21:49:36 -07:00
Ibrahim Abd Elkader
58e89f124a
Merge pull request #1455 from kwagyeman/kwabena/frog_eye
Add basic frogeye2020 driver
2021-10-16 22:47:14 +02:00
Kwabena W. Agyeman
899f80759f Fix errode/dilate to work on non-white pixels 2021-10-16 12:10:24 -07:00
Kwabena W. Agyeman
7f84ce5010 Add frogeye sensor driver 2021-10-16 12:10:00 -07:00
Ibrahim Abd Elkader
d412e9e017
Add DFSDM support to audio module. (#1459)
* Add DFSDM support to audio module.
2021-10-15 16:05:12 +02:00
Kwabena W. Agyeman
b32aa4597e
Make IMU orientation configurable (#1457)
* Make IMU orientation configurable.
2021-10-08 21:01:09 +02:00
Ibrahim Abd Elkader
853d48f377
Merge pull request #1458 from kwagyeman/kwabena/draw_image_for_lsd
Move find_line_segments to draw image
2021-10-08 18:22:58 +02:00
iabdalkader
5cc7d32895 Init IMU if enabled.
* This disables IMU for OpenMV4, since it doesn't have one.
* If/when a board with IMU is supported, new board files should be added.
2021-10-05 19:00:22 +02:00
iabdalkader
e4696a4106 Add py_imu support for lsm6dsox. 2021-10-04 20:02:35 +02:00
iabdalkader
176d4131ab Add lsm6dsox driver. 2021-10-04 20:02:26 +02:00
Kwabena W. Agyeman
7c684670ca Move find_line_segments to draw image 2021-09-25 12:57:33 -07:00
Kwabena W. Agyeman
ddac42a8d0 Fix compress 2021-09-22 15:50:04 -07:00
Kwabena W. Agyeman
cfa0748a05 Fix memory allocation order 2021-09-22 15:26:44 -07:00
Kwabena W. Agyeman
db43f98b77 Update TensorFlow to use draw image 2021-09-22 15:26:03 -07:00
Kwabena W. Agyeman
66bfdd3854 find tags now use draw_image 2021-09-21 21:20:35 -07:00
Ibrahim Abd Elkader
fb51ee685a
Merge pull request #1451 from openmv/bormio_support
Bormio support
2021-09-20 14:35:17 +02:00
iabdalkader
16fd340e10 Add ULPI pin configuration. 2021-09-20 14:20:28 +02:00
Kwabena W. Agyeman
bf447e5599 Add yuv image processing support 2021-09-19 09:42:28 -07:00
iabdalkader
4e82dcecc1 Update bormio/nicla pinout. 2021-09-18 00:20:20 +02:00
iabdalkader
59b59c394f Support different ports for cambus pins. 2021-09-17 22:42:43 +02:00
Kwabena W. Agyeman
3ed668ab5b Add full debayering support 2021-09-09 14:18:57 -07:00
Ibrahim Abd Elkader
d5ad043c30
Advanced pixel formats. (#1448)
* Advanced pixel formats.

* Use a new pixel format that encodes flags, id and bpp in the pixel format itself.

* Fixes for review comments.
2021-09-09 13:34:31 +02:00
iabdalkader
c28958e04e Replace sensor flags with bit fields.
* Much easier to manipulate and saves some memory.
2021-09-04 22:04:31 +02:00
Ibrahim Abd Elkader
7fa4712504
Merge pull request #1432 from bitbank2/master
speed up software JPEG encoding by about 10% with improved bit handling
2021-09-04 14:26:46 +02:00
Laurence Bank
be80eb442a fixed overflow situation for jpeg encoding 2021-09-04 11:36:55 +01:00
Laurence Bank
2bc29c766b Fixed overflow situation 2021-08-31 16:24:27 +01:00
iabdalkader
2bce479868 Bump firmware version. 2021-08-27 15:12:52 +02:00
iabdalkader
b5692231e2 Fix WINC make_new arg. 2021-08-26 16:55:24 +02:00
iabdalkader
f5391a3884 Make WINC API compatible with other WiFi modules. 2021-08-26 16:25:15 +02:00
iabdalkader
43e66047f9 NANO33: Update flash size. 2021-08-26 14:44:46 +02:00
iabdalkader
83c0ee97ce Fix set_framerate. 2021-08-24 23:00:46 +02:00
iabdalkader
6d7df3b4da RP2: Fix audio deinit. 2021-08-22 20:25:47 +02:00
iabdalkader
a8858c9d0e RP2: Update Audio module.
* Use a configurable number of PCM buffers in a queue to avoid overflows.
* Add option to configure whether to use pendsv or mp_scheduler for Python callbacks.
* Streaming can be started without a callback and get_buffer() returns a single buffer from the queue.
* Add precomputed LUT for lib OpenPDM stored in flash (saves about 500uS per conversion).
* Overflow detection and configurable abort on overflow.
* Remove fixed DMA channel.
2021-08-21 01:29:10 +02:00
iabdalkader
479a7e7e05 Link with double tap library. 2021-08-20 13:45:42 +02:00
iabdalkader
7c2d21246b Fix ioctls args checking. 2021-08-17 14:20:12 +02:00
Laurence Bank
68654e70a9 speed up software JPEG encoding by about 10% with improved bit handling 2021-08-16 20:51:54 +01:00
iabdalkader
f09281f123 Fix missing PI definition for NRF modules. 2021-08-11 21:48:55 +02:00
iabdalkader
40deb8aaef Add example Python module. 2021-08-11 21:48:37 +02:00
iabdalkader
06e8ba3969 Use USER_C_MODULES to add OpenMV modules. 2021-08-11 21:48:16 +02:00
iabdalkader
368c668421 Register all Python modules if enabled. 2021-08-11 21:41:19 +02:00
iabdalkader
e00d9b8e50 Add ulab submodule. 2021-08-11 19:56:08 +02:00
iabdalkader
ad96d3e68d Enable text compression and fix all exception issues. 2021-08-11 16:24:45 +02:00
iabdalkader
7d24c90236 Portenta: add ble_advertising.py to manifest. 2021-08-11 14:45:38 +02:00
iabdalkader
0ccd97a29f GC2145: Fix pll. 2021-08-08 20:30:12 +02:00
iabdalkader
e1876886c4 GC2145 driver updates. 2021-08-08 19:31:48 +02:00
iabdalkader
1755603bc8 Update RP2 boards I2C pinout. 2021-08-06 18:06:29 +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
4607b5ea81 RP2: Updates.
* Update USB config macros.
* Increase Flash FS size.
* Add missing openmv_disk file.
* Enable MSC in bootloader.
2021-08-01 18:25:12 +02:00
Ibrahim Abd Elkader
e8585ff226
Merge pull request #1418 from openmv/add_cambus_enable
Add cambus_enable function.
2021-07-31 22:23:03 +02:00
Ibrahim Abd Elkader
0da68711e0
Merge pull request #1419 from openmv/ulpi_lp
Fix ULPI low power mode entry with USB disconnected.
2021-07-31 22:22:53 +02:00
Ibrahim Abd Elkader
f1021d9e26
Merge pull request #1420 from openmv/py_sensor_reset
Use sensor_strerror for sensor_reset error.
2021-07-31 22:22:40 +02:00
iabdalkader
2fb2265621 Use sensor_strerror for sensor_reset error. 2021-07-31 21:57:23 +02:00
iabdalkader
6d8f95de03 Fix ULPI low power mode entry with USB disconnected.
* fixes #1408
2021-07-31 21:55:51 +02:00
iabdalkader
af1772a2ac Add cambus_enable function. 2021-07-31 21:48:23 +02:00
iabdalkader
b7afb29ed9 Fix HM01B0 reset function. 2021-07-31 21:38:29 +02:00
iabdalkader
0c40f48324 Make Nina firmware check less strict. 2021-07-31 14:52:34 +02:00
iabdalkader
ab506618d7 Nina: Add firmware version checking. 2021-07-29 21:32:15 +02:00
iabdalkader
eb2f982779 Nina: Make WiFi driver API compatible with CYW43/upstream. 2021-07-29 21:23:45 +02:00
iabdalkader
07efa8cacf Nina: Add BSP deinit function. 2021-07-29 21:23:34 +02:00
iabdalkader
b5316e5160 RP2: Nina WiFi timeout fixes. 2021-07-28 22:42:44 +02:00
iabdalkader
773c648282 RP2: WiFi Nina fixes.
* Fix accept and close.
* Check socket status before send/recv/accept etc..
* Fix auto-bind.
* Add BSP read_irq.
2021-07-28 13:33:44 +02:00
elmagnifico
029eebdab7
OpenMV4 support OV7670 (#1404)
* OpenMV4 support OV7670 now
2021-07-25 19:27:07 +02:00
iabdalkader
e14470f681 RP2: Nina WiFi fixes.
* Fix BSP.
* Fix rp2 networking modules.
* Fix timeouts.
* Fix TCP sockets.
* Fix UDP sockets.
* Add auto-binding for UDP sockets.
2021-07-24 22:00:41 +02:00
iabdalkader
917509ed65 RP2: Update NINA bsp. 2021-07-22 14:22:33 +02:00
iabdalkader
9bbdba1b10 RP2: Optimize bus scanning.
* For sensor-less boards, lower the scan address space.
2021-07-20 00:58:19 +02:00
iabdalkader
e65d6f216e RP2: Nina BT fixes and updates. 2021-07-20 00:42:32 +02:00
Ibrahim Abd Elkader
33cb5317ed
Merge pull request #1399 from openmv/portenta_breakout_support
Portenta: Add alternate I2C and PWM for breakout board.
2021-07-16 22:43:28 +02:00
iabdalkader
373562f293 Portenta: Add alternate I2C and PWM for breakout board.
* Add support for the breakout board.
* Enable extra sensor drivers.
2021-07-16 21:52:59 +02:00
iabdalkader
b83064b81a Allow boards to define an extra cam timer pin. 2021-07-16 21:45:08 +02:00
iabdalkader
f4a6c4003b Allow boards to define an alternate cambus to scan. 2021-07-15 23:50:58 +02:00
iabdalkader
5ed5671423 Allow sensor_utils probe_init to take bus id/speed args. 2021-07-15 20:59:58 +02:00
iabdalkader
fab3cbeb9a PORTENTA: Update pinout 2021-07-15 20:09:16 +02:00
iabdalkader
9f748c7950 Fix cambus getting stuck sometimes after failed scan.
* This seems to only affect the H7.
* After a failed scan the bus can get stuck. Re-initializing the bus fixes
it, but it seems disabling and re-enabling the bus is all that's needed.
2021-07-14 23:38:50 +02:00
iabdalkader
d618e6dfe5 PORTENTA: Fix SPI CS pin. 2021-07-14 19:17:35 +02:00
iabdalkader
e49dc22b33 RP2: Add bluetooth and nimble support. 2021-07-10 19:54:23 +02:00
iabdalkader
565e1446c5 STM32: Update SDRAM test. 2021-07-09 22:14:52 +02:00
iabdalkader
a076fc79b8 RP2: Support jump to bootloader command.
* Add picotool binary.
* Support jump to bootloader command.
* MSC interface is disabled on jump to boot.
2021-07-06 20:42:57 +02:00
iabdalkader
a08a666a52 Enable RP2 networking and add NINA-W10 driver and modules. 2021-07-05 00:10:33 +02:00
iabdalkader
c8bf0af6fe Use sensor error codes in py_sensor. 2021-07-01 23:04:21 +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
3069426ea9 Use mp_hal_delay_ms instead of systick_sleep. 2021-06-29 17:04:31 +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
Kwabena W. Agyeman
642c503744
Add jpeg decoding support (#1371)
* Add jpeg decoding support
2021-06-29 01:49:53 +02:00
iabdalkader
5bdbb9f748 Add urequests module to frozen modules. 2021-06-26 20:12:34 +02:00
iabdalkader
4842a1086c RP2: Update MSC mode.
* Fix inquiry_cb bug.
* Align with upstream PR.
2021-06-25 19:17:43 +02:00
iabdalkader
25525aaf11 Rename dcmi_abort to sensor_abort. 2021-06-25 00:05:33 +02:00
iabdalkader
83da16f3c2 RP2: Add DCMI PIO to NANO RP2040. 2021-06-21 23:11:08 +02:00
iabdalkader
b0589566cd RP2: Move DCMI PIO to board dir. 2021-06-21 22:57:54 +02:00
iabdalkader
68663f489d RP2: Move dcmi_config to pio file. 2021-06-21 22:46:11 +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
iabdalkader
626440713e Add Nano 2040 to release build. 2021-06-17 20:19:51 +02:00
iabdalkader
21f4c0e0da RP2: Don't build sensor.c if it's disabled. 2021-06-17 15:56:37 +02: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
iabdalkader
f72c4d75de Add RP2040 port and Pico and Nano board files. 2021-06-15 23:35:32 +02:00
Ibrahim Abd Elkader
05a307e0b2
Merge pull request #1363 from kwagyeman/kwabena/mt9m114_driver_update
Update MT9M114 driver to work
2021-06-14 14:22:16 +02:00
Kwabena W. Agyeman
b3d2d5484c Update MT9M114 driver to work 2021-06-13 19:32:34 -07:00
Lake Fu
5f4250e74e
Reorganize the ISC SPI related handles/macros. (#1360)
* Reorganize the ISC SPI related handles/macros.

The SPI bus on image sensor connector is not design for Lepton sensor only.
Thereforce, change the related functions and macros name from LEPTON_SPI_*
to ISC_SPI_* and move interrupt callback to sensor.c.
2021-06-12 15:56:08 +02: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
Ibrahim Abd Elkader
f0f5c8cf79
Merge pull request #1359 from kwagyeman/kwabena/add_missing_check
Add missing framesize init check
2021-06-09 14:42:47 +02:00
Kwabena W. Agyeman
c3f80e2af8 Add missing framesize init check 2021-06-08 21:50:56 -07: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