Commit Graph

3547 Commits

Author SHA1 Message Date
iabdalkader
8c574f3c9b micropython: Disable GC scanning of BSS.
We no longer need this, since all global pointers are now referenced by
root pointers.
2024-01-17 09:58:53 +02:00
Kwabena W. Agyeman
1f15790cb1 imlib/fmath: Fix compiling fast_expf. 2024-01-17 09:46:36 +02:00
Kwabena W. Agyeman
b3ce9d6302 imlib/qrcode: Fix new GCC compile issues. 2024-01-17 09:29:18 +02:00
Kwabena W. Agyeman
b09dbbdd47 imlib/filter: Fix offset argument being truncated. 2024-01-17 09:29:18 +02:00
iabdalkader
1601f8f029 misc: Fix errors triggered by disabling specific features. 2024-01-17 09:17:15 +02:00
Ibrahim Abdelkader
d0d234568d
Merge pull request #2094 from openmv/cmsis_update
ports/all: Update to CMSIS version 5.9.0.
2024-01-16 19:56:26 +02:00
iabdalkader
78b9daf2d6 boards/all: Add CMSIS_MCU_H board config option. 2024-01-16 19:20:14 +02:00
iabdalkader
9ac8540ed3 ports/all: Update code to support new CMSIS. 2024-01-16 19:20:09 +02:00
iabdalkader
9f56943cf3 hal/CMSIS: Update to CMSIS v5.9.0. 2024-01-16 17:48:43 +02:00
Ibrahim Abdelkader
5c6b34becb
Merge pull request #2093 from kwagyeman/kwabena/error_jpg_size
ports/stm32: Error on jpeg geometry mismatch.
2024-01-15 20:31:34 +02:00
Kwabena W. Agyeman
333fb2b5fe ports/stm32: Error on jpeg geometry mismatch. 2024-01-14 23:30:22 -08:00
Kwabena W. Agyeman
b101c58811 hal/cmsis: Move cmsis gcc extensions to new file. 2024-01-14 11:41:01 -08:00
Kwabena W. Agyeman
00500ccdef modules/sensor: Disable transpose for YUV422 images. 2024-01-12 18:51:27 -08:00
Kwabena W. Agyeman
c1eeaefd6a ports: Add yuv shift to match bayer shift. 2024-01-12 18:45:49 -08:00
Kwabena W. Agyeman
48d2f210ee ports: Fix sensor bayer image with cropping and transpose. 2024-01-12 18:09:48 -08:00
Ibrahim Abdelkader
87d2da4640
Merge pull request #1604 from kwagyeman/kwabena/hardware_jpeg_decoder
imlib: Enable hardware JPEG decoder.
2024-01-12 22:52:20 +02:00
Kwabena W. Agyeman
d459e604eb imlib: Rename jpeg encoder file. 2024-01-12 12:40:18 -08:00
Kwabena W. Agyeman
469519bad2 imlib: Mainline hardware jpeg decoder. 2024-01-12 12:40:17 -08:00
Ibrahim Abdelkader
d707d27fae
Merge pull request #2086 from kwagyeman/kwabena/minor_bug_fix
drivers/pixart: Fix buffer overflow case.
2024-01-12 20:40:32 +02:00
Ibrahim Abdelkader
b530b48651
Merge pull request #2077 from kwagyeman/kwabena/upgrade_cmm
modules/py_image: Upgrade ccm to work well with ulab.
2024-01-12 20:39:14 +02:00
Kwabena W. Agyeman
5a790790c8 drivers/pixart: Fix buffer overflow case. 2024-01-10 18:41:47 -08:00
Ibrahim Abdelkader
96e9caf586
Merge pull request #2057 from kwagyeman/kwabena/refactor_py_tf
modules/py_tf: Cleanup segment, detect, and callback data.
2024-01-08 16:15:47 +02:00
Kwabena W. Agyeman
dcecfaf91e modules/py_tf: Cleanup segment, detect, and callback data. 2024-01-07 12:50:44 -05:00
Ibrahim Abdelkader
c0a16c41a7
Merge pull request #2074 from kwagyeman/kwabena/get_threshold_fix
imlib/stats: Fix get_threshold A/B values.
2024-01-07 09:15:53 +02:00
Kwabena W Agyeman
36d5cecbd2
modules/py_image: Refactor isp ops to use mp_arg_parse. (#2076)
- modules/py_image: Refactor awb to use mp_arg_parse_all.
- modules/py_image: Refactor gamma to use mp_arg_parse.
2024-01-07 08:43:10 +02:00
Ibrahim Abdelkader
03dd8a423e
Merge pull request #2075 from kwagyeman/kwabena/fix_find_rects_roi
imlib/apriltag: Fix find_rects() roi parameter.
2024-01-06 12:44:01 +02:00
Kwabena W. Agyeman
b4821d890a boards/OPENMV_RT1060: Update UMM Heap Size to match H7 Plus. 2024-01-04 13:54:43 -05:00
Kwabena W. Agyeman
a99d9e09ea modules/py_image: Upgrade ccm to work well with ulab. 2024-01-03 22:27:08 -05:00
Kwabena W. Agyeman
dfabc5f816 imlib/apriltag: Fix find_rects() roi parameter. 2024-01-03 13:37:57 -05:00
Kwabena W. Agyeman
a2e15ae07b imlib/stats: Fix get_threshold A/B values. 2024-01-03 13:00:31 -05:00
iabdalkader
1c1cd5856c micropython: Update to MicroPython v1.22. 2024-01-03 11:09:33 +01:00
iabdalkader
c20b71f3b9 boards/ARDUINO_NANO_33_BLE_SENSE: Rename board to match upstream. 2024-01-03 11:09:33 +01:00
iabdalkader
f76e10580c hal/stm32: Update hal config. 2024-01-03 11:09:33 +01:00
iabdalkader
7df6694c3d modules/py_display: Update module definition macro. 2024-01-03 11:09:33 +01:00
iabdalkader
bf9d3e555d modules/py_tv: Use micropy atomic instead of irq functions. 2024-01-03 11:09:33 +01:00
iabdalkader
b64e3d625a boards/all: Update manifests. 2024-01-03 11:09:33 +01:00
Ibrahim Abdelkader
61501d2580
Merge pull request #2055 from kwagyeman/kwabena/fix_cs_issue
ports: Don't deinit the SSEL pin on stm32 and mimxrt.
2023-12-26 19:22:28 +02:00
Kwabena W. Agyeman
e8c38d4fa7 ports/stm32: Move SSEL pin deinit to omv_spi.c module. 2023-12-24 12:21:02 -08:00
iabdalkader
4e148000be misc: Bump firmware version. 2023-12-24 21:19:56 +01:00
Ibrahim Abdelkader
e4c0846c55
Merge pull request #2052 from kwagyeman/kwabena/fix_servicing_tiny_usb
ports/mimxrt: Service TinyUSB while waiting for sensor frames.
2023-12-24 15:21:09 +02:00
Kwabena W. Agyeman
4b37c0c82e ports/mimxrt: Service TinyUSB while waiting for sensor frames. 2023-12-23 09:04:33 -08:00
iabdalkader
ba754186f7 misc: Fix TinyUSB polling. 2023-12-23 15:38:39 +01:00
Ibrahim Abdelkader
9dd6e47e06
Merge pull request #2053 from kwagyeman/kwabena/fix_led_name
boards/OPENMV_RT1060: Fix default script LED pin name.
2023-12-23 12:02:38 +02:00
Kwabena W. Agyeman
03f45f7206 boards/OPENMV_RT1060: Fix default script LED pin name. 2023-12-22 13:41:39 -08:00
Kwabena W. Agyeman
6d5703f524 boards/OPENMV_RT1060: Enable high res apriltags. 2023-12-10 21:19:03 -08:00
Kwabena W. Agyeman
da42c9b540 modules/py_tv: Fix argument parsing. 2023-12-08 12:09:11 -08:00
Ibrahim Abdelkader
0d00e62b03
Merge pull request #2043 from kwagyeman/kwabena/mjpeg_fps_internal
modules/py_mjpeg: Calculate MJPEG FPS internally.
2023-12-05 21:29:08 +02:00
Ibrahim Abdelkader
90b33598e9
Merge pull request #2037 from Bexin3/master
boards/ARDUINO_GIGA: Enable OV5640.
2023-12-05 21:15:34 +02:00
Kwabena W. Agyeman
83229dcdfe modules/py_mjpeg: Calculate MJPEG FPS internally. 2023-12-05 11:03:31 -05:00
Ibrahim Abdelkader
96ffa1ffeb
Merge pull request #2031 from kwagyeman/kwabena/py_tf_fix_segment
modules/py_tf: Fix non-square image support.
2023-12-04 21:02:53 +02:00
Kwabena W. Agyeman
70b2db2bf4 modules/py_tf: Fix non-square image support. 2023-12-04 13:57:09 -05:00
iabdalkader
1ae4d24882 ports/All: Add support for passing variables to manifest files.
- Pulled from upstream.
2023-12-03 10:22:26 +01:00
iabdalkader
c20ee4c272 ports/mimxrt: Add CAN support. 2023-12-03 09:47:24 +01:00
Benjamin
b6aa0f653b boards/ARDUINO_GIGA: Enable OV5640.
Add support for OV5640 on GIGA R1 with AF enabled and highest stable clock.
2023-12-03 08:41:23 +00:00
iabdalkader
8486c6459b micropython: Update docs. 2023-12-01 17:26:34 +01:00
lxowalle
3cdb67b0a2 imlib: Fix imlib_midpoint_pool cannot select the centered area. 2023-12-01 09:49:06 +08:00
iabdalkader
eb488a1922 misc: Bump firmware version. 2023-11-29 18:24:20 +01:00
iabdalkader
e5f1705315 ports/all: Remove support for self-tests. 2023-11-29 17:42:16 +01:00
Ibrahim Abdelkader
1e454f4022
Merge pull request #2029 from openmv/refactor_boot_script_code
ports/all: Refactor common boot code.
2023-11-29 18:34:22 +02:00
iabdalkader
7094a69401 ports/nrf: Refactor common boot code. 2023-11-29 16:04:16 +01:00
iabdalkader
d57086e1b7 ports/stm32: Refactor common boot code. 2023-11-29 16:04:16 +01:00
iabdalkader
c7457f11ed ports/rp2: Refactor common boot code. 2023-11-29 16:04:13 +01:00
Ibrahim Abdelkader
a2a76c66c6
Merge pull request #2028 from kwagyeman/kwabena/simply_scaling
modules: Make int/floating image scaling behavior the same.
2023-11-27 08:44:30 +02:00
Kwabena W. Agyeman
8bd25d6cd7 modules: Make int/floating image scaling behavior the same. 2023-11-26 19:20:45 -05:00
iabdalkader
861ee0b9b2 ports/mimxrt: Refactor common boot code. 2023-11-26 17:33:22 +01:00
iabdalkader
2fe47234b3 misc: Refactor common boot code. 2023-11-26 17:33:22 +01:00
iabdalkader
803388efdb ports/mimxrt: Update led driver. 2023-11-26 17:29:30 +01:00
Ibrahim Abdelkader
d1cb045de6
Merge pull request #2025 from openmv/py_tf_fix_arg
modules/py_tf: Revert `load_to_fb` arg name.
2023-11-25 16:37:55 +02:00
Ibrahim Abdelkader
64f5249610
Merge pull request #2022 from kwagyeman/kwabena/fix_imx_openmv_disk
ports/mimxrt: Add .openmv_disk file.
2023-11-25 16:36:52 +02:00
iabdalkader
687c53ec16 modules/py_tf: Fix arg name. 2023-11-25 15:26:10 +01:00
iabdalkader
88845c573e ports/nrf: Refactor arg parsing. 2023-11-25 15:13:54 +01:00
iabdalkader
22c6c1a74a ports/stm32/modules: Refactor arg parsing. 2023-11-25 15:13:54 +01:00
iabdalkader
d25337b340 modules/py_tf: Refactor arg parsing. 2023-11-25 15:13:54 +01:00
iabdalkader
9e6e03eca4 modules/py_sensor: Refactor arg parsing. 2023-11-25 15:13:51 +01:00
iabdalkader
555e67ecd6 modules/py_gif: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
d15fc6b8d9 modules/py_imageio: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
3d679f5a6c modules/py_mjpeg: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
9b411a66da modules/py_tv: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
a4c0f20bfd modules/py_tof: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
08bf62a32f modules/py_fir: Refactor arg parsing. 2023-11-25 15:02:40 +01:00
iabdalkader
4773126560 modules/py_helper: Update helper functions.
- Add arg_to_float_array helper function.
- Add arg_to_minmax helper function.
- Add arg_to_float helper function.
- Remove py_helper_keyword_iterable.
2023-11-25 15:02:40 +01:00
Kwabena W. Agyeman
9cbf6057b5 ports/mimxrt: Add .openmv_disk file. 2023-11-23 10:37:19 -05:00
Ibrahim Abdelkader
25359054e7
Merge pull request #2015 from kwagyeman/kwabena/add_ioctl_for_fov_over_fps
sensors/gc2145: Add support for a wider FoV.
2023-11-17 19:52:09 +02:00
Kwabena W. Agyeman
55e12f2499 sensors/gc2145: Add support for a wider FoV. 2023-11-17 08:16:22 -05:00
Kwabena W. Agyeman
a925178ecb modules/py_image: Cleanup MP_DEFINES for helper functions. 2023-11-13 15:03:43 -08:00
Kwabena W. Agyeman
88274c88fe boards/ARDUINO_PORTENTA_H7: Disable unused camera modules. 2023-11-07 12:29:59 -08:00
Kwabena W. Agyeman
66567958c3 imlib: Add scaling and centering hints to draw_image. 2023-11-07 12:29:57 -08:00
iabdalkader
d434d920fe boards/ARDUINO_NICLA_VISION: Add Arduino pins. 2023-11-02 11:47:10 +01:00
Ibrahim Abdelkader
5f4c6763f2
Merge pull request #2008 from kwagyeman/kwabena/add_file_path_image_loading
modules: Allow arg_to_image to load images from paths.
2023-11-01 21:42:52 +02:00
Kwabena W. Agyeman
a6e8030724 modules: Add image file loading to screen drawing methods. 2023-11-01 12:33:22 -07:00
Kwabena W. Agyeman
3a9a51fa1b modules: Allow arg_to_image to load images from paths. 2023-11-01 12:31:00 -07:00
Kwabena W. Agyeman
1d52a9f759 modules: Refactor keyword_to_image helper function. 2023-10-30 18:08:22 -07:00
Ibrahim Abdelkader
a388b0711d
Merge pull request #1993 from kwagyeman/kwabena/add_hmirror_vflip_transpose_to_draw_image
imlib: Add hmirror, vflip, and transpose support to draw_image.
2023-10-30 18:21:32 +02:00
Kwabena W. Agyeman
3fc2480126 modules: Move palette constants to the image module. 2023-10-29 23:30:16 -07:00
Kwabena W. Agyeman
30ed69b306 imlib: Add hmirror, vflip, and transpose support to draw_image. 2023-10-29 23:08:11 -07:00
Kwabena W. Agyeman
fee9b435fa modules: Remove the static spi_display pointer. 2023-10-29 15:40:03 -07:00
Kwabena W. Agyeman
230fa1ca32 imlib: Add callback argument to draw_image. 2023-10-29 15:35:58 -07:00
Kwabena W. Agyeman
8ea9c98e00 imlib: Fix potential mjpeg bounds calculation bug. 2023-10-29 15:29:51 -07:00
Kwabena W. Agyeman
15c98c0762 imlib: Refactor imlib_draw_image_rect. 2023-10-29 15:28:22 -07:00
iabdalkader
8178c237cc modules/display: Refactor scale arg parsing. 2023-10-29 19:42:18 +01:00