Commit Graph

3426 Commits

Author SHA1 Message Date
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