iabdalkader
6adb71ddc2
Update MP docs.
2019-11-12 01:25:54 +02:00
iabdalkader
d8782275e3
Bump firmware version.
2019-11-04 18:23:53 +02:00
iabdalkader
3256700011
Add silent to makefile flags.
2019-11-01 19:05:16 +02:00
iabdalkader
757d783049
Freeze all the modules in scripts/libraries.
2019-10-30 21:02:51 +02:00
Ibrahim Abd Elkader
4100122ef5
Merge pull request #633 from kwagyeman/kwabena/add_mobilenet_examples
...
Kwabena/add mobilenet examples
2019-10-30 16:24:07 +02:00
Kwabena W. Agyeman
905d20a038
Updated the TensorFlow library to accept more model types
...
Now models with [n][c] will work too as their output.
2019-10-30 00:22:57 -07:00
Kwabena W. Agyeman
1f96550385
Reuse Code
...
Just trying to optimize things since flash is now not unlimited anymore.
2019-10-30 00:22:12 -07:00
iabdalkader
2381a5ac8b
Make images iterable.
...
* Allow iterating over image objects.
* This is mainly to support creating ulab ndarrays from images.
2019-10-30 01:17:20 +02:00
iabdalkader
9e3d294fe3
Add ulab submodule.
2019-10-30 00:56:23 +02:00
Kwabena W. Agyeman
15efeda56e
Add support for image segmentation.
2019-10-28 23:54:05 -07:00
iabdalkader
d7aaccbcf5
Update cpufreq_scaling H7 frequencies.
...
* Fixes #547
2019-10-27 22:05:59 +02:00
iabdalkader
f05a95a6c6
Fix Makefile order dependency issue causing non-parallel to fail.
2019-10-25 23:36:21 +02:00
iabdalkader
d6da65f80e
Enable USSL MBEDTLS module.
2019-10-25 23:18:49 +02:00
iabdalkader
48c2ce8a9c
WINC1500: Update socket buffer size.
2019-10-25 23:18:49 +02:00
iabdalkader
f9ed0cb82a
Disable YUV table for OMV4 and OMV4R.
...
* Disable YUV tables for H7 cameras to temporarily save FLASH.
* Since H7 cameras have and use the HW JPEG encoder the side effects are minimal.
2019-10-25 23:05:25 +02:00
Ibrahim Abd Elkader
b67804faa2
Merge pull request #622 from openmv/tflib
...
Add support for TensorFlow Lite for Microcontrollers
2019-10-25 21:09:04 +02:00
Kwabena W. Agyeman
6a9c0a370e
Add support for TensorFlow Lite for Microcontrollers
...
This has been a long-time coming, but, it's finally here. TensorFlow lite
runs on the OpenMV Cam now. Better yet, a person detection model
is now built-into all OpenMV Cams too!
Our default code does image classification and supports multi-scale
object detection using a sliding window.
In a coming PR I will add mobilenet examples for the H7 with SDRAM
and image segmentation support.
2019-10-25 21:01:21 +02:00
Ibrahim Abd Elkader
b4bad33623
Merge pull request #620 from thibthibaut/license
...
Update CUBE-AI.
2019-10-24 17:17:04 +02:00
Thibaut Vercueil
c23466aa09
fixed typos
2019-10-24 14:54:31 +02:00
Thibaut Vercueil
872e8531e4
Updated README: removed Cube.AI version information
2019-10-24 13:43:58 +02:00
Thibaut Vercueil
a958118bc1
Removed Cube.AI files and added instructions to grab them
2019-10-24 12:01:25 +02:00
Thibaut Vercueil
059374abe0
Updated license informations
2019-10-23 17:04:39 +02:00
iabdalkader
25020a1bb5
Enable SYSCFG clock before selecting VSCALE0
2019-10-22 02:03:21 +02:00
iabdalkader
132f1706e0
Switch to VSCALE1 before entering low-power mode.
...
* For H7 revision V devices where VSCALE0 is possible, the regulator
must be switched back to VSCALE1 before entering low-power modes.
2019-10-22 01:51:41 +02:00
iabdalkader
2bb8b2d917
System clock config cleanup.
...
* Use HAL_PWREx_ConfigSupply to enable LDO.
* Use __HAL_PWR_GET_FLAG to check for VOSRDY.
2019-10-22 01:37:10 +02:00
iabdalkader
10ad70ba61
WINC: Check for empty SSID and/or key.
2019-10-21 21:33:15 +02:00
iabdalkader
5c28b2c756
OMV4R: Use QSPI for internal storage.
2019-10-21 21:16:22 +02:00
Ibrahim Abd Elkader
0066fc8726
Merge pull request #613 from openmv/stm32cubeai
...
Add CUBE-AI support.
2019-10-19 19:58:24 +02:00
iabdalkader
44a91c1296
Update MP.
2019-10-19 19:20:21 +02:00
iabdalkader
d6420769c9
Update Makefile.
...
* Add LIBS and CUBEAI_DIR and cleanup.
2019-10-19 19:10:03 +02:00
iabdalkader
4ef6d38711
Add CUBE-AI builtin module.
...
* Add CUBE-AI builtin module to the default mpconfigport.
2019-10-19 16:43:53 +02:00
iabdalkader
132f158402
Rename readme.
2019-10-18 21:23:51 +02:00
iabdalkader
11699c860a
Move CUBE-AI example to IDE examples.
2019-10-18 21:23:18 +02:00
iabdalkader
6516fc1b5d
Append stm32cubeai qstrs to OMV_QSTR_DEFS instead of overriding.
2019-10-18 19:28:20 +02:00
Thibaut Vercueil
5ed04c4cbb
Updated & renamed example script
2019-10-18 17:13:27 +02:00
Thibaut Vercueil
98bb29b80a
Updated script for MNIST
2019-10-18 17:02:21 +02:00
Thibaut Vercueil
0f17925f98
Support X-CUBE-AI v4.1.0
2019-10-18 15:39:57 +02:00
iabdalkader
15e0d4559c
Return string errors from WINC1500 init function.
2019-10-16 20:10:23 +02:00
Ibrahim Abd Elkader
12ee986ea3
Merge pull request #611 from kwagyeman/kwabena/fb_alloc_all_fix
...
Fix fb_alloc_all bug.
2019-10-16 13:13:14 +02:00
Kwabena W. Agyeman
c20efaba54
Move flag setting inside the curly braces.
2019-10-15 23:59:27 -07:00
Thibaut Vercueil
df4a711ded
Integration of STM32Cube.AI in the firmware
2019-10-15 16:17:17 +02:00
iabdalkader
77496d05ca
Update WINC1500 firmware and host driver.
...
* Update to firmware 19.6.1 host driver 19.3.0.
2019-10-14 23:35:16 +02:00
iabdalkader
408585e900
Cleanup adc.c.
2019-10-12 16:40:48 +02:00
iabdalkader
d54687b275
Update SDRAM clock.
2019-10-12 12:53:28 +02:00
Kwabena W. Agyeman
434bb10bf3
Fix missing bank enables
2019-10-11 20:56:36 -07:00
iabdalkader
c0bfc9198d
Update H7 PLLs.
...
* Use PLL2 for FMC and PLL3 for SPI123.
2019-10-11 20:07:52 +02:00
Ibrahim Abd Elkader
f0c1f13077
Merge pull request #605 from kwagyeman/kwabena/fix_bmp_reading
...
Fix bmp file reading for all formats
2019-10-11 18:26:36 +02:00
iabdalkader
530eee21b1
Add revision ID to machine.info().
2019-10-11 01:40:52 +02:00
iabdalkader
db9aebf3f2
Enable VSCALE0 for revision V devices.
2019-10-11 01:31:37 +02:00
iabdalkader
6f61f103fa
Update MP for the new H7 HAL.
2019-10-11 01:08:38 +02:00
iabdalkader
3144724645
Return when HAL_JPEG_Encode is aborted.
2019-10-11 01:07:39 +02:00
iabdalkader
5c5eb9d10b
Fix H7 SD clock.
2019-10-11 01:07:39 +02:00
iabdalkader
b43820cfb1
Update H7 legacy header.
2019-10-11 01:07:39 +02:00
iabdalkader
9d553ccdcb
Add HAL_DCMI_Start_DMA_MB to H7 HAL.
2019-10-11 01:07:39 +02:00
iabdalkader
1e24a91558
Fix H7 HAL strict aliasing errors (patch from MP/stm32lib).
2019-10-11 01:07:39 +02:00
iabdalkader
07a4cf4760
Update H7 HAL.
2019-10-11 01:07:39 +02:00
iabdalkader
6052c0be67
Increase VREF threshold in self-tests.
2019-10-11 00:53:15 +02:00
Kwabena W. Agyeman
466a50a003
Fix bmp file reading for all formats
2019-10-10 14:50:36 -07:00
iabdalkader
f92479079c
Include stdio.h for printfs in img functions.
2019-10-10 18:32:56 +02:00
iabdalkader
57750012aa
Update CMSIS.
2019-10-10 15:14:12 +02:00
iabdalkader
b855bb9c11
Enable additional pins.
2019-10-09 20:47:17 +02:00
Kwabena W. Agyeman
63eafdab6b
Fix reading RGB 24-bit images
2019-10-07 23:00:30 -07:00
iabdalkader
48a965fb96
Fix hardfault when setting lepton to VGA/RGB565.
2019-10-07 17:06:50 +02:00
iabdalkader
3244d0f60b
Fix timer 5 period.
2019-10-06 23:44:19 +02:00
iabdalkader
020b3ccd0c
Support 32-bit SDRAM.
2019-10-06 23:39:58 +02:00
Kwabena W. Agyeman
7ad61b725e
Adds hint system to fb_alloc
...
With this commit fb_alloc now takes hints to better decide which ram to
give (internal or sdram).
Only fb_alloc_all calls are given any hints right now as some of the
calls need as much ram as possible and will cause failures to happen if
a small amount of fast internal sram is returned.
Anyway, hints can be used to tune where things are placed by fb_alloc.
2019-10-04 21:47:54 -07:00
Kwabena W. Agyeman
30c4cf4a8c
Add smart overlay logic to fballoc
...
When fballoc is called and there's space to put what's requested in SRAM
this is done instead of putting it in SDRAM. This results in a huge
performance boost to most algorithms that use only a small amount of
fballoc ram.
In particular, apriltags is usable in speed with this fix...
2019-10-04 20:16:20 -07:00
iabdalkader
87a055f43b
Update docs.
2019-09-30 18:50:51 +02:00
iabdalkader
bd034f3c27
Fix SPI WFI bug.
2019-09-30 17:34:31 +02:00
iabdalkader
d443b001c8
Move WINC1500 firmware.
2019-09-30 00:22:49 +02:00
iabdalkader
e8a4d1a136
Update Makefile.
...
* Move build output to build/bin.
2019-09-28 23:57:48 +02:00
iabdalkader
84633a01bc
Fix HID descriptor.
2019-09-28 19:32:52 +02:00
iabdalkader
37cbb29b90
Check SPI buffers.
2019-09-27 17:43:36 +02:00
iabdalkader
1b52ce1443
Suspend systick before entering stopmode.
2019-09-27 17:43:36 +02:00
iabdalkader
b882f4b926
Reset SDIO before init.
...
* Fixes F7 SD timeout on second init.
2019-09-27 17:43:36 +02:00
iabdalkader
8fc29f32a6
Update MP.
2019-09-27 17:43:36 +02:00
iabdalkader
5676b41012
Update MP to 1.11
2019-09-27 17:43:36 +02:00
iabdalkader
2918137e1b
Bump firmware version.
2019-09-27 17:28:54 +02:00
iabdalkader
bb2ea839f4
Fix long delay when JPEG encoding overflows.
2019-09-27 16:56:28 +02:00
iabdalkader
69f89f9587
Return when HAL_JPEG_Encode is aborted.
...
* Force HAL_JPEG_Encode to return when HAL_JPEG_Abort is called instead of waiting for timeout.
2019-09-27 16:53:38 +02:00
iabdalkader
f158b7bb98
Decrement firmware version.
2019-09-27 16:52:06 +02:00
iabdalkader
89578e6d4a
Bump firmware version.
2019-09-16 19:57:21 +02:00
iabdalkader
0855745428
Add FDCAN support.
...
* Fixes #526
2019-09-16 17:26:15 +02:00
iabdalkader
8e6b8c2bf7
Fix accept() bug.
2019-09-13 21:06:59 +02:00
iabdalkader
f648107bb9
WINC1500: Fix timeout bugs.
...
* Setting timeout to 0 (from MicroPython) makes the socket blocking instead of non-blocking.
* Sockets were closed on recv/recvfrom timeout.
2019-09-12 00:04:46 +02:00
iabdalkader
693337e764
Remove line_start from read_pixels functions.
...
* line_start is not used in these functions.
2019-09-09 18:02:02 +02:00
Ibrahim Abd Elkader
bef85129ca
Merge pull request #584 from kwagyeman/kwabena/optional_8x_apriltag
...
Disable 8-way connectivity
2019-09-09 02:15:20 +02:00
Kwabena W. Agyeman
c1d9bec2c8
Disable 8-way connectivity
...
Not neccessarily needed and takes 2-4x more processing power. If FPS is
not a concern enable it.
2019-09-08 17:06:02 -07:00
Ibrahim Abd Elkader
bd5fcccdfb
Merge pull request #583 from openmv/binary_ops
...
Fix binary ops bug.
2019-09-09 02:02:02 +02:00
iabdalkader
5b5295219d
Fix binary ops bug.
...
* fix #534
2019-09-08 17:46:13 +02:00
iabdalkader
7eaeefacb1
Fix printf issue in apriltags, dmtx and lsd.
...
* The root cause for this issue is "define double float". printf functions promote
float to double, which is #define'd as float causing the implicit conversion error.
* Replaced all double with float, and DBL_MIN and FLT_MIN etc... and added explicit
cast to double in printf functions.
2019-09-06 15:48:31 +02:00
iabdalkader
54b8132949
License update.
2019-09-05 22:17:50 +02:00
iabdalkader
b10bfc6e6c
Add memory offsets for FFS, JPEG and VOSPI buffers.
...
* Allow FFS, JPEG and VOSPI buffers to be moved to any dedicated region with an offset.
2019-09-04 23:02:22 +02:00
Kwabena W. Agyeman
416da1a302
Enable SDRAM Support
2019-09-03 22:33:06 -07:00
Kwabena W. Agyeman
548a295d81
Enable high res apriltags
2019-09-03 22:30:08 -07:00
Kwabena W. Agyeman
b35a6ed124
Make UMM malloc block size variable.
2019-09-03 22:29:59 -07:00
Kwabena W. Agyeman
43ca9eb5ff
Increase jpeg compression timeout
...
Necessary for large image resolutions.
2019-09-03 22:29:50 -07:00
Ibrahim Abd Elkader
503b329169
Merge pull request #577 from kwagyeman/kwabena/fix_quote
...
Fix Quote Location
2019-09-03 13:22:41 +02:00
Kwabena W. Agyeman
1667345eb4
Fix Quote Location
2019-09-02 22:04:55 -07:00
Kwabena W. Agyeman
cb6a7d6d96
Allow apriltag detection on vflip and hmirrored images.
2019-09-02 22:02:48 -07:00