Commit Graph

124 Commits

Author SHA1 Message Date
iabdalkader
772808efa9 lib/micropython: Update submodule.
* OpenMV-PT fixes.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-22 09:37:56 +02:00
Kwabena W. Agyeman
7bd3cb08bd tflm: Remove out of date tf documentation. 2025-07-21 21:58:58 -07:00
iabdalkader
8df82bdc00 lib: Use common alignment macros.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-16 11:18:56 +02:00
iabdalkader
9f98ac73a0 lib/stm32: Pass DCMI handle to DCMI_DMAConvCpltUser.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-12 17:12:34 +02:00
iabdalkader
5966cf4b21 micropython: Update submodule.
Fix RT1060 USB ID and buffer size.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-08 20:01:57 +02:00
Kwabena W. Agyeman
e6dff41517 lib/imlib: Remove old fallback image transfer code. 2025-07-07 20:39:29 -07:00
Kwabena W. Agyeman
e14bbe586d lib/imlib: Fix update_jpeg_buffer to update from the passed image.
framebuffer_update_jpeg_buffer was previously bugged as it always
updated the jpeg buffer from the frame buffer versus the image
object it was attached to. e.g. img.flush() always flushed the
frame buffer and not the image object it was called on.
2025-07-07 20:39:29 -07:00
Kwabena W. Agyeman
84c3db58a4 modules/py_omv: Remove disable fb from omv module. 2025-07-07 20:39:29 -07:00
Kwabena W. Agyeman
caec00224a lib/micropython: Update RT1062 USB ID and buffers. 2025-07-05 17:59:41 -07:00
iabdalkader
d0dfa219a9 lib/micropython: Update submodule.
Fix Alif machine_pin_irq.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-07-01 20:32:01 +02:00
Kwabena W. Agyeman
a63c8ba8d6 lib/imlib: Remove unused functions. 2025-06-27 19:16:29 -07:00
iabdalkader
4ded9fba91 common: Remove xalloc.
Originally meant to abstract gc_collect but we could just use
m_alloc and friends. Also was meant to provide functions like
alloc0, alloc_maybe etc.. which are all available in MP anyway.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-27 14:50:16 +02:00
iabdalkader
1e0281555c micropython: Update submodule.
Fix Alif LPGPIO pin IRQ.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-26 09:41:05 +02:00
iabdalkader
c7d84b8ca5 lib/imlib: Add deep copy flag to image_copy.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-25 21:16:00 +02:00
iabdalkader
2913d78182 imlib/framebuffer: Support dynamic frame buffers.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-24 20:19:25 +02:00
Kwabena W. Agyeman
8e543c2a96 lib/imlib: Refactor fill_image_from_lepton out of py_fir_lepton. 2025-06-23 14:49:37 -07:00
iabdalkader
795a86e39d micropython: Update submodule.
Fix N6 flash layout.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-20 14:20:55 +02:00
iabdalkader
2359a5c6d4 lib/stm32: Update N6 HAL conf.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-19 16:24:38 +02:00
iabdalkader
89f8bf5366 lib/cmsis/stm32: Load ram function section.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-19 16:24:38 +02:00
iabdalkader
6ac86edc64 lib/cmsis: Update N6 clock sources.
- Add MDF clock source.
- Set SDMMC1/2 clock source.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-19 16:24:38 +02:00
iabdalkader
cb253c7ce4 micropython: Update submodule.
Add N6 support.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-19 16:05:42 +02:00
iabdalkader
ef44dbc03f micropython: Update submodule.
Add support for Alif machine_pin IRQ.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-17 18:28:50 +02:00
iabdalkader
e95a19c963 lib: Add STAI library and ML backend.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-10 11:53:31 +02:00
iabdalkader
354ae2fd3f micropython: Update submodule.
Use new flash config macros.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-06-08 13:31:03 +02:00
iabdalkader
e742eb79d1 boards/OPENMV_AE3: Update ROMFS size.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-05-20 15:33:54 +03:00
iabdalkader
344c020b44 lib/models: Move models to lib.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-05-02 16:02:06 +03:00
iabdalkader
c122c9dfc2 imlib: Refactor framebuffer API to accept a context.
Updated all framebuffer functions to take a framebuffer_t argument.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-26 10:41:58 +03:00
iabdalkader
9cbe134a50 github: Add docker target.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-16 00:21:10 +02:00
iabdalkader
705c487aa7 lib/tflm: Format code. 2025-04-15 20:23:31 +02:00
iabdalkader
c828a1d439 micropython: Update submodule.
Fix CMSIS header.
2025-04-15 20:23:31 +02:00
iabdalkader
4772ff2f27 misc: Refactor Makefiles.
Remove old Makefiles and replace with Makefile fragments.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-15 18:54:04 +02:00
iabdalkader
daf2bb30da misc: Restructure repo.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-04-13 08:28:34 +02:00
iabdalkader
c6e1a1fe12 Update libraries
* Remove old libraries
* Add new sources
* Use new STM HAL
2014-06-15 21:04:00 +02:00
iabdalkader
5b57d4b9dd Fix globals bug 2014-05-02 22:02:28 +02:00
iabdalkader
5608f6a683 Fix SDC SPI speed 2014-04-13 20:15:40 +02:00
iabdalkader
be08bd4b80 Adjust SDC SPI timeout 2014-04-12 19:40:22 +02:00
iabdalkader
dbee032c6a Add SD Card support 2014-04-12 18:58:55 +02:00
iabdalkader
300730b6b6 Update libcc3k 2014-04-10 17:16:51 +02:00
iabdalkader
1d58ebf603 Update libs 2014-04-10 16:56:27 +02:00
iabdalkader
424a278fac Update libraries 2014-04-02 02:16:04 +02:00
iabdalkader
5998aa4857 Adding missing sensor functions 2014-03-30 19:37:16 +02:00
iabdalkader
d068d92af5 Update qstr defs 2014-03-30 19:17:27 +02:00
iabdalkader
862dd3d16a Update libmp 2014-03-27 17:45:47 +02:00
iabdalkader
167ba7d9eb Update libraries 2014-03-22 19:02:49 +02:00
iabdalkader
e5f7bbab09 Fix issue with IDE code namespace 2014-03-16 21:30:21 +02:00
iabdalkader
16b91e4a52 Update libmp 2014-03-16 19:50:48 +02:00
iabdalkader
669a9effb4 Add CC3000 library 2014-03-13 02:10:18 +02:00
iabdalkader
953624b3e1 Save/load last opened script 2014-03-07 23:57:25 +02:00
iabdalkader
87b18a48e8 Update libraries 2014-03-03 22:19:46 +02:00
iabdalkader
2e147d5415 Update libmp
* Fixes a bug in gc
2014-03-02 19:37:53 +02:00
iabdalkader
6cb747f760 Update libraries compiled with new toolchain
* Update libraries toolchain gcc-arm-none-eabi-4_7-2013q3-20130916
2014-03-02 00:56:01 +02:00
iabdalkader
60eb70183d Update libraries 2014-03-01 20:38:47 +02:00
iabdalkader
d00ee2d083 Replace malloc calls with xalloc 2014-02-23 23:26:04 +02:00
iabdalkader
a5493fe620 Update std and mp libraries 2014-02-23 03:38:45 +02:00
iabdalkader
a4ec61d8d4 Update libmp
* Remove builtin USART
2014-02-14 15:55:59 +02:00
iabdalkader
bcf5808e33 Update libmp
* Fix USB transfer size
* Add missing function prototype
* Change USB debug callbacks
2014-02-13 02:12:32 +02:00
iabdalkader
ebd51256f7 Update MP do_repl string 2014-02-11 01:44:42 +02:00
iabdalkader
025f54949f Update libmp to use BULK transfers for scripts 2014-02-10 03:11:09 +02:00
iabdalkader
7df00cb49b Update libmp 2014-02-09 22:37:04 +02:00
iabdalkader
63e1da6d7d Update libraries for 12Mhz crystal 2014-02-08 00:03:45 +02:00
iabdalkader
edd4e85c06 Update libmp 2014-02-04 19:02:58 +02:00
iabdalkader
06d99a9b13 Update libmp 2014-02-04 18:42:34 +02:00
iabdalkader
4620861ccc Update MP headers and library 2014-02-03 17:26:10 +02:00
iabdalkader
a44540f793 Add Initial Support for MicroPython
* Add pre-compiled MicroPython library and headers.
* Change Makefile to link libmp.a remove libusbgeneric
* Change linker script to support MicroPython memory layout.
* Change OTG handle name in stm32f4xx_it.c
* Change main to init libmp and export Python functions.
* Add MicroPython bindings to src
2014-02-01 21:56:45 +02:00
iabdalkader
770d0b156b Remove libusbgeneric 2014-02-01 21:37:44 +02:00
iabdalkader
4f14c2c811 Update std and USB support libraries 2014-02-01 21:37:05 +02:00
iabdalkader
387f04d80d Use CCM for stack and data sections
* Update linker script to use CCM for stack and data.
* Reserve main RAM block for heap.
* Update std library with weak _sbrk symbol.
* Override _sbrk to use entire main RAM block for malloc.
2014-01-24 13:37:30 +02:00
iabdalkader
1062c5b8cb Add FatFS library
* Add Chan FatFS library
2014-01-15 13:56:32 +02:00
iabdalkader
d778e82300 Update for the new hardware revision
* Fix PCLK1 divider to default value.
* Disable USB OTG ID and SOF pins used for sensors PWDN and RESET.
* Add PWDN and RESET pin configuration.
2014-01-07 13:32:37 +02:00
iabdalkader
0d8c75e0b4 Added the new hardware revision
Added missing DSP library
Fixed SysTick timer IRQ priority
userspace fixes
2013-12-06 03:40:57 +02:00
iabdalkader
5a259bbcf1 Fixed linker script to load haar cascade into CCM
Fixed issue with SCCB delay and optimization
Recompiled all libraries with optimization enabled (-O2)
Some more tweaks to the Sensor's registers
Added function to load CCM data into .ccm section in runtime
2013-12-02 22:17:45 +02:00
iabdalkader
b3de021627 removed old files 2013-11-30 04:34:03 +02:00
iabdalkader
b0c4f8e844 Added USB OTG FS support
Added userspace libusb driver
Fixed some registers now QCIF/QQCIF resoultions are working
Updated CMSIS and STM32F4xx standard peripheral libraries
2013-11-30 04:23:22 +02:00
iabdalkader
773e24e566 added stm32f4xx_std compiled library and header 2013-11-25 10:30:55 +02:00