Commit Graph

72 Commits

Author SHA1 Message Date
iabdalkader
1e14eacaa2 Update sensor code
* Add OV2640 PID
* Add DCMI polarities to sensor struct
* Set DCMI polarities in sensors init functions
* Update OV9650 to set DCMI polarities
2014-02-21 23:23:18 +02:00
iabdalkader
7efede186b Check sensor_init result 2014-02-21 05:00:14 +02:00
iabdalkader
e83f72c8fe Enabel OV9650 Internal Regulator 2014-02-21 03:32:27 +02:00
iabdalkader
e20bd56001 Disable systick alloc 2014-02-19 02:45:41 +02:00
iabdalkader
112f0b5ce3 Fix template mean 2014-02-18 03:17:21 +02:00
iabdalkader
474bfd1b71 Add template matching
* Add fast template matching using NCC
* Add some support functions to imlib
2014-02-17 21:59:13 +02:00
iabdalkader
86c7bb2041 Remove whitespaces from ld script 2014-02-14 15:56:33 +02:00
iabdalkader
8856f5e24d Add assert str macro 2014-02-14 15:43:43 +02:00
iabdalkader
8668c17cba Export open to python 2014-02-14 15:42:59 +02:00
iabdalkader
492b1488e2 Add support for loading haar cascade from file 2014-02-14 15:40:14 +02:00
iabdalkader
156d194bf8 Add file module 2014-02-14 15:38:03 +02:00
iabdalkader
9991b6b803 Update main
* Remove pyb prefix
* Export ticks() function to python
2014-02-13 23:00:33 +02:00
iabdalkader
8a91d9f6d4 Export imlib module 2014-02-13 03:17:51 +02:00
iabdalkader
4b6c073133 Cleanup file
* Fix line endings
* Remove whitespaces
2014-02-13 03:17:05 +02:00
iabdalkader
cb2da9fc9d Add MP imlib module 2014-02-13 03:15:15 +02:00
iabdalkader
f7aff67ba5 Add MP image module 2014-02-13 03:14:38 +02:00
iabdalkader
b18744e8e7 Add py_assert helper macros 2014-02-13 03:13:11 +02:00
iabdalkader
ca39013097 Update imlib
* Use image for imlib functions
* Rename some types
2014-02-13 03:12:11 +02:00
iabdalkader
f0431b9b10 Remove sensor arg from py_sensor 2014-02-13 03:11:24 +02:00
iabdalkader
ddcf6919c1 Remove sensor struct arg
* Remove sensor arg from sensor functions
* Use sensor struct in sensor.c
2014-02-13 03:09:51 +02:00
iabdalkader
4afc74a3c1 Move framebuffer to separate header 2014-02-13 03:02:59 +02:00
iabdalkader
875e239157 Add USB debug interface module
* Add USB debug interface module
2014-02-13 02:13:24 +02:00
iabdalkader
f944b81571 Remove break from OTG_FS_WKUP_IRQHandler 2014-02-11 01:44:02 +02:00
iabdalkader
567feccc66 Fix usbdbg exec script 2014-02-10 03:11:53 +02:00
iabdalkader
e7da05d28b Add USB debugging interface 2014-02-09 23:57:24 +02:00
iabdalkader
a8350215b0 Cleanup main
* Remove boot script
* Update main script
* Change namespace to openmv
2014-02-09 23:20:19 +02:00
iabdalkader
4e1306244a Add OSC definition 2014-02-09 22:41:07 +02:00
iabdalkader
41ca67b709 Update RESET and PWDN for REV3 2014-02-08 01:10:36 +02:00
iabdalkader
422529dcea Export sensor functions and constants to MP 2014-02-05 14:05:46 +02:00
iabdalkader
37f614367c Add sensor MP bindings
* Add sensor MicroPython bindings
2014-02-04 18:56:11 +02:00
iabdalkader
aa6b1630a5 Add pendsv interrupt
* Enable pendsv interrupt to support Ctrl-c
2014-02-04 18:41:35 +02:00
iabdalkader
f8f3eebe2f Update linker script
* Add _ram_start variable used for framebuffer.
* Check for enough space for MP cache.
* Increase MP's heap size to 32KB.
2014-02-03 17:55:34 +02:00
iabdalkader
ce5987f67e Use correct address for sensor heap 2014-02-03 17:51:42 +02:00
iabdalkader
160b727809 Export LED as a Python module 2014-02-03 17:49:36 +02:00
iabdalkader
d175c69d19 Remove libusbcore and libusbdevcore from Makefile
* Remove USB libraries and use MP's stack for now.
2014-02-03 17:48:08 +02:00
iabdalkader
f2cfdf66ce Add LED toggle function 2014-02-03 17:24:12 +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
659ffc73cc Remove syscalls.c 2014-02-01 21:38:29 +02:00
iabdalkader
4609f0295e Use main RAM block exclusively for frame buffers
* Remove malloc's on the main RAM block.
2014-02-01 20:44:53 +02:00
iabdalkader
9cddd79abd Add systick_has_passed function 2014-02-01 19:13:02 +02:00
iabdalkader
a55ec77a9d Add led_state function to led module 2014-02-01 19:08:04 +02:00
iabdalkader
48826fb1f6 Add new HW revision
* Remove power switch and its decoupling cap
* Resize the mounting holes to 2mm
* Connect the switch to NRST instead of BOOT0
* Change RGB LED footprint to PLCC-6
* Change switch footprint
* Add extra pads to usb connector
* Remove crystal and load caps, use ceramic resonator
2014-01-26 13:41:36 +02:00
iabdalkader
dcc33231b4 Remove CCM from cascade 2014-01-24 13:41:48 +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
5f152403fb Update LED module to use systick task 2014-01-24 13:36:55 +02:00
iabdalkader
b3ebe766f4 Add Systick Task Scheduling
* Add periodic task scheduling to systick module.
2014-01-23 12:28:11 +02:00
iabdalkader
41c5fb117f Move linker script to src/ 2014-01-21 16:34:30 +02:00
iabdalkader
5ec44f4fb5 Add libfatfs to Makefile 2014-01-15 16:03:21 +02:00
iabdalkader
8bb57a94a8 Use SYSCLK frequency to derive sensor extclk
* Use current SYSCLK frequency to derive sensor's extclk.
2014-01-15 15:59:53 +02:00
iabdalkader
b581e244cc Use I2C instead of SW SCCB
* Change SCCB to use I2C instead of soft SCCB
2014-01-15 14:54:50 +02:00