Ibrahim Abd Elkader
84407e4aca
Merge pull request #1252 from kwagyeman/kwabena/add_jpeg_copying
...
Add jpeg copying support
2021-03-31 19:49:48 +02:00
Kwabena W. Agyeman
28d323b71d
Add jpeg copying support
2021-03-31 10:25:55 -07:00
Ibrahim Abd Elkader
119a6c858c
Merge pull request #1247 from kwagyeman/kwabena/cleanup_imlib
...
Cleanup imlib unused methods
2021-03-30 19:36:21 +02:00
Ibrahim Abd Elkader
322b14bf15
Merge pull request #1249 from openmv/himax_update
...
Fix HM01B0 vflip/hmirror settings.
2021-03-30 19:25:27 +02:00
iabdalkader
5b9cb0710a
Fix HM01B0 vflip/hmirror settings.
2021-03-30 19:15:52 +02:00
Ibrahim Abd Elkader
f225a09861
Merge pull request #1245 from kwagyeman/kwabena/open_analog_switches
...
Make sure dedicated analog pads are isolated
2021-03-30 18:20:14 +02:00
Kwabena W. Agyeman
f32b1a20fb
Make sure dedicated analog pads are isolated
2021-03-30 09:04:20 -07:00
iabdalkader
9e9009bad2
Add initial MT9M114 driver.
2021-03-30 03:09:33 +02:00
Kwabena W. Agyeman
dda33be809
Cleanup imlib unused methods
2021-03-29 10:34:09 -07:00
Ibrahim Abd Elkader
ca124aa9ca
Merge pull request #1239 from kwagyeman/kwabena/add_debayering_support
...
Add debayering support to draw image
2021-03-28 17:16:24 +02:00
jiskra
a0f321836f
Update omv_boardconfig.h
...
change openmv4p usb clock source
2021-03-27 17:39:02 +08:00
iabdalkader
80cc1f3baf
Bump firmware version.
2021-03-27 00:38:36 +02:00
iabdalkader
32742440a9
Re-enable combined fw image for factory programming.
2021-03-26 21:34:17 +02:00
Kwabena W. Agyeman
5cbd2e3950
Add debayering support to draw image
2021-03-26 09:37:06 -07:00
iabdalkader
c729ed9f33
Add 320x320 resolution for HM01B0
2021-03-25 23:07:41 +02:00
iabdalkader
9e46f866bc
Disable all MPU regions in msp_init.
2021-03-25 02:47:30 +02:00
Ibrahim Abd Elkader
c1bcfbe8ec
Merge pull request #1235 from kwagyeman/kwabena/software_jpeg_speedup
...
Move software jpeg encoder front end to new SIMD MCU code
2021-03-23 20:06:03 +02:00
iabdalkader
68aa8b9e52
Portenta: Fix standby mode.
2021-03-22 01:36:51 +02:00
iabdalkader
8f3a921658
Update CM4 firmware.
...
* Enable HSEM driver.
* Use HSEM to sync standby mode.
2021-03-21 22:46:50 +02:00
iabdalkader
d3bc1b2c7b
Update ulpi.c
2021-03-21 22:00:22 +02:00
Kwabena W. Agyeman
39402e27a6
Ifdef out lcd/tv init0
2021-03-20 11:04:15 -07:00
Kwabena W. Agyeman
85b5130c09
Move software jpeg encoder front end to new SIMD MCU code
2021-03-20 10:59:09 -07:00
Ibrahim Abd Elkader
dc089106f6
Merge pull request #1231 from kwagyeman/kwabena/make_bayer_faster
...
Speed debayering to 19.5ms for VGA
2021-03-17 23:19:28 +02:00
iabdalkader
3d5015dcf1
PORTENTA: Cleanup low power function
2021-03-17 22:24:08 +02:00
iabdalkader
5947e1be47
Add enable/disable external OSC callback functions.
2021-03-17 19:43:27 +02:00
Kwabena W. Agyeman
7a1eb1c113
Speed debayering to 19.5ms for VGA
2021-03-16 22:09:51 -07:00
Ibrahim Abd Elkader
b4a1b57f55
Merge pull request #1221 from bitbank2/master
...
Sped up jpeg bayer_to_ycbcr for encode
2021-03-16 02:44:13 +02:00
Ibrahim Abd Elkader
ee083f6bcb
Merge pull request #1225 from kwagyeman/kwabena/fix_counter_init
...
Filled out PWM TIMER init for FLIR/LCD
2021-03-16 02:43:48 +02:00
iabdalkader
06568f35a4
PORTENTA: low-power mode fixes.
...
* Fix PMIC SW1 current limit.
* Fix Ethernet low power functions.
* Switch ULPI to low power mode.
2021-03-16 02:23:58 +02:00
iabdalkader
3301c55457
Add USB3320 ULPI driver.
2021-03-16 00:58:10 +02:00
iabdalkader
1b4ce747bc
Add support for generating Cortex-M4 firmware.
2021-03-15 21:14:27 +02:00
Ibrahim Abd Elkader
c06775d99d
Merge pull request #1222 from kwagyeman/kwabena/cambus_reinit
...
Make cambus reinit standard for all boards
2021-03-15 20:47:42 +02:00
Ibrahim Abd Elkader
1329542c2b
Merge pull request #1219 from kwagyeman/kwabena/mt9v034_refactor
...
Kwabena/mt9v034 refactor
2021-03-15 20:46:52 +02:00
Ibrahim Abd Elkader
b4f747812b
Merge pull request #1224 from kwagyeman/kwabena/add_buzzer_module
...
Add support for the new buzzer module
2021-03-15 20:38:31 +02:00
Ibrahim Abd Elkader
812b9c44e1
Merge pull request #1223 from kwagyeman/kwabena/fix_lcd_pll_typo
...
Fix missing 0
2021-03-15 20:01:49 +02:00
Kwabena W. Agyeman
936d1eb1d6
Add support for the new buzzer module
2021-03-15 09:38:22 -07:00
Kwabena W. Agyeman
9948619513
Cleanup initing counters
2021-03-14 22:32:36 -07:00
Kwabena W. Agyeman
911b08ed22
Fix missing 0
2021-03-14 18:42:47 -07:00
Kwabena W. Agyeman
9e4bcb21fc
Make cambus reinit standard for all boards
2021-03-14 15:49:08 -07:00
Laurence Bank
3947c28672
Sped up jpeg bayer_to_ycbcr for encode
2021-03-14 18:44:17 -04:00
Kwabena W. Agyeman
4420536c45
Fix clock speed and gain/exposure math
2021-03-14 14:57:09 -07:00
Kwabena W. Agyeman
dc7b378a9f
Fix issues with agc/aec logic
2021-03-14 14:57:09 -07:00
Kwabena W. Agyeman
51ac032cad
Add sensor readout control to the mt9v034
2021-03-14 14:57:09 -07:00
Kwabena W. Agyeman
446fa0f73d
Reduce DMA buffer size
2021-03-14 13:27:22 -07:00
iabdalkader
c1289deb02
PORTENTA: Fix DMA buffer size.
2021-03-11 23:02:55 +02:00
Ibrahim Abd Elkader
6cc75175a8
Merge pull request #1217 from kwagyeman/kwabena/use_dma_buffer
...
Use DMA buffer for FIR Lepton
2021-03-10 01:43:19 +02:00
iabdalkader
4f7b73746a
Set DMA buffers sizes for all boards.
2021-03-10 00:49:36 +02:00
iabdalkader
069e96f51a
Add DMA buffer allocator
2021-03-10 00:25:37 +02:00
Ibrahim Abd Elkader
df15963b6c
Merge pull request #1213 from kwagyeman/kwabena/axi_qos
...
Add AXI QOS to make LCD output stable
2021-03-09 17:45:53 +02:00
Kwabena W. Agyeman
f41c5b3199
Use DMA buffer for FIR Lepton
2021-03-08 22:07:44 -08:00
Kwabena W. Agyeman
021f3aca22
Add AXI QOS to make LCD output stable
2021-03-08 21:23:37 -08:00
iabdalkader
2314afd99d
Move stack to DTCM/ITCM on QSPI boards.
2021-03-08 22:48:38 +02:00
iabdalkader
8a99ad7616
Allow FFS cache to not be defined.
2021-03-08 22:20:54 +02:00
iabdalkader
bc4072802c
Cleanup QSPI flash config.
...
* Remove unused softqspi protocol.
* Move QSPI flash to data memory, to free the DTCM.
2021-03-08 02:57:53 +02:00
Ibrahim Abd Elkader
afb8f9e47d
Merge pull request #1211 from kwagyeman/kwabena/fb_alloc_cleanup
...
Cleanup FB_ALLOC_OVERLAY pointers
2021-03-08 02:41:06 +02:00
Kwabena W. Agyeman
c163560224
Cleanup FB_ALLOC_OVERLAY pointers
2021-03-07 16:17:31 -08:00
Kwabena W. Agyeman
6867d744ab
Reduce bus contention and save RAM
2021-03-07 15:54:02 -08:00
Ibrahim Abd Elkader
95783c0f49
Merge pull request #1209 from openmv/dma_memory
...
Add DMA regions in each domain.
2021-03-07 23:27:20 +02:00
iabdalkader
dda4c69d44
Add DMA regions in each domain.
2021-03-07 22:54:06 +02:00
Ibrahim Abd Elkader
84621c6dd5
Merge pull request #1208 from kwagyeman/kwabena/fix_lcd_polarity
...
Fix LCD output polarity
2021-03-07 18:15:48 +02:00
Kwabena W. Agyeman
70da8d8354
Fix LCD output polarity
2021-03-06 20:41:17 -08:00
iabdalkader
265018c7e7
Update HM01B0 driver.
...
* Fix set_auto_exposure.
* Implement get_exposure_us.
* Implement set_gainceiling.
* Implement set_colorbar.
* Implement set_auto_gain.
* Implement get_gain_db.
* Remove unimplemented functions.
2021-03-06 19:51:43 +02:00
iabdalkader
319993adde
Fix the SDMMC used in CYW43 driver.
2021-03-04 23:49:11 +02:00
iabdalkader
9d2b4cf91e
HM01B0: Tune AE target and max gain.
2021-03-04 23:42:13 +02:00
Ibrahim Abd Elkader
e64067ca60
Merge pull request #1202 from kwagyeman/kwabena/fix_dma_max
...
Subtle max limit improvement for SPI LCD DMA.
2021-03-04 15:34:43 +02:00
Ibrahim Abd Elkader
397941930b
Merge pull request #1201 from kwagyeman/kwabena/flir_dma_fix
...
Improve FLIR module DMA efficiency
2021-03-04 01:29:39 +02:00
iabdalkader
449f695ade
Add Ethernet low power functions.
2021-03-03 21:57:06 +02:00
Ibrahim Abd Elkader
a025908d1a
Merge pull request #1203 from openmv/sdmmc_instance
...
Allow boards to define SDMMC instance for SD card and WiFi explicitly.
2021-03-03 21:56:24 +02:00
iabdalkader
ebc34c3e32
Allow boards to define SDMMC instance used for SD card and WiFi explicitly.
2021-03-03 21:33:12 +02:00
Kwabena W. Agyeman
646b16350d
This should match the fifo size of 8, not 16
2021-03-02 22:22:34 -08:00
Kwabena W. Agyeman
276e8a7a7d
Improve FLIR module DMA efficency
2021-03-02 22:21:30 -08:00
Ibrahim Abd Elkader
d8c2777e6d
Merge pull request #1171 from kwagyeman/kwabena/jpeg_speedup
...
Kwabena/jpeg speedup
2021-03-02 19:50:18 +02:00
Kwabena W. Agyeman
28b9d9fc78
Fix autofocus logic
2021-02-28 18:29:01 -08:00
Kwabena W. Agyeman
a87fbda7e4
Speedup JPEG using MDMA
2021-02-27 18:34:22 -08:00
Ibrahim Abd Elkader
eabd9557af
Merge pull request #1194 from kwagyeman/kwabena/tv_driver_simd_fix
...
TV driver SIMD update
2021-02-27 02:40:02 +02:00
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