iabdalkader
dcd2b684b3
Enable NRF ulab module.
2020-12-31 23:27:40 +02:00
iabdalkader
ffedd905c2
Update Makefile.
...
* Fix possible build dependency issue.
* Detect number of cores instead of hard coded value.
2020-12-31 19:04:52 +02:00
Kwabena W. Agyeman
1598b68a43
Allow Lepton I2C bus to be selected
2020-12-30 18:38:20 -08:00
Kwabena W. Agyeman
43aef07ae6
Move color palette code to helper methods
2020-12-30 12:28:39 -08:00
iabdalkader
8ccc9f1011
Fix code formatting.
2020-12-30 21:55:09 +02:00
Kwabena W. Agyeman
4b2f972f30
Add deinit method to error in init
2020-12-30 10:54:34 -08:00
Kwabena W. Agyeman
2a46e34b92
Cleanup formatting
2020-12-30 10:47:23 -08:00
Kwabena W. Agyeman
e17a728590
Move generic fill image to imlib
2020-12-30 10:41:16 -08:00
Kwabena W. Agyeman
793a10590a
Move AMG 12->16 to macro
2020-12-30 10:24:08 -08:00
Kwabena W. Agyeman
5fec8604ce
Move min/max code to fmath
2020-12-30 10:13:33 -08:00
Kwabena W. Agyeman
fb09395269
Add constants to FIR module
2020-12-30 09:51:14 -08:00
Kwabena W. Agyeman
53f2248b86
Finish refactor of the fir module
2020-12-29 19:45:41 -08:00
Kwabena W. Agyeman
4914ea4096
Cleanup error messages
2020-12-29 19:44:37 -08:00
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