Commit Graph

3928 Commits

Author SHA1 Message Date
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
iabdalkader
ca184b6d07 modules/helper: Add arg_to_scale helper. 2023-10-29 19:42:00 +01:00
iabdalkader
dc73c0e298 modules: Refactor py_helper_arg_to_image functions. 2023-10-29 18:39:15 +01:00
iabdalkader
161737092d modules/display: Switch to mp_arg_parse. 2023-10-29 17:17:50 +01:00
iabdalkader
f19f8918d2 modules/py_helper: Add helper functions to support mp_arg_parse.
Those new helper functions will be used later to refactor other functions.
2023-10-29 17:17:26 +01: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
Ibrahim Abdelkader
a99a8fad95
Merge pull request #1996 from kwagyeman/kwabena/fix_tv_bug
modules/tv: Fix image corruption when specifying image rect.
2023-10-27 22:32:35 +02:00
iabdalkader
6d4c4224a2 drivers/winc: Fix AP mode.
The `WEP` security mode has been deprecated since firmware 19.7.6
the only two supported modes now are open and WPA.
2023-10-27 22:18:45 +02:00
Kwabena W. Agyeman
d05c7a67c8 modules/tv: Fix image corruption when specifying image rect. 2023-10-27 12:37:03 -07:00
iabdalkader
b6cdf8de15 modules/py_winc: Make module more compatible with other WiFi modules. 2023-10-27 21:10:23 +02:00
Ibrahim Abdelkader
b65f639f82
Merge pull request #1994 from openmv/display_backlight
modules/display: Add support for Python backlight controllers.
2023-10-27 15:24:39 +02:00
iabdalkader
7bcdca8241 scripts/libraries: Refactor display module. 2023-10-27 12:14:47 +02:00
iabdalkader
ad44d4533f scripts/libraries: Add Python DAC and PWM backlight controllers. 2023-10-27 12:14:47 +02:00
iabdalkader
391ec443f6 modules/display: Add support for Python backlight controllers. 2023-10-27 12:14:46 +02:00
iabdalkader
274b4e915c boards/arduino_nano_33_ble_sense: Update board manifest.py. 2023-10-26 15:55:23 +02:00
iabdalkader
c4511338a2 micropython: Add MICROPY_NLR_RAISE_HOOK.
- This can be set from a custom mpconfigport.h file to call
fb_alloc_free or any other needed cleanup before an exception.
- The omvdummy stuff is no longer needed since a default empty
hook is defined.
2023-10-24 22:04:32 +02:00
iabdalkader
ec40364ed4 ports/all: Add custom mpconfigport file. 2023-10-24 22:03:38 +02:00
iabdalkader
1cd9a8ae68 modules/spi_display: Fix display args.
Arguments were parsed/used in the wrong order.
2023-10-23 16:36:40 +02:00
iabdalkader
d11c0b4669 micropython: Update docs. 2023-10-21 09:15:50 +02:00
iabdalkader
364cbce1d7 misc: Fix build when debugging is enabled. 2023-10-17 15:49:17 +02:00
iabdalkader
03f4dd75c6 imlib: Fix corner detection bug. 2023-10-17 15:01:43 +02:00
iabdalkader
c0753da1df stm32/boards/ARDUINO_GIGA: Add QSPI fix/workaround to early init. 2023-10-16 15:16:55 +02:00
iabdalkader
0a04368528 misc: Refactor file management code. 2023-10-15 17:51:35 +02:00
Ibrahim Abdelkader
e9ef4cda2d
Merge pull request #1975 from kwagyeman/kwabena/support_loading_bytearrays
imlib: Support creating images from bytearrays.
2023-10-15 10:07:34 +03:00
Kwabena W. Agyeman
6752c95ac3 imlib: Support creating images from bytearrays. 2023-10-14 10:03:30 -07:00
Ibrahim Abdelkader
a5c52bb75b
Merge pull request #1974 from kwagyeman/kwabena/fix_fsync
ports/mimxrt: Add support for fsync pin to snapshot.
2023-10-13 21:14:42 +03:00
Kwabena W. Agyeman
bac362b47a ports/mimxrt: Add support for fsync pin to snapshot. 2023-10-13 10:39:26 -07:00
Kwabena W. Agyeman
9f6046bc1c boards/OPENMV_RT1060: Add FSYNC pin and fixed swapped MOSI/MISO pins on SPI4. 2023-10-13 10:38:37 -07:00
Kwabena W. Agyeman
8c010b8ca6 sensors/mt9v0xx: Enable row noise correction. 2023-10-12 13:30:02 -07: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
76628b3719
Merge pull request #1971 from openmv/ov7670_vga_window
sensors/OV7670: Fix VGA window.
2023-10-10 16:08:51 +03:00
iabdalkader
99e46e9f04 sensors/OV7670: Fix VGA window. 2023-10-10 15:02:57 +02:00
Ibrahim Abdelkader
79a4e169d7
Merge pull request #1970 from openmv/sensor_auto_func_fail
modules/py_sensor: Print warning on missing sensor controls.
2023-10-10 13:17:53 +03:00
iabdalkader
dbf4996f21 modules/py_sensor: Print warning on missing sensor controls.
Will not raise an exception if a sensor control is not implemented,
this will allow sharing more scripts between different sensors.
2023-10-10 12:00:21 +02:00
Ibrahim Abdelkader
21ce6f70a0
Merge pull request #1960 from kwagyeman/kwabena/super_morph
imlib: Improve morph grayscale/rgb565 performance by 2.5x.
2023-10-10 09:42:32 +03:00
Kwabena W. Agyeman
e3b5ac7fe9 imlib: Improve morph grayscale/rgb565 performance by 2.5x. 2023-10-09 12:33:35 -07:00
Ibrahim Abdelkader
2e094d5522
Merge pull request #1964 from kwagyeman/kwabena/fix_bug
imlib: Fix in-place scaling bug.
2023-10-09 17:37:38 +03:00
iabdalkader
0cd2e9cbd4 boards/ARDUINO_GIGA: Add Arduino pins. 2023-10-09 16:19:25 +02:00
iabdalkader
023e89a535 micropython/drivers/cywbt.c: Sync CYWBT driver with upstream. 2023-10-09 13:36:41 +02:00
Kwabena W. Agyeman
a2861040e3 imlib: Fix in-place scaling bug. 2023-10-08 22:51:55 -07:00
iabdalkader
088bf957e0 boards/arduino_nano_33_ble_sense: Add LED pins. 2023-10-06 19:54:44 +02:00
iabdalkader
c5b4d061ad scripts/libraries: Add machine extension module. 2023-10-06 19:19:10 +02:00
Ibrahim Abdelkader
6f596c901d
Merge pull request #1956 from kwagyeman/kwabena/cleanup_dma2d
imlib: Fix DMA2D cache line access.
2023-10-06 16:31:40 +03:00
iabdalkader
02eb33995a ports/stm32: Fix display portrait mode. 2023-10-06 15:18:32 +02:00
Kwabena W. Agyeman
522a363f5c imlib: Remove redundant code in draw.c. 2023-10-05 17:48:31 -07:00
Kwabena W. Agyeman
bcc1eacd69 imlib: Fix DMA2D cache line access. 2023-10-05 17:47:37 -07:00
Kwabena W. Agyeman
8c8f23b605 ports/stm32: Improve LCD display update interrupt code. 2023-10-05 16:56:27 -07:00
iabdalkader
7f795dbb2a boards: Add support for Arduino Giga. 2023-10-05 16:05:52 +02:00
iabdalkader
b2852ecd04 micropython: Fix I2C4 support. 2023-10-05 15:52:27 +02:00
iabdalkader
99140040e2 ports/stm32: Call sensor MDMA handler if needed. 2023-10-04 20:51:41 +02:00
iabdalkader
5c1599c14e ports/stm32: Remove hardcoded MDMA channels.
MDMA channels can now be defined in board config files.
2023-10-04 20:51:36 +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
iabdalkader
65524162b2 ports/stm32: Fix DSI display timing. 2023-10-04 19:16:58 +02:00
Kwabena W. Agyeman
6e99dcbdb4 sensors/ov5640: Fix exposure calculation. 2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
74ff2d28f4 sensors: Fix gain calculation math accuracy. 2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
53d69d3473 sensors/ov5640: Add night mode control. 2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
25d4f197c1 sensors/ov5640: Add black level calibration control. 2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
abfd430854 sensors/ov7725: Add ioctl to control nightmode. 2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
33db84ebdc sensors/ov7725: Add controls for blc. 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
Ibrahim Abdelkader
1bc70b0bef
Merge pull request #1946 from kwagyeman/kwabena/fix_transpose_glitches
ports/stm32: Drop frames on transpose corruption.
2023-10-03 22:27:30 +03:00
Kwabena W. Agyeman
63deacdd51 ports/stm32: Drop frames on transpose corruption. 2023-10-03 08:59:12 -07:00
iabdalkader
99ae306b99 sensors/OV7670: Implement flip and mirror controls. 2023-10-03 13:05:31 +02:00
Kwabena W. Agyeman
8fb6dfd88b imlib: Speed up transpose by 5X. 2023-10-02 18:37:40 -07:00
iabdalkader
2b5b7963bb scripts/libraries: Replace drivers with upstream versions. 2023-10-02 14:29:41 +02:00
iabdalkader
55dfec4f06 ports/stm32: Enable DSI display support. 2023-10-01 16:49:18 +02:00
iabdalkader
6c63368297 boards/All: Update board display configuration. 2023-10-01 16:49:18 +02:00
iabdalkader
227824aaca micropython: Refactor all display related modules. 2023-10-01 16:49:18 +02:00
iabdalkader
7467731a38 micropython: Add TFP410 DVI serializer module. 2023-10-01 16:49:18 +02:00
iabdalkader
86ad6dcdbd micropython: Add FT5X06 touch panel driver module. 2023-10-01 16:49:18 +02:00
iabdalkader
9471f94cd1 micropython: Add display data channel module. 2023-10-01 16:49:18 +02:00
iabdalkader
43a4e5519e drivers: Add CEC driver. 2023-10-01 16:49:18 +02:00
iabdalkader
9344c3b743 boards/All: Rename LED pins more consistently. 2023-10-01 16:24:42 +02:00
iabdalkader
311d401cc5 sensors/OV7670: Fix VGA window. 2023-10-01 14:19:30 +02: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
iabdalkader
7a022148f2 micropython: Fix QSPI reset command.
Need to add a delay after a reset and before issuing any other
commands.
2023-09-27 18:30:30 +02:00
Ibrahim Abdelkader
2e8d5d505d
Merge pull request #1936 from openmv/microspeech_fix
ports/stm32: Fix microspeech demo.
2023-09-25 14:13:22 +03:00
iabdalkader
0648071141 ports/stm32: Fix microspeech demo.
- Need to poll events to schedule the audio callback after switching
from pendsv.
- Fixes #1904
2023-09-25 12:38:13 +02:00
iabdalkader
13293d7416 ports/stm32: Misc fixes.
- Link user switch module.
- Add missing string header for debug builds.
2023-09-25 12:29:46 +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
4639b1eb2f drivers: Make all spi based py modules cross platform. 2023-09-16 13:24:24 -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
iabdalkader
081731abd0 micropython: Remove MICROPY_STREAMS_POSIX_API from board config files. 2023-09-15 15:03:59 +02:00
Kwabena W. Agyeman
ed3e4ee89c ports/imxrt/sensor: Fix sensor_set_xclk freq to accept any frequency. 2023-09-13 16:38:05 -07:00
Kwabena W. Agyeman
16c9faa179 sensors: Allow disabling settling time delays. 2023-09-10 18:47:57 -07:00
Ibrahim Abdelkader
d35b6f51d5
Merge pull request #1919 from kwagyeman/kwabena/mt9v034_exposure
sensors/mt9v0xx: Fix exposure calculation.
2023-09-09 19:28:56 +03:00
Kwabena W. Agyeman
b1a823f547 drivers: Move alloc alignment macros to the common header. 2023-09-08 10:49:24 -07:00
Ibrahim Abdelkader
3bb8d12a30
Merge pull request #1914 from kwagyeman/kwabena/fix_invalid_instructions
imlib/fmath: Fix invalid fp instruction usage on cortex-m4.
2023-09-08 11:50:57 +03:00
Kwabena W. Agyeman
2ee188c41b sensors/mt9v0xx: Fix exposure calculation. 2023-09-07 18:19:05 -07:00
Kwabena W. Agyeman
ab0936a747 imlib/fmath: Fix invalid fp instruction usage on cortex-m4. 2023-09-07 18:12:16 -07:00
Kwabena W. Agyeman
a5066fd939 imlib: Fix int maybe breaking. 2023-09-01 19:27:55 -07:00
iabdalkader
8a90e070a8 misc: Bump firmware version. 2023-08-23 18:50:55 +02:00
Ibrahim Abdelkader
8ffedbd1f7
Merge pull request #1901 from openmv/omvrt_1060_pinout
ports/mimxrt: Update port to support OPENMV_RT1060 REV2.
2023-08-23 12:19:05 +03:00
Ibrahim Abdelkader
22bf517587
Merge pull request #1906 from kwagyeman/kwabena/fix_sd_card_detect
boards/OPENMV_RT1060: Fix SD Card Detection on power-on.
2023-08-23 12:10:06 +03:00
Kwabena W. Agyeman
3accc5a306 ports/mimxrt: Add rtc alarm/wakeup functionality. 2023-08-20 14:18:30 +02:00
iabdalkader
437a6cd525 ports/mimxrt: Update port to support OPENMV_RT1060 REV2. 2023-08-20 14:18:24 +02:00
Kai
b4ec242949
ports/imxrt: Fix compile error when disabling sdram. 2023-08-12 18:51:55 +08:00
Kwabena W. Agyeman
bd11076b87 boards/OPENMV_RT1060: Fix SD Card Detection on power-on. 2023-08-02 16:18:07 -07:00
Kwabena W. Agyeman
0695ebe506 boards/OPENMV_RT1060: Fix blinking LED polarity. 2023-07-31 11:40:39 -07:00
Ibrahim Abdelkader
90ab4dc12c
Merge pull request #1900 from openmv/docs_update
micropython: Update docs.
2023-07-22 02:33:36 +03:00
iabdalkader
ca628f1abe micropython: Update docs. 2023-07-22 02:18:18 +03: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
0195473235 ports/stm32: Refactor I2C bus definitions. 2023-07-03 18:35:14 +02:00
iabdalkader
35ed56310d misc: Format code. 2023-07-02 21:49:23 +02:00
iabdalkader
d3840037d4 misc: Disable formatting for auto-generated files and some types. 2023-07-02 16:42:15 +02:00
iabdalkader
187840a9f0 boards/OPENMV_RT1060: Add missing flash size macro. 2023-07-02 12:07:00 +02:00
iabdalkader
4f1152c749 imlib: refactor py blob code. 2023-07-02 11:51:36 +02:00
iabdalkader
1e7be46001 micropython: Update submodule.
* Add board config files.
2023-06-28 23:21:44 +02:00
iabdalkader
989e7cc029 boards/OPENMV_RT60: Add board config files. 2023-06-28 23:09:36 +02:00
iabdalkader
a7033e1b3a ports/mimxrt: Add MIMXRT OMV port. 2023-06-28 22:53:03 +02:00
iabdalkader
9e6efd28c9 hal/mimxrt: Add MIMXRT HAL. 2023-06-28 22:53:00 +02:00
iabdalkader
8c34e2b713 ports/stm32: Call gc_sweep before deinitializing networking drivers.
* Move GC before any deinitializing any drivers as some of them
still need IRQs to clean up.
2023-06-28 17:17:27 +02:00
iabdalkader
e5b3604bd6 ports/stm32: Link CYW43 BTHCI.
* The default/weak bthci was used.
2023-06-27 21:37:57 +02:00
Ibrahim Abdelkader
e6572097b1
Merge pull request #1877 from openmv/gpio_hal_refactor
ports/stm32: Share GPIO IRQ descriptor with other ports.
2023-06-27 19:09:46 +03: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
tejalbarnwal
2d8f3f94a1 lib/libtf: Update libtf regression to support 2D input.
updated tf_regregression to take ulab array as input

