Commit Graph

339 Commits

Author SHA1 Message Date
iabdalkader
5722436a63 Add MLX90620 driver 2014-08-18 10:26:32 +02:00
iabdalkader
563ab52eca Add Soft I2C 2014-08-18 10:21:48 +02:00
iabdalkader
a0e99939ad Pass Target to CPP 2014-08-18 10:12:03 +02:00
iabdalkader
02999f2432 Rename stm32f407_hal_msp 2014-08-10 19:42:14 +02:00
iabdalkader
12d062d1bc Enable GPIO and SPI
* Fix GPIO/SPI code
* Use buffers in SPI read/write
* Add pin qstrs OMV2
* remove old led files
* Update LCD user examples
2014-08-10 19:39:19 +02:00
iabdalkader
a93cd7fd7a Use CPP to generate linker scripts 2014-07-31 06:26:19 +02:00
iabdalkader
52da153c0c Fix sdram init function 2014-07-31 06:19:23 +02:00
iabdalkader
4215697e00 Add checks for OPENMV2 2014-07-31 06:12:53 +02:00
iabdalkader
cb3af4e25a Fix comment typo 2014-07-31 05:59:04 +02:00
iabdalkader
046d7afa98 Enable GPIOF clock 2014-07-31 05:57:56 +02:00
iabdalkader
4242a753fe Fix SDRAM test 2014-07-31 05:57:38 +02:00
iabdalkader
991645da8b Fix F429 PLLs 2014-07-23 08:09:26 +02:00
iabdalkader
ba49bc9c9f Add SDRAM driver
* Add SDRAM driver
* Add SDRAM to linker script
* Add FMC drivers to Makefile
2014-07-23 08:08:29 +02:00
iabdalkader
b67ee0e5f3 Add SD SDIO driver 2014-07-23 08:06:56 +02:00
iabdalkader
92ded74fd9 Add IR LED Support 2014-07-21 03:55:54 +02:00
iabdalkader
381e24d315 Add support for STM32F429 2014-07-17 09:16:04 +02:00
iabdalkader
35fdb04aa9 Enable CCM clock in startup code 2014-07-17 09:13:56 +02:00
iabdalkader
6389cce8b3 Export select 2014-07-14 04:17:11 +02:00
iabdalkader
dfab091f25 Add select 2014-07-14 03:43:21 +02:00
iabdalkader
932398820b Keep track of socket state 2014-07-14 03:42:29 +02:00
iabdalkader
9b145bd4c7 Fix inet_ntop endianness 2014-07-14 02:56:50 +02:00
iabdalkader
2fd8af0bf5 Disable IRQs around spi calls
* Fixes SPI transfer failures.
* Set highest baudrates for SD and CC3K
2014-07-09 04:34:16 +02:00
iabdalkader
78ad46dd34 Add set_quality for JPEG mode 2014-07-09 04:31:39 +02:00
iabdalkader
366171b042 Replace spi_recv with macro
* Set baudrate prescaler to 2
2014-07-07 04:59:14 +02:00
iabdalkader
d30c06f55a Set max Rx/Tx packet size 2014-07-07 03:17:46 +02:00
iabdalkader
945331cace Fix ucPad 2014-07-07 02:24:43 +02:00
iabdalkader
3681237acf Split recv packets 2014-07-07 02:04:36 +02:00
iabdalkader
b07cb91357 Add CC patch programmer 2014-07-07 02:03:20 +02:00
iabdalkader
55ae590bcb Update CC host driver
* Update to v1.15
2014-07-07 02:00:25 +02:00
iabdalkader
dcb4f34520 Remove old patch programmer 2014-07-06 23:38:29 +02:00
iabdalkader
84483d1d11 Update MP 2014-07-05 03:50:01 +02:00
iabdalkader
74280e07c6 Update CC3K SPI driver 2014-07-05 03:45:16 +02:00
iabdalkader
2d3abcf2f4 Add wlan and socket python modules 2014-07-05 03:41:43 +02:00
iabdalkader
43758d1a67 Make wlan_start timeout 2014-07-05 03:39:01 +02:00
iabdalkader
95b36965ec Update cc3k.h 2014-07-05 03:38:45 +02:00
iabdalkader
7826c14c05 Add inet_pton and inet_ntop 2014-07-05 03:36:04 +02:00
iabdalkader
545c29763e Fix SPI timeout 2014-07-02 00:03:59 +02:00
iabdalkader
3ee3716842 Clear connected flag when interrupted 2014-06-30 03:47:42 +02:00
iabdalkader
59d9d18bbe Update MP 2014-06-30 03:47:30 +02:00
iabdalkader
52bf272e8e Move test for USBDBG before snapshot 2014-06-30 03:47:04 +02:00
iabdalkader
30169f3aaa Add buffer protocol to image 2014-06-30 03:46:32 +02:00
iabdalkader
34ca3ed295 Lower default Qs 2014-06-30 03:46:09 +02:00
iabdalkader
e2ef1a568f Use MP's file module 2014-06-30 03:45:52 +02:00
iabdalkader
73f0d348bc More fixes to SD code 2014-06-30 03:45:03 +02:00
iabdalkader
94c46ab309 Cleanup SDCARD code 2014-06-28 19:54:06 +02:00
iabdalkader
92563b6190 Add SDCARD SPI driver 2014-06-28 01:26:32 +02:00
iabdalkader
0191702058 Export open 2014-06-27 23:46:13 +02:00
iabdalkader
1c7f8d7bdf Move GPIO configuration to MSP 2014-06-27 22:21:59 +02:00
iabdalkader
e23dca875c Update MP branch 2014-06-25 19:53:55 +02:00
iabdalkader
2d833b2ab5 Fix warning 2014-06-25 19:51:09 +02:00
iabdalkader
f23336e3ae Return the number of SURF matches 2014-06-25 19:50:45 +02:00
iabdalkader
5470b6c72f Add new constants 2014-06-25 19:50:30 +02:00
iabdalkader
185ab2877c ADD JPEG support
* ADD higher resolutions
* Set GPIO to low speed
* Use frame_ready to sync snapshots
2014-06-25 19:47:23 +02:00
iabdalkader
d96b1d9656 Update USBDBG
* Update commands
* Sync FB dump
2014-06-25 19:46:22 +02:00
iabdalkader
561c97cb41 Add JPEG regs
* Some fixes to old registers
2014-06-25 15:54:16 +02:00
iabdalkader
18e62155b0 Cleanup Makefile 2014-06-22 12:31:19 +02:00
iabdalkader
f8eb7b35e1 Fix br/cont/gain 2014-06-21 09:44:25 +02:00
iabdalkader
aaa06a4021 Add Get/Set sensor attributes 2014-06-21 09:43:26 +02:00
iabdalkader
b5587adc65 Add sensor controls 2014-06-21 09:41:27 +02:00
iabdalkader
aaa51cfdf6 Fix DMA mode 2014-06-20 15:30:02 +02:00
iabdalkader
bd2783f2b1 Enable FIFO 2014-06-20 09:52:46 +02:00
iabdalkader
9cc9af6edd Update MP branch 2014-06-19 23:25:20 +02:00
iabdalkader
62b8eadbfc Remove unused variable 2014-06-19 23:24:45 +02:00
iabdalkader
2ea09a43db Add template saving 2014-06-19 23:21:18 +02:00
iabdalkader
ad65c304dd Fix exceptions 2014-06-19 23:21:04 +02:00
iabdalkader
9fb77ee5ac Enable HaarCascade and Image 2014-06-19 23:20:32 +02:00
iabdalkader
64b883ceaf Update sensor drivers
* Add set_contrast
* Fix set_brightness
2014-06-19 23:19:11 +02:00
iabdalkader
06ed1c0a53 Update PPM
* Fix ppm_read
* Add ppm_write_subimg
2014-06-19 23:16:59 +02:00
iabdalkader
ce3ab63337 Fix template matching 2014-06-19 23:14:11 +02:00
iabdalkader
c76f04baf5 Update MP branch 2014-06-18 21:21:31 +02:00
iabdalkader
f53295a18e Enable str functions 2014-06-18 21:20:47 +02:00
iabdalkader
c1dab26fca Fix more sources to use HAL 2014-06-18 21:20:22 +02:00
iabdalkader
51458b1c2e Update USB Debug Interface 2014-06-18 17:29:09 +02:00
iabdalkader
1e4b6fa8fd Update sources to new HAL 2014-06-18 17:28:46 +02:00
iabdalkader
0e69ebad74 Update MP branch 2014-06-18 17:14:02 +02:00
iabdalkader
6cf069fb9e Add sources to sthal Makefile 2014-06-18 17:12:47 +02:00
iabdalkader
8c3712b55d Move linker script to omv 2014-06-18 17:11:04 +02:00
iabdalkader
7a4cee620b Add MP header 2014-06-15 21:18:22 +02:00
iabdalkader
55740aa14d Add OMV Makefile 2014-06-15 21:17:01 +02:00
iabdalkader
d5e3a2eace Update MP branch 2014-06-15 21:16:04 +02:00
iabdalkader
b00d9c2e97 Update sources for new STHAL/MP 2014-06-15 21:15:13 +02:00
iabdalkader
dd2933a200 Add top Makefile 2014-06-15 21:12:44 +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
4f90903cd0 Update branch 2014-06-14 18:08:26 +02:00
iabdalkader
2aaa070b10 Update branch 2014-06-14 17:17:09 +02:00
iabdalkader
4df970b418 Move files to OMV 2014-06-14 12:28:45 +02:00
iabdalkader
5fe261e170 set MP submodule to openmv branch 2014-06-14 12:20:43 +02:00
iabdalkader
0c7529c0fa Add micropython submodule 2014-06-14 12:08:48 +02:00
iabdalkader
72c13e47d7 Fix blob detection 2014-05-03 00:03:39 +02:00
iabdalkader
b56821a9f0 Fix blobs detection 2014-05-02 22:44:56 +02:00
iabdalkader
7b6c0beacb Change comments 2014-05-02 22:01:54 +02:00
iabdalkader
26fac06bd5 Fix ppm_write to save RGB888 2014-04-12 19:46:22 +02:00
iabdalkader
dbee032c6a Add SD Card support 2014-04-12 18:58:55 +02:00
iabdalkader
140ecd59ea Fix file_read bug 2014-04-12 01:13:32 +02:00
iabdalkader
c3a2d8ac0f re-enable CC3K 2014-04-10 17:09:58 +02:00
iabdalkader
1558e4fc1b Fix gc_alloc calls 2014-04-10 17:08:35 +02:00
iabdalkader
48b73580b0 Fix sensor reset code 2014-04-10 17:08:18 +02:00
iabdalkader
5f2b17f62c Use new MP API 2014-04-10 17:07:15 +02:00
iabdalkader
d6f66bc2f9 Remove short-enums 2014-04-10 16:56:47 +02:00
iabdalkader
fdefb82df9 Add SCCB DeInit 2014-04-08 02:02:13 +02:00
iabdalkader
91099e9edc Update image API 2014-04-04 21:07:09 +02:00
iabdalkader
be7d0d317e Fix framerate and gainceiling 2014-04-04 20:31:15 +02:00
iabdalkader
2a33cde156 Fix RGB median 2014-04-04 19:11:26 +02:00
iabdalkader
16a377affd Update linker script 2014-04-02 02:15:38 +02:00
iabdalkader
25e76a5db6 Remove template read/write 2014-04-02 02:13:32 +02:00
iabdalkader
c844da7bec Add ppm support 2014-04-02 02:12:46 +02:00
iabdalkader
5998aa4857 Adding missing sensor functions 2014-03-30 19:37:16 +02:00
iabdalkader
b23eeda8e5 Convert all MP modules to static modules 2014-03-30 19:26:47 +02:00
iabdalkader
5bfc56d33a Disable LED callback 2014-03-30 19:18:58 +02:00
iabdalkader
da48eb4ff4 Check laplacian sign before matching 2014-03-30 19:18:24 +02:00
iabdalkader
862dd3d16a Update libmp 2014-03-27 17:45:47 +02:00
iabdalkader
f1b524b520 Add circle drawing 2014-03-23 20:38:31 +02:00
iabdalkader
2390c8bb4b Disable unused functions 2014-03-22 19:40:45 +02:00
iabdalkader
0fd2047fad Add check for array length 2014-03-22 19:40:25 +02:00
iabdalkader
3a18b8f4b6 Move math functions to separate source 2014-03-22 19:40:11 +02:00
iabdalkader
bee46316c4 Add SURF prototypes and export MP module 2014-03-22 19:30:47 +02:00
iabdalkader
a13642f714 Add mem checks 2014-03-22 19:07:47 +02:00
iabdalkader
e578633449 Add misc defs 2014-03-22 19:07:20 +02:00
iabdalkader
d888f8d9f6 Fix set_framesize
* Disable/Enable DSP for frame size change to work.
2014-03-19 01:41:14 +02:00
iabdalkader
2ff7b4ecb0 Add wlan test code 2014-03-19 01:40:36 +02:00
iabdalkader
4f6c8e5ec8 Fix bug
* Adding wrong Y to blob
2014-03-19 01:39:35 +02:00
iabdalkader
fb928482b4 Add grayscale median 2014-03-16 22:24:47 +02:00
iabdalkader
822cd035b2 Set blob points init array size 2014-03-16 22:22:35 +02:00
iabdalkader
ee8df1a861 Cleanup exported functions 2014-03-16 20:01:32 +02:00
iabdalkader
669a9effb4 Add CC3000 library 2014-03-13 02:10:18 +02:00
iabdalkader
681110df97 Remove opt pragma 2014-03-07 22:18:39 +02:00
iabdalkader
a511f6203a Add GPIO module 2014-03-07 20:53:57 +02:00
iabdalkader
db86110da6 Remove unsupported pragma 2014-03-07 20:53:07 +02:00
iabdalkader
ef6be8ab3c Add stack unwinding code for HardFault exception 2014-03-07 20:43:28 +02:00
iabdalkader
9ce736322f Add SPI driver and Python module 2014-03-07 20:38:03 +02:00
iabdalkader
27856cc8db Fix SVGA regs 2014-03-05 17:12:03 +02:00
iabdalkader
cc23cb4c49 Set default brightness and gainceiling 2014-03-05 17:11:15 +02:00
iabdalkader
8eaa4fafb5 Improve flood algorithm 2014-03-04 20:02:35 +02:00
iabdalkader
46b8d97901 Fix blobs and array bugs 2014-03-04 01:57:35 +02:00
iabdalkader
da58d6b9ba Enable 30FPS
* Set DSP input image to 800x600
* Enable 30FPS
2014-03-03 22:18:58 +02:00
iabdalkader
5a5c93f66b Use volatile for curr_ticks 2014-03-03 16:32:11 +02:00
iabdalkader
ea113dcc34 Update exported modules 2014-03-03 16:31:35 +02:00
iabdalkader
cc314d555d Use uint32_t for xalloc 2014-03-03 16:27:29 +02:00
iabdalkader
70a5e45129 Remove libc dependency 2014-03-03 16:24:50 +02:00
iabdalkader
c75969a9e8 Update image code to use fast math 2014-03-03 16:23:14 +02:00
iabdalkader
ccc88548f7 Add fast math functions 2014-03-03 16:18:48 +02:00
iabdalkader
ffb3dac484 Add time module 2014-03-03 16:17:42 +02:00
iabdalkader
9e6524f70c Fix bug
* Reset sensor state before setting polarity
2014-03-03 16:03:12 +02:00
iabdalkader
b410b5038c Add array_pop_back and fix bug 2014-03-02 19:38:41 +02:00
iabdalkader
1d62ec6101 Add two new sqrt functions
* Add vsqrt implemented with VSQRT instruction
* Add fsqrt IEEE float dependant approximation
2014-03-02 00:57:14 +02:00
iabdalkader
b6491622d4 Use volatile with I2C timeout 2014-03-01 20:40:49 +02:00
iabdalkader
7d7cc77571 Use sqrtf in haar 2014-03-01 20:40:17 +02:00
iabdalkader
facee324c8 Remove sqrt functions 2014-03-01 20:39:54 +02:00
iabdalkader
90dc4e448d Fix -O flag 2014-03-01 17:32:16 +02:00
iabdalkader
9ad02e2b83 Add sqrt_qxx functions 2014-03-01 16:39:49 +02:00