Commit Graph

2167 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
45b319dc84 Add the ability to pull higher scaled text kerning in... 2018-03-16 01:27:51 -04:00
iabdalkader
00b9a99f44 Set DFU gap-fill to 0xFF.
* Makes it easier to diff hexdumps from flash.
2018-03-15 23:55:06 +02:00
iabdalkader
6cfcc8d784 Update MP H7 support. 2018-03-15 20:46:51 +02:00
iabdalkader
60ee2ecfe9 Move H7 main memory to SRAM1.
* We can't use the CCM for main memory because it's only accessible by MDMA.
2018-03-15 17:50:11 +02:00
iabdalkader
bff8b86744 Update OMV4 fw images. 2018-03-15 02:49:11 +02:00
iabdalkader
1d6defa15b Use volatile flash_offset. 2018-03-14 16:49:28 +02:00
iabdalkader
2f194aa877 Fix bootloader flash bug. 2018-03-14 16:48:48 +02:00
iabdalkader
e429386620 Make bootloader flash index volatile. 2018-03-14 16:32:01 +02:00
iabdalkader
4eaa875208 Fix formatting. 2018-03-14 14:10:28 +02:00
iabdalkader
dff902a4fa Use uint32_t for fb_w and fb_h. 2018-03-14 14:09:58 +02:00
iabdalkader
d4fde23096 Set DCMI byte select mode for H7. 2018-03-14 00:36:36 +02:00
iabdalkader
f3dba04591 Add H7 dma descriptors. 2018-03-13 21:48:48 +02:00
iabdalkader
53723e3e08 Disable caching of H7 DMA memory using the MPU. 2018-03-13 20:46:33 +02:00
iabdalkader
32e1b522e2 Update imlib config. 2018-03-13 20:46:12 +02:00
iabdalkader
294018378a Fix cpufreq RCC_PLLP_DIV2. 2018-03-13 19:14:31 +02:00
iabdalkader
3318909925 Add HAL_DCMI_Start_DMA_MB to H7 HAL. 2018-03-13 19:06:03 +02:00
iabdalkader
66ddae84b1 Update OMV4 board config file. 2018-03-13 19:04:48 +02:00
iabdalkader
a1b7d19007 Move JPEG buffer to main memory region.
* Note on the F7 this is the same memory region (CCM).
* On the H7, the DMA buffers where moved to SRAM3.
2018-03-13 19:03:00 +02:00
iabdalkader
d31fc84f60 Minor cleanups. 2018-03-13 03:24:51 +02:00
iabdalkader
69f62740a7 Update sensor to support H7. 2018-03-13 03:21:12 +02:00
iabdalkader
7cc601e7d2 Enable SRAM1/2/3 early in startup code. 2018-03-13 03:07:39 +02:00
iabdalkader
83cab47b27 Set cambus timing for H7. 2018-03-13 02:57:33 +02:00
iabdalkader
6edd70587c Fix linker script typo. 2018-03-12 20:34:20 +02:00
iabdalkader
5218aad02d Fix H7 flash file system cache memory. 2018-03-12 20:30:29 +02:00
iabdalkader
1fa990b96a Update the bootloader to support the H7 flash. 2018-03-12 20:10:27 +02:00
iabdalkader
74c035ca8a Update OMV4 board config.
* Note keeping everything in DTCM for now.
2018-03-12 16:45:42 +02:00
iabdalkader
aca7b9e8a8 Move the USB voltage level detector after all init code. 2018-03-12 16:45:03 +02:00
iabdalkader
85f06771d3 Include legacy header 2018-03-12 16:42:50 +02:00
iabdalkader
6a303f3d94 Update H7 legacy header. 2018-03-12 16:42:33 +02:00
iabdalkader
0d59d7584e Disable SRAM1/2/3 in bootloader.
* Not actually used
2018-03-12 16:39:19 +02:00
iabdalkader
793c451437 Add Makefile targets using dfu-util. 2018-03-12 16:38:22 +02:00
Ibrahim Abd Elkader
0a5146e393
Merge pull request #322 from kwagyeman/master
Upgrade Drawing Features
2018-03-12 16:38:24 +02:00
Kwabena W. Agyeman
0d63aa52df Fix minor numerical issues.
Couldn't sleep. Needed to make sure this got fixed.

On a side note. We should use a better font. It doesn't really scale
well. Not going to fix now.
2018-03-12 08:51:56 -04:00
Kwabena W. Agyeman
fc74e70c32 Upgrade Drawing Features
Heavily upgraded the drawing features onboard the OpenMV Cam. We now
have all the basic drawing methods folks expect along with all the
parameters you need. Finally! You can make big text fonts.

* Added line thickness support
* Added shape fills
* Added text scaling
* Added draw arrow.
2018-03-12 01:14:03 -04:00
iabdalkader
f27f94b76d Define new memory regions. 2018-03-12 02:40:17 +02:00
iabdalkader
6880482afd Enable D2 SRAM1/2/3 clocks. 2018-03-12 01:36:45 +02:00
iabdalkader
50d27dacee Enable USB clock during sleep. 2018-03-12 01:35:50 +02:00
iabdalkader
6339815ae3 Comment SDMMC definition. 2018-03-10 22:51:33 +02:00
iabdalkader
99dc3365b6 Update H7 CMSIS headers. 2018-03-10 20:17:36 +02:00
iabdalkader
453b41a6ec Update to latest MP. 2018-03-10 20:14:49 +02:00
iabdalkader
2f9da92e12 Fix H7 HSE_VALUE. 2018-03-10 18:58:14 +02:00
iabdalkader
4af7bb4b57 Update H7 ST HAL. 2018-03-10 17:30:03 +02:00
iabdalkader
93ba0a51bb Update to MP 1.9.3 2018-03-09 20:22:29 +02:00
iabdalkader
92b617877c Move USB headers to usbdev to avoid including MP USB headers. 2018-03-09 20:21:18 +02:00
iabdalkader
68e761d55a Fix typo in comment. 2018-03-05 19:18:45 +02:00
Ibrahim Abd Elkader
411f63ebca
Merge pull request #321 from kwagyeman/master
Argument Parsing Done Correctly
2018-03-05 16:04:44 +02:00
Kwabena W. Agyeman
e0e112468e Argument Parsing Done Correctly
All of our argument parsing code has now been updated to handle
positional as well as keyword arguments in our python libraries.

Basically, python allows you to pass some number of positional arguments
to functions/methods followed by keyword arguments (you cannot have more
positional arguments after keyword arguments). Previously, our code
would only look for keyword arguments. Now, it works better and will
grab as many positional arguments as it can followed by processing
keyword arguments. Note: If the case of a positional argument value for
a parameter being passed followed by a keyword for that same parameter
the keyword value is taken (since it comes aftward).

Because arguments were passed in keyword form before this update has no
affect on current code. However, moving forward, argument positions are
now locked and cannot be moved around.
2018-03-05 00:49:36 -05:00
iabdalkader
2feed8b291 Add CNN example script. 2018-03-05 03:25:23 +02:00
iabdalkader
75d89f7172 Add CMSIS CNN. 2018-03-05 03:10:10 +02:00
iabdalkader
28cc88845c Fix system init. 2018-03-04 17:18:14 +02:00