Commit Graph

2859 Commits

Author SHA1 Message Date
Ibrahim Abdelkader
f922b76ae3
Merge pull request #2228 from kwagyeman/kwabena/fix_missing_invalidates
imlib/draw: Add missing speculative read invalidates.
2024-07-19 18:15:34 +02:00
iabdalkader
02888706c0 boards/ARDUINO_PORTENTA_H7: Enable Open-AMP. 2024-07-19 12:29:33 +03:00
Ibrahim Abdelkader
4a036f6059
Merge pull request #2299 from openmv/common_ld_fix
misc: Update common linker script.
2024-07-19 10:17:07 +02:00
iabdalkader
75c75b50ee misc: Update common linker script.
Align core and shm to 32.
2024-07-19 11:13:29 +03:00
Kwabena W. Agyeman
87e8cbba0e modules/py_tv: Improve cache display update cache efficency. 2024-07-18 17:46:16 -07:00
Ibrahim Abdelkader
e02bc63552
Merge pull request #2214 from kwagyeman/kwabena/update_morph
modules/py_image: Update morph() to use arg parse.
2024-07-19 00:40:46 +02:00
Kwabena W. Agyeman
919d3379d2 modules/py_image: Update morph() to use arg parse. 2024-07-18 12:27:10 -07:00
iabdalkader
17ff43d882 boards/ARDUINO_PORTENTA_H7: Set CYW43 Bluetooth firmware header. 2024-07-18 16:31:03 +03:00
iabdalkader
2a39d6690d boards/ARDUINO_NICLA_VISION: Set CYW43 Bluetooth firmware header. 2024-07-18 16:31:03 +03:00
iabdalkader
368d8af133 boards/ARDUINO_GIGA: Set CYW43 Bluetooth firmware header. 2024-07-18 16:31:03 +03:00
iabdalkader
1600c3a15f boards/ARDUINO_GIGA: Switch the CYW43 to firmware W4343WA1_45_98_102. 2024-07-18 16:31:03 +03:00
iabdalkader
269313c0ee boards/ARDUINO_PORTENTA_H7: Switch the CYW43 to firmware W4343WA1_45_98_102. 2024-07-18 16:31:03 +03:00
iabdalkader
24db2052ca boards/ARDUINO_NICLA_VISION: Switch the CYW43 to firmware W4343WA1_45_98_102. 2024-07-18 16:31:03 +03:00
Kwabena W. Agyeman
ddc1de8fb9 ports/stm32/jpeg: Add missing speculative read invalidates. 2024-07-16 13:49:14 -07:00
Kwabena W. Agyeman
4110022e5d imlib/draw: Add missing speculative read invalidates. 2024-07-16 13:49:12 -07:00
iabdalkader
e6f4afd661 misc: Fix DMA memory alignment. 2024-07-16 23:02:09 +03:00
iabdalkader
3b197a770d boards: Increase TinyUSB ring buffer size.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-07-16 14:33:48 +03:00
iabdalkader
3e61aa8933 misc/usbdbg: Increase text buffer size in GET_STATE. 2024-07-16 14:15:15 +03:00
Ibrahim Abdelkader
547859cb00
Merge pull request #2283 from kwagyeman/kwabena/fix_mlx90640
ports/mimxrt: Fix I2C for the MLX90640 driver.
2024-07-16 12:04:19 +02:00
Ibrahim Abdelkader
5b85cee97c
Merge pull request #2286 from openmv/ml_model_addr
modules/py_ml: Add tensor area memory address to model object.
2024-07-16 11:50:12 +02:00
iabdalkader
d66aaa8b35 modules/py_ml: Add tensor area memory address to model object.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-07-16 12:44:38 +03:00
Kwabena W. Agyeman
b7e0b40058 ports/mimxrt: Fix I2C for the MLX90640 driver. 2024-07-15 12:55:16 -07:00
Kwabena W. Agyeman
38d930ab65 sensors/hm0360: Enable HM0360 to work on GIGA. 2024-07-14 19:45:42 -07:00
Ibrahim Abdelkader
357b6f9b07
modules/py_ml: Fix model kwargs. (#2280)
* modules/py_ml: Fix model kwargs.
2024-07-14 23:44:37 +02:00
Kwabena W. Agyeman
d24d2136ea modules/py_ml: Fully vectorize all input and output scaling/datatypes. 2024-07-13 11:33:09 -07:00
Ibrahim Abdelkader
e9a6cbac34
Merge pull request #2263 from kwagyeman/kwabena/fix_ml_scaling
modules/py_image: Change scale argument to (min,max) range.
2024-07-13 18:50:45 +02:00
Kwabena W. Agyeman
8b1b548ed2 scripts/examples: Add regression example. 2024-07-12 15:35:44 -07:00
Ibrahim Abdelkader
abe54df3e7
Merge pull request #2274 from openmv/ml_updates
modules/py_ml: ML updates and fix.
2024-07-12 23:40:55 +02:00
iabdalkader
4506682c2d modules/py_ml: Save labels in model object. 2024-07-13 00:33:27 +03:00
iabdalkader
dd1474e22e misc: Export common environment variables from top Makefile. 2024-07-12 23:06:32 +03:00
iabdalkader
0fbc6f114e modules/py_ml: Fix ndarray ndims check. 2024-07-12 22:01:57 +03:00
Ibrahim Abdelkader
829bbc5cf8
Merge pull request #2264 from kwagyeman/kwabena/buffer_check
modules/py_image: Add buffer length sanity check.
2024-07-11 18:42:49 +02:00
Ibrahim Abdelkader
9a67079fd6
Merge pull request #2272 from openmv/tinyusb_debug
misc: Tinyusb debug updates.
2024-07-10 11:38:30 +02:00
Ibrahim Abdelkader
4aab0f1aa4
Merge pull request #2271 from kwagyeman/kwabena/fix_input_buffer_size
modules/py_ml: Fix the size of the input bytearray.
2024-07-10 11:38:20 +02:00
iabdalkader
9c1283c58e ports/all: Wrap more CDC functions.
Just to ensure tud_task is not call by other code while debugging
is enabled.
2024-07-10 12:35:08 +03:00
iabdalkader
0a69b3df16 misc: Update TinyUSB debug code.
* Wrap-up more CDC functions. Note these were moved to common code
upstream, so in the future we'll only need to wrap one or two functions.
* Recover from text ringbuf overflow by resetting it.
* More efficient text ringbuf read/write.
2024-07-10 12:35:05 +03:00
Kwabena W. Agyeman
454fab7448 modules/py_ml: Fix the size of the input bytearray. 2024-07-09 22:19:15 -07:00
iabdalkader
2a3be63d41 misc: Fix malloc heap memory typo. 2024-07-10 00:20:01 +03:00
iabdalkader
0cef6239e0 misc/usbdbg: Add GET_STATE command.
The GET_STATE command is a command that returns flags, frame width,
height, size, and the text buffer (up to 40 bytes), in a single 64
bytes packet to reduce the bandwidth/overhead of the protocol.
The packet format is:
word    word    word    word    2 words     40 bytes
<flags> <width> <height> <size> <reserved>  <null-terminated text>

The flags are mostly reserved, only the following bits are defined:
0x001 script running
0x010 text buffer valid.
0x100 JPEG frame buffer ready.
2024-07-09 19:18:51 +03:00
Kwabena W. Agyeman
a36ac2db06 modules/py_image: Add buffer length sanity check. 2024-07-08 23:03:07 -07:00
Kwabena W. Agyeman
7b79fb4c77 modules/py_image: Change scale argument to (min,max) range. 2024-07-08 22:32:57 -07:00
Kwabena W. Agyeman
3f8491cb0e scripts/libraries: Move nms to python. 2024-07-07 23:02:15 -07:00
iabdalkader
93e17a3a8d modules/py_ml: Remove input/output callbacks. 2024-07-07 21:48:42 +03:00
iabdalkader
70b89f4744 modules/py_ml: Update ML API to support multi-input models. 2024-07-07 21:48:42 +03:00
Kwabena W. Agyeman
de0d46fa68 modules/py_image: Add unpacking to bytearray support. 2024-07-07 21:48:42 +03:00
iabdalkader
9a186f4e27 libraries/ml: Convert ml to a package.
Add preprocessing, model wrapper and utils.
2024-07-07 21:48:38 +03:00
Ibrahim Abdelkader
e014e48fe3
Merge pull request #2249 from openmv/py_image_type
modules/py_image: Add Image as a type instead of function.
2024-07-07 07:42:56 +02:00
iabdalkader
9ae3d0355c modules/py_image: Add missing draw hint. 2024-07-06 22:54:40 +03:00
iabdalkader
f481c9df77 modules/py_image: Add Image as a type instead of function.
Otherwise something like isinstance(x, image.Image) does Not work.
2024-07-06 18:38:04 +03:00
Ibrahim Abdelkader
2922d6d1c6
Merge pull request #2209 from kwagyeman/kwabena/add_circle_aa
imlib/draw: Add AA support for draw_circle.
2024-07-04 21:21:35 +02:00