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
iabdalkader
05e4ead2a5
Enable module init function.
2020-09-21 22:30:23 +02:00
Kwabena W. Agyeman
8ca4075ed7
Made clock sources for the SPI123/ADC adjustable
2020-09-20 17:30:45 -07:00
Kwabena W. Agyeman
826a09b8f7
Fix FLIR alt config
2020-09-20 17:26:03 -07:00
Kwabena W. Agyeman
7c9a4fddf3
Update winc1500 code to support a different SPI bus
2020-09-20 17:17:37 -07:00
Kwabena W. Agyeman
3e130d74c4
Add OpenMV Cam Pure Thermal board files
2020-09-20 17:13:34 -07:00
iabdalkader
9ea1418083
Remove hard-coded DFU address.
2020-09-17 19:41:53 +02:00
iabdalkader
590750d1c8
Make DFU device address configurable in board config files.
2020-09-17 18:10:26 +02:00
iabdalkader
d1274ffa07
Update README
...
* Fixes #896
2020-09-15 21:03:14 +02:00
Kwabena W. Agyeman
afec0d5ffe
Update TensorFlow to support cmsis-nn - 4x speed boost
2020-09-12 12:41:39 -07:00
iabdalkader
955b27db6d
Do hard-reset in sensor.reset().
...
* Fixes issue #883
* Allow the sensor to be reset if the regulator was shutdown.
2020-09-04 21:45:24 +02:00
Dario Pennisi
fd32582640
added initialization for required field
2020-09-01 15:27:37 +02:00
iabdalkader
11792fb763
Remove extra args in configboard.mk
2020-08-13 22:21:14 +02:00
iabdalkader
15244913e2
Fix Makefile arguments passed to MicroPython.
...
* In addition to the CFLAGS passed to control modules mpconfigport.h, the
Makefile needs its own arguments to enable/disable built-in modules.
* Fix the way arguments are passed to MicroPython's Makefile, so that it's
possible to enable/disable compiling code from the top level OpenMV board Makefile.
2020-08-13 21:46:09 +02:00
iabdalkader
a421cc5c1d
Fix JPEG loading.
2020-08-12 21:45:04 +02:00
iabdalkader
bd213e8eb6
Add JPEG read settings.
2020-08-12 21:18:11 +02:00
Ibrahim Abd Elkader
cfa7991789
Merge pull request #878 from openmv/inline_fix
...
Add inline functions declarations in header.
2020-08-12 20:46:42 +02:00
iabdalkader
7cbeeca62f
Add inline functions declarations in header.
...
* This fixes the debug build.
2020-08-12 19:48:01 +02:00
Ibrahim Abd Elkader
5d6849a623
Merge pull request #873 from openmv/fsync_fix
...
Fix FSYNC pin.
2020-08-12 02:25:38 +02:00
iabdalkader
02a36dbad0
Fix DAC timed write on H7.
2020-08-08 22:13:14 +02:00
iabdalkader
41ebaf74c3
WINC1500: Fix open security bug.
2020-08-07 18:32:37 +02:00
iabdalkader
1526328f85
Fix FSYNC pin.
...
* Fixes #872
2020-08-06 18:19:32 +02:00
iabdalkader
7ded1e1cb7
Add comment on Portenta I2C bus.
2020-08-05 21:52:12 +02:00
Ibrahim Abd Elkader
06f47b7cbf
Merge pull request #865 from pnndra/dario/sensor_reset
...
portenta specific fixes to share I2C with camera
2020-08-05 21:47:55 +02:00
Dario Pennisi
aa5402b98a
simplified code with direct call to cambus_init
2020-08-05 15:31:52 -04:00
Dario Pennisi
cc835ed8ff
added system reset to bootloader command for portenta
2020-08-05 14:58:47 -04:00
iabdalkader
2e0275330a
Make all sensor drivers configurable.
2020-08-01 20:49:47 +02:00
iabdalkader
96d49e79c6
Move OMV4/4+ stack to ITCM.
2020-07-31 19:51:24 +02:00
iabdalkader
cae556d033
Rename CCM to DTCM for consistency.
2020-07-31 19:37:07 +02:00
Ibrahim Abd Elkader
35233f70d9
Revert "added system reset to bootloader command for portenta"
2020-07-31 19:20:32 +02:00
Dario Pennisi
98402324ca
added system reset to bootloader command for portenta
2020-07-31 12:45:26 -04:00
Dario Pennisi
2f31af8677
portenta specific fixes to share I2C with camera
2020-07-31 12:20:02 -04:00
iabdalkader
db3d53f32c
Move OpenMV3 stack to ITCM.
...
* Fixes #862
2020-07-30 22:09:19 +02:00
Ibrahim Abd Elkader
7ae29e94ef
Allow stack to be placed in a separate memory. ( #863 )
...
* Set estack to the end of the stack region, instead of the end of the whole memory.
* Use sstack and estack variables to set stack top and calculate the stack size in main.
* Allow stack memory to be configured in board files.
2020-07-30 21:59:00 +02:00
iabdalkader
061847bb7e
Bump firmware version.
2020-07-21 01:54:00 +02:00
Kwabena W. Agyeman
dbdf26d93c
Frame buffer respects fb alloc now
2020-07-20 16:14:16 -07:00
iabdalkader
b1b7c74b15
Fix the frame size check when copying images to FB.
...
* The size of the image to be copied was compared to the size
of the current frame instead of the size of the whole buffer.
2020-07-20 21:41:51 +02:00
iabdalkader
1d93c54983
Add a function to return the frame buffer size.
...
* This returns the frame buffer size without the fb header size.
2020-07-20 21:39:27 +02:00
iabdalkader
e18f83cfe1
Rename framebuffer_get_size
...
* This function returns the current frame size, so make its
purpose more clear by renaming to framebuffer_get_frame_size.
2020-07-20 21:34:40 +02:00
iabdalkader
a5c2a944c4
Fix fb_get_size.
...
* Return the size of the available memory after the frame.
* Fixes #858
2020-07-20 21:08:07 +02:00
iabdalkader
fc701e4fd0
Bump firmware version.
2020-07-18 18:28:40 +02:00
iabdalkader
cb7b22a2ea
Revert "Reset sensor state in init0."
...
This reverts commit b02f2f7ff8 .
2020-07-18 18:07:44 +02:00
iabdalkader
c6d73c864c
Bump firmware version.
2020-07-17 21:48:34 +02:00