bertos.git
12 years agoDraw some info to display, and refresh it every some time. Add cgi to write message...
asterix [Thu, 13 Oct 2011 16:49:20 +0000 (16:49 +0000)]
Draw some info to display, and refresh it every some time. Add cgi to write message directly to display.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5163 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix XMega information for wizard.
lottaviano [Thu, 13 Oct 2011 16:43:14 +0000 (16:43 +0000)]
Fix XMega information for wizard.

The wizard did not generate a working set of makefiles, I
needed to add "xmega" to CPU_TAGS. While doing this I decided to create
a xmega.common file with these xmega specific settings and include it
from ATxmega32D4.cdef.

Signed-off-by: Onno <developer@gorgoz.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5162 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix xmega initialization procedure.
lottaviano [Thu, 13 Oct 2011 16:43:13 +0000 (16:43 +0000)]
Fix xmega initialization procedure.

When compiled and linked the method __init() in the init_xmega.c file is
generated as the code for the reset vector (vector 0). As there is also
a return instruction generated, it will return from vector 0 and then
execute vector 1, which is not implemented, so the reset vector is
called..... So the other code does not get executed at all.

Assigning the __init() method to other sections does not work either.
The same problem persists.

I implemented a solution which is two-fold:

1) I use the attribute "constructor" as according to the gcc
domumentation
(http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html) it should
do exactly what we want: "The constructor attribute causes the function
to be called automatically before execution enters main ()"

2) This alone did not solve the issue. I had to rename the methode to
make it not get called by the reset vector so I renamed the methode to
init_xmega.