updated tf_regregression to take ulab array as input

updated libtf_regression function name

included ulab ndarray

updated libtf header file
2023-06-26 18:46:58 +05:30
iabdalkader
0e91aac4a3 lib/libtf: Update libtf to support 2D regression.
* Note libtf_regression_1Dinput_1Doutput is kept for backwards
compatibility.
2023-06-26 09:57:09 +02:00
Ibrahim Abdelkader
3fdad014f0
Merge pull request #1872 from openmv/pixart_spi_fix
drivers/pixart: Fix spi send/recv functions.
2023-06-24 22:38:40 +03:00
iabdalkader
b27aed8138 ports/stm32: Fix SPI HAL DMA/blocking transfers. 2023-06-24 21:12:20 +02:00
iabdalkader
c5ca54157d drivers/pixart: Fix spi send/recv functions. 2023-06-24 21:11:51 +02:00
iabdalkader
cd9bac9558 ports/stm32: Switch IMU module to the new SPI HAL. 2023-06-17 23:10:17 +02:00
iabdalkader
8c1cb53c65 drivers/pixart: Switch to the new SPI HAL. 2023-06-17 20:37:28 +02:00
iabdalkader
dd9d803ce5 drivers/winc1500: Switch to the new SPI HAL. 2023-06-17 20:14:26 +02:00
iabdalkader
f68f6d70e4 sensors/lepton: Use new VOSPI/SPI HAL.
* This change makes lepton sensor driver completely generic,
by moving all of the VOSPI code to vospi.c, which in turn
uses the new OMV SPI HAL.
2023-06-17 19:21:34 +02:00
iabdalkader
28f808f54f hal/omv: Add SPI HAL. 2023-06-17 17:52:49 +02:00
iabdalkader
67cd9727db ports/stm32: Add DMA utils. 2023-06-17 13:25:29 +02:00
iabdalkader
6975a6c11c ports/stm32: Refactor CEC module to use new GPIO HAL. 2023-06-10 22:31:45 +02:00
iabdalkader
e7b5a3f7e0 ports/all: Refactor cambus code.
* Rename cambus to omv_i2c for consistency with other HALs.
* Rename sensor I2C handle from bus to i2c_bus to allow adding
another handle (ex spi_bus).
2023-06-10 22:00:56 +02:00
iabdalkader
a1724d90dd ports/stm32: Refactor all GPIO pin definitions. 2023-06-10 17:19:12 +02:00
iabdalkader
13bc0fa66d hal: Add GPIO abstraction layer. 2023-06-10 17:19:08 +02:00
iabdalkader
4a2923534e micropython: misc fixes and features for mimxrt. 2023-06-09 22:54:18 +02:00
iabdalkader
de7f161acd sensors/ov7670: Fix CLKRC bypass/pre-scaler. 2023-05-25 15:39:11 +02:00
iabdalkader
275ce67269 ports/nrf: Fix sensor readout.
* D0 & D1 are swapped on ML kit.
2023-05-25 15:39:03 +02:00
iabdalkader
dcbda2bba3 boards/NANO33: Fix OV767x clkrc. 2023-05-25 15:38:54 +02:00
Ibrahim Abdelkader
20a51c7a1e
Merge pull request #1848 from kwagyeman/kwabena/enable_more_tensor_flow_ops
imlib/libtf: Update to the latest tensorflow API.
2023-05-22 22:09:49 +03:00
Kwabena W. Agyeman
1173667522 imlib/libtf: Update to the latest tensorflow API. 2023-05-22 11:47:04 -07:00
Ibrahim Abdelkader
531c656eb6
Merge pull request #1846 from openmv/rp2_license
ports/rp2: Add missing license header to cambus.c
2023-05-19 19:39:50 +03:00
iabdalkader
b01582eff4 ports/rp2: Add missing license header to cambus.c 2023-05-19 18:37:49 +02:00
Ibrahim Abdelkader
ae86790c4e
Merge pull request #1831 from kwagyeman/kwabena/enable_more_tensor_flow_ops
imlib/libtf: Enable more ops in tensorflow library.
2023-05-07 14:30:45 +03:00
Ibrahim Abdelkader
564b023020
Merge pull request #1830 from kwagyeman/kwabena/isp_updates
imlib: Update gamma_corr to support bayer and yuv images.
2023-05-07 14:30:00 +03:00
iabdalkader
59d9f2603b boards/All: Update boards manifests. 2023-05-07 13:18:35 +02:00
iabdalkader
77a7d16c09 boards: Rename Arduino targets. 2023-05-07 13:18:35 +02:00
iabdalkader
9cc17743e6 micropython: Update all types to use the new type definition. 2023-05-07 13:18:35 +02:00
iabdalkader
b2ef6e7b9f micropython: Update micropython to 1.20.0. 2023-05-07 13:18:31 +02:00
Ibrahim Abdelkader
2930561667
Merge pull request #1836 from openmv/arduino_cyw43_opensource
ports/stm32: Switch to the open-source cyw43 driver.
2023-05-07 13:43:17 +03:00
iabdalkader
4f0e3d4ac9 ports/stm32: Switch to the open-source cyw43 driver. 2023-05-07 12:42:29 +02:00
iabdalkader
dd92f06664 micropython: Update ulab to 6.0.12. 2023-05-07 12:39:09 +02:00
iabdalkader
ccfb5b2135 micropython: Update docs. 2023-05-05 11:29:58 +02:00
Kwabena W. Agyeman
abf25b3694 imlib/libtf: Enable more ops in tensorflow library. 2023-05-01 11:09:14 -07:00
Kwabena W. Agyeman
4ba1dfa443 imlib: Update gamma_corr to support bayer and yuv images. 2023-04-27 14:07:37 -07:00
Ibrahim Abdelkader
9ad2a0f156
Merge pull request #1822 from kwagyeman/kwabena/add_isp_stuff
imlib: Add support for AWB and CCM.
2023-04-26 20:26:41 +02:00
Kwabena W. Agyeman
0e0326ffab imlib: Add support for AWB and CCM. 2023-04-26 11:19:35 -07:00
Kwabena W. Agyeman
62910602ef imlib/apriltag: Add floating point centroid. 2023-04-17 17:20:49 -07:00
Kwabena W. Agyeman
3fc55ad314 imlib/mjpeg: Vastly improve MJPEG code. 2023-04-08 15:38:40 -07:00
iabdalkader
9bf509af9e misc: Bump firmware version. 2023-04-07 19:42:52 +02:00
Ibrahim Abdelkader
b156d6b2b4
Merge pull request #1818 from openmv/tinyusb_debug
misc/tinyusb_debug: Misc fixes.
2023-04-07 17:42:54 +02:00
iabdalkader
3b02e197f6 misc/tinyusb_debug: Misc fixes.
* Fix CDC task scheduling.
* Define tinyusb debug packet size.
2023-04-07 17:37:33 +02:00
iabdalkader
2d46e31e8a ports/stm32: Improve script execution and exceptions handling. 2023-04-07 17:35:05 +02:00
iabdalkader
a9e52acdf1 ports/rp2: Improve script execution and exception handling. 2023-04-07 17:34:56 +02:00
iabdalkader
edcdd634f9 ports/nrf: Improve script execution and exception handling. 2023-04-07 17:34:50 +02:00
iabdalkader
e59c0027b1 micropython/pyexec: Disable USB debugger before raising exceptions. 2023-04-07 17:34:50 +02:00
iabdalkader
471453c250 misc/usbdbg: Add function to return debug state. 2023-04-07 17:34:50 +02:00
iabdalkader
985ffd7f6e misc/usbdbg: Refactor USB debugger code.
* Switch to statically allocated exception.
* Refactor common code.
* Misc fixes to harden the exec/stop commands.
2023-04-07 13:07:49 +02:00
iabdalkader
aa6685283d ports/All: Switch to using board pendsv entries. 2023-04-07 12:38:33 +02:00
Ibrahim Abdelkader
afb26ddf72
Merge pull request #1814 from openmv/audio_modules_sched
ports/All: Use static scheduler nodes for Audio modules.
2023-04-07 12:22:24 +02:00
iabdalkader
d705684957 ports/stm32: Use static scheduler nodes for Audio module. 2023-04-07 12:15:18 +02:00
iabdalkader
dafc47bcde ports/rp2: Use static scheduler nodes for Audio module. 2023-04-07 12:15:18 +02:00
iabdalkader
ea21ffedc0 ports/nrf: Use static scheduler nodes for Audio module. 2023-04-07 12:15:16 +02:00
Ibrahim Abdelkader
f555bc9506
Merge pull request #1813 from kwagyeman/kwabena/fix_copy_bug
imlib: Fix bug with copy argument updating original object.
2023-04-02 05:15:45 +02:00
Kwabena W. Agyeman
0e2e95f059 imlib: Fix bug with copy argument updating original object. 2023-04-01 17:34:24 -07:00
iabdalkader
63132ea7b2 sensors/FIR: Disable FIR module build if no sensors are enabled. 2023-04-01 13:57:01 +02:00
iabdalkader
46fb0da0fe ports/stm32: Rename FB alloc overlay size macro. 2023-03-15 12:58:41 +01:00
Ibrahim Abdelkader
142caafee9
Merge pull request #1806 from openmv/assert_fix
imlib: Fix redefined assert error on some builds.
2023-03-14 19:04:36 +02:00
iabdalkader
2ec70fbbaa imlib: Fix redefined assert error on some builds. 2023-03-14 17:57:44 +01:00
iabdalkader
df49751244 sensors/MT9M114: Optimize patch loading.
* Optimize and simplify patch loading by converting firmware patches
to byte arrays and stashing patch address at the start of the array.
This allows loading patches with just one call to cambus_write_bytes,
vs the old 1K short REVs and 1K calls to cambus_write_bytes. Since
patch loading is done on every reset at 100KHz, this saves a lot
of overhead on script run.
2023-03-11 20:03:22 +01:00
iabdalkader
6e40c8ee6b misc/tinyusb_debug: Define IRQ handler names in board config. 2023-03-07 19:27:56 +01:00
iabdalkader
b85a181474 boards/all: Add a bytes offset config option for multi-word UIDs. 2023-03-07 17:47:25 +01:00
iabdalkader
9086dd8911 drivers/winc1500: Set NIC to NULL on closing sockets.
* Just in case user code calls functions on closed socket.
2023-02-21 16:19:02 +01:00
iabdalkader
36a5a96c50 drivers/winc1500: Keep listening socket open on accept timeout. 2023-02-19 19:28:34 +01:00
Kwabena W. Agyeman
509b094a5d imlib/jpeg: Fix compression argument order. 2023-02-19 08:51:46 -08:00
Ibrahim Abdelkader
78c3a1256a
Merge pull request #1781 from kwagyeman/kwabena/add_readout_control_to_niclav
boards/NICLAV: Add readout control to driver and fix image orientation.
2023-02-16 17:08:48 +02:00
Ibrahim Abdelkader
58235761c7
Merge pull request #1772 from kwagyeman/kwabena/add_byte_reversal_support
ports/stm32: Add byte reversal support to lcd screen.
2023-02-15 18:56:32 +02:00
Kwabena W. Agyeman
c64e564943 boards/NICLAV: Add readout control to driver and fix image orientation. 2023-02-12 13:49:36 -08:00
Kwabena W. Agyeman
39ba1a7f50 ports/stm32: Clock finds frequency under requested. 2023-02-12 13:48:25 -08:00
iabdalkader
73222f775f boards/PORTENTA: Override default MT sensor clock. 2023-02-06 17:48:02 +02:00
iabdalkader
a996ead28f sensors/MT9V0XX: Allow overriding external clock frequency. 2023-02-06 17:39:36 +02:00
iabdalkader
4aad2ddf19 misc: Bump firmware version. 2023-01-27 23:05:29 +02:00
iabdalkader
3aece7acf6 ports/stm32: Fix DCMI pins deinit.
* DCMI pins were deinitialized with the DCMI.
2023-01-27 22:44:25 +02:00
iabdalkader
46d346161b boards/OPENMV4_PRO: Enable QSPI Flash. 2023-01-23 12:32:02 +02:00
Kwabena W. Agyeman
e68d002bb7 ports/stm32: Add byte reversal support to lcd screen. 2023-01-22 17:50:13 -08:00
iabdalkader
d44738f94c misc: Bump firmware version. 2023-01-21 11:58:42 +02:00
iabdalkader
c4409c2acd Bump firmware version. 2023-01-21 11:22:19 +02:00
iabdalkader
f3dedd38fd micropython: Update cyw43 library. 2023-01-21 10:23:54 +02:00
Ibrahim Abdelkader
aa355b8c5c
Merge pull request #1768 from openmv/winc_nonblocking
drivers/WINC1500: Return a non-blocking error on socket timeout.
2023-01-19 17:59:48 +02:00
iabdalkader
1dc4bea880 drivers/WINC1500: Return a non-blocking error on socket timeout.
* Return a non-blocking error to MicroPython on socket timeouts,
so the socket doesn't get closed.
2023-01-19 17:41:35 +02:00
iabdalkader
01bc27705a ports/stm32: Call GC sweep first before deinitializing SPI.
* WINC1500 needs SPI active to close sockets, when socket_close
is called from the socket finalizer, which is called from gc_sweep.
2023-01-19 17:38:58 +02:00
tejalbarnwal
ac49aa5285 lib/libtf: Add support for 1D/1D regression models.
* Fixes #1751.
* Fixes #1739.
2022-12-28 20:08:24 +01:00
iabdalkader
b38bbb6791 boards/NICLAV: Fix low-power standby mode. 2022-12-11 17:54:37 +01:00
iabdalkader
86f1f6e905 ports/stm32: Add memory region for CM4. 2022-12-11 17:47:07 +01:00
iabdalkader
f78d191e35 boards/NICLAV: Enable support for CM4. 2022-12-11 17:46:06 +01:00
iabdalkader
df618ffb02 boards/NICLAV: Make MicroSpeech work on Nicla Vision.
* Add example for Nicla Vision.
* Update example comment.
* Fixes #1756
2022-12-04 20:34:42 +01:00
iabdalkader
b277ca8368 misc/stm32cube: Fix module register macro. 2022-11-29 16:13:27 +01:00
iabdalkader
ab9739c2a5 hal/H7: Fix LPUART GPIO AF. 2022-11-29 15:53:22 +01:00
iabdalkader
ffea7ce8d5 boards/NICLAV: Enable LPUART1. 2022-11-28 13:52:27 +01:00
iabdalkader
50a3d3efd5 sensors/OV767x: Update registers. 2022-11-27 18:34:58 +01:00
iabdalkader
ad77f21aa6 misc: Update MicroPython docs. 2022-11-19 18:56:59 +01:00
iabdalkader
c350ad1c94 ports/nrf: Minor fix for mpremote softreboot.
* Print missing soft reboot string.
2022-11-14 19:41:29 +01:00
iabdalkader
9052df5ef9 ports/stm32: Fix HAL MSP deinit functions. 2022-11-11 20:24:31 +01:00
Ibrahim Abdelkader
580fea18ec
Merge pull request #1738 from openmv/fix_unsigned_minmax
imlib: Fix possible signed/unsigned comparisons issues.
2022-10-16 15:16:32 +02:00
iabdalkader
a1f6e04d23 imlib: Fix possible signed/unsigned comparisons issues. 2022-10-16 15:08:43 +02:00
iabdalkader
20b12228dd imlib: Detect comparison between signed and unsigned in MIN/MAX macros. 2022-10-16 15:08:40 +02:00
Ibrahim Abdelkader
90883af6f1
Merge pull request #1726 from kwagyeman/kwabena/fix_draw_image_area_scaling
imlib: Fix Draw Image Area Scaling.
2022-10-03 15:49:38 +02:00
iabdalkader
7c2176af2e ports/stm32: Re-initialize IMU after every soft-reset.
* Fixes #1734.
* On soft-reset all SPI instance are deinitialized, if IMU SPI bus
is enabled in MicroPython it needs to be reinitialized.
2022-09-30 21:31:45 +02:00
iabdalkader
26c6099443 misc: Fix debug_printf.
* Fixes #1707.
2022-09-26 18:23:17 +02:00
iabdalkader
ddf01cb09b ports/rp2: Switch to upstream Nina driver and module. 2022-09-26 18:16:46 +02:00
iabdalkader
238ab38ddc ports/nrf: Switch to the new tinyusb debugger. 2022-09-26 18:16:46 +02:00
iabdalkader
1d339cc355 ports/rp2: Switch to the new tinyusb debugger. 2022-09-26 18:16:46 +02:00
iabdalkader
1e18ecb256 micropython: Update all modules to use new MP_REGISTER_MODULE. 2022-09-26 18:16:46 +02:00
iabdalkader
8542c9c882 ports/stm32: Support the new flash storage configuration. 2022-09-26 18:16:46 +02:00
iabdalkader
f6dc340ee8 drivers/winc1500: Update micropython module. 2022-09-26 18:16:46 +02:00
iabdalkader
5b10953d47 micropython: Update to MicroPython 1-19. 2022-09-26 18:16:44 +02:00
iabdalkader
2ebcfc600c micropython: Update ulab to 5.1.1.
* Fixes #1697.
2022-09-26 17:37:01 +02:00
iabdalkader
f72eb51bd9 micropython: Make USB_VBUS not private. 2022-09-26 17:19:56 +02:00
Kwabena W. Agyeman
7e52cf7511 imlib: Add error note about vflip on lcd display. 2022-09-25 19:41:57 -07:00
Kwabena W. Agyeman
c6f9aceb2a imlib: Fix Draw Image Area Scaling. 2022-09-25 19:16:21 -07:00
Ibrahim Abdelkader
57c406cd5e
Merge pull request #1725 from openmv/tusb_debug
misc: Add common tinyusb debugging code.
2022-09-25 20:25:55 +02:00
iabdalkader
2824cdcb6e misc: Add common tinyusb debugging code. 2022-09-25 20:22:14 +02:00
Kwabena W. Agyeman
29b836d342 imlib: Fix image scaler ROI support. 2022-09-22 10:14:17 -07:00
iabdalkader
dbb6f9eafe sensors/gc2145: Add functions to disable AWB/AEC.
* Note these functions currently have no support for
setting exposure_us or gain.
2022-09-20 12:08:20 +02:00
iabdalkader
1f36bee3a3 boards/OPENMV4_PRO: Enable FLIR Lepton sensor driver. 2022-09-08 20:07:15 +02:00
Ibrahim Abdelkader
87c2261c61
Merge pull request #1719 from openmv/flir_buffer
sensors/LEPTON: Use dma_alloc for packet buffer.
2022-09-08 20:05:09 +02:00
Ibrahim Abdelkader
c53140cb78
Merge pull request #1718 from openmv/uvc_dma_alloc
uvc: Link dma_alloc allocator.
2022-09-08 20:01:22 +02:00
iabdalkader
3d2216c715 sensors/LEPTON: Use dma_alloc for packet buffer.
* Sharing the VOSPI packet DMA buffer with line buffer does not
work for OpenMV 4 PRO, because the packet buffer needs to be in D3.
* This will automatically allocate a DMA buffer for VOSPI packet
in the same domain as the DMA peripheral.
2022-09-08 19:57:25 +02:00
iabdalkader
5aa23dc570 uvc: Link dma_alloc allocator. 2022-09-08 19:54:35 +02:00
Dennis Shtatnov
b457daf9bc boards/OPENMVPT: Use IR rather than color image for temperature stats.
Before this change, the mean temperature of a blob is calculated based on the color values of the image. When running on the Pure Thermal this has the effect of labeling every blob with the min temperature of the entire scene. This change fixes this bug by using the IR image instead of the color image to get the right value.
2022-09-05 11:20:52 -07:00
iabdalkader
22616eb0b9 Bump firmware version. 2022-09-04 13:25:38 +02:00
Ibrahim Abdelkader
83d1b2dfb0
Merge pull request #1714 from openmv/spi6_clk_src
ports/stm32: Add SPI6 clock source configuration.
2022-09-04 13:06:25 +02:00
iabdalkader
c9a0ed6891 ports/stm32: Add SPI6 clock source configuration. 2022-09-04 12:59:45 +02:00
iabdalkader
f7b1b30bc6 bootloader: Fix bootloader FS mode.
* Enable VBUS sensing.
* Disable USB OTG ID pin configuration.
2022-09-04 12:56:21 +02:00
iabdalkader
d27cb27432 Bump firmware version. 2022-09-01 14:08:53 +02:00
iabdalkader
138b0bcdad boards/OPENMV4_PRO: Add board support for OpenMV4-Pro. 2022-08-31 20:16:19 +02:00
iabdalkader
c8798314cb ports/stm32: Fix DMA_BUFFER macro.
* The DMA_BUFFER macro was broken and always forced non-DMA path
for SDCARD, and forced the temporary D1 buffer to be used in SDIO.
2022-08-31 19:31:04 +02:00
iabdalkader
4591e7cef8 ports/stm32: Add support for LSM6DS3 I2C mode. 2022-08-28 18:41:17 +02:00
iabdalkader
3352c20525 ports/stm32: Add CYW43 firmware blob to text section.
* If no special memory is defined for CYW43's firmware, add it
to the main firmware text section.
2022-08-26 18:24:20 +02:00
Ibrahim Abdelkader
8dece2d845
Merge pull request #1705 from openmv/bootloader_config_files
boards: Move bootloader config to new files.
2022-08-14 12:32:41 +02:00
iabdalkader
31e2fff469 boards: Move bootloader config to new files. 2022-08-14 09:18:04 +02:00
iabdalkader
1fbe18d043 sensors/vl53l5cx: Add Makefile flag. 2022-08-13 19:19:59 +02:00
iabdalkader
7d79afac58 sensors/cambus: Add support for ToF I2C. 2022-08-12 23:25:25 +02:00
iabdalkader
3193163a3e boards: Make bootloader USB speed configurable. 2022-08-10 20:06:30 +02:00
iabdalkader
4fa4ff6524 bootloader: Add support for early bootloader pin config.
* For pins such as OSC or ULPI enable.
2022-08-10 19:51:13 +02:00
iabdalkader
e03f42985f bootloader: Add support for USB High Speed. 2022-08-10 19:50:40 +02:00
Ibrahim Abdelkader
ba9f198a42
Merge pull request #1694 from openmv/niclav_uspeech
boards/NICLAV: Enable MicroSpeech module.
2022-07-18 17:09:30 +02:00
iabdalkader
b7db0b8fee boards/NICLAV: Enable MicroSpeech module. 2022-07-18 16:58:06 +02:00
iabdalkader
6205dd445c tools: Use Python3 to run tools. 2022-07-18 15:40:43 +02:00
iabdalkader
2f34ee486b ports/stm32: Disable lwip dispatch first before deinit. 2022-07-10 18:57:06 +02:00
Ibrahim Abdelkader
379e187e07
Merge pull request #1682 from openmv/person_detector
lib/libtf: Replace person detection model with fomo face detection.
2022-07-10 18:15:46 +02:00
iabdalkader
53b5b0786b lib/libtf: Replace person detection model with fomo face detection.
* Person detection model takes about 400KBs of flash, the new fomo
model takes about 50KBs.
2022-07-10 18:02:03 +02:00
iabdalkader
5c4ed47c8b ports/stm32: Disable Soft-I2C if not configured for a board. 2022-07-10 17:37:34 +02:00
iabdalkader
0aaf296e77 boards/PORTENTA: Rename LED pins. 2022-07-02 19:49:02 +02:00
iabdalkader
b7a253e57d boards/NICLAV: Rename LED pins. 2022-07-02 19:40:30 +02:00
Ibrahim Abdelkader
383ee4028f
Merge pull request #1674 from openmv/gc2145_sleep
sensors/GC2145: Implement sleep/low-power function.
2022-06-30 08:56:17 +02:00
Ibrahim Abdelkader
3fb9e89247
Merge pull request #1676 from openmv/hm0360_pll_update
sensors/HM0360: Update PLL config to match the internal oscillator.
2022-06-28 12:43:22 +02:00
iabdalkader
ba718aad71 ports/stm32: Disable sensor external clock if frequency is set to 0. 2022-06-28 12:23:16 +02:00
iabdalkader
b5046e8b69 sensors/HM0360: Update PLL config to match the internal oscillator. 2022-06-28 12:21:40 +02:00
iabdalkader
e4d113513b sensors/HM0360: Ignore OSC_ENABLE ioctl. 2022-06-27 16:17:29 +02:00
iabdalkader
c51a0e00f2 sensors/GC2145: Implement sleep/low-power function.
* Fixes #1673.
2022-06-25 22:47:30 +02:00
iabdalkader
8e9d10594e boards/NICLAV: Update board config.
* Disable Servo module.
* Add GPIO/Analog pin aliases.
* Fix UART instance and pins.
2022-06-20 14:26:44 +02:00
Ibrahim Abdelkader
e06cf95754
Merge pull request #1660 from kwagyeman/kwabena/stereo_disparity
imlib: Add Support for Stereo Disparity for the Arduino Portenta.
2022-06-14 21:19:34 +02:00
Kwabena W. Agyeman
ac202ab854 imlib: Add Support for Stereo Disparity for the Arduino Portenta. 2022-06-13 21:31:33 -07:00
iabdalkader
17fd6fbe4e imlib: Optimize fmath ceilf and floorf functions. 2022-06-08 22:30:52 +02:00
iabdalkader
cc9ed3a477 sensors: Add support for HIMAX HM0360. 2022-06-02 21:30:40 +02:00
iabdalkader
a4b76d12cb ports/stm32: Check EXTI GPIO source before clearing VSYNC IRQ. 2022-06-02 12:58:36 +02:00
Ibrahim Abdelkader
e0529b5c26
Merge pull request #1657 from openmv/exti_rename
boards/ALL: Rename VSYNC EXTI config.
2022-06-02 12:52:15 +02:00
iabdalkader
4fae3d2321 boards/all: Rename VSYNC EXTI config. 2022-06-02 12:44:06 +02:00
Ibrahim Abdelkader
c2eb6ba405
Merge pull request #1656 from openmv/unhandled_exception
ports/stm32: Fix unhandled exception in main.c.
2022-06-02 12:39:17 +02:00
iabdalkader
49b52e081d ports/stm32: Fix unhandled exception in main.c.
* usbdbg_wait_for_command could raise exception when scripts end uninterrupted.
2022-06-02 12:13:46 +02:00
Kwabena W. Agyeman
87c3ac5d95 sensors/mt9v0xx: Add support for color MT9V0xx sensors. 2022-05-29 18:26:58 -07:00
iabdalkader
4f55c02228 boards/NICLAV: Add lsm6dsox driver to manifest. 2022-05-26 10:15:22 +02:00
iabdalkader
bcc1232c3d boards/NICLAV: Enable SPI5. 2022-05-26 09:36:29 +02:00
Ibrahim Abdelkader
d840eefb56
Merge pull request #1647 from openmv/spi45_clksource
hal/H7: Add SPI45 to HAL_RCCEx_GetPeriphCLKFreq.
2022-05-26 08:50:16 +02:00
iabdalkader
71e462bacf hal/H7: Add SPI45 to HAL_RCCEx_GetPeriphCLKFreq. 2022-05-26 08:40:48 +02:00
iabdalkader
b5147fe6c1 usbdbg: Check USB IRQs when blocking on commands.
* If USB IRQs are disabled the command will never finish.
2022-05-25 11:39:41 +02:00
iabdalkader
41d1deaa13 boards/NICLAV: Enable Bluetooth. 2022-05-20 15:23:31 +02:00
iabdalkader
9f06eb4fe1 Bump firmware version. 2022-05-15 20:40:51 +02:00
Ibrahim Abdelkader
4455c030c3
Merge pull request #1641 from openmv/new_usbdbg_commands
ports/all: Add placeholders for new USBDBG commands.
2022-05-15 19:11:07 +02:00
iabdalkader
42bd64d8b0 ports/all: Add placeholders for new USBDBG commands.
* Fixes  #1634.
* Fixes  #1635.
2022-05-15 19:06:26 +02:00
iabdalkader
8cddada54b ports/stm32: Enable STDIO buffer. 2022-05-15 18:50:08 +02:00
Ibrahim Abdelkader
5de80634d6
Merge pull request #1639 from openmv/mp_deinit
ports/stm32: Call mp_deinit() before soft reboot.
2022-05-15 18:45:48 +02:00
Ibrahim Abdelkader
4f80e5e741
Merge pull request #1638 from openmv/usb_cdc_buffers_fix
ports/stm32: Reset CDC buffers after disabling IRQs.
2022-05-15 18:45:24 +02:00
iabdalkader
52a0c44275 ports/stm32: Reset CDC buffers after disabling IRQs.
* Fixes #1637 for good.
* Reset USB CDC buffers after disabling IRQs, when stopping
scripts, to avoid overflows or blocking when printing IDE
exception traceback.
2022-05-15 18:40:09 +02:00
iabdalkader
e3c97ac46e ports/stm32: Call mp_deinit() before soft reboot. 2022-05-15 18:38:20 +02:00
Ibrahim Abdelkader
dfcc649aae
Merge pull request #1605 from kwagyeman/kwabena/fix_black_lines
imlib: Fix black lines on first frame.
2022-05-06 19:39:09 +02:00
Ibrahim Abdelkader
b7c0440d3f
Merge pull request #1630 from openmv/stm32_vsync_exti
ports/stm32: Fix VSYNC EXTI handling.
2022-05-05 21:44:37 +02:00
iabdalkader
85b6229123 ports/stm32: Fix VSYNC EXTI handling.
* Check if EXTI line is VSYNC line before clearing the
EXTI flag, to allow extint.c to handler other IRQS.
2022-05-05 21:39:13 +02:00
iabdalkader
df093f04fc boards/PORTENTA: Fix VSYNC EXTI number. 2022-05-05 21:28:18 +02:00
Ibrahim Abdelkader
6341143d02
Merge pull request #1628 from openmv/omv4_linebuf_size
boards/OPENMV4: Increase frame line buffer size.
2022-05-02 21:00:15 +02:00
iabdalkader
29e1997af6 boards/OPENMV4: Increase frame line buffer size.
* This allows R2 to support a windowed frame at full resolution.
2022-05-02 20:44:40 +02:00
Ibrahim Abdelkader
40c939884c
Update README.md 2022-04-25 18:04:23 +02:00
Ibrahim Abdelkader
d10c883e65
Merge pull request #1623 from openmv/nicla_hse
boards/NICLAV: Fix HSE_VALUE.
2022-04-19 21:17:44 +02:00
iabdalkader
f4bfbf582b boards/NICLAV: Fix HSE_VALUE.
* This board initially used HSI (64MHz) and now it uses HSE (25MHz).
2022-04-19 21:11:53 +02:00
Ibrahim Abdelkader
f7bdec9178
Merge pull request #1607 from kwagyeman/kwabena/fix_deinit
stm32: Fix module deinit between main.py to USBDBG.
2022-04-19 18:03:12 +02:00
iabdalkader
8fad0377d0 boards/NICLAV: Fix power supply mode. 2022-04-19 16:14:25 +02:00
iabdalkader
bf0a057ae3 ports/nrf: Fix mp_init sys_path. 2022-04-18 23:24:12 +02:00
Ibrahim Abdelkader
e344321ea4
Merge pull request #1614 from openmv/vl53l5cx_module
sensors/vl53l5cx: Add vl53l5cx Python module.
2022-04-10 20:47:02 +02:00
iabdalkader
226ae8403e sensors/vl53l5cx: Add vl53l5cx Python module. 2022-04-10 20:40:25 +02:00
iabdalkader
e1fd820960 drivers/vl53l5cx: Add VL53L5CX ST driver. 2022-04-10 20:29:30 +02:00
Larry Bank
5de385ed46 imlib: Fix SIMD YCbCr to RGB conversion.
* Fixes #1597
2022-04-09 12:08:14 +02:00
Kwabena W. Agyeman
7c5fa8641d imlib: Fix black lines on first frame. 2022-04-03 16:42:59 -07:00
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
Ibrahim Abdelkader
74a6190760
Merge pull request #1603 from openmv/fdcan_updates
ports/stm32: Improved CAN FD support.
2022-04-02 17:16:30 +02:00
iabdalkader
9486d1684c ports/stm32: Improved CAN FD support.
* Add support for CAN FD frames.
* Add support for Bitrate Switching (BRS) for data phase.
* Add support for extended (29-bit) frame identifiers.
* Add support for a bus with mixed Classic/FD nodes.
* Return the matching filter ID and type of received messages.
* Fix the maximum range for the nominal and data bit timing parameters.
* Optimize the Message RAM usage per FDCAN instance.
* Document the usage and different sections of the Message RAM.
* Update CAN docs.
* Fixes #1071
2022-04-02 17:09:44 +02: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
Ibrahim Abdelkader
a1cc6b6293
Merge pull request #1592 from openmv/mp_formatting
micropython: Code formatting.
2022-03-15 22:40:53 +02:00
iabdalkader
c1906a0e8c micropython: Code formatting. 2022-03-15 22:36:51 +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
607a31bc5b ports/stm32: Fix USB HS endpoint descriptor offset. 2022-03-12 23:34:42 +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
Ibrahim Abdelkader
68eb6cae8e
Merge pull request #1564 from openmv/openmvpt_set_rtc_source
OPENMVPT: Set RTC clock source back to LSE on startup.
2022-03-02 16:04:56 +02:00
iabdalkader
44a2216de7 OPENMVPT: Set RTC clock source back to LSE on startup. 2022-03-02 16:00:42 +02:00
iabdalkader
af78a0cd59 stm32: Add LSI config option. 2022-02-28 21:27:25 +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
Ibrahim Abdelkader
fa3007a6ea
Merge pull request #1544 from micro-nova/high_temp_cleanup
High temp cleanup
2022-02-18 20:02:20 +02:00
Lincoln Lorenz
bc07e01312 Lepton: Fix default temperature range. 2022-02-18 12:43:55 -05:00
Ibrahim Abdelkader
931fff7e84
Update README.md 2022-02-18 16:31:06 +02:00
iabdalkader
59c78e8ea8 micropython: update docs. 2022-02-18 16:17:23 +02:00
iabdalkader
a6af77cec6 OPENMVPT: Fix RTC LSE. 2022-02-18 04:25:26 +02:00
Lincoln Lorenz
6b2cd10088 Lepton: Add high temperature measurement mode support. 2022-02-18 01:49:09 +02:00
Ibrahim Abdelkader
3ecae84299
Update README.md 2022-02-18 00:32:51 +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
2132da0104 OPENMVPT: Enable RTC LSE. 2022-02-17 05:24:17 +02:00
iabdalkader
f3384f9942 Bump firmware version. 2022-02-14 22:00:52 +02:00
iabdalkader
eba700cb70 Update USB PIDs. 2022-02-14 21:47:39 +02:00
Ibrahim Abdelkader
30982476e6
Update README.md 2022-02-14 20:06:26 +02:00
Ibrahim Abdelkader
a9f7fa0845
Update README.md 2022-02-14 20:02:38 +02:00
Ibrahim Abdelkader
f2e6c9262f
Update README.md 2022-02-14 19:54:39 +02:00
Ibrahim Abdelkader
525756e586
Update README.md 2022-02-14 19:50:40 +02:00
iabdalkader
c606fe6155 Fix libtf README file. 2022-02-14 17:56:01 +02:00
iabdalkader
dc6edaee31 NICLAV: Fix USB PID. 2022-02-14 16:03:44 +02:00
Ibrahim Abdelkader
3eef2777a7
Update README.md 2022-02-14 06:51:57 +02:00
Kwabena W. Agyeman
d370763034 Add missing tf operators for edge impulse 2022-02-12 09:58:54 -08:00
iabdalkader
0cb8a9eb69 ulab: Update to v4.0.0
* Fixes #1521
2022-02-12 18:34:32 +02:00
iabdalkader
067d4f54ed WINC1500: Update firmware.
* Update firmware to 19.7.6.
* Update firmware update script.
* Fix reported host driver version.
2022-02-09 21:57:08 +02:00
Kwabena W. Agyeman
b320334efd Update TF to ei-V2.5.0 2022-02-07 20:29:13 -08:00
iabdalkader
9de1f50a65 Libtf: Add support for replacing/adding built-in models. 2022-02-08 02:10:16 +02:00
Kwabena W. Agyeman
2ee2a163b7 Libtf: Update TensorFlow Lite code
* Extract built-in model.
* Update libtf headers and libraries.
* Remove duplicate libtf.h header.
2022-02-08 01:40:53 +02:00
Kwabena W. Agyeman
acb3ceb45d Make space for object detection networks 2022-02-07 20:42:27 +02:00
iabdalkader
82d22ec27c Implement Arduino 1200BPS touch to bootloader. 2022-02-06 01:22:02 +02:00
Ibrahim Abdelkader
9cedae8630
Merge pull request #1516 from openmv/niclav_readme
NICLAV: Add readme txt.
2022-01-27 18:32:47 +02:00
iabdalkader
66860540d2 NICLAV: Add readme txt. 2022-01-27 18:07:34 +02:00
iabdalkader
bdff0f58aa RP2: Disable LFS2. 2022-01-27 18:05:32 +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
iabdalkader
aea1ac55cc pyexec: Disable message printed when frozen module is not found. 2022-01-04 22:03:30 +02:00
iabdalkader
f6dbd87eac RP2: Disable rx_wanted_cb in debug mode. 2022-01-04 01:21:33 +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
b6f95cee09 Nano RP2040: Set default I2C pins. 2021-12-29 19:38:20 +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
cb4b2dbc55 Update micropython.
* Enable bitstream for RP2.
* Enable machine.bootloader() for NRF.
* Update make-pins.py to match upstream.
2021-12-27 20:03:20 +02:00
iabdalkader
0a82b20911 Bump firmware version. 2021-12-18 23:50:04 +02:00
iabdalkader
d02289d6dc Update MicroPython.
* Fixes a bug in ADC/QSPI pins.
2021-12-18 23:42:42 +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
9b2a44a802 Update pico-sdk to 1.3.0 and tinyusb 0.12.0 2021-11-21 20:58:06 +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
859dae1cc7 Update SDRAM test. 2021-11-09 16:24:26 +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
iabdalkader
9649885b86 stm32/machine_i2c: Enable HW I2C for H7. 2021-09-21 15:14:43 +02:00
iabdalkader
14d7c6ede6 BORMIO: Update VID/PID 2021-09-21 15:12:52 +02: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
1fc5da82bf Make SPI45 clock source configurable. 2021-09-18 00:12:39 +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
b43511b142 NANO-RP2040: Add patch to fix flash issue. 2021-08-26 20:25:47 +02:00
iabdalkader
ae0d060e13 stm32: Register WINC as default WLAN module when used 2021-08-26 17:36:39 +02:00
iabdalkader
6438a3c6ea Nina-w10: Fix ifconfig args order. 2021-08-26 16:59:35 +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
7590ac0a24 Fix machine i2c scan. 2021-08-05 00:53:02 +02:00
iabdalkader
bd245546b7 Bump firmware version. 2021-08-02 22:47:12 +02:00
iabdalkader
94dd629e5a Update NINA driver firmware version. 2021-08-02 15:59:54 +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
04edfbd7bd NRF: Add jump to bootloader. 2021-07-30 13:12:40 +02:00
iabdalkader
ab506618d7 Nina: Add firmware version checking. 2021-07-29 21:32:15 +02:00
iabdalkader
9dafa2447b Nina: Implement AP mode. 2021-07-29 21:23:47 +02:00
iabdalkader
eb2f982779 Nina: Make WiFi driver API compatible with CYW43/upstream. 2021-07-29 21:23:45 +02:00
iabdalkader
088b39dde7 Nina: Fix bind() socket state check for UDP sockets. 2021-07-29 21:23:41 +02:00
iabdalkader
07efa8cacf Nina: Add BSP deinit function. 2021-07-29 21:23:34 +02:00
iabdalkader
3d14963596 RP2: Fix debugging text buffer race. 2021-07-28 23:01:13 +02:00
iabdalkader
b5316e5160 RP2: Nina WiFi timeout fixes. 2021-07-28 22:42:44 +02:00
Ibrahim Abd Elkader
0d2c225e75
Merge pull request #1411 from openmv/rp2_wifi_fixes
RP2: WiFi Nina fixes.
2021-07-28 14:09:28 +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
Ibrahim Abd Elkader
a1c665abce
Update README.md 2021-07-28 03:38:28 +02:00
iabdalkader
bbc263c634 RP2: Bluetooth port updates. 2021-07-27 18:43:05 +02:00
iabdalkader
489f290a0a RP2: Fix USB PID/VID 2021-07-27 18:29:21 +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
be8dcc2fed RP2: Fix BT HCI uart timeout. 2021-07-22 15:41:29 +02:00
iabdalkader
917509ed65 RP2: Update NINA bsp. 2021-07-22 14:22:33 +02:00