Kwabena W. Agyeman
4720d6ea01
TV driver SIMD update
2021-02-26 08:53:48 -08:00
Ibrahim Abd Elkader
4ac425aa45
Merge pull request #1191 from kwagyeman/kwabena/m4_alignment
...
Add alignment for the M4
2021-02-26 18:45:40 +02:00
Kwabena W. Agyeman
fc9d9a4952
Add alignment for the M4
2021-02-26 08:28:13 -08:00
Ibrahim Abd Elkader
ee62f68d00
Merge pull request #1192 from kwagyeman/kwabena/lcd_fixes
...
Kwabena/lcd fixes
2021-02-26 16:20:05 +02:00
Ibrahim Abd Elkader
115a443086
Merge pull request #1190 from kwagyeman/kwabena/tv_dma_speed_improvment
...
Use the most efficient data transfers for TV DMA
2021-02-26 16:09:41 +02:00
iabdalkader
eba6ad937d
NANO: Configure PDWN and RST in sensor_init
2021-02-25 23:53:00 +02:00
iabdalkader
d4859f58a8
NANO: Remove NO STOP from readb.
2021-02-25 23:48:55 +02:00
iabdalkader
972dec4bbd
NANO: Define reset pin.
2021-02-25 23:48:28 +02:00
iabdalkader
288d0f72eb
NANO: Reduce ISC I2C frequency to standard.
2021-02-25 23:48:04 +02:00
Kwabena W. Agyeman
62e4fc01a1
Fix DMA over 64KB bytes
2021-02-24 21:47:33 -08:00
Kwabena W. Agyeman
b117637ddf
Remove redundant no hint
2021-02-24 21:46:56 -08:00
Kwabena W. Agyeman
e2bcf95337
Use the most efficent data transfers for TV DMA
2021-02-24 21:24:13 -08:00
Ibrahim Abd Elkader
7fc6a0d4dd
Merge pull request #1189 from kwagyeman/kwabena/improve_lcd_code_memory_bandwidth
...
Massively reduces bus usage for SPI LCD
2021-02-25 04:39:52 +02:00
Kwabena W. Agyeman
2ac0480e99
Massively reduces bus usage for SPI LCD
2021-02-24 17:57:07 -08:00
Kwabena W. Agyeman
a1162282ba
Move fb_alloc_all into jpeg_compress
2021-02-24 17:02:01 -08:00
Kwabena W. Agyeman
28e93b40f7
Keep JPEG core on during script execution
2021-02-24 16:13:46 -08:00
Ibrahim Abd Elkader
757c538dd3
Merge pull request #1185 from kwagyeman/kwabena/speedup_jpeg_trailing_data_cleanup
...
Speed up clearing trailing jpeg data
2021-02-25 00:51:17 +02:00
Kwabena W. Agyeman
b0930505d5
Speed up clearing trailing jpeg data
2021-02-24 14:08:54 -08:00
Kwabena W. Agyeman
28dfeed446
Add stubs for init/deinit of the imlib
2021-02-24 11:07:35 -08:00
iabdalkader
9fc9e76644
Fix linker script stack alignment for boards with SRAM stack.
...
* The stack pointer needs to be aligned to 8 bytes to conform with EABI, most of the boards are configured
to use ITCM for stack, which starts at 0 and are Not affected by the linker script alignment. This patch
fixes the issue with boards that use SRAM for stack which can get misaligned.
2021-02-23 19:30:53 +02:00
iabdalkader
ff19149f59
Add mpy stack option to mpconfig.
2021-02-23 19:27:33 +02:00
iabdalkader
35ff974264
Remove port config overrides defined in some board configs.
...
* These are not seen in main.
2021-02-23 04:20:10 +02:00
iabdalkader
883d51098b
Enable PORT K for Portenta and Bormio.
2021-02-22 21:47:19 +02:00
iabdalkader
03de0ceb26
Add Himax ioctl to control internal osc.
...
* Add ioctl to switch to internal OSC for MD.
* Add example to show how to wake up from low-power on MD events.
2021-02-22 03:35:25 +02:00
iabdalkader
d36cfb2313
Implement Himax motion detection with ioctls.
2021-02-21 22:55:29 +02:00
iabdalkader
29226a8b08
Implement sensor driver for nrf/Nano 33
2021-02-21 01:01:00 +02:00
iabdalkader
74c15bc1e3
Add MDMA priority.
2021-02-21 00:47:24 +02:00
iabdalkader
af3ad76b04
Add basic OV7670 driver.
...
* Still needs a lot work.
2021-02-21 00:06:11 +02:00
iabdalkader
7262cc92b1
Fix py_imu include in py_sensor.
2021-02-18 02:02:36 +02:00
iabdalkader
3c34fe141c
Fix Bormio PLL config.
2021-02-17 19:44:26 +02:00
iabdalkader
34ce2ee137
Add nrf cambus read/write byte functions.
2021-02-15 21:00:54 +02:00
iabdalkader
970ff64dce
Fix TV module define.
2021-02-15 20:51:29 +02:00
Ibrahim Abd Elkader
f48ba98893
Merge pull request #1173 from kwagyeman/kwabena/cache_alignment
...
Kwabena/cache alignment
2021-02-15 20:08:02 +02:00
Kwabena W. Agyeman
666c9dd386
Use 4 less bytes per alginment
2021-02-15 09:35:10 -08:00
Kwabena W. Agyeman
45b7e12cf9
Fix fb_alloc_all cache alignment
2021-02-15 09:25:14 -08:00
Kwabena W. Agyeman
09121b378e
Update src/omv/imlib/framebuffer.h
...
Remove padding.
Co-authored-by: Ibrahim Abd Elkader <i.abdalkader@gmail.com>
2021-02-14 19:14:30 -08:00
Kwabena W. Agyeman
c2567c3416
Make TV and LCD optional
2021-02-14 17:05:17 -08:00
Kwabena W. Agyeman
103042d27a
Use new cache alignment for flir lepton
2021-02-14 15:45:23 -08:00
Kwabena W. Agyeman
900477383e
Add cache alignment support to fb_alloc
2021-02-14 15:41:10 -08:00
Kwabena W. Agyeman
5c49066508
Cache align jpeg and frame buffer
2021-02-14 15:12:33 -08:00
iabdalkader
d08da5e072
Fix swapped G/B named pins.
2021-02-14 21:37:54 +02:00
iabdalkader
5bbe25c201
Replace VSYNC output pin with callback.
2021-02-14 21:10:23 +02:00
iabdalkader
aeb7539cfa
Update license date.
2021-02-14 16:47:45 +02:00
iabdalkader
46495ff8cf
Bump firmware version.
2021-02-13 22:08:33 +02:00
Ibrahim Abd Elkader
5e024e22db
Merge pull request #1166 from openmv/cyw43_softreset
...
Fix CYW43/LWIP and soft-reset bugs.
2021-02-13 02:04:21 +02:00
Ibrahim Abd Elkader
a7d67f3e79
Merge pull request #1165 from openmv/usbdbg_basepri
...
Make sure pendsv is not masked before stop/exec script.
2021-02-13 01:34:43 +02:00
iabdalkader
70366bdac1
Fix CYW43/LWIP and soft-reset bugs.
2021-02-13 01:20:02 +02:00
iabdalkader
1ced9d1507
Make sure pendsv is not masked before stop/exec script.
2021-02-13 01:19:04 +02:00
iabdalkader
cee4218548
Use temporary DMA buffers for SDIO transfers.
...
* Force SDIO to use DMA transfers to avoid FIFO under/overruns
2021-02-13 01:12:12 +02:00
iabdalkader
55b716692c
Add timeout to cy43 connect.
2021-02-13 00:39:47 +02:00
iabdalkader
c646451650
Update LWIP to latest.
2021-02-13 00:10:37 +02:00
iabdalkader
7677b44feb
Add Bormio board.
2021-02-12 03:28:11 +02:00
iabdalkader
4b5a3f93dd
Add flags to reserve DMA streams.
2021-02-12 03:13:41 +02:00
iabdalkader
ac80f946ae
Make PLL clock source configurable.
2021-02-12 00:07:47 +02:00
iabdalkader
107bbed9f1
Call gc_sweep_all on soft-reset.
...
* Make sure to collect open lwip sockets otherwise it runs out of memory.
* This should be okay to add in general but will only enable for LWIP for now.
2021-02-10 22:58:07 +02:00
Ibrahim Abd Elkader
1cf5191c9c
Merge pull request #1154 from kwagyeman/kwabena/fix_jpeg_binary_bug
...
Fix JPEG Binary Image Compression
2021-02-05 20:26:09 +02:00
Kwabena W. Agyeman
d679899e01
Missing x shift
2021-02-04 22:35:11 -08:00
Kwabena W. Agyeman
0bd845b908
Fix rgb channel for TV
2021-02-04 21:22:41 -08:00
Kwabena W. Agyeman
8907be98a4
Kwabena/flir lepton updates ( #1150 )
...
* Add timeout support for grabbing a new frame
* Fix ffc with a timeout
2021-02-02 21:20:01 +02:00
iabdalkader
10f9600008
Bump firmware version.
2021-01-31 22:59:03 +02:00
Kwabena W. Agyeman
5eb5064d56
Renable IMLIB parts
2021-01-31 09:39:24 -08:00
iabdalkader
6b829381e6
Update docs.
2021-01-29 20:58:56 +02:00
Kwabena W. Agyeman
8c755dd8c9
Update ImageIO version
2021-01-28 20:56:03 -08:00
iabdalkader
a8120f6866
Enable SD HW flow control.
2021-01-27 17:53:29 +02:00
iabdalkader
416a614e9f
Add comment about errata.
2021-01-27 17:52:43 +02:00
Ibrahim Abd Elkader
ad7fa68279
Merge pull request #1141 from openmv/sensor_xdown
...
Sensor shutdown fixes.
2021-01-25 22:37:05 +02:00
iabdalkader
b6130942de
Deinit DCMI on sensor shutdown.
2021-01-25 22:06:46 +02:00
iabdalkader
c17de02430
Add DCMI MSP Deinit.
2021-01-25 22:05:12 +02:00
Kwabena W. Agyeman
3d7c2bd48e
Fix lepton driver on m4 and m7 ( #1138 )
...
* Fix lepton driver on F4 and F7
* Increase clock rate for F4/F7 since they can't hit 10 MHz correctly
2021-01-25 19:38:18 +02:00
Kwabena W. Agyeman
721bf81a12
Re-enable support for these now that the extra code fits
2021-01-24 20:13:30 -08:00
Kwabena W. Agyeman
ef25f1912d
Fix issues with F7 LCD triple buffering
2021-01-24 12:31:59 -08:00
Kwabena W. Agyeman
7d43093e43
Switch to RGB565 when color table is used
2021-01-22 21:10:30 -08:00
Kwabena W. Agyeman
cd0372f1b3
Fix grayscale color and y filter
2021-01-22 20:44:24 -08:00
Kwabena W. Agyeman
1b36b95521
Improve TV driver resolution, add scaling, and triple buffering
2021-01-22 20:44:24 -08:00
Kwabena W. Agyeman
a6237a96b2
Switch to fast YUV macros
2021-01-22 20:44:24 -08:00
iabdalkader
6d70b9e2a6
Bump firmware version.
2021-01-22 23:04:34 +02:00
iabdalkader
2d913dc456
Add LoRa library for Arduino Portenta.
2021-01-22 21:46:21 +02:00
iabdalkader
2a190f35c0
Update ulab to 2.1.3
2021-01-22 21:20:03 +02:00
iabdalkader
690a39c0cb
Use interpolated LAB table.
...
* Saves about 100KBs.
2021-01-21 22:53:28 +02:00
iabdalkader
eccaeb111b
Fix default OV5640 SYSTEM_CTROL0 value in sleep()
2021-01-21 19:44:20 +02:00
iabdalkader
6954b6d858
Fix default OV5640 SYSTEM_CTROL0 value in sleep()
2021-01-21 19:41:45 +02:00
iabdalkader
9935d9f4d5
Low power fixes.
...
* Disable QSPI in stop and standby modes.
* Power down SDRAM in standby mode.
2021-01-21 02:31:06 +02:00
iabdalkader
39ca235442
Enable exFAT for Portenta.
2021-01-20 17:39:17 +02:00
Ibrahim Abd Elkader
4d35329ab9
Merge pull request #1130 from openmv/stm32cubeai_fix
...
Fix stm32cube ai build.
2021-01-20 01:21:38 +02:00
iabdalkader
a848d6c663
Fix stm32cube ai build.
2021-01-20 00:55:39 +02:00
iabdalkader
85205b165c
Add top python modules to qstr sources.
2021-01-20 00:51:48 +02:00
iabdalkader
65ddb5f49f
Remove gdb flag for normal builds.
2021-01-19 22:45:15 +02:00
iabdalkader
823c3c1bdb
Update build scripts from upstream.
2021-01-19 20:29:57 +02:00
iabdalkader
7183fc905c
Fix HM01b0 default OSC register value.
2021-01-18 22:18:49 +02:00
Ibrahim Abd Elkader
6ae6056b83
Update HM01B0 driver. ( #1125 )
...
* Fix framerate for QVGA and QQVGA.
* Fix set_exposure calculations.
* Calculate vt_pix_clk from dividers in OSC register.
* Implement frame rate for HM01b0.
* Fix frame timing for QQVGA
* Implement set_framerate.
2021-01-18 15:23:57 +02:00
iabdalkader
b72aea3bc0
Add set/get_framerate().
2021-01-17 21:24:28 +02:00
Ibrahim Abd Elkader
730efc65aa
Merge pull request #1122 from kwagyeman/kwabena/cleanup_to_ops
...
Kwabena/cleanup to ops
2021-01-16 20:44:33 +02:00
Ibrahim Abd Elkader
81aa60a15c
Merge pull request #1124 from openmv/himax_pix_fix
...
Fix pixel clock polarity for the HM01B0
2021-01-16 02:37:23 +02:00
iabdalkader
efb786f58c
Fix pixel clock polarity for the HM01B0
2021-01-16 02:04:12 +02:00
Ibrahim Abd Elkader
7ad3111948
Merge pull request #1123 from kwagyeman/kwabena/make_copy_to_fb_smarter
...
Make copy_to_fb smarter about resources
2021-01-15 23:03:37 +02:00
Kwabena W. Agyeman
cfedaa54d7
Make copy_to_fb smarter about resources
2021-01-15 10:41:23 -08:00
Kwabena W. Agyeman
cb2f22e737
Centralize and improve to_x/copy/crop
2021-01-15 10:36:26 -08:00
Kwabena W. Agyeman
01aad01c49
Update draw image to support in place updates
2021-01-15 10:29:07 -08:00
iabdalkader
6fa0b9f478
Bump firmware version.
2021-01-13 22:01:22 +02:00
iabdalkader
8a24f84123
Bump firmware version.
2021-01-13 21:40:43 +02:00
Frank Zhao
7e45f89bc7
Fix OV5640 PCLK calculation to use current register values ( #1120 )
2021-01-13 19:43:13 +02:00
Kwabena W. Agyeman
7689622982
Add support for the MLX90641 ( #1117 )
2021-01-13 02:35:59 +02:00
iabdalkader
4c8fb46832
Patch spi.c from upstream.
2021-01-11 21:03:38 +02:00
iabdalkader
91c1aecb51
Make xalloc exception more useful.
...
* Add the number of bytes to the exception message, could be very helpful to the user in debugging stuff.
2021-01-11 19:14:20 +02:00
Kwabena W. Agyeman
ad00a842e9
Switch to compressed error messages ( #1116 )
2021-01-10 19:58:07 +02:00
Kwabena W. Agyeman
4c8a3ab750
Kwabena/get openmvpt lepton working ( #1115 )
...
* OpenMV PT Lepton working
* Reset py external modules earlier
* Fix sharing camera I2C bus on OPENMVPT
* Update MP
2021-01-10 15:37:30 +02:00
iabdalkader
93a310c312
Enable UART 8 for Portenta.
2021-01-08 20:00:53 +02:00
iabdalkader
7d22c6e963
Fix H7 timer state with new HAL.
...
* Fixes #1036
2021-01-07 23:32:13 +02:00
iabdalkader
5aa41b6cbe
Define UID size in board config.
2021-01-07 20:28:54 +02:00
Ibrahim Abd Elkader
6c6f919298
Merge pull request #1111 from openmv/py_fir_scan_fix
...
Fix cambus scan.
2021-01-07 16:09:31 +02:00
iabdalkader
7a5d350256
Fix cambus scan.
...
* Retry scan at least once before giving up. The bus can be stuck from the last run.
2021-01-07 15:47:01 +02:00
iabdalkader
266665ed4e
NRF Twi fixes.
...
* Deinit once before recovery.
* Reduce TWI timeout.
2021-01-07 15:45:46 +02:00
Kwabena W. Agyeman
da6c1a6ed9
Add auto scanning and update examples
2021-01-06 16:48:10 -08:00
iabdalkader
125107dd0a
NRF: Add sensor drivers to frozen modules.
2021-01-07 00:42:06 +02:00
iabdalkader
a7fe87753b
NRF: Fix early board init/deinit.
2021-01-06 20:14:56 +02:00
Ibrahim Abd Elkader
64bb3a6631
Merge pull request #1105 from openmv/hts221
...
Add frozen hts221 driver.
2021-01-06 00:06:31 +02:00
iabdalkader
740ea4f2b8
Add frozen hts221 driver.
2021-01-05 23:47:32 +02:00
iabdalkader
b170f2e9d7
NRF: Switch to frozen manifest.
2021-01-05 23:40:52 +02:00
iabdalkader
dd696708a5
MicroPython updates.
...
* NRF fix I2C priority.
* NRF enable line source.
* machine i2c: scan with read instead of write.
2021-01-05 22:03:07 +02:00
iabdalkader
25ec7349f5
Implement NRF cambus scan and gencall.
2021-01-05 20:01:19 +02:00
Ibrahim Abd Elkader
b0cfa3abb1
Merge pull request #1101 from openmv/port_fixes
...
Port fixes
2021-01-05 00:32:05 +02:00
iabdalkader
e122e4e82d
Add OpenMV gpio and i2c abstraction layer.
2021-01-05 00:07:45 +02:00
iabdalkader
3813fed939
Remove cambus_struct headers
2021-01-04 23:42:05 +02:00
Kwabena W. Agyeman
7dc2c50a74
Merge branch 'master' into kwabena/fix_fir_extern_vars
2021-01-04 12:07:05 -08:00
Kwabena W. Agyeman
a3017f5ba1
Make cambus_t also static.
2021-01-04 12:06:07 -08:00
Kwabena W. Agyeman
83a3c72c21
Make fir vars static
2021-01-04 10:02:19 -08:00
Ibrahim Abd Elkader
83f21f867f
Merge pull request #1097 from kwagyeman/kwabena/parameterize_fir
...
Make fir module programmable
2021-01-04 14:35:36 +02:00
Kwabena W. Agyeman
cfe3c850ca
Allow parts of the fir module to be commented out
2021-01-03 22:39:57 -08:00
Ibrahim Abd Elkader
2da7fb7e2b
Merge pull request #1099 from openmv/stm32cube
...
Update stm32cubeai module.
2021-01-04 04:42:42 +02:00
iabdalkader
d4424ac9d1
Update stm32cubeai module.
2021-01-04 04:10:34 +02:00
iabdalkader
8629626307
Disable unused CMSIS DSP functions.
2021-01-04 04:09:52 +02:00
Ibrahim Abd Elkader
3467424420
Merge pull request #1096 from kwagyeman/kwabena/lepton_takes_cambus
...
Make lepton driver take cambus_t
2021-01-04 02:14:29 +02:00
Kwabena W. Agyeman
13c2b5d750
Make lepton driver take cambus_t
2021-01-03 15:38:35 -08:00
iabdalkader
51077ac81e
Update docs.
2021-01-04 01:11:29 +02:00
Ibrahim Abd Elkader
6f08ad2cac
Merge pull request #1095 from kwagyeman/kwabena/disable_overlapping_print
...
Disable overlapping detection print
2021-01-04 01:02:04 +02:00
Kwabena W. Agyeman
0453471eae
Add new FLIR Lepton module for FIR ( #1093 )
2021-01-04 01:01:35 +02:00
Kwabena W. Agyeman
617de59ceb
Disable overlapping detection print
2021-01-03 14:23:29 -08:00
Ibrahim Abd Elkader
aed5ec595c
Merge pull request #1094 from kwagyeman/kwabena/disable_get_sim_on_omv4
...
Disable get similarity on omv4
2021-01-03 23:45:07 +02:00
Kwabena W. Agyeman
4f57ed13c1
Disable get similarity on omv4
2021-01-03 13:28:55 -08:00
Kwabena W. Agyeman
e64b2c067b
Fix float max code in py_fir.c
2021-01-03 10:12:51 -08:00
Ibrahim Abd Elkader
0d830d15a3
Merge pull request #1091 from openmv/nrf_audio_fixes
...
Add Arduino fixes.
2021-01-03 16:57:30 +02:00
iabdalkader
e58bca80f5
Add Arduino fixes.
2021-01-03 16:34:05 +02:00
王开智
902ae3c98b
faster hough ( #1068 )
...
1, change `sqrt(a*a + b*b)` to `(abs(a)+abs(b))/2`
2, drop small mag calculate
2021-01-03 16:04:44 +02:00
Ibrahim Abd Elkader
3d9929eeae
Merge pull request #1089 from kwagyeman/kwabena/update_obj_repr
...
Update to the new obj repr
2021-01-03 05:58:00 +02:00
Kwabena W. Agyeman
3eb732a399
Update to the new obj repr
2021-01-02 19:30:57 -08:00
Kwabena W. Agyeman
195a0e12cd
Fix the use of FLT_MIN which is not the actual min, -FLT_MAX is
2021-01-02 18:59:59 -08:00
iabdalkader
e2daf3ea7e
NRF: enable MBFS.
2021-01-03 02:24:10 +02:00
Ibrahim Abd Elkader
783a78754e
Add new ImageIO Type. ( #1084 )
...
* Add ImageIO type to support memory stream I/O.
* Remove old image reader/writer and link imageio.
* Enable ImageIO modules on all boards.
* Check if stream is closed when calling read/write/seek
2021-01-03 00:38:44 +02:00
Kwabena W. Agyeman
f7d339e6fd
Move to using SPI callbacks
2021-01-02 13:51:07 -08:00
Ibrahim Abd Elkader
acf450caa3
Merge pull request #1083 from openmv/rename_flag
...
Rename flag.
2021-01-02 20:40:42 +02:00
iabdalkader
222d704ac3
Rename flag.
2021-01-02 19:59:37 +02:00
Ibrahim Abd Elkader
9d0ba54957
Merge pull request #1081 from openmv/kwagyeman-remove-selective-search
...
Remove selective search to save flash
2021-01-02 02:57:57 +02:00
Ibrahim Abd Elkader
8614b66899
Merge pull request #1082 from openmv/cambus_fix
...
Add missing I2C IRQ handlers.
2021-01-02 02:09:46 +02:00
iabdalkader
aec5b060cf
Add missing I2C IRQ handlers.
2021-01-02 01:49:39 +02:00
Kwabena W. Agyeman
6f8ddb6c40
Remove selective search to save flash
2021-01-01 14:18:29 -08:00
Kwabena W. Agyeman
469a731221
Update README.md
...
Add new build targets.
2021-01-01 14:17:08 -08:00
iabdalkader
832760b65c
Add new and update read/write bytes functions.
2021-01-01 21:52:38 +02:00
iabdalkader
f387f58053
Remove hard-coded cambus pins used for bus recovery.
2021-01-01 16:04:38 +02:00
iabdalkader
069719e285
Fix nrf gc_collect
2021-01-01 01:07:28 +02:00
iabdalkader
29f76f3c35
Add new Travis targets.
2021-01-01 00:33:16 +02:00
iabdalkader
e6cc0a6f41
Add initial Nano audio module.
2021-01-01 00:32:55 +02:00
Ibrahim Abd Elkader
ec99ddbd76
Merge pull request #1074 from openmv/nrf_ulab
...
Enable NRF ulab module.
2020-12-31 23:45:18 +02:00
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