Signed-off-by: Onno <developer@gorgoz.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5161 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoUse heap to allocate bitmap for display.
asterix [Thu, 13 Oct 2011 15:14:46 +0000 (15:14 +0000)]
Use heap to allocate bitmap for display.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5160 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoRemove external reset generation, because on the board there are more device connecte...
asterix [Thu, 13 Oct 2011 15:12:50 +0000 (15:12 +0000)]
Remove external reset generation, because on the board there are more device connected to the cpu NRST pin, this could be a problem during initialization of various devices.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5159 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix doxygen warning.
asterix [Thu, 13 Oct 2011 12:48:27 +0000 (12:48 +0000)]
Fix doxygen warning.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5158 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoMinor fixes.
asterix [Tue, 11 Oct 2011 17:16:54 +0000 (17:16 +0000)]
Minor fixes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5157 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix channel mask, they are 16.
asterix [Tue, 11 Oct 2011 17:16:17 +0000 (17:16 +0000)]
Fix channel mask, they are 16.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5156 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix text label for potentiometer bar.
asterix [Tue, 11 Oct 2011 17:14:28 +0000 (17:14 +0000)]
Fix text label for potentiometer bar.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5155 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoInsert leds status inside the json string.
asterix [Tue, 11 Oct 2011 15:13:12 +0000 (15:13 +0000)]
Insert leds status inside the json string.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5154 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix and update sd files.
asterix [Tue, 11 Oct 2011 15:04:43 +0000 (15:04 +0000)]
Fix and update sd files.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5153 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoReply to client with correct content type. Add status led and related cgi fuctions...
asterix [Tue, 11 Oct 2011 15:02:46 +0000 (15:02 +0000)]
Reply to client with correct content type. Add status led and related cgi fuctions. Some fix on reply json format.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5152 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoMake server reply content type message configurable. Add related tests.
asterix [Tue, 11 Oct 2011 14:53:23 +0000 (14:53 +0000)]
Make server reply content type message configurable. Add related tests.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5151 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd data to put on sd for BeRTOS http server example.
asterix [Tue, 11 Oct 2011 09:39:59 +0000 (09:39 +0000)]
Add data to put on sd for BeRTOS http server example.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5150 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDefine new tag to fix wizard errors.
asterix [Mon, 10 Oct 2011 16:08:30 +0000 (16:08 +0000)]
Define new tag to fix wizard errors.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5149 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix comment.
asterix [Mon, 10 Oct 2011 16:07:44 +0000 (16:07 +0000)]
Fix comment.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5148 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFilter waning for i2s.
asterix [Thu, 6 Oct 2011 10:28:11 +0000 (10:28 +0000)]
Filter waning for i2s.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5147 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd missing header.
asterix [Wed, 5 Oct 2011 13:57:21 +0000 (13:57 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5146 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoRemove duplicate source.
asterix [Tue, 4 Oct 2011 14:31:59 +0000 (14:31 +0000)]
Remove duplicate source.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5145 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoRemove duplicate source.
asterix [Tue, 4 Oct 2011 14:30:36 +0000 (14:30 +0000)]
Remove duplicate source.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5144 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd copyright.
asterix [Tue, 4 Oct 2011 14:28:36 +0000 (14:28 +0000)]
Add copyright.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5143 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd copyright.
asterix [Tue, 4 Oct 2011 14:28:09 +0000 (14:28 +0000)]
Add copyright.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5142 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoClean up. Return error also when we don't found key in query string.
asterix [Tue, 4 Oct 2011 13:34:04 +0000 (13:34 +0000)]
Clean up. Return error also when we don't found key in query string.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5141 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDeconding query string when we get a key value from it.
asterix [Tue, 4 Oct 2011 10:23:02 +0000 (10:23 +0000)]
Deconding query string when we get a key value from it.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5140 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix 500 error page.
asterix [Tue, 4 Oct 2011 09:11:50 +0000 (09:11 +0000)]
Fix 500 error page.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5139 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd comment.
asterix [Mon, 3 Oct 2011 17:18:41 +0000 (17:18 +0000)]
Add comment.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5138 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix the cgi function to reply json string.
asterix [Mon, 3 Oct 2011 17:16:26 +0000 (17:16 +0000)]
Fix the cgi function to reply json string.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5137 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd some utility to manage query strings.
asterix [Mon, 3 Oct 2011 17:15:43 +0000 (17:15 +0000)]
Add some utility to manage query strings.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5136 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoCheck if the return buffer is biggest enough.
asterix [Mon, 3 Oct 2011 15:04:52 +0000 (15:04 +0000)]
Check if the return buffer is biggest enough.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5135 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix settings to compile http_test.
asterix [Mon, 3 Oct 2011 15:03:28 +0000 (15:03 +0000)]
Fix settings to compile http_test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5134 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDecode percent-encoding in url. Add test. Reorder code.
asterix [Mon, 3 Oct 2011 14:32:33 +0000 (14:32 +0000)]
Decode percent-encoding in url. Add test. Reorder code.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5133 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd some cgi functions.
asterix [Mon, 3 Oct 2011 12:59:15 +0000 (12:59 +0000)]
Add some cgi functions.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5132 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd other string search method for cgi table.
asterix [Mon, 3 Oct 2011 12:33:28 +0000 (12:33 +0000)]
Add other string search method for cgi table.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5131 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoReformar get name funtion. Add test.
asterix [Mon, 3 Oct 2011 10:53:38 +0000 (10:53 +0000)]
Reformar get name funtion. Add test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5130 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDo not test for avr family.
asterix [Mon, 3 Oct 2011 09:54:41 +0000 (09:54 +0000)]
Do not test for avr family.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5129 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd comments.
asterix [Fri, 30 Sep 2011 16:26:09 +0000 (16:26 +0000)]
Add comments.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5128 38d2e660-2303-0410-9eaa-f027e97ec537

12 years ago Add comments.bertos/net/http.c
asterix [Fri, 30 Sep 2011 16:25:52 +0000 (16:25 +0000)]
 Add comments.bertos/net/http.c

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5127 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoMinor fixes.
asterix [Fri, 30 Sep 2011 12:51:16 +0000 (12:51 +0000)]
Minor fixes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5126 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDefine 500 internal error page.
asterix [Fri, 30 Sep 2011 10:40:04 +0000 (10:40 +0000)]
Define 500 internal error page.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5125 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDefine default callback to read all request from sd. Comply to new http api.
asterix [Fri, 30 Sep 2011 10:39:31 +0000 (10:39 +0000)]
Define default callback to read all request from sd. Comply to new http api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5124 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoRemove sd dependence. Add default callback to match all request that doesn't match...
asterix [Fri, 30 Sep 2011 10:38:19 +0000 (10:38 +0000)]
Remove sd dependence. Add default callback to match all request that doesn't match cgi table. Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5123 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd chipid table to diplay chip info.
asterix [Fri, 30 Sep 2011 10:12:27 +0000 (10:12 +0000)]
Add chipid table to diplay chip info.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5122 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix find name function. Pass as argument to cgi callback the rx buffer len.
asterix [Fri, 30 Sep 2011 08:31:00 +0000 (08:31 +0000)]
Fix find name function. Pass as argument to cgi callback the rx buffer len.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5121 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoRemove cpu dependency.
asterix [Fri, 30 Sep 2011 07:11:30 +0000 (07:11 +0000)]
Remove cpu dependency.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5120 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd other cgi example.
asterix [Wed, 28 Sep 2011 17:25:29 +0000 (17:25 +0000)]
Add other cgi example.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5119 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoUse the http module.
asterix [Wed, 28 Sep 2011 16:54:21 +0000 (16:54 +0000)]
Use the http module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5118 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd first implementation of http server module.
asterix [Wed, 28 Sep 2011 16:53:31 +0000 (16:53 +0000)]
Add first implementation of http server module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5117 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoWrite the doc for sam3 examples.
asterix [Wed, 28 Sep 2011 15:11:19 +0000 (15:11 +0000)]
Write the doc for sam3 examples.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5116 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoInit the dmac to use sd or i2s module.
asterix [Wed, 28 Sep 2011 15:10:37 +0000 (15:10 +0000)]
Init the dmac to use sd or i2s module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5115 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd to nigthly test the new board examples.
asterix [Wed, 28 Sep 2011 14:34:58 +0000 (14:34 +0000)]
Add to nigthly test the new board examples.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5114 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd other flash info for sam3 series.
asterix [Wed, 28 Sep 2011 14:34:13 +0000 (14:34 +0000)]
Add other flash info for sam3 series.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5113 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd missing cfg.
asterix [Wed, 28 Sep 2011 14:33:41 +0000 (14:33 +0000)]
Add missing cfg.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5112 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd the new hw macro for the sd driver.
asterix [Wed, 28 Sep 2011 13:45:06 +0000 (13:45 +0000)]
Add the new hw macro for the sd driver.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5111 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd strobe macros for debug.
asterix [Wed, 28 Sep 2011 13:42:25 +0000 (13:42 +0000)]
Add strobe macros for debug.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5110 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoIgnore left button while recording.
asterix [Wed, 28 Sep 2011 13:40:59 +0000 (13:40 +0000)]
Ignore left button while recording.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5109 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDisable proof.
asterix [Wed, 28 Sep 2011 13:40:11 +0000 (13:40 +0000)]
Disable proof.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5108 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix log message.
asterix [Wed, 28 Sep 2011 11:54:37 +0000 (11:54 +0000)]
Fix log message.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5107 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDon't explore the file list until the wav is in playing.
asterix [Wed, 28 Sep 2011 11:53:25 +0000 (11:53 +0000)]
Don't explore the file list until the wav is in playing.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5106 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd bootloader example for sam3.
asterix [Wed, 28 Sep 2011 10:58:47 +0000 (10:58 +0000)]
Add bootloader example for sam3.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5105 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoClean up and fix second bank page write.
asterix [Tue, 27 Sep 2011 15:23:20 +0000 (15:23 +0000)]
Clean up and fix second bank page write.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5104 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd support for more that one bank flash.
asterix [Tue, 27 Sep 2011 15:22:33 +0000 (15:22 +0000)]
Add support for more that one bank flash.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5103 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix flash start address.
asterix [Tue, 27 Sep 2011 15:17:16 +0000 (15:17 +0000)]
Fix flash start address.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5102 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoManage the page writing on two banks. Move flash info in sam3 defines.
asterix [Tue, 27 Sep 2011 13:10:06 +0000 (13:10 +0000)]
Manage the page writing on two banks. Move flash info in sam3 defines.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5101 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd some utility to get chip id for sam3.
asterix [Tue, 27 Sep 2011 13:08:15 +0000 (13:08 +0000)]
Add some utility to get chip id for sam3.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5100 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd internal flash driver for sam3x.
asterix [Tue, 27 Sep 2011 10:20:19 +0000 (10:20 +0000)]
Add internal flash driver for sam3x.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5099 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd command to manage intenal flash.
asterix [Tue, 27 Sep 2011 10:19:19 +0000 (10:19 +0000)]
Add command to manage intenal flash.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5098 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFilter mic when recorder audio.
asterix [Mon, 26 Sep 2011 17:11:28 +0000 (17:11 +0000)]
Filter mic when recorder audio.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5097 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoWrite correct recoded wav file. Clear display when we re-record mic.
asterix [Mon, 26 Sep 2011 17:10:24 +0000 (17:10 +0000)]
Write correct recoded wav file. Clear display when we re-record mic.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5096 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix caching buffer for tx and rx when slice len==2.
asterix [Mon, 26 Sep 2011 17:09:09 +0000 (17:09 +0000)]
Fix caching buffer for tx and rx when slice len==2.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5095 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoMove dmac setting to application.
asterix [Mon, 26 Sep 2011 16:26:50 +0000 (16:26 +0000)]
Move dmac setting to application.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5094 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoClean up code. Remove uneeded drive settings.
asterix [Mon, 26 Sep 2011 16:26:15 +0000 (16:26 +0000)]
Clean up code. Remove uneeded drive settings.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5093 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoWe don't select card every read/write access. Clean up.
asterix [Mon, 26 Sep 2011 16:24:15 +0000 (16:24 +0000)]
We don't select card every read/write access. Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5092 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoSet correct hight speed.
asterix [Mon, 26 Sep 2011 16:22:10 +0000 (16:22 +0000)]
Set correct hight speed.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5091 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix check when we cache the samples. Clean up.
asterix [Mon, 26 Sep 2011 08:56:24 +0000 (08:56 +0000)]
Fix check when we cache the samples. Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5090 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd to empty template some module to manage the sd card driver.
asterix [Mon, 26 Sep 2011 08:52:00 +0000 (08:52 +0000)]
Add to empty template some module to manage the sd card driver.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5089 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix function to fill the needed header fields, for valid wav file.
asterix [Mon, 26 Sep 2011 08:50:49 +0000 (08:50 +0000)]
Fix function to fill the needed header fields, for valid wav file.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5088 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoComply to new betos module. Add comments.
asterix [Thu, 22 Sep 2011 08:55:48 +0000 (08:55 +0000)]
Comply to new betos module. Add comments.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5087 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoDecrease adc log level.
asterix [Thu, 22 Sep 2011 08:54:32 +0000 (08:54 +0000)]
Decrease adc log level.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5086 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd bertos jpeg logo binary dump.
asterix [Thu, 22 Sep 2011 08:46:02 +0000 (08:46 +0000)]
Add bertos jpeg logo binary dump.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5085 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd copyright info.
asterix [Thu, 22 Sep 2011 08:43:56 +0000 (08:43 +0000)]
Add copyright info.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5084 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoReformat.
asterix [Thu, 22 Sep 2011 08:17:02 +0000 (08:17 +0000)]
Reformat.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5083 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoTypo.
asterix [Wed, 21 Sep 2011 16:43:25 +0000 (16:43 +0000)]
Typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5082 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoReturn board status string at request. Add sprintf module.
asterix [Wed, 21 Sep 2011 16:38:52 +0000 (16:38 +0000)]
Return board status string at request. Add sprintf module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5081 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd simple http server demo example.
asterix [Wed, 21 Sep 2011 16:08:31 +0000 (16:08 +0000)]
Add simple http server demo example.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5080 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix i2c clock frequency.
asterix [Tue, 20 Sep 2011 16:38:35 +0000 (16:38 +0000)]
Fix i2c clock frequency.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5079 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd menu and fuctions to recoder on sd microphone stream audio.
asterix [Tue, 20 Sep 2011 16:37:54 +0000 (16:37 +0000)]
Add menu and fuctions to recoder on sd microphone stream audio.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5078 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoUse events to start and stop playing. Clean up and reorder the code.
asterix [Tue, 20 Sep 2011 15:44:12 +0000 (15:44 +0000)]
Use events to start and stop playing. Clean up and reorder the code.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5077 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd some utility for wav files.
asterix [Tue, 20 Sep 2011 15:42:52 +0000 (15:42 +0000)]
Add some utility for wav files.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5076 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd menu to browser the file on sd.
asterix [Tue, 20 Sep 2011 11:56:58 +0000 (11:56 +0000)]
Add menu to browser the file on sd.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5075 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoEnable kernel and all routine to manage the display.
asterix [Tue, 20 Sep 2011 11:54:57 +0000 (11:54 +0000)]
Enable kernel and all routine to manage the display.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5074 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoSet corret frequency.
asterix [Mon, 19 Sep 2011 15:03:21 +0000 (15:03 +0000)]
Set corret frequency.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5073 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoClean up the code, remove unneed status flag.
asterix [Mon, 19 Sep 2011 14:36:15 +0000 (14:36 +0000)]
Clean up the code, remove unneed status flag.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5072 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoAdd other codec play settings.
asterix [Mon, 19 Sep 2011 14:25:24 +0000 (14:25 +0000)]
Add other codec play settings.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5071 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoMake configurable the i2s word size to play, using cfg macros.
asterix [Mon, 19 Sep 2011 14:24:35 +0000 (14:24 +0000)]
Make configurable the i2s word size to play, using cfg macros.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5070 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoImplement receving streaming i2s functions. Use bits to keep i2s status.
asterix [Mon, 19 Sep 2011 10:26:19 +0000 (10:26 +0000)]
Implement receving streaming i2s functions. Use bits to keep i2s status.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5069 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoClean up, and mute codec when we don't play audio.
asterix [Fri, 16 Sep 2011 17:02:02 +0000 (17:02 +0000)]
Clean up, and mute codec when we don't play audio.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5068 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoPrescale clock to use master clock frequency more higth.
asterix [Fri, 16 Sep 2011 16:59:13 +0000 (16:59 +0000)]
Prescale clock to use master clock frequency more higth.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5067 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoUse common sampling rate.
asterix [Fri, 16 Sep 2011 16:57:22 +0000 (16:57 +0000)]
Use common sampling rate.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5066 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoOptimize compile.
asterix [Fri, 16 Sep 2011 16:56:43 +0000 (16:56 +0000)]
Optimize compile.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5065 38d2e660-2303-0410-9eaa-f027e97ec537

12 years agoFix initialization. Use macro for sampling rate.
asterix [Fri, 16 Sep 2011 16:55:40 +0000 (16:55 +0000)]
Fix initialization. Use macro for sampling rate.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5064 38d2e660-2303-0410-9eaa-f027e97ec537