Commit Graph

2956 Commits

Author SHA1 Message Date
iabdalkader
bd245546b7 Bump firmware version. 2021-08-02 22:47:12 +02:00
iabdalkader
94dd629e5a Update NINA driver firmware version. 2021-08-02 15:59:54 +02:00
iabdalkader
4607b5ea81 RP2: Updates.
* Update USB config macros.
* Increase Flash FS size.
* Add missing openmv_disk file.
* Enable MSC in bootloader.
2021-08-01 18:25:12 +02:00
Ibrahim Abd Elkader
e8585ff226
Merge pull request #1418 from openmv/add_cambus_enable
Add cambus_enable function.
2021-07-31 22:23:03 +02:00
Ibrahim Abd Elkader
0da68711e0
Merge pull request #1419 from openmv/ulpi_lp
Fix ULPI low power mode entry with USB disconnected.
2021-07-31 22:22:53 +02:00
Ibrahim Abd Elkader
f1021d9e26
Merge pull request #1420 from openmv/py_sensor_reset
Use sensor_strerror for sensor_reset error.
2021-07-31 22:22:40 +02:00
iabdalkader
2fb2265621 Use sensor_strerror for sensor_reset error. 2021-07-31 21:57:23 +02:00
iabdalkader
6d8f95de03 Fix ULPI low power mode entry with USB disconnected.
* fixes #1408
2021-07-31 21:55:51 +02:00
iabdalkader
af1772a2ac Add cambus_enable function. 2021-07-31 21:48:23 +02:00
iabdalkader
b7afb29ed9 Fix HM01B0 reset function. 2021-07-31 21:38:29 +02:00
iabdalkader
0c40f48324 Make Nina firmware check less strict. 2021-07-31 14:52:34 +02:00
iabdalkader
04edfbd7bd NRF: Add jump to bootloader. 2021-07-30 13:12:40 +02:00
iabdalkader
ab506618d7 Nina: Add firmware version checking. 2021-07-29 21:32:15 +02:00
iabdalkader
9dafa2447b Nina: Implement AP mode. 2021-07-29 21:23:47 +02:00
iabdalkader
eb2f982779 Nina: Make WiFi driver API compatible with CYW43/upstream. 2021-07-29 21:23:45 +02:00
iabdalkader
088b39dde7 Nina: Fix bind() socket state check for UDP sockets. 2021-07-29 21:23:41 +02:00
iabdalkader
07efa8cacf Nina: Add BSP deinit function. 2021-07-29 21:23:34 +02:00
iabdalkader
3d14963596 RP2: Fix debugging text buffer race. 2021-07-28 23:01:13 +02:00
iabdalkader
b5316e5160 RP2: Nina WiFi timeout fixes. 2021-07-28 22:42:44 +02:00
Ibrahim Abd Elkader
0d2c225e75
Merge pull request #1411 from openmv/rp2_wifi_fixes
RP2: WiFi Nina fixes.
2021-07-28 14:09:28 +02:00
iabdalkader
773c648282 RP2: WiFi Nina fixes.
* Fix accept and close.
* Check socket status before send/recv/accept etc..
* Fix auto-bind.
* Add BSP read_irq.
2021-07-28 13:33:44 +02:00
Ibrahim Abd Elkader
a1c665abce
Update README.md 2021-07-28 03:38:28 +02:00
iabdalkader
bbc263c634 RP2: Bluetooth port updates. 2021-07-27 18:43:05 +02:00
iabdalkader
489f290a0a RP2: Fix USB PID/VID 2021-07-27 18:29:21 +02:00
elmagnifico
029eebdab7
OpenMV4 support OV7670 (#1404)
* OpenMV4 support OV7670 now
2021-07-25 19:27:07 +02:00
iabdalkader
e14470f681 RP2: Nina WiFi fixes.
* Fix BSP.
* Fix rp2 networking modules.
* Fix timeouts.
* Fix TCP sockets.
* Fix UDP sockets.
* Add auto-binding for UDP sockets.
2021-07-24 22:00:41 +02:00
iabdalkader
be8dcc2fed RP2: Fix BT HCI uart timeout. 2021-07-22 15:41:29 +02:00
iabdalkader
917509ed65 RP2: Update NINA bsp. 2021-07-22 14:22:33 +02:00
iabdalkader
505d06d3f8 RP2: Fix command prompt repo tag. 2021-07-20 22:50:34 +02:00
iabdalkader
9bbdba1b10 RP2: Optimize bus scanning.
* For sensor-less boards, lower the scan address space.
2021-07-20 00:58:19 +02:00
iabdalkader
e65d6f216e RP2: Nina BT fixes and updates. 2021-07-20 00:42:32 +02:00
Ibrahim Abd Elkader
33cb5317ed
Merge pull request #1399 from openmv/portenta_breakout_support
Portenta: Add alternate I2C and PWM for breakout board.
2021-07-16 22:43:28 +02:00
iabdalkader
373562f293 Portenta: Add alternate I2C and PWM for breakout board.
* Add support for the breakout board.
* Enable extra sensor drivers.
2021-07-16 21:52:59 +02:00
iabdalkader
b83064b81a Allow boards to define an extra cam timer pin. 2021-07-16 21:45:08 +02:00
iabdalkader
f4a6c4003b Allow boards to define an alternate cambus to scan. 2021-07-15 23:50:58 +02:00
iabdalkader
5ed5671423 Allow sensor_utils probe_init to take bus id/speed args. 2021-07-15 20:59:58 +02:00
iabdalkader
fab3cbeb9a PORTENTA: Update pinout 2021-07-15 20:09:16 +02:00
iabdalkader
9f748c7950 Fix cambus getting stuck sometimes after failed scan.
* This seems to only affect the H7.
* After a failed scan the bus can get stuck. Re-initializing the bus fixes
it, but it seems disabling and re-enabling the bus is all that's needed.
2021-07-14 23:38:50 +02:00
iabdalkader
d618e6dfe5 PORTENTA: Fix SPI CS pin. 2021-07-14 19:17:35 +02:00
iabdalkader
e49dc22b33 RP2: Add bluetooth and nimble support. 2021-07-10 19:54:23 +02:00
iabdalkader
565e1446c5 STM32: Update SDRAM test. 2021-07-09 22:14:52 +02:00
iabdalkader
a076fc79b8 RP2: Support jump to bootloader command.
* Add picotool binary.
* Support jump to bootloader command.
* MSC interface is disabled on jump to boot.
2021-07-06 20:42:57 +02:00
iabdalkader
a08a666a52 Enable RP2 networking and add NINA-W10 driver and modules. 2021-07-05 00:10:33 +02:00
iabdalkader
c8bf0af6fe Use sensor error codes in py_sensor. 2021-07-01 23:04:21 +02:00
iabdalkader
0491a6a884 Add sensor error codes. 2021-07-01 20:51:42 +02:00
iabdalkader
68bce4beb5 Fix ADC pins.
* Fix make-pins.py to generate H7 pins properly.
2021-06-30 14:52:27 +02:00
iabdalkader
a700397b07 Move common image sensor driver code to a common file.
* Provide image sensor driver utility functions that can be used by all ports.
* Provide default (weak) functions that can be replaced by port-specific drivers.
2021-06-29 21:37:05 +02:00
iabdalkader
3069426ea9 Use mp_hal_delay_ms instead of systick_sleep. 2021-06-29 17:04:31 +02:00
iabdalkader
5a1d74d5eb Rename dcmi/dma config functions. 2021-06-29 16:34:32 +02:00
iabdalkader
0da5002b79 Rename sensor functions for consistency across ports. 2021-06-29 14:36:19 +02:00
Kwabena W. Agyeman
642c503744
Add jpeg decoding support (#1371)
* Add jpeg decoding support
2021-06-29 01:49:53 +02:00
iabdalkader
5bdbb9f748 Add urequests module to frozen modules. 2021-06-26 20:12:34 +02:00
iabdalkader
4842a1086c RP2: Update MSC mode.
* Fix inquiry_cb bug.
* Align with upstream PR.
2021-06-25 19:17:43 +02:00
iabdalkader
25525aaf11 Rename dcmi_abort to sensor_abort. 2021-06-25 00:05:33 +02:00
Hussein Galal
28569b91cf
Add docker build (#1375)
* Add docker build
2021-06-23 17:01:36 +02:00
iabdalkader
83da16f3c2 RP2: Add DCMI PIO to NANO RP2040. 2021-06-21 23:11:08 +02:00
iabdalkader
b0589566cd RP2: Move DCMI PIO to board dir. 2021-06-21 22:57:54 +02:00
iabdalkader
68663f489d RP2: Move dcmi_config to pio file. 2021-06-21 22:46:11 +02:00
iabdalkader
012313b791 Bump firmware version. 2021-06-19 22:47:57 +02:00
iabdalkader
510f39a418 stm32: Fix dma_nohal_init for H7. 2021-06-19 22:03:33 +02:00
Ibrahim Abd Elkader
3fb5bf1d21
Merge pull request #1370 from kwagyeman/kwabena/mt9m114_final
Finish MT9M114 driver
2021-06-19 22:01:15 +02:00
Kwabena W. Agyeman
f06fce870d Finish MT9M114 driver 2021-06-19 12:08:49 -07:00
iabdalkader
661169f85d stm32: Align ADC driver with upstream. 2021-06-19 15:24:06 +02:00
iabdalkader
626440713e Add Nano 2040 to release build. 2021-06-17 20:19:51 +02:00
iabdalkader
21f4c0e0da RP2: Don't build sensor.c if it's disabled. 2021-06-17 15:56:37 +02:00
iabdalkader
58fa407be3 Update docs. 2021-06-17 00:20:31 +02:00
Ibrahim Abd Elkader
ce22083930
Merge pull request #1367 from kwagyeman/kwabena/mt9m114_driver_finishing
Add method to get actual xclk freq
2021-06-16 22:53:55 +02:00
Lake Fu
15264b7dac
Support PixArt image sensor PAJ6100 (#1365)
* Support PixArt image sensor PAJ6100
2021-06-16 22:45:14 +02:00
Kwabena W. Agyeman
a1c2ef7612 Add method to get actual xclk freq 2021-06-15 21:32:43 -07:00
iabdalkader
42245a75cc RP2: Fix MSC eject. 2021-06-16 00:50:04 +02:00
iabdalkader
f72c4d75de Add RP2040 port and Pico and Nano board files. 2021-06-15 23:35:32 +02:00
Ibrahim Abd Elkader
05a307e0b2
Merge pull request #1363 from kwagyeman/kwabena/mt9m114_driver_update
Update MT9M114 driver to work
2021-06-14 14:22:16 +02:00
Kwabena W. Agyeman
b3d2d5484c Update MT9M114 driver to work 2021-06-13 19:32:34 -07:00
iabdalkader
4b79dcb913 Add PDM filter library. 2021-06-13 23:04:12 +02:00
Ibrahim Abd Elkader
190c708e4c
Eth low power (#1362)
* Align eth low-power mode with upstream PR.

* Add example Eth cable test.
2021-06-12 23:12:39 +02:00
Lake Fu
5f4250e74e
Reorganize the ISC SPI related handles/macros. (#1360)
* Reorganize the ISC SPI related handles/macros.

The SPI bus on image sensor connector is not design for Lepton sensor only.
Thereforce, change the related functions and macros name from LEPTON_SPI_*
to ISC_SPI_* and move interrupt callback to sensor.c.
2021-06-12 15:56:08 +02:00
iabdalkader
68b53df9d4 Add missing nimble flag.
* Must be set in the top level to fix pendsv table.
2021-06-11 23:12:21 +02:00
Ibrahim Abd Elkader
a7f2a6fcab
Merge pull request #1356 from kwagyeman/kwabena/make_frame_rate_control_work
Add working frame rate control for all sensors to STM32
2021-06-09 19:41:00 +02:00
Ibrahim Abd Elkader
a3c7d65f26
Merge pull request #1353 from kwagyeman/kwabena/disable_auto_flush
Add disable full flush logic
2021-06-09 19:04:01 +02:00
Ibrahim Abd Elkader
f0f5c8cf79
Merge pull request #1359 from kwagyeman/kwabena/add_missing_check
Add missing framesize init check
2021-06-09 14:42:47 +02:00
Kwabena W. Agyeman
c3f80e2af8 Add missing framesize init check 2021-06-08 21:50:56 -07:00
Kwabena W. Agyeman
8ec2fbcb70 Add feature to disable the full flush on the frame buffer 2021-06-08 21:48:28 -07:00
Kwabena W. Agyeman
9124d765a9 set_frame_rate now works for any FPS 2021-06-08 21:16:53 -07:00
iabdalkader
fe1a84b1f6 Keep JPEG MDMA handles local. 2021-06-09 00:38:49 +02:00
Ibrahim Abd Elkader
af79b8c3cf
Merge pull request #1355 from kwagyeman/kwabena/add_missing_resolutions
Add missing resolutions to sensor driver
2021-06-08 21:20:12 +02:00
Ibrahim Abd Elkader
cce06dbb32
Merge pull request #1352 from kwagyeman/kwabena/better_sensor_error_message
Improve snapshot error messages
2021-06-08 01:06:10 +02:00
Ibrahim Abd Elkader
93a8e5635f
Update src/omv/modules/py_sensor.c 2021-06-08 01:06:00 +02:00
Kwabena W. Agyeman
20546fc7bc Add missing resolutions to sensor driver 2021-06-07 12:12:15 -07:00
Kwabena W. Agyeman
5669011efc Fix RGB565 byte reversal flag name 2021-06-07 11:57:14 -07:00
Kwabena W. Agyeman
9ae5b8096a Improve snapshot error messages 2021-06-07 10:45:32 -07:00
iabdalkader
6e9721656a Update pico-sdk and tinyusb. 2021-06-07 17:05:03 +02:00
Ibrahim Abd Elkader
0954bfbb4b
Merge pull request #1346 from kwagyeman/kwabena/full_offload
Enable 100% MDMA offload for all sensors
2021-06-07 03:59:10 +02:00
Kwabena W. Agyeman
772bfab269 Enable full mdma offload 2021-06-06 18:48:14 -07:00
iabdalkader
24a2b43d5d Fix servo timer channel state.
* Fixes #1325
2021-06-06 22:38:44 +02:00
iabdalkader
ab08911b86 Eth updates.
* Fix link_status()
* Update low-power mode.
2021-06-06 22:22:54 +02:00
iabdalkader
4d50e5682c Generate bin and hex for nRF/NANO33. 2021-05-28 15:49:00 +02:00
iabdalkader
b0f36d4d0e Bump firmware version. 2021-05-27 20:36:43 +02:00
iabdalkader
3ea5a2defe AMG init fix.
* Allow AMG to work if CAMBUS_XFER_SUSPEND is not supported.
2021-05-27 20:12:56 +02:00
iabdalkader
1b9c7f47b1 ULPI low power mode fixes.
* Wait for DIR pin to go low.
2021-05-27 00:27:07 +02:00
iabdalkader
b4eef0c5b6 Make OV7670 CLKRC configurable. 2021-05-26 21:24:16 +02:00