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
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