Kwabena W. Agyeman
8267a33abd
Refactor fir driver to improve code quality
2020-12-29 19:44:36 -08:00
Kwabena W. Agyeman
bbeb9729f8
Improve read_ir() to support hmirror, vflip, and tranpose
2020-12-29 19:42:49 -08:00
Ibrahim Abd Elkader
7e513ba158
Merge pull request #1067 from openmv/fir_module
...
Move py_fir module to generic modules.
2020-12-30 02:39:55 +02:00
Ibrahim Abd Elkader
621c97ecbd
Merge pull request #1066 from openmv/nrf_cambus
...
Enable FIR drivers in NRF port.
2020-12-30 02:28:32 +02:00
iabdalkader
0c6ecadfa9
Move py_fir module to generic modules.
2020-12-30 01:50:49 +02:00
iabdalkader
088b1480ee
Enable FIR drivers in NRF port.
2020-12-30 01:45:05 +02:00
iabdalkader
f5806ad704
Implement cambus in NRF port.
2020-12-30 01:43:42 +02:00
iabdalkader
55cde3ff08
Move framebuffer initialization to framebuffer.c
...
* This decouples the framebuffer from the sensor
2020-12-30 01:33:02 +02:00
iabdalkader
74e214abe8
Move unaligned memory to separate file.
2020-12-30 00:58:26 +02:00
iabdalkader
ba80759f61
Fix reference to ffs_strerror when image I/O is disabled.
2020-12-30 00:32:22 +02:00
iabdalkader
eb2ba24869
Update nrf port.
2020-12-30 00:27:56 +02:00
iabdalkader
97ca0502ee
Remove unused file in nrf port.
2020-12-29 15:26:43 +02:00
iabdalkader
640f8bf08a
Add Hash driver.
...
* This is not enabled and not currently used by any board.
2020-12-29 15:22:42 +02:00
iabdalkader
f12fb5fda6
Make cambus/I2C driver portable.
...
* Use I2C IDs to initialize the cambus/I2C driver instead of handles.
* Different ports can provide implementations in omv/ports/<port>/cambus.c/cambus_struct.h.
2020-12-29 00:54:53 +02:00
iabdalkader
5151319517
Switch to the official MLX90621 driver.
2020-12-28 19:56:53 +02:00
iabdalkader
d9a9768d76
Add cambus sequential read/write functions.
...
* These two functions handle no-stop/repeated start.
2020-12-28 19:15:23 +02:00
iabdalkader
bd32cb67e8
Add MLX90621 driver.
2020-12-28 19:14:28 +02:00
iabdalkader
5a68cac044
Add MLX90640 driver library license file.
2020-12-27 17:13:40 +02:00
iabdalkader
5c2e33fbbe
Rename MLX driver dir.
2020-12-27 17:13:23 +02:00
Ibrahim Abd Elkader
9b73913a13
Merge pull request #1059 from kwagyeman/kwabena/draw_ir_update
...
Kwabena/draw ir update
2020-12-27 16:19:15 +02:00
Kwabena W. Agyeman
6663394e63
Use ROI instead of the image in the final steps
2020-12-26 18:53:52 -08:00
Kwabena W. Agyeman
0a29103b43
Update draw_ir to use the new drawing pipeline
2020-12-26 18:53:09 -08:00
iabdalkader
cec82546fc
Add Nano 33 BLE board files.
2020-12-26 23:39:58 +02:00
iabdalkader
e0f68f730f
Add nRF port.
2020-12-26 23:39:45 +02:00
iabdalkader
520e46721c
Make USB debug configurable to work with different ports.
2020-12-26 23:03:25 +02:00
iabdalkader
a0d7cf13ad
Allow building the image library and modules without a filesystem.
...
* Images, models and descriptors I/O can be disabled with imlib flag.
* Image creation in memory still works if image I/O is disabled.
* TF and Haar can still load built-in models/cascades if image I/O is disabled.
2020-12-26 21:05:34 +02:00
iabdalkader
9ede43c9bd
Fix imlib descriptors build dependencies.
2020-12-25 22:20:34 +02:00
iabdalkader
4f47e35819
Rename port Makefile for consistency
2020-12-25 20:18:38 +02:00
Ibrahim Abd Elkader
b4dc6a8d57
Merge pull request #1053 from openmv/fix_omvpt
...
Fix OPENMVPT build.
2020-12-25 01:05:42 +02:00
iabdalkader
d4e571153b
Fix OPENMVPT build.
...
* Include missing headers.
2020-12-25 00:13:01 +02:00
iabdalkader
38d687e3c9
Move common flags/options to top Makefile.
2020-12-25 00:03:00 +02:00
iabdalkader
2cd73bbe03
Make py sensor module configurable.
2020-12-24 23:14:19 +02:00
iabdalkader
c397ca3aeb
Move main Makefile to port Makefile(s)
2020-12-24 22:09:49 +02:00
iabdalkader
cf35c53e73
Update tinyusb submodule to 0.7.0
2020-12-24 20:13:35 +02:00
iabdalkader
53b2d6b8b3
Update USB debugging.
...
* Move usbdbg.h to common headers.
* Update text buffer functions.
2020-12-23 23:19:08 +02:00
iabdalkader
5f3d41e3dc
Move oofatfs and drivers objects to port Makefile
2020-12-20 00:09:06 +02:00
iabdalkader
c67dda9f2b
Update qstrs.
2020-12-19 21:55:32 +02:00
Ibrahim Abd Elkader
03ce421507
Merge pull request #1045 from openmv/sensor_updates
...
Move pixel format to imlib.
2020-12-19 21:53:42 +02:00
Ibrahim Abd Elkader
b790bc3eb2
Merge pull request #1043 from openmv/systick_fix
...
Use MP HAL delay/ticks instead of systick.
2020-12-19 21:36:02 +02:00
iabdalkader
50d17dd860
Move pixel format to imlib.
...
* Remove dependency on sensor.h
2020-12-19 21:30:18 +02:00
iabdalkader
474c681eac
Use MP HAL delay/ticks instead of systick.
...
* Allow building sensor drivers with different ports.
2020-12-19 21:17:09 +02:00
iabdalkader
4bfa7b41b7
Remove STM32_HAL_H from common code.
2020-12-19 20:51:52 +02:00
iabdalkader
cba935a9f4
Move HAL header define to port Makefile
2020-12-19 20:08:35 +02:00
Ibrahim Abd Elkader
9a7eb9e054
Update README.md
2020-12-19 04:17:49 +02:00
iabdalkader
04fae4f28b
Update sensors drivers headers.
...
* Fix possible build issues if a driver is disabled.
* Make sure no extra files are included if a driver is disabled.
2020-12-19 00:39:11 +02:00
iabdalkader
908d5c8291
Remove code dependency on mp.h header.
2020-12-18 23:16:55 +02:00
iabdalkader
0be13bdaa1
Add extern definition for HAL_GetHalVersion
2020-12-18 22:20:11 +02:00
iabdalkader
9f5dbae31b
Move mutex to common code.
2020-12-18 21:54:29 +02:00
iabdalkader
c3ccf19234
Build MicroPython before HAL.
...
* To generate headers before they're included in HAL.
2020-12-18 21:10:08 +02:00
iabdalkader
8fc60b208b
Add per port Makefile.
2020-12-18 20:50:20 +02:00
iabdalkader
bc6d1d22f0
Split code into common and port specific code.
2020-12-18 00:59:28 +02:00
iabdalkader
dd67d4c341
Move sensor drivers to subdir.
2020-12-18 00:59:28 +02:00
iabdalkader
a98e6288bd
Add port flag to board makefiles.
2020-12-18 00:40:19 +02:00
iabdalkader
fbc767b36c
Remove outdated CMSIS-NN code.
2020-12-16 22:01:24 +02:00
iabdalkader
8f3ff7c55d
Fix stm32cubeai Makefile.
2020-12-16 21:39:51 +02:00
Ibrahim Abd Elkader
255e7fa8d6
Merge pull request #1033 from openmv/sensors_update
...
Remove HAL include from sensor drivers.
2020-12-16 19:27:56 +02:00
iabdalkader
4983cc12e5
Remove HAL include from sensor drivers.
2020-12-16 18:42:53 +02:00
iabdalkader
dac419f9fc
Set startup and system files in Makefile based on MCU.
2020-12-16 00:25:17 +02:00
iabdalkader
5de70dcfab
Make UVC and Bootloader build configurable in board config files.
2020-12-15 21:56:47 +02:00
iabdalkader
86ed19df7a
Add tinyusb submodule.
2020-12-15 21:22:15 +02:00
iabdalkader
0b4b74ee19
Remove outdated drivers.
2020-12-14 23:02:15 +02:00
iabdalkader
13a6ccd123
Restructure the repository.
2020-12-14 01:44:51 +02:00
Kwabena W. Agyeman
fee119f5c6
Kwabena/ov5640 af ( #1024 )
...
* Enable OV5640 AF
* Add IOCTLs to control auto focus
2020-12-07 03:00:10 +02:00
iabdalkader
561ab24f7a
Bump firmware version.
2020-12-06 21:55:24 +02:00
iabdalkader
17bcc7d200
Bump firmware version to 3.8.0
2020-12-06 21:13:01 +02:00
iabdalkader
2c80728bc8
Calculate CAN bit timing from baudrate.
2020-12-06 20:34:42 +02:00
iabdalkader
d61f236f26
F4: Disable DAC functions that require DMA.
...
* It's not possible to use DAC with heap buffers on the F4 because the heap is located in CCM which is not accessible by DMA.
2020-12-05 20:20:07 +02:00
iabdalkader
7590a17400
Update Pure Thermal board files.
2020-12-05 04:27:50 +02:00
Kwabena W. Agyeman
6ef6e92cc9
Rename OpenMV Pure Thermal
2020-12-04 16:59:51 -08:00
Kwabena W. Agyeman
7f62250b36
Fix OV2640 sensor clock
2020-12-04 15:19:49 -08:00
Kwabena W. Agyeman
5e419eedde
Fix OV5640 rev Y slock freq scaling
2020-12-04 14:38:19 -08:00
iabdalkader
1a46add7f9
Update docs.
2020-12-04 14:46:20 +02:00
iabdalkader
9c5a15973a
Fix TIM state in updated H7 HAL.
2020-12-04 00:57:28 +02:00
iabdalkader
71b3f62275
Make sure Systick is disabled on stop mode entry.
2020-12-03 19:44:34 +02:00
iabdalkader
bb698b1210
H7 low power mode fixes.
...
* Fix stop mode voltage scaling for H7 rev V devices.
* Re-enable disabled OSCs and PLLs after exiting stop mode.
* Add functions to enter/exit SDRAM low power mode.
* Fix DRAM retention in stop mode.
2020-12-02 22:52:46 +02:00
iabdalkader
7e920b4c42
Enable DBGMCU only if DEBUG=1
2020-12-02 22:52:14 +02:00
iabdalkader
cdfcf839f1
Revert raise_irq_pri on SD read/write blocks.
2020-12-01 23:25:52 +02:00
iabdalkader
a2d7cdee62
Switch debugging build to -Og
2020-12-01 16:15:07 +02:00
iabdalkader
fce5c9016d
Fix FIR I2C bus arbitration lost error.
...
* If the FIR I2C bus is interrupted during a read/write the I2C device misbehaves and gets stuck pulling SDA low and the next
time the device is re-initialized the I2C controller detects an arbitration lost condition.
* The most affected sensor seems to be the AMG8833 on the F4, F7 and H7 micros and the MLX90640 on the F4 mirco.
* Add a function to switch SCL to GPIO and pulse SCL at ~100KHz to attempt to unstuck the I2C device, it will attempt this
one time before giving up.
* This seems to work very well on all the tested micro-controllers.
2020-12-01 15:21:22 +02:00
iabdalkader
ffe9a4bba3
Retry AMG8833 init a few times.
...
* Fixes occasional failure on F7 on soft-reset.
2020-12-01 01:13:03 +02:00
iabdalkader
2700fb9123
Use I2C_TIMING for F4.
2020-11-30 22:36:21 +02:00
iabdalkader
193ea31ec3
Use a different timeout for cambus/i2c scanning.
2020-11-30 22:24:18 +02:00
iabdalkader
4e4a2ba1ca
Update docs.
2020-11-30 18:04:58 +02:00
iabdalkader
5f193e8a82
Remove old fatfs library.
2020-11-30 00:13:02 +02:00
iabdalkader
77a1512dad
Update STHAL
...
* F4 HAL V1.7.1 -> V1.7.10
* F7 HAL V1.2.2 -> V1.2.8
* H7 HAL V1.6.0 -> V1.9.0
2020-11-29 21:22:43 +02:00
iabdalkader
0fb882adc3
Update CMSIS headers.
2020-11-29 00:43:46 +02:00
Ibrahim Abd Elkader
eab5a2837c
Merge pull request #1012 from openmv/make_link
...
Link libgcc to bootloader and UVC.
2020-11-29 00:38:12 +02:00
Ibrahim Abd Elkader
8e8f0cd952
Merge pull request #1011 from openmv/repl_prompt
...
Add HAL version to REPL prompt
2020-11-29 00:30:49 +02:00
Ibrahim Abd Elkader
b559ed9111
Merge pull request #1010 from kwagyeman/kwabena/fix_m4_lcd
...
Fix defines
2020-11-29 00:07:51 +02:00
iabdalkader
106cbbc125
Link libgcc to bootloader and UVC.
...
* Fixes link error in newer HALs.
2020-11-29 00:06:38 +02:00
iabdalkader
22bd9a6c54
Add HAL version to REPL prompt
2020-11-29 00:05:25 +02:00
Kwabena W. Agyeman
e537a476b2
Fix defines
2020-11-28 13:26:14 -08:00
iabdalkader
d33d645297
Fix ep0_mps on the M4.
...
* Note ep0_mps is not used anywhere, but we keep it for now.
2020-11-28 22:45:41 +02:00
iabdalkader
fd33bffd60
Fix CMSIS files CRLF.
2020-11-28 19:41:20 +02:00
iabdalkader
9d9b2bed85
PORTENTA: Enable Ethernet.
2020-11-27 19:51:24 +02:00
iabdalkader
8e8295a05c
Disable text compression in debug builds.
2020-11-27 18:47:21 +02:00
Ibrahim Abd Elkader
ed91eb8570
Merge pull request #1006 from openmv/fix_time
...
Merge time and utime modules.
2020-11-27 18:46:34 +02:00
Ibrahim Abd Elkader
be59d895d6
Merge pull request #1004 from kwagyeman/kwabena/add_hdmi_cec_support
...
Add hdmi cec support
2020-11-27 16:06:52 +02:00
iabdalkader
20587f308e
Merge time and utime modules.
...
* Move clock class to utime module.
* Update all examples to be compatible with utime.
2020-11-27 15:44:39 +02:00
iabdalkader
1a293c2643
Fix gc-collect bug.
2020-11-27 00:51:58 +02:00
Kwabena W. Agyeman
6afa524305
Add hdmi cec support
2020-11-25 20:40:46 -08:00
iabdalkader
825dd07421
Update cpufreq
...
* Add more frequencies.
* Support REV X/Y and V frequencies.
* Allow boards to override the max frequency.
2020-11-26 00:10:28 +02:00
iabdalkader
644074d31f
Make py_func_unavailable handle no args.
2020-11-25 21:03:25 +02:00
Ibrahim Abd Elkader
7f5969dfa4
Merge pull request #998 from openmv/winc_spih
...
WINC: Use static SPI handle to avoid conflicts.
2020-11-25 20:58:50 +02:00
Ibrahim Abd Elkader
513cf885ef
Merge pull request #999 from openmv/openmv2_ov2640
...
OPENMV2: Enable OV2640 driver
2020-11-25 20:42:55 +02:00
Ibrahim Abd Elkader
b93231be67
Merge pull request #997 from kwagyeman/kwabena/move_spi_pin_init
...
Move SPI pin init
2020-11-25 20:40:25 +02:00
iabdalkader
f53b8ceac2
OPENMV2: Enable OV2640 driver
2020-11-25 19:54:00 +02:00
iabdalkader
386464435f
WINC: Use static SPI handle to avoid conflicts.
2020-11-25 19:53:00 +02:00
Kwabena W. Agyeman
64b39101d7
Move SPI pin init
2020-11-25 09:51:27 -08:00
iabdalkader
7c5d844b51
Return error on WINC SPI bus init fail.
2020-11-25 19:19:56 +02:00
iabdalkader
11ce290e60
Switch to frozen manifest.
2020-11-25 02:41:21 +02:00
iabdalkader
fb0a5e26d5
Update to MicroPython 1.13
2020-11-25 02:39:54 +02:00
iabdalkader
207763e555
Bump firmware version.
2020-11-23 20:47:04 +02:00
Ibrahim Abd Elkader
1072df19df
Merge pull request #993 from openmv/fix_imlib_deps
...
Fix imlib deps
2020-11-23 01:59:56 +02:00
Kwabena W. Agyeman
571ddb9900
Apply suggestions from code review
...
Co-authored-by: Ibrahim Abd Elkader <i.abdalkader@gmail.com>
2020-11-22 15:33:28 -08:00
iabdalkader
e76acbf2f3
Simplify phase/rotation correlation dependency.
2020-11-22 23:46:58 +02:00
iabdalkader
aab594f2d0
Allow find_rects and rot_corr to build with apriltags disabled.
2020-11-22 23:28:19 +02:00
iabdalkader
e705908a3f
Remove find_line_segments dependency on find_lines.
2020-11-22 23:06:05 +02:00
iabdalkader
c548c336f9
Fix black/top hat.
...
* Depend on both binary and math ops.
2020-11-22 22:42:15 +02:00
Kwabena W. Agyeman
293f569597
Add ft5x06 touch screen lcd support
2020-11-22 11:02:19 -08:00
Ibrahim Abd Elkader
d24649bdb4
Merge pull request #990 from kwagyeman/kwabena/add_hdmi_support_3
...
Add HDMI support via the TFP410
2020-11-22 20:09:10 +02:00
iabdalkader
ba7a5981ae
Portenta: set rst_eth high.
...
* This is a temporary fix for the eth/sdram issue.
2020-11-22 17:59:13 +02:00
iabdalkader
e6da2c0ece
Update board files.
2020-11-22 15:38:46 +02:00
Kwabena W. Agyeman
fd8e8f4787
Add HDMI support via the TFP410
2020-11-21 12:41:23 -08:00
Ibrahim Abd Elkader
b6f03500e0
Merge pull request #986 from kwagyeman/kwabena/enable_dma2d
...
Enable DMA2D for draw row
2020-11-21 00:03:03 +02:00
iabdalkader
bf438d2413
Allow filtering with a list of labels.
2020-11-20 19:17:51 +02:00
iabdalkader
e67f51cfed
Use running window average to filter detection results
2020-11-20 19:17:51 +02:00
iabdalkader
b26188faa5
Add micro_speech function to process the spectrogram.
2020-11-20 19:17:51 +02:00
iabdalkader
edeefe6bd7
Add py_helper function to lookup an iterable.
2020-11-20 18:19:21 +02:00
Ibrahim Abd Elkader
c3a200e2d7
Merge pull request #985 from kwagyeman/kwabena/update_core_cm7
...
Update the cmsis cm7 header
2020-11-20 15:25:40 +02:00
Kwabena W. Agyeman
c23c1532c3
Only activate dma2d in useful situations
2020-11-20 00:26:57 -08:00
Kwabena W. Agyeman
bae7c4f1b2
Enable DMA2D for draw row
2020-11-19 23:48:21 -08:00
Kwabena W. Agyeman
107aa75323
Update the cmsis cm7 header
2020-11-19 23:23:48 -08:00
iabdalkader
ad1be08d2e
Export part of py_tf API to the rest of the modules.
...
* Allow reusing models loaded with py_tf.
* Allow calling libtf_invoke without implementing the log buffer code.
2020-11-17 23:44:08 +02:00
Ibrahim Abd Elkader
1eed1ec402
Merge pull request #978 from openmv/copy_to_fb_fix
...
Update JPEG frame buffer after loading/creating images.
2020-11-16 13:54:56 +02:00
iabdalkader
b46ba79557
Update JPEG frame buffer after loading/creating images.
...
* With this fix the frame buffer will be updated instantly after loading or creating
new images with the copy_to_fb flag set to true.
* There's no need to flush the framebuffer after loading or creating images anymore,
however the sensor (or image) flush() still needs to be called after drawing to see the updates.
2020-11-16 00:54:29 +02:00
iabdalkader
04c25f94ca
SDRAM test updates.
...
* Make SDRAM test cache-aware.
* Add flag to control SDRAM test.
* Re-enable test for all boards.
2020-11-16 00:45:01 +02:00
Ibrahim Abd Elkader
11d7cde25b
Merge pull request #973 from openmv/cambus_init
...
Initialize all I2C handle unused fields.
2020-11-15 20:13:06 +02:00
Ibrahim Abd Elkader
361ed93cb8
Merge pull request #975 from openmv/pwr_supply
...
Add power supply board configuration.
2020-11-15 19:36:22 +02:00
iabdalkader
315c8a1703
Initialize all I2C handle unused fields.
2020-11-15 19:02:18 +02:00
iabdalkader
62570c6e47
Add power supply board configuration.
2020-11-15 18:39:04 +02:00
iabdalkader
2b267bc2f2
Add flag to disable the cache for testing.
2020-11-15 18:29:12 +02:00
iabdalkader
495a63771a
Add function to update the framebuffer from an image
2020-11-15 17:27:15 +02:00
iabdalkader
e5d37c945a
Update audio to use common macros.
2020-11-14 20:50:52 +02:00
iabdalkader
225474e145
Make sure FB pixels is always aligned.
2020-11-14 20:40:48 +02:00
iabdalkader
7b30b03ad7
Update common macros.
2020-11-14 20:32:12 +02:00
iabdalkader
9de7ac957c
Revert "Update Portenta board config."
...
This reverts commit 9388348b72 .
2020-11-14 03:18:58 +02:00
iabdalkader
e231204abb
PORTENTA: Fix SDRAM timing config.
2020-11-14 01:10:01 +02:00
iabdalkader
e166bd12fb
Remove unused SDRAM test flag.
2020-11-14 00:48:34 +02:00
iabdalkader
2549d029cc
Cleanup linker scripts.
...
* Remove legacy bss symbols.
2020-11-14 00:21:09 +02:00
iabdalkader
265604263f
Make sure storage is initialized before logging error.
...
* Early __fatal_error calls may try to log an error to file,
before any storage is initialized which may cause a hardfault.
2020-11-13 22:46:27 +02:00
iabdalkader
b44761598d
Update SDRAM test.
...
* Make test more useful if cache is enabled.
* Make test call __fatal_error with more verbose messages.
2020-11-13 21:21:00 +02:00
iabdalkader
228e5962f6
Disable threading.
...
* Will be replaced by co-routines soon.
2020-11-13 16:49:38 +02:00
iabdalkader
77a9ba7f18
Move DCMI IRQ handlers to sensor.c
2020-11-13 16:34:39 +02:00
iabdalkader
9388348b72
Update Portenta board config.
...
* Remove DCMI_PWDN pin define.
2020-11-13 00:25:45 +02:00
iabdalkader
3eb5f346b1
Fix build errors if no DCMI GPIOs are defined.
2020-11-12 23:38:06 +02:00
iabdalkader
efca0603a7
Add micro speech module.
2020-11-10 23:28:23 +02:00
iabdalkader
f068963bee
Update libtf.
2020-11-10 23:19:30 +02:00
iabdalkader
04888543a3
Increase audio buffer size.
2020-11-10 22:46:37 +02:00
Kwabena W. Agyeman
185538207f
New LCD controller code
2020-11-09 23:11:56 -08:00
iabdalkader
190dc519cf
Make audio module non-blocking.
2020-11-08 22:32:59 +02:00
iabdalkader
5145287e1e
Add default value to py_helper_keyword_object
2020-11-08 21:46:09 +02:00
Ibrahim Abd Elkader
c46164b423
Merge pull request #953 from kwagyeman/kwabena/draw_extent
...
Add draw_image extent calculator
2020-11-08 21:15:36 +02:00
Kwabena W. Agyeman
6117a5909a
Add draw_image extent calculator.
2020-11-08 11:07:04 -08:00
iabdalkader
1f4da5e402
Update SPI code.
2020-11-08 16:28:08 +02:00
Ibrahim Abd Elkader
bc074de2ae
Merge pull request #952 from kwagyeman/kwabena/add_spi_and_lcd_configs
...
Add spi and ltdc board config settings
2020-11-08 16:26:11 +02:00
Ibrahim Abd Elkader
4f8a5ed391
Merge pull request #951 from kwagyeman/kwabena/add_ltdc_to_compile
...
Add ltdc to compile
2020-11-08 16:24:34 +02:00
Ibrahim Abd Elkader
f443cf102e
Merge pull request #950 from kwagyeman/kwabena/fix_dma2d_rounding
...
Fix rounding for dma2d to match other code
2020-11-08 16:19:44 +02:00
Kwabena W. Agyeman
76f78c84d4
Add spi and ltdc board config settings
2020-11-07 21:51:36 -08:00
Kwabena W. Agyeman
1b47ba68a2
Add ltdc to compile
2020-11-07 21:48:02 -08:00
Kwabena W. Agyeman
ac9acb1efa
Fix rounding for dma2d to match other code
2020-11-07 21:45:07 -08:00
Kwabena W. Agyeman
b375df6bd6
Reduce heap to fit more static driver vars
2020-11-07 21:39:09 -08:00
iabdalkader
f9eac14e69
Update License for FAST, AGAST and ORB.
2020-11-04 00:10:35 +02:00
iabdalkader
540b17e8e6
Fix audio 1 channel mode.
2020-11-02 00:14:23 +02:00
Ibrahim Abd Elkader
5660652b1a
Merge pull request #942 from StuartBox/StuartBox/openmv
...
Added pause parameter to Image_Reader
2020-10-31 22:04:02 +02:00
iabdalkader
26f9368b80
Add audio streaming function with callback.
2020-10-30 20:46:48 +02:00
StuartBox
6e84c06091
Added pause parameter to Image_Reader
2020-10-30 04:14:18 -07:00
Ibrahim Abd Elkader
c9f638e44e
Merge pull request #941 from openmv/audio
...
Add SAI/PDM Audio recording support to Portenta board
2020-10-30 02:05:36 +02:00
Ibrahim Abd Elkader
df156e0746
Merge pull request #940 from kwagyeman/kwabena/remove_shadow_removal_code
...
Remove shadow removal code
2020-10-30 02:03:17 +02:00
Ibrahim Abd Elkader
8ce421b920
Merge pull request #939 from kwagyeman/kwabena/fix_fb_alloc_for_complex_allocations
...
Fix fballoc for complex allocations
2020-10-29 21:10:21 +02:00
iabdalkader
375e374d35
Add audio module to micropython.
2020-10-29 20:55:08 +02:00
Ibrahim Abd Elkader
33dc0301d2
Merge pull request #937 from kwagyeman/kwabena/draw_row_lcd_improvements
...
Modify draw row for LCD screen use
2020-10-29 20:00:14 +02:00
iabdalkader
a8b4fae755
Initialize CRC for PDM2PCM library.
2020-10-29 19:57:23 +02:00
iabdalkader
e3bc2f2155
Add PCM Audio module.
2020-10-29 19:57:23 +02:00
iabdalkader
5fe0460488
Add SAI initialization and board config.
2020-10-29 19:57:23 +02:00
iabdalkader
57934928a9
Enable SAI HAL drivers.
2020-10-29 19:57:23 +02:00
iabdalkader
878603c133
Set SAI clock source.
2020-10-29 19:57:23 +02:00
iabdalkader
cac07dcaa2
Add PDM2PCM library.
2020-10-29 19:57:23 +02:00
iabdalkader
ae9d844e2e
Add IRQ priorities.
2020-10-29 19:49:39 +02:00
Kwabena W. Agyeman
3173c2bb34
Remove shadow removal code
2020-10-29 09:40:23 -07:00
Kwabena W. Agyeman
fd349649ae
Fix fballoc for complex allocations
2020-10-28 22:21:18 -07:00
Kwabena W. Agyeman
f43d6fd5d4
Modify draw row for LCD screen use
2020-10-28 08:25:03 -07:00
iabdalkader
d6d2f9cc26
Add linker script section for D3SRAM4.
2020-10-27 02:07:41 +02:00
Kwabena W. Agyeman
e49e01e852
Fix LCD shield output
2020-10-24 09:59:38 -07:00
Kwabena W. Agyeman
dcf141192e
Cleanup RGB565 reversal from image lib
2020-10-22 22:21:21 -07:00
Kwabena W. Agyeman
2528eb6355
Remove byte reversal in RGB565 tables
2020-10-22 22:20:25 -07:00
Kwabena W. Agyeman
76bb394453
Remove RGB to RGB table
2020-10-22 22:20:15 -07:00
Kwabena W. Agyeman
785e943f05
Fix RGB565 Inversion from camera
2020-10-22 22:19:49 -07:00
iabdalkader
0b0c8eaeea
PORTENTA: Set RNG clock source.
2020-10-21 14:54:30 +02:00
iabdalkader
4405fb3ea7
H7: Override PLL1 frequency for revision Y devices.
...
* Some rev Y devices fail with 480MHz overclocking. Override PLL settings
to set a maximum frequency of 400MHz CPU 200MHz Bus for rev Y devices.
2020-10-21 14:24:40 +02:00
iabdalkader
93dbd7529d
OPENMV4: Switch USB clock source to HSI48.
2020-10-21 14:21:22 +02:00
iabdalkader
bbcbe4ac3f
Make RNG clock source configurable.
2020-10-21 14:20:34 +02:00
Kwabena W. Agyeman
8025536b1c
Fix find_rects
2020-10-19 21:48:49 -07:00
iabdalkader
5387ea8736
Update docs.
2020-10-19 14:45:56 +02:00
Ibrahim Abd Elkader
32f8ef3172
Merge pull request #927 from kwagyeman/kwabena/larry_scaling_code
...
Add new image scaling pipeline
2020-10-19 03:37:20 +02:00
Kwabena W. Agyeman
3439f88241
Add new image scaling pipeline
2020-10-17 14:42:28 -07:00
iabdalkader
bbe1b53b98
Bump firmware version.
2020-10-12 20:25:34 +02:00
iabdalkader
112ea40cfe
PORTENTA: Update FMC/SDRAM and QSPI PLL settings.
2020-10-12 19:21:48 +02:00
iabdalkader
d332c695d9
Portenta: Fix QSPI prescaler.
2020-10-11 01:50:27 +02:00
iabdalkader
b258ddc447
Use highest priority MPU region for DMA buffers.
2020-10-11 01:37:36 +02:00
iabdalkader
21af8fd8bd
Fix WiFi initialization functions in main.
...
* LWIP and CYW43 init functions should be called only once at startup.
2020-10-11 00:56:39 +02:00
iabdalkader
ed826314a5
Fix build with multi-partition disabled.
2020-10-09 21:56:43 +02:00
iabdalkader
da3cf72f27
PORTENTA: Enable WiFi.
2020-10-09 19:10:35 +02:00
iabdalkader
c41623d333
OPENMV4P: Add missing flag.
2020-10-09 01:48:25 +02:00
iabdalkader
ea865e514b
Add CYW4343 firmware binary to release deliverables.
2020-10-09 00:26:04 +02:00
iabdalkader
29401dfc84
Initialize the storage on boards with external flash.
...
* The storage should always be initialized on boards that have
an external flash, to make sure the flash is memory-mapped.
2020-10-09 00:02:10 +02:00
iabdalkader
401d9acde9
Generate a separate CYW43 firmware image.
...
* Remove big_const from main firmware image.
2020-10-09 00:02:10 +02:00
iabdalkader
762e54b26b
Add configurable linker script section for CYW43 firmware.
2020-10-09 00:02:10 +02:00
iabdalkader
936a97aacd
Add memory mapped external flash region.
2020-10-09 00:02:10 +02:00
iabdalkader
0a32486187
PORTENTA: Fix QSPI MPU config.
2020-10-09 00:01:47 +02:00
Ibrahim Abd Elkader
e8ac7899f4
Merge pull request #918 from openmv/usbdbg_fix
...
Fix USBDBG IRQn bug.
2020-10-06 23:57:41 +02:00
iabdalkader
e3c9fd384f
Fix USBDBG IRQn bug.
...
* Use the right IRQ number for USB HS.
2020-10-06 23:40:28 +02:00
iabdalkader
1deb8b6c90
Deinit I2C bus before re-initializing.
...
* Fixes occasional failure when sensor I2C is shared with micropython.
2020-10-06 23:30:16 +02:00
Ibrahim Abd Elkader
d22fa88943
Merge pull request #916 from openmv/fix_pll
...
Portenta: Fix PLL1.
2020-10-06 22:50:21 +02:00
iabdalkader
adc38379e6
Add missing header.
2020-10-06 22:47:09 +02:00
iabdalkader
b0364b112e
Portenta: Fix PLL1.
...
* Generate 50MHz for SDMMC1 and SDMMC2.
2020-10-06 22:15:06 +02:00
iabdalkader
754067e555
Fix SDIO DMA transfers.
...
* Make sure DMA buffers are accessible by SDMMC1 IDMA.
2020-10-06 22:06:52 +02:00
iabdalkader
a35f32525c
Call network deinit in main.c
2020-10-06 21:42:45 +02:00
iabdalkader
947c1ebfca
Bump firmware version.
2020-10-06 17:36:33 +02:00
iabdalkader
b93e102b6c
Add missing include paths to Makefile
2020-09-30 23:11:15 +02:00
iabdalkader
9c311e821d
Update CYW43 firmware.
2020-09-30 21:35:45 +02:00
iabdalkader
316e840f18
Add missing LWIP and CYW43 initialization in main.
2020-09-30 21:33:53 +02:00
iabdalkader
8a3e63d4aa
* Add lwip and cyw43 flags.
...
* Not enabled yet.
2020-09-29 21:49:27 +02:00
iabdalkader
51ea0bb9d5
Add LWIP library and CYW43 drivers.
2020-09-29 21:48:30 +02:00
iabdalkader
96e1a9cc9e
LWIP: Fix lwip head.
2020-09-29 21:47:52 +02:00
iabdalkader
bc313b576a
CYW43: Fix missing headers.
2020-09-29 21:45:13 +02:00
iabdalkader
e51758f4af
Add lwip submodule.
2020-09-29 21:43:02 +02:00
Ibrahim Abd Elkader
28dcdf2c51
Merge pull request #910 from openmv/portenta_sdcard
...
Portenta sdcard
2020-09-27 23:40:17 +02:00
iabdalkader
1f7f003b8f
Set partition search to auto.
2020-09-27 23:12:36 +02:00
iabdalkader
efbf5a2a0c
Portenta: Enable SD card.
2020-09-27 23:12:17 +02:00
Kwabena W. Agyeman
106081dcef
Specify address per board of swd frame buffer test address
2020-09-26 17:43:06 -07:00
iabdalkader
d5c214750f
Fix typo.
2020-09-26 23:04:25 +02:00
iabdalkader
bcbe5ac82c
Portenta: Fix PLL1 settings.
2020-09-26 18:05:35 +02:00
iabdalkader
75b5c50249
Portenta: Fix HSE OSC frequency.
2020-09-26 18:05:20 +02:00
iabdalkader
8509357d47
Fix typo.
2020-09-26 17:46:19 +02:00
iabdalkader
dc65450786
Fix OSC definitions and enable for all boards.
2020-09-26 17:37:50 +02:00
iabdalkader
b07f62cc61
Make USB clock source configurable for H7 boards.
2020-09-26 16:43:49 +02:00
iabdalkader
519b9d327b
Enable HSI48 and use it to clock the RNG.
2020-09-26 16:29:16 +02:00
iabdalkader
fdf64f9294
Make self-test configurable.
2020-09-22 22:42:49 +02:00
iabdalkader
17b444ad1d
Support boards without image sensors.
2020-09-21 22:49:04 +02:00
iabdalkader
05e4ead2a5
Enable module init function.
2020-09-21 22:30:23 +02:00
Kwabena W. Agyeman
8ca4075ed7
Made clock sources for the SPI123/ADC adjustable
2020-09-20 17:30:45 -07:00
Kwabena W. Agyeman
826a09b8f7
Fix FLIR alt config
2020-09-20 17:26:03 -07:00
Kwabena W. Agyeman
7c9a4fddf3
Update winc1500 code to support a different SPI bus
2020-09-20 17:17:37 -07:00
Kwabena W. Agyeman
3e130d74c4
Add OpenMV Cam Pure Thermal board files
2020-09-20 17:13:34 -07:00
iabdalkader
9ea1418083
Remove hard-coded DFU address.
2020-09-17 19:41:53 +02:00
iabdalkader
590750d1c8
Make DFU device address configurable in board config files.
2020-09-17 18:10:26 +02:00
iabdalkader
d1274ffa07
Update README
...
* Fixes #896
2020-09-15 21:03:14 +02:00
Kwabena W. Agyeman
afec0d5ffe
Update TensorFlow to support cmsis-nn - 4x speed boost
2020-09-12 12:41:39 -07:00
iabdalkader
955b27db6d
Do hard-reset in sensor.reset().
...
* Fixes issue #883
* Allow the sensor to be reset if the regulator was shutdown.
2020-09-04 21:45:24 +02:00
Dario Pennisi
fd32582640
added initialization for required field
2020-09-01 15:27:37 +02:00
iabdalkader
11792fb763
Remove extra args in configboard.mk
2020-08-13 22:21:14 +02:00
iabdalkader
15244913e2
Fix Makefile arguments passed to MicroPython.
...
* In addition to the CFLAGS passed to control modules mpconfigport.h, the
Makefile needs its own arguments to enable/disable built-in modules.
* Fix the way arguments are passed to MicroPython's Makefile, so that it's
possible to enable/disable compiling code from the top level OpenMV board Makefile.
2020-08-13 21:46:09 +02:00
iabdalkader
a421cc5c1d
Fix JPEG loading.
2020-08-12 21:45:04 +02:00
iabdalkader
bd213e8eb6
Add JPEG read settings.
2020-08-12 21:18:11 +02:00
Ibrahim Abd Elkader
cfa7991789
Merge pull request #878 from openmv/inline_fix
...
Add inline functions declarations in header.
2020-08-12 20:46:42 +02:00
iabdalkader
7cbeeca62f
Add inline functions declarations in header.
...
* This fixes the debug build.
2020-08-12 19:48:01 +02:00
Ibrahim Abd Elkader
5d6849a623
Merge pull request #873 from openmv/fsync_fix
...
Fix FSYNC pin.
2020-08-12 02:25:38 +02:00
iabdalkader
02a36dbad0
Fix DAC timed write on H7.
2020-08-08 22:13:14 +02:00
iabdalkader
41ebaf74c3
WINC1500: Fix open security bug.
2020-08-07 18:32:37 +02:00
iabdalkader
1526328f85
Fix FSYNC pin.
...
* Fixes #872
2020-08-06 18:19:32 +02:00
iabdalkader
7ded1e1cb7
Add comment on Portenta I2C bus.
2020-08-05 21:52:12 +02:00
Ibrahim Abd Elkader
06f47b7cbf
Merge pull request #865 from pnndra/dario/sensor_reset
...
portenta specific fixes to share I2C with camera
2020-08-05 21:47:55 +02:00
Dario Pennisi
aa5402b98a
simplified code with direct call to cambus_init
2020-08-05 15:31:52 -04:00
Dario Pennisi
cc835ed8ff
added system reset to bootloader command for portenta
2020-08-05 14:58:47 -04:00
iabdalkader
2e0275330a
Make all sensor drivers configurable.
2020-08-01 20:49:47 +02:00
iabdalkader
96d49e79c6
Move OMV4/4+ stack to ITCM.
2020-07-31 19:51:24 +02:00
iabdalkader
cae556d033
Rename CCM to DTCM for consistency.
2020-07-31 19:37:07 +02:00
Ibrahim Abd Elkader
35233f70d9
Revert "added system reset to bootloader command for portenta"
2020-07-31 19:20:32 +02:00
Dario Pennisi
98402324ca
added system reset to bootloader command for portenta
2020-07-31 12:45:26 -04:00
Dario Pennisi
2f31af8677
portenta specific fixes to share I2C with camera
2020-07-31 12:20:02 -04:00
iabdalkader
db3d53f32c
Move OpenMV3 stack to ITCM.
...
* Fixes #862
2020-07-30 22:09:19 +02:00
Ibrahim Abd Elkader
7ae29e94ef
Allow stack to be placed in a separate memory. ( #863 )
...
* Set estack to the end of the stack region, instead of the end of the whole memory.
* Use sstack and estack variables to set stack top and calculate the stack size in main.
* Allow stack memory to be configured in board files.
2020-07-30 21:59:00 +02:00
iabdalkader
061847bb7e
Bump firmware version.
2020-07-21 01:54:00 +02:00
Kwabena W. Agyeman
dbdf26d93c
Frame buffer respects fb alloc now
2020-07-20 16:14:16 -07:00
iabdalkader
b1b7c74b15
Fix the frame size check when copying images to FB.
...
* The size of the image to be copied was compared to the size
of the current frame instead of the size of the whole buffer.
2020-07-20 21:41:51 +02:00
iabdalkader
1d93c54983
Add a function to return the frame buffer size.
...
* This returns the frame buffer size without the fb header size.
2020-07-20 21:39:27 +02:00
iabdalkader
e18f83cfe1
Rename framebuffer_get_size
...
* This function returns the current frame size, so make its
purpose more clear by renaming to framebuffer_get_frame_size.
2020-07-20 21:34:40 +02:00
iabdalkader
a5c2a944c4
Fix fb_get_size.
...
* Return the size of the available memory after the frame.
* Fixes #858
2020-07-20 21:08:07 +02:00
iabdalkader
fc701e4fd0
Bump firmware version.
2020-07-18 18:28:40 +02:00
iabdalkader
cb7b22a2ea
Revert "Reset sensor state in init0."
...
This reverts commit b02f2f7ff8 .
2020-07-18 18:07:44 +02:00
iabdalkader
c6d73c864c
Bump firmware version.
2020-07-17 21:48:34 +02:00
iabdalkader
8c83073056
Use dest_fb when copying line for OV5640/JPEG4
...
* Fixes #824
2020-07-17 19:46:36 +02:00
iabdalkader
b02f2f7ff8
Reset sensor state in init0.
...
* Fixes #839
2020-07-17 19:08:48 +02:00
Ibrahim Abd Elkader
c941763e1f
Merge pull request #853 from kwagyeman/kwabena/fix_ov5640_image_quality_at_low_reses
...
Fixes image quality at lower resolutions
2020-07-17 18:58:31 +02:00
Kwabena W. Agyeman
24d637f3ef
Fixes image quality at lower resolutions
2020-07-16 17:26:47 -07:00
Kwabena W. Agyeman
5e3e38529d
Update TensorFlow to latest
2020-07-15 19:55:58 -07:00
Dario Pennisi
bf2e4da1a0
added support for arbitrary resolutions on HM-01B0
2020-07-14 19:13:53 -04:00
Dario Pennisi
fffae7b272
remove unnecessary horizontal flip for HM-01b0
2020-07-14 19:02:53 -04:00
Dario Pennisi
3c9772bd8e
fixed configuration to build properly on portenta
2020-07-14 19:02:26 -04:00
Dario Pennisi
ac0cde54e1
initial modifications for external SDRAM usage on portenta
2020-07-14 18:05:42 -04:00
Ibrahim Abd Elkader
d61212c506
Merge pull request #848 from openmv/fix_cubeai_build
...
Fix CUBE-AI build
2020-07-14 21:59:46 +02:00
iabdalkader
064f4a71ea
Fix broken strict-aliasing in F7 CRC.
2020-07-14 21:30:40 +02:00
iabdalkader
936d18d9ce
Reduce OMV4/4P heap to fix CUBE-AI build.
2020-07-14 21:11:22 +02:00
Ibrahim Abd Elkader
4f4f52d1cf
Merge pull request #846 from kwagyeman/kwabena/ov5640_green_dot_fix
...
Fix lens correction issue
2020-07-14 21:10:14 +02:00
iabdalkader
544211636c
Remove hard-coded H7 CRC drivers from CUBEAI Makefile.
...
* Remove hard-coded h7 drivers and add STHAL CRC drivers to their respective HAL Makefiles.
* This allows CUBEAI to be built on the F7, even though the RAM overflows, but it builds.
2020-07-14 21:01:53 +02:00
iabdalkader
4be8671cb3
Disable built-in AI libraries if CUBE-AI is enabled.
2020-07-14 20:59:55 +02:00
iabdalkader
65b17cd4e4
Remove obsolete lenet config.
2020-07-14 20:34:58 +02:00
Ibrahim Abd Elkader
610aac2f27
Merge pull request #845 from pnndra/master
...
update support for portenta and its camera carrier
2020-07-14 20:27:29 +02:00
Dario Pennisi
2c56bbc37a
enabled cropping only for HM-01B0
2020-07-14 14:11:07 -04:00
iabdalkader
b5208bdb93
Update Portenta board files.
2020-07-14 19:13:55 +02:00
Dario Pennisi
fb80409fe2
fixed flickering on automatic exposure and added support for set_auto_exposure API
2020-07-14 07:28:23 -04:00
Kwabena W. Agyeman
8bd53f054c
Fix lens correction issue
2020-07-13 20:05:18 -07:00
Dario Pennisi
dac63a6f6a
enabled crop in processor to support sensors which don't support it
2020-07-13 17:57:05 -04:00
Dario Pennisi
6107142389
added support for QQVGA and various stubs
2020-07-13 17:56:00 -04:00
Dario Pennisi
3f31d27349
modifications for production version of portenta
2020-07-13 17:55:14 -04:00
Ibrahim Abd Elkader
22c03559ef
Merge pull request #833 from kwagyeman/kwabena/cleanup_framebuffer_code
...
Made code that uses the framebuffer more readable
2020-06-17 19:23:43 +02:00
Kwabena W. Agyeman
43c28acd6e
Made code that uses the framebuffer more readable
2020-06-16 20:38:08 -07:00
iabdalkader
98427bdd56
Update ulab.
2020-06-16 20:50:21 +02:00
Kwabena W. Agyeman
124f10bd31
Cleaned up the usage of framebuffer access in py_image/py_fir
2020-06-15 20:46:50 -07:00
iabdalkader
0af2e7c700
Use framebuffer functions instead a FB macros.
2020-06-16 01:38:19 +02:00
iabdalkader
e152492686
Add more framebuffer accessor functions.
2020-06-16 01:35:28 +02:00
Ibrahim Abd Elkader
085c1d6d85
Merge pull request #834 from openmv/add_framebuffer_functions
...
Add accessor functions to framebuffer.
2020-06-15 22:24:35 +02:00
iabdalkader
72e038cd00
Add accessor functions to framebuffer.
2020-06-15 22:14:37 +02:00
Ibrahim Abd Elkader
df03e44a08
Merge pull request #830 from kwagyeman/kwabena/fix_buffer_sizes
...
Fixed buffer size on the 2/3 and reduced the frame buffer to 20M on Plus.
2020-06-15 20:17:07 +02:00
Ibrahim Abd Elkader
981b3bbe0a
Merge pull request #829 from kwagyeman/kwabena/stop_disabling_interrupts
...
Remove disabling interrupts
2020-06-15 16:07:55 +02:00
Ibrahim Abd Elkader
dac4c6e673
Merge pull request #828 from kwagyeman/kwabena/handle_negative_bbp
...
Return 0 if bbp is less than 0
2020-06-15 16:02:22 +02:00
Kwabena W. Agyeman
3a790a8271
Fixed buffer size on the 2/3 and reduced the frame buffer to 20M on the plus
2020-06-14 15:17:49 -07:00
Kwabena W. Agyeman
f3899d7256
Remove disabling interrupts
2020-06-14 15:07:09 -07:00
Kwabena W. Agyeman
957535d72a
Return 0 if bbp is less than 0
2020-06-14 14:59:50 -07:00
iabdalkader
8d12181060
Cleanup mt9v034 driver.
2020-06-08 22:00:19 +02:00
iabdalkader
41fc64a44d
Update comment.
2020-06-08 18:15:11 +02:00
iabdalkader
b647451449
Update docs.
2020-06-08 00:14:15 +02:00
iabdalkader
4dec480f83
FPS clock fix.
...
* Resetting the counter makes the FPS count jump up.
2020-06-08 00:02:22 +02:00
iabdalkader
45e7f055ec
Bump firmware version.
2020-06-05 15:49:33 +02:00
Kwabena W. Agyeman
c12415d001
Cleanup trailing data on jpeg images
2020-06-02 23:16:18 -07:00
Ibrahim Abd Elkader
ee56c1d9ab
Merge pull request #818 from kwagyeman/kwabena/add_safety_rails
...
Fix buffer overflow issues
2020-06-02 20:37:57 +02:00
Kwabena W. Agyeman
2f5216f448
Requested changes for Ibrahim
2020-06-01 20:16:38 -07:00
Ibrahim Abd Elkader
5fe654a4b6
Merge pull request #820 from kwagyeman/kwabena/imu_startup
...
Update auto rotation to trigger on reset
2020-05-31 01:27:23 +02:00
Ibrahim Abd Elkader
8526f88a61
Merge pull request #819 from kwagyeman/kwabea/fix_bayer_issues
...
Fix bayer vflip on OV7725 and OV7690
2020-05-30 21:15:58 +02:00
Kwabena W. Agyeman
0d13a214bf
Update auto roation to trigger on reset
2020-05-29 22:40:05 -07:00
Kwabena W. Agyeman
5d7b94c982
Fix bayer vflip on OV7725 and OV7690
2020-05-29 14:25:28 -07:00
Kwabena W. Agyeman
8d09c6630a
Fix buffer overflow issues
2020-05-29 11:48:32 -07:00
Kwabena W. Agyeman
bf16b6a4fa
Get pixel now does debayering for bayer rgbtuple mode
2020-05-27 22:52:30 -07:00
Ibrahim Abd Elkader
852426558e
Merge pull request #812 from kwagyeman/kwabena/improve_ov5640_readout_speed
...
OV5640 readout speed doubled for high res BAYER/GRAYSCALE/JPEG
2020-05-27 01:33:04 +02:00
Kwabena W. Agyeman
5c85bef18e
OV5640 readout speed doubled for high res BAYER/GRAYSCALE/JPEG
2020-05-26 13:33:16 -07:00
Kwabena W. Agyeman
644655539b
Modified sensor.c per Ibrahim's requests
2020-05-25 16:13:34 -07:00
Ibrahim Abd Elkader
d93d9e2865
Merge pull request #807 from kwagyeman/kwabena/faster_sensor_driver
...
Optimized Sensor Driver for Double FPS
2020-05-25 22:40:38 +02:00
Kwabena W. Agyeman
f454cd82c5
Fix comments and typos per Ibrahim
2020-05-25 10:53:56 -07:00
Ibrahim Abd Elkader
2bd8776a55
Merge pull request #808 from kwagyeman/kwabena/fix_tf_float
...
Fixed Floating Point Scaling in TensorFlow code
2020-05-25 14:27:37 +02:00
Larry Bank
4a61bf9bee
fixed grayscale SW JPEG compression for YCbCr colorspace (subtracting 128)
2020-05-25 02:44:23 +02:00
Larry Bank
61739d6c40
fixed software JPEG encode of 1-bpp images
2020-05-25 00:18:46 +02:00
Kwabena W. Agyeman
30b27e947b
Floating point is actually simple
2020-05-23 22:50:51 -07:00
Kwabena W. Agyeman
1fe9d62958
Optimized Sensor Driver for Double FPS
2020-05-23 15:37:16 -07:00
Ibrahim Abd Elkader
8feaf6df78
Merge pull request #803 from bitbank2/master
...
Fixed right edge bayer conversion error
2020-05-21 02:50:10 +02:00
Ibrahim Abd Elkader
f4cf2117c9
Merge pull request #801 from kwagyeman/kwabena/high_res_jpeg
...
Fixed OV5640 Imaging Modes
2020-05-20 15:51:11 +02:00
Larry Bank
1c60611efa
Fixed right edge bayer conversion error
2020-05-18 17:37:48 +02:00
Kwabena W. Agyeman
104ed7c0b8
Fixed OV5640 Imaging Modes
...
* Grayscale/RGB565/Bayer/JPEG works perfectly on all reses.
* Increased maximum JPEG image transfer size.
* Improved line buffer transfer rate.
2020-05-17 21:53:57 -07:00
iabdalkader
e7000a486d
Bump firmware version.
2020-05-16 21:56:44 +02:00
iabdalkader
5c319714b8
Enable TF on OMV3/F7.
2020-05-15 14:59:30 +02:00
Kwabena W. Agyeman
f4e03f4894
Update TensorFlow to support uint8/int8/float32
2020-05-14 18:25:15 -07:00
Ibrahim Abd Elkader
d81f58569b
Merge pull request #799 from kwagyeman/kwabena/get_histogram_with_diff
...
Add image diff ability to get_histogram
2020-05-13 21:12:46 +02:00
Ibrahim Abd Elkader
c41d6c807c
Merge pull request #798 from kwagyeman/kwabena/fix_rotation_corr
...
Fix and speedup rotation correction
2020-05-13 21:11:51 +02:00
Matt Dawson
5ec2e7b310
Add offset correction to imlib lens correction. ( #791 )
...
* Add x/y correction to lens correction to adjust for lens offsets.
2020-05-13 21:10:58 +02:00
iabdalkader
63ea06d75d
Update docs.
2020-05-13 21:04:48 +02:00
Kwabena W. Agyeman
a2705ae3d1
Add image diff ability to get_histogram
2020-05-12 22:30:16 -07:00
Kwabena W. Agyeman
57ea4e326c
Fix and speedup rotation correction
2020-05-12 19:35:24 -07:00
iabdalkader
391fd4c356
Update MLX90640 driver.
2020-05-12 22:49:46 +02:00
iabdalkader
723f2b06e2
Enable I2C FMP on cams that support it.
2020-05-12 22:01:16 +02:00
iabdalkader
c2728038e7
Increase FIR I2C GPIO speed.
2020-05-12 21:57:22 +02:00
iabdalkader
fbe88581b8
Allow interrupts in cambus read/write_bytes functions.
...
* Those are used exclusively by the FIR sensors and not by the main
image sensor, so it's safe (and much faster) to leave interrupts enabled.
2020-05-12 21:47:22 +02:00
iabdalkader
2ecf2b5a1d
Add general call to cambus.
2020-05-12 21:36:11 +02:00
Ibrahim Abd Elkader
1c02cfed33
Merge pull request #783 from matsondawson/draw_image_bilinear_interp_and_alpha_palletes
...
draw_image bi-linear interpolation, alpha palettes, and center_image
2020-05-12 19:56:36 +02:00
iabdalkader
c372ffe5a2
Increase soft-i2c spin delay on H7 boards.
2020-05-11 14:49:30 +02:00
iabdalkader
b3c6ccc7f8
Switch MLX90640 and AMG8833 to HW I2C.
2020-05-11 14:49:30 +02:00
iabdalkader
31b1761051
Switch to MLX90640 HW I2C driver.
2020-05-11 14:49:30 +02:00
iabdalkader
346d65c158
Revert soft I2C spin delay.
2020-05-11 14:49:30 +02:00
iabdalkader
353ca203ee
Add board config HW I2C for external sensors.
2020-05-11 14:49:30 +02:00
iabdalkader
08520c5618
Increase MLX frame readout retry.
2020-05-11 14:49:30 +02:00
iabdalkader
0b6dc728ba
Add cambus read/write bytes.
2020-05-11 14:49:30 +02:00
Ibrahim Abd Elkader
bf2199f396
Merge pull request #787 from kwagyeman/kwabena/make_ov5640_faster
...
New readout control code
2020-05-11 01:52:58 +02:00
Matt Dawson
75f337ab2a
Allow alpha palettes in non bilinear grayscale draw_image
2020-05-09 18:09:32 -07:00
Matt Dawson
c45ab418d4
Allow alpha palettes in grayscale mode.
2020-05-09 17:15:33 -07:00
iabdalkader
0c0bf4a5d8
Add I2C timings to cambus.
2020-05-09 19:05:17 +02:00
Matt Dawson
7e83dbb92e
Removed negative scaling. Moved texture sample to center of pixel.
2020-05-09 01:13:26 -07:00
Kwabena W. Agyeman
4ecdf8a323
Cleanup vscode documentation
2020-05-08 22:14:22 -07:00
Kwabena W. Agyeman
51f141a7ed
New readout control code
2020-05-08 21:08:18 -07:00
Matt Dawson
8f8872537b
Changed to use fb_alloc_mark, gb_alloc_free_till_mark. Renamed Image hint type and enums. Formatting fixes
2020-05-08 17:31:13 -07:00
iabdalkader
a92c927aed
Make cambus functions accept I2C handle.
2020-05-08 19:51:28 +02:00
Matt Dawson
85fbe0a87f
Docs. And performance by not applying alpha if it's 0
2020-05-07 20:27:32 -07:00
Ibrahim Abd Elkader
dece4481f7
Merge pull request #781 from bitbank2/master
...
Fix for left edge Bayer to ycbcr bug
2020-05-07 15:49:52 +02:00
Larry Bank
b834038af1
added edge fix to bayer_to_y and bayer_to_binary methods
2020-05-07 02:53:28 +02:00
Larry Bank
9feb214507
Fix for left edge Bayer to ycbcr bug
2020-05-06 17:08:14 +02:00
Ibrahim Abd Elkader
d6ad0c845f
Merge pull request #778 from kwagyeman/kwabena/update_documentation
...
Kwabena/update documentation
2020-05-05 22:01:20 +02:00
Kwabena W. Agyeman
406babbf23
Moved firmware documentation
2020-05-04 21:08:22 -07:00
iabdalkader
496a3b6279
Bump firmware version.
2020-05-04 22:10:18 +02:00
Ibrahim Abd Elkader
d586f7166a
Merge pull request #773 from kwagyeman/kwabena/compress_ok_with_jpegs
...
Modify compression methods to allow jpeg images
2020-05-04 21:25:52 +02:00
Matt Dawson
a94b16a49d
draw_image_bilinear_interp_alpha_palletes_and_center_image
2020-05-03 21:24:51 -07:00
Kwabena W. Agyeman
18b27e11c3
Fix disable FB
2020-05-03 17:33:32 -07:00
Kwabena W. Agyeman
cdb8b4ec46
Modify compression methods to allow jpeg images
2020-05-03 17:19:52 -07:00
Ibrahim Abd Elkader
431755c453
Merge pull request #774 from kwagyeman/kwabena/close_tcp_socket_on_error
...
Close sockets that have errors.
2020-05-04 00:53:44 +02:00
iabdalkader
ea2ef40fbe
Increase soft I2C spin delay for H7P.
2020-05-01 21:25:14 +02:00
iabdalkader
9a025b60b9
Rename fb functions for consistency.
2020-05-01 14:43:13 +02:00
Ibrahim Abd Elkader
28296408c3
Merge pull request #771 from kwagyeman/kwabena/disable_fb
...
Add disable_fb.
2020-05-01 14:35:21 +02:00
Kwabena W. Agyeman
98e1a1e51d
Add disable_fb.
...
Allow user control to disable the frame buffer.
Necessary for high speed frame streaming.
2020-04-30 13:40:07 -07:00
Kwabena W. Agyeman
f4b0df2ad0
Close sockets that have errors.
...
Tested and works.
2020-04-30 13:11:19 -07:00
iabdalkader
778ac59950
Update docs.
2020-04-30 01:12:24 +02:00
Ibrahim Abd Elkader
6061b6d2ba
Merge pull request #768 from bitbank2/master
...
Optimized datamatrix ops
2020-04-29 20:29:40 +02:00
Ibrahim Abd Elkader
bdc5888b69
Merge pull request #772 from kwagyeman/kwabena/fix_is_connected
...
Fix ip_obtained bug for static IPs
2020-04-29 19:03:21 +02:00
Ibrahim Abd Elkader
ff54696163
Merge pull request #763 from matsondawson/add_custom_palettes_to_draw_image
...
Add custom palettes to draw image with demo
2020-04-29 18:57:22 +02:00
Kwabena W. Agyeman
b5dee12bf1
Fix ip_obtained bug for static IPs
2020-04-28 22:26:11 -07:00
Kwabena W. Agyeman
f9dc525011
Improve WiFi performance by 20X
...
Polling for the async response was ruinning WiFi and UDP performance.
This fix removes that polling while not breaking anything. It has been
stress tested while streaming over an hour of wifi video data using the
new RPC scripts.
2020-04-28 17:05:46 -07:00
Kwabena W. Agyeman
7488988128
Fix winc send/sendto/recv/recvfrom
2020-04-25 11:08:53 -07:00
Larry Bank
dff1a63f15
Optimized datamatrix ops
2020-04-24 23:40:30 +02:00
iabdalkader
a7318b8489
Fix I2C DMA deinit again.
2020-04-24 21:18:15 +02:00
Ibrahim Abd Elkader
b9dc456b50
Merge pull request #766 from matsondawson/#764-Image.mean-corrupts-memory
...
Fix bug in filters corrupting memory if y size less than k_size.
* closes #764
2020-04-24 21:12:41 +02:00
iabdalkader
5f8dcc17c5
Fix I2C deinit.
2020-04-24 21:04:55 +02:00
Ibrahim Abd Elkader
238b3e6749
Merge pull request #767 from kwagyeman/kwabena/fix_spi_i2c_dma
...
Fix SPI I2C DMA Deinit
2020-04-24 18:04:40 +02:00
Kwabena W. Agyeman
8b66c39ae2
Fix SPI I2C DMA Deinit
2020-04-24 09:03:18 -07:00
Ibrahim Abd Elkader
17b278153d
Merge pull request #762 from bitbank2/master
...
optimize negate and difference
2020-04-24 14:44:33 +02:00
mattdawson
6411663a2d
#764 fix cleanup at end of filters that corrupts memory if y size is less than k_size
2020-04-24 18:13:47 +12:00
mattdawson
eb94f153dd
Fix formatting. Remove un-needed error check for image format with color palette.
2020-04-24 13:42:05 +12:00
mattdawson
30383d32b6
Fixed not checking that image is grayscale image for custom palette. Made demo simpler.
2020-04-23 21:58:37 +12:00
mattdawson
91efa307e0
Add custom palettes to draw image with demo
2020-04-23 21:33:01 +12:00
iabdalkader
cb2d279bda
FDCAN Fixes.
...
* Fix FIFO flags.
* Add receive timeout.
2020-04-22 22:42:00 +02:00
Larry Bank
d5a19980cc
optimize negate and difference
2020-04-22 21:44:02 +02:00
Matt Dawson
414c6e1a51
draw_image performance and negative scaling. ( #758 )
...
Improve draw_image performance and negative scaling.
2020-04-22 17:43:14 +02:00
Larry Bank
c6f727e4fa
×ptimized erode/dilate ( #760 )
...
* optimized erode/dilate
Co-authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-22 17:21:26 +02:00
Kwabena W. Agyeman
012bef5966
First image is invalid on sensor init0.
2020-04-18 23:09:26 -07:00
Larry Bank
86760e9851
Faster Bayer to YCBCR ( #755 )
...
* speed up jpeg encoder by adding a direct bayer-to-ycbcr path
* implemented faster bayer_to_ycbcr for SW JPEG and moved Y/BINARY to imlib.c
* changed names of new bayer_to_xx functions and added prototypes to imlib.h
Authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-17 23:03:32 +02:00
Ibrahim Abd Elkader
86e01445fd
Merge pull request #748 from bitbank2/master
...
Optimized bayer to RGB565
2020-04-15 13:50:43 +02:00
Ibrahim Abd Elkader
37bb532562
Merge pull request #754 from kwagyeman/kwabena/update_tf_4_14_2020
...
Updated tensorflow library to support int8
2020-04-15 13:49:48 +02:00
Kwabena W. Agyeman
c325f81034
Updated tensorflow library to support int8
2020-04-14 20:47:26 -07:00
mattdawson
e1c667fbc1
Fixes as per P.R. #753 comments
2020-04-14 17:34:53 +12:00
mattdawson
a71c3f9beb
Fix DrawImage with alpha and add color palettes for grayscale
2020-04-13 21:18:38 +12:00
iabdalkader
63a0827483
Lower I2C reset timeout.
2020-04-11 02:24:09 +02:00
iabdalkader
aa10c79f6c
Fix SPI DMA issues on the H7
2020-04-10 20:29:07 +02:00
Kwabena W. Agyeman
2c3358bc41
Add raw data RD/WR access to the image object.
...
Do .bytearray() to get an object pointing to the image bytes which
allows you to maninpulate the RAW data of an image.
2020-04-07 19:58:38 -07:00
Larry Bank
d7b6ed55bc
Added detailed comments to Bayer code
2020-04-03 18:47:00 +02:00
Larry Bank
e4fcfa1553
optimized bayer to rgb565
2020-04-02 21:58:05 +02:00
Larry Bank
b07ea88875
Optimize sensor copy ( #747 )
...
* Optimize line copy to allow full res capture
* Change all pixel types to use the 40/80Mhz clock
Authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-02 21:38:51 +02:00
Larry Bank
5222495dae
moved line for readability
2020-04-02 21:25:40 +02:00
Larry Bank
701d7dfb80
changed all pixel types to use the 40/80Mhz clock
2020-04-01 18:26:09 +02:00
Larry Bank
e154c9b8a6
optimied sensor copy to allow ful res capture
2020-04-01 03:46:45 +02:00
iabdalkader
e1686b50de
Bump firmware version.
2020-03-31 00:49:18 +02:00
Larry Bank
f6136477fd
optimized more image filters
2020-03-30 02:18:43 +02:00
Larry Bank
083139fcda
optimized median and mode filters
2020-03-15 00:47:52 +01:00
Larry Bank
2aa391cfa9
Fixed boundary check
2020-03-14 01:12:43 +01:00
Larry Bank
18b2d915a3
Speed up of mean filter
2020-03-12 22:53:48 +01:00
Kwabena W. Agyeman
2b26ca17b0
Improved the speed of logpolar and linpolar transforms.
...
* Fixed image quality issues too.
2020-03-08 16:13:25 -07:00
iabdalkader
2ae875077b
Disable TF for OMV3.
2020-03-06 13:03:34 +02:00
iabdalkader
61b3216f6e
Increase the stack for H7 boards.
...
* The TF library allocates big buffers on the stack, causing a SoF when running
the person detection network. Increase the stack to at least 12KBs.
2020-03-06 13:02:00 +02:00
Kwabena W. Agyeman
c5c9770d3a
Improve rotation_correction()
...
* Optimized code to make it run slightly faster.
* Added fov argument to control the zoom effect better.
* Added perspective correction through 4 point correspondence.
2020-03-04 23:00:59 -08:00
iabdalkader
194b068eea
Fix hardfault on disable D cache.
...
* Disable and clean caches only if they're enabled.
2020-03-04 19:16:45 +02:00
Ibrahim Abd Elkader
64253a6c28
Merge pull request #736 from kwagyeman/kwabena/lens_correction_cleanup
...
Lens correction cleanup
2020-03-02 19:50:11 +02:00
Kwabena W. Agyeman
b36460a36a
Lens correction cleanup
2020-03-02 09:37:11 -08:00
Kwabena W. Agyeman
d5dd843dc7
Add avg pool 2d op version 2
2020-02-29 15:01:42 -08:00
iabdalkader
ed09c77f06
QSPI fixes.
2020-02-28 19:54:41 +02:00
iabdalkader
8e3c18bc39
Rename soft I2C macros.
2020-02-27 21:16:17 +02:00
iabdalkader
82d9ce1feb
HM01B0: Fix SYNC polarities.
2020-02-26 18:02:25 +02:00
iabdalkader
83b8a1309b
Set Portenta core vbat to 3.0v
2020-02-26 18:02:25 +02:00
iabdalkader
6a50656d5a
Add core vbat to board config file.
2020-02-26 18:02:25 +02:00
iabdalkader
b73576baeb
Add HIMAX FSIN pin.
2020-02-26 18:02:25 +02:00
iabdalkader
c5a884ff3a
Fix I2C scanning for HIMAX sensor.
...
* The HIMAX sensors seems to reply at two address, 0x10 and 048. The right
address is 0x48 so we start scanning the I2C bus after 0x10 to as a workaround.
2020-02-26 18:02:25 +02:00
iabdalkader
e4cb1c122d
Fix Portenta sensor power down GPIO.
2020-02-26 18:02:25 +02:00
iabdalkader
b098c78a2b
Fix HIMAX sensor address.
2020-02-26 18:02:25 +02:00
iabdalkader
af7bccbfbb
Disable, clean and invalidate before enabling the cache.
2020-02-26 18:02:25 +02:00
iabdalkader
35b4e34253
Use HSE/HSI/CSI state defined in board config file.
2020-02-26 18:02:25 +02:00
iabdalkader
c7bb9fb6ad
Remove RESET and FSIN from Portenta config.
2020-02-26 18:02:25 +02:00
iabdalkader
a12ab145e5
Check if PWDN and RESET are defined before configuring I/Os.
2020-02-26 18:02:25 +02:00
iabdalkader
2a8be10ca0
Call early init before HAL init.
...
* To configure and enable the external OSC before HAL_Init.
2020-02-26 18:02:25 +02:00
iabdalkader
a90174cfca
Enable GPIOJ for portenta board.
2020-02-26 18:02:25 +02:00
iabdalkader
8b178d5ade
Fix Portenta sensor reset pin.
2020-02-26 18:02:25 +02:00
iabdalkader
8c3eb0fb38
Move OSC state to board config files.
2020-02-26 18:02:25 +02:00
iabdalkader
bd2fd5a69a
Define HSE_VALUE in board config files.
2020-02-26 18:02:25 +02:00
iabdalkader
0b69171a41
Add portenta clock config.
2020-02-26 18:02:25 +02:00
iabdalkader
b90d01337c
Enable clock config for H747.
2020-02-26 18:02:25 +02:00
iabdalkader
c8d5448484
Add OMV board files.
2020-02-26 18:02:25 +02:00
iabdalkader
496a7669b8
Enable H747 clock config.
2020-02-26 18:02:25 +02:00
iabdalkader
f6f030e2b7
Rename sensor ifdef check.
2020-02-26 18:02:25 +02:00
iabdalkader
8a7236b6d3
Check if LED4 and CAN are enabled in main.
2020-02-26 18:02:25 +02:00
iabdalkader
84bcade13b
Add OMV board extra CFLAGS.
2020-02-26 18:02:25 +02:00
iabdalkader
a1d241ae4d
Call MicroPython board early init.
2020-02-26 18:02:25 +02:00
iabdalkader
57ff7cf973
Add STM32H747 CMSIS headers and startup file.
2020-02-26 18:02:25 +02:00
iabdalkader
40434c6be7
PORTENTA: Use Arduino's PID
2020-02-26 17:27:32 +02:00
Ibrahim Abd Elkader
e039f8e9d6
Merge pull request #731 from bitbank2/lens_corr_fix
...
Lens correction speedup
2020-02-26 00:23:23 +02:00
Larry Bank
de98dfd373
Lens correction speedup
2020-02-25 23:11:41 +01:00
iabdalkader
563ffb4e55
PORTENTA: Update SDRAM settings.
2020-02-25 22:05:00 +02:00
Larry Bank
3d17929801
Faster find_circles ( #728 )
...
* Faster find_circles
2020-02-23 20:38:38 +02:00
iabdalkader
185b9d8cec
Enable deque.
2020-02-23 19:39:04 +02:00
iabdalkader
b06fe58038
Make core vbat configurable.
2020-02-21 14:36:41 +02:00
iabdalkader
ccea3aecb2
Rename FSIN pin to FSYNC.
...
* Legacy name from OV datasheets.
2020-02-21 14:20:47 +02:00
iabdalkader
403e8ae798
Fix FSYNC pin.
...
* Disable FSYNC flag for sensors that don't actually use it.
* Only control the FSYNC pin for sensors that set the FSYNC flag.
2020-02-21 14:04:58 +02:00
iabdalkader
bde5826c68
Fix USB descriptor offsets for HS mode.
2020-02-20 23:53:40 +02:00
Ibrahim Abd Elkader
f11daf34ac
Merge pull request #725 from openmv/config_clock
...
Move clock config to board files.
2020-02-18 21:56:35 +02:00
Ibrahim Abd Elkader
a7db5c2b93
Merge pull request #723 from kwagyeman/kwabena/improve_alloc_fb
...
Fixed alloc_extra_fb.
2020-02-18 21:52:59 +02:00
Ibrahim Abd Elkader
2ea22196a0
Merge pull request #722 from kwagyeman/kwabena/fix_tf_loading_issue
...
Fix bug with TF load_to_fb
2020-02-18 21:49:05 +02:00
Ibrahim Abd Elkader
1a8082a8d3
Merge pull request #721 from kwagyeman/kwabena/upgrade_windowing_code
...
Fix up set windowing and add way to get current window.
2020-02-18 21:47:52 +02:00
iabdalkader
9fbab16c75
Move clock config to board files.
2020-02-18 21:46:09 +02:00
Kwabena W. Agyeman
9e0c47e561
Fixed alloc_fb stuff and now allows yout to alloc any number of bytes...
2020-02-17 19:09:46 -08:00
Kwabena W. Agyeman
4b07290a9e
Fix bug with load_to_fb
2020-02-17 18:50:28 -08:00
Kwabena W. Agyeman
705e98f915
Remove:
...
* Unused py_sensor.h header file.
* Unused set_framerate method.
* Unused py_sensor_print method.
* Removed unused set_binning.
2020-02-17 18:36:55 -08:00
Kwabena W. Agyeman
f02a16ef3d
Fix up set windowing and add way to get current window.
2020-02-17 18:35:10 -08:00
Ibrahim Abd Elkader
1a344bd9cd
Merge pull request #719 from openmv/lcd_bgr
...
Add BGR argument to lcd init.
2020-02-15 20:55:45 +02:00
iabdalkader
0cfae6334e
Add BGR argument to lcd init.
2020-02-15 19:53:03 +02:00
Ibrahim Abd Elkader
7471a101a2
Merge pull request #718 from kwagyeman/kwabena/disable_roation_when_pitch
...
Disable rotation when pitch is wrong
2020-02-14 19:59:52 +02:00
Ibrahim Abd Elkader
f58980fdc8
Merge pull request #716 from kwagyeman/kwabena/rotation_integration
...
Auto rotation enabled
2020-02-14 18:17:20 +02:00
Kwabena W. Agyeman
be3b73d6eb
Disable rotation when pitch is wrong
2020-02-13 22:00:12 -08:00
Kwabena W. Agyeman
894446f826
Fix OV2640 sleep.
2020-02-12 21:51:43 -08:00
Kwabena W. Agyeman
3c970e860a
Auto rotation enabled
2020-02-12 21:49:32 -08:00
iabdalkader
e1d127635f
Update Portenta SDRAM frequency.
2020-02-12 21:07:16 +02:00
Ibrahim Abd Elkader
385eb2df85
Merge pull request #715 from kwagyeman/kwabena/hm01b0_id
...
Add hm01b0 id
2020-02-12 20:54:08 +02:00
Ibrahim Abd Elkader
58f7d5e3c2
Merge pull request #714 from kwagyeman/kwabena/ov7690_driver_round_2
...
New OV7690 camera driver.
2020-02-12 20:53:45 +02:00
Ibrahim Abd Elkader
60bdb4bb20
Merge pull request #711 from kwagyeman/kwabena/improve_sensor_module
...
Improve sensor module with transpose and get operations
2020-02-12 20:50:37 +02:00
Kwabena W. Agyeman
15901697b0
Add hm01b0 id
2020-02-11 22:23:16 -08:00
Kwabena W. Agyeman
98d203c747
New OV7690 camera driver.
2020-02-11 22:18:02 -08:00
Kwabena W. Agyeman
f314ac4e72
Improve sensor module with transpose and get operations
2020-02-11 20:59:36 -08:00
iabdalkader
3c1c68474f
Add portenta micropython board files.
2020-02-11 21:19:13 +02:00
iabdalkader
5bafb41b21
Check for H747 in adc and flashbdev.
2020-02-11 20:43:20 +02:00
iabdalkader
ff14470ed7
Support boards without SD cards.
2020-02-11 20:21:04 +02:00
iabdalkader
2383df9552
Fix H747 floating point flags.
2020-02-11 20:12:29 +02:00
iabdalkader
e56a1341f2
Make IMU configurable.
2020-02-11 15:20:14 +02:00
iabdalkader
2d4af88568
Enabel IMU module in MicroPython.
2020-02-11 14:41:42 +02:00
Kwabena W. Agyeman
3097793370
Add IMU driver
2020-02-10 23:25:50 -08:00
iabdalkader
7ca59eae7c
Make WINC1500 module configurable.
2020-02-10 22:38:56 +02:00
iabdalkader
b94a1a536b
Fix OTG HS WKUP IRQHandler
2020-02-10 20:46:01 +02:00
iabdalkader
2227459458
Fix H747 powerctrl flag.
2020-02-10 20:20:46 +02:00
iabdalkader
c4b716261c
Fix CAN header.
2020-02-10 20:06:46 +02:00
iabdalkader
70b1592979
Make CDC buffer size configurable.
2020-02-10 19:48:26 +02:00
iabdalkader
9f2e0d66ca
Allow sensor clock to not be defined.
...
* Add OMV_XCLK_OSC to use when an external osc is used.
2020-02-09 22:14:26 +02:00
iabdalkader
723407fed5
Use USB PID if defined for all different configurations.
2020-02-09 21:40:41 +02:00
iabdalkader
919ac09a26
Move USB descriptor config to board config files.
2020-02-09 20:19:47 +02:00
iabdalkader
5df09dc3fa
Set default pixel format to bayer.
2020-02-09 19:04:17 +02:00
iabdalkader
3a7dd95ecc
Fix sensor address and manf. ID.
2020-02-09 18:48:35 +02:00
iabdalkader
abd977c60f
Add HIMAX HM01B0 driver.
2020-02-08 21:25:59 +02:00
iabdalkader
85b207ce3f
Bump firmware version.
2020-02-07 23:05:31 +02:00
iabdalkader
87817f37f3
Bump firmware version.
2020-02-07 21:56:13 +02:00
iabdalkader
71a33278c0
DAC timed write fix.
...
* This is a workaround until a proper fix is found.
2020-02-07 19:48:35 +02:00
iabdalkader
0a8cc4f838
Fix self-tests bug.
...
* This is an edge case which happens if a file is written to the flash storage
immediately after the first boot and before a reset causing the host to corrupt
the selftests.py script.
* The selftests.py is now executed before USB MSC is enabled to avoid
corrupting the filesystem when selftests.py is removed.
* If the selftests.py fails, the USB MSC is enabled to allow the host to read the error log.
2020-02-06 18:10:24 +02:00
iabdalkader
176cb93489
Add UVC support for OMV4P.
2020-02-05 22:24:03 +02:00
iabdalkader
f20fdf4a83
Rename OPENMV4R target.
2020-02-05 20:10:37 +02:00
Larry Bank
2c61d5ec11
QRCode optimizations ( #687 )
...
* QRCode optimizations
* Added fast RGB to gray macro
2020-02-04 22:31:59 +02:00
iabdalkader
5d4ef2632d
Add USB debug command to return sensor ID.
2020-02-03 23:18:29 +02:00
iabdalkader
0e4b46e416
Disable OMV3 YUV table.
...
* YUV table is not needed anymore now that the optimized JPEG
code is almost as fast as the LUT.
2020-02-03 18:49:03 +02:00
Larry Bank
8aa56c7ebf
Optimized grayscale and binary for SW encoder
2020-02-02 22:20:02 +01:00
Larry Bank
d7e3dc0c7e
removed debugging statement
2020-02-02 19:19:17 +01:00
Larry Bank
de919bbd40
optimized vga jpeg encode and removed need for YUV LUT
2020-02-02 19:17:42 +01:00
Larry Bank
d12d033e10
First pass optimization of SW JPEG encoder
2020-02-02 13:59:26 +01:00
Larry Bank
f2121c2508
Fixed find_line_segments() regression
2020-02-01 18:28:42 +01:00
iabdalkader
abfb6537bc
Re-enable F7 overdrive after waking up from stop mode.
2020-01-31 14:56:42 +02:00