iabdalkader
65ddf182b1
Update pin-out image.
2016-03-15 00:03:33 +02:00
iabdalkader
9a8a5375da
Add pin aliases.
2016-03-15 00:03:02 +02:00
iabdalkader
d4ea452902
Fix median code.
...
* Use new IM_ macros.
* Fix allocation problems.
2016-03-13 23:37:58 +02:00
iabdalkader
33d4d2a1ad
Support keypoints on QVGA resolution.
...
* Use the moving window integral to compute keypoints.
2016-03-13 01:44:07 +02:00
iabdalkader
2f9a541cbc
Abort DMA transfer after snapshot.
2016-03-11 04:17:18 +02:00
iabdalkader
ebf13197a9
Disable USB IRQ before stopping script.
...
* This ensures that FS IRQ will never run during a soft-reset which
causes issues when using SD card.
2016-03-11 04:14:19 +02:00
iabdalkader
31697a163b
Re-init storage after soft-reset.
2016-03-11 04:13:23 +02:00
iabdalkader
0370eb54be
Move SD card initialization to sdcard_init
2016-03-11 04:12:06 +02:00
iabdalkader
6136bd04e1
Try to connect a few times before giving up.
...
* Fixes the connect button hang issue.
2016-03-11 03:37:35 +02:00
iabdalkader
6ee32b89e2
Update Eagle files.
...
* Rename VIN to VCC on backside silkscreen
2016-03-11 02:29:14 +02:00
Ibrahim Abd Elkader
d612afccef
Merge pull request #98 from kwagyeman/master
...
Add file read speed.
2016-03-10 00:32:32 +02:00
Kwabena W. Agyeman
302deb0662
Add file read speed.
...
File reading is runing ultra fast now. We're getting that SD card speed
the STM32 promised now. The file buffer commands have been updated to
alloc as much available memory to read as much of a file in as possible
now to speed up things. This works really great.
Note however, while the file buffer is active you have to use the file
buffer versions of tell and size. Spent a few hours on tracking down an
error related to not using the buffered versions.
2016-03-08 23:38:13 -05:00
Ibrahim Abd Elkader
cad38847e9
Merge pull request #97 from kwagyeman/master
...
Updated code to use fb_alloc.
2016-03-07 22:56:00 +02:00
Kwabena W. Agyeman
14dbcbd73c
Updated code to use fb_alloc.
...
All file write functions now use fb_alloc to go much faster. Writes are
re-directed to the extra frame buffer RAM and are grouped until they can
be written in a massive multi-block write to the SD card. We get the
best SD card write speed by doing things this way.
Ideally we'd want to buffer the whole file... but, this is about as good
as we're going to get for now.
Going to fix reading functions to use the same buffer next.
2016-03-07 00:09:04 -05:00
iabdalkader
2ab0688cbd
Fix comment.
...
* Framebuffer is not actually global.
2016-03-06 19:03:30 +02:00
iabdalkader
6cb7288def
Add NORETURN to __fatal_error
2016-03-06 19:03:00 +02:00
iabdalkader
a1c9e8a6f6
Set fb values directly when request frame size.
2016-03-06 19:02:12 +02:00
iabdalkader
d1e782df3d
Remove default sensor config.
...
* Not really needed.
2016-03-06 19:01:10 +02:00
iabdalkader
e3cc4cd83f
Add delays after changing pixformat/framesize.
2016-03-06 19:00:41 +02:00
iabdalkader
3e6e84cbb4
Skip the first frame after changing size or format.
2016-03-06 18:38:25 +02:00
Ibrahim Abd Elkader
547aa0528e
Merge pull request #96 from kwagyeman/master
...
Update Gif to use fb_alloc_all.
2016-03-06 17:24:50 +02:00
Kwabena W. Agyeman
66248c444b
Update Gif to use fb_alloc_all.
...
And tested it along with mjpeg to make sure all this stuff is good. I
also see the issue with QQVGA now. That just appeared.
2016-03-05 22:29:21 -05:00
iabdalkader
b78e325c60
Up MP branch.
2016-03-06 03:14:42 +02:00
Ibrahim Abd Elkader
d18d898203
Merge pull request #95 from kwagyeman/master
...
Add a new mjpeg module for Mjpeg support.
2016-03-06 03:14:59 +02:00
Kwabena W. Agyeman
5316b26d83
Added a new mjpeg module for Mjpeg support.
...
The built-in mjpeg module allows you to record videos seamlessly. It
will automatically compress the frame buffer using the extra space in the
main ram. So... you don't have to pass it jpeg images. Gets 7 FPS at
320x240 while connected to the computer too (it has to compress the
frame twice in this situation).
Anyway, the module work like Gif.
2016-03-05 20:03:48 -05:00
iabdalkader
acc35704d8
Disable IRQs when doing a soft-reset.
2016-03-06 02:51:34 +02:00
iabdalkader
2ab317063d
Re-exec REPL if there's no script to execute.
2016-03-06 02:39:58 +02:00
iabdalkader
fe506fa0fb
Use sizeof(tx_buf_len) instead of length.
...
* Length should always be 4 but it's safer this way.
2016-03-06 02:37:36 +02:00
iabdalkader
c12473d8b7
Execute a script only if there's no script running.
2016-03-06 02:36:45 +02:00
iabdalkader
28047269ac
Add DSB after setting USBDBG IRQ.
2016-03-06 02:36:10 +02:00
iabdalkader
87f9c92f1b
Skip the first JPEG/RAW frame.
...
* Set BPP to zero in set_pixformat to skip compressing/sending the first frame.
2016-03-06 02:32:11 +02:00
iabdalkader
911f9827ea
Enable DMA IRQ just before the snapshot.
2016-03-06 02:28:05 +02:00
Ibrahim Abd Elkader
26140158ab
Merge pull request #94 from kwagyeman/master
...
Add fb_alloc_all.
2016-03-05 18:29:44 +02:00
Kwabena W. Agyeman
98800c31c7
Add fb_alloc_all.
...
Now you can just grab all the free ram in the frame buffer in one go.
This fixes problems figuring out how many lines to alloc. Will update line
op code with this new info later.
2016-03-05 11:27:37 -05:00
iabdalkader
06b1cfca3b
Use IRQ priorities defined in irqs.h
2016-03-05 18:25:51 +02:00
iabdalkader
55a4b4536f
Add irqs.h.
...
* Defines IRQ priorities and functions.
2016-03-05 18:23:53 +02:00
iabdalkader
5dcedb8397
Align GIF buffers.
...
* Make GIF buffers aligned so DMA can be used.
2016-03-05 16:23:43 +02:00
iabdalkader
9230f0d53e
Use DMA for SDIO transfers
2016-03-05 15:44:39 +02:00
Ibrahim Abd Elkader
4acaafafa0
Merge pull request #93 from kwagyeman/master
...
Add support for color gif.
2016-03-05 15:27:27 +02:00
Kwabena W. Agyeman
9325029675
Add support for color gif.
...
Color gifs look very good for how bad you'd expect them to be with just
7 bits of color (rgb232) - quite amazing. Also, I hardened the gif
module to make it "user ready".
2016-03-04 23:30:01 -05:00
iabdalkader
03a06a409d
Added color conversion strings.
2016-03-04 15:36:39 +02:00
Ibrahim Abd Elkader
72f5b570da
Merge pull request #92 from kwagyeman/master
...
Add color functions.
2016-03-04 15:36:36 +02:00
Kwabena W. Agyeman
0ded05e333
Add color functions.
...
Now you can convert from rgb to lab/grayscale and vice-versa. Without
this functionality it would be hard to deal with moving between RGB and
LAB.
2016-03-03 23:48:04 -05:00
iabdalkader
02ef98f25f
Move MSC bot data to main SRAM (update MP).
2016-03-04 00:59:06 +02:00
iabdalkader
af82c9936d
Move MSC bot data to main SRAM.
...
* MSC can use DMA transfers.
* Free about 2KBs of CCM.
2016-03-03 15:37:13 +02:00
iabdalkader
872b7c1c5e
Update qstrs.
2016-03-03 01:14:03 +02:00
Ibrahim Abd Elkader
67efaa21ea
Merge pull request #91 from kwagyeman/master
...
Add statistics function.
2016-03-03 01:13:58 +02:00
Kwabena W. Agyeman
488253a8b0
Add statistics function.
...
You can now get the color stats for an area in the image. The stats
function returns the mean, median, mode, min, max, st_dev,
lower_quartile, and upper_quartile.
This function allows you to automate binary and threshold functions
based on what's in the iamge.
2016-03-01 21:43:52 -05:00
iabdalkader
596cdf527c
Lower the text buffer polling rate.
2016-03-02 04:02:27 +02:00
iabdalkader
3e5bfb27cc
Move FatFS file buffer to main SRAM.
...
* Allows DMA transfers of file data.
2016-03-02 00:19:29 +02:00