Commit Graph

2956 Commits

Author SHA1 Message Date
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
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