bertos.git
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

12 years agoAdd i2s foldback.
asterix [Fri, 16 Sep 2011 16:21:37 +0000 (16:21 +0000)]
Add i2s foldback.

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

12 years agoClean up.
asterix [Fri, 16 Sep 2011 16:19:57 +0000 (16:19 +0000)]
Clean up.

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

12 years agoClean code, use macros instead global variable.
asterix [Fri, 16 Sep 2011 16:05:35 +0000 (16:05 +0000)]
Clean code, use macros instead global variable.

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

12 years agoClean up and reformart.
asterix [Fri, 16 Sep 2011 14:10:41 +0000 (14:10 +0000)]
Clean up and reformart.

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

12 years agoRemove unneded functions.
asterix [Fri, 16 Sep 2011 14:01:15 +0000 (14:01 +0000)]
Remove unneded functions.

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

12 years agoAdd i2s hw implementation file.bertos/hw/hw_i2s.h
asterix [Fri, 16 Sep 2011 13:59:49 +0000 (13:59 +0000)]
Add i2s hw implementation file.bertos/hw/hw_i2s.h

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

12 years agoUse strobe macros. Clean up and reformat.
asterix [Fri, 16 Sep 2011 13:59:04 +0000 (13:59 +0000)]
Use strobe macros. Clean up and reformat.

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

12 years agoFix fuctions to configure lli dmac.
asterix [Fri, 16 Sep 2011 12:34:31 +0000 (12:34 +0000)]
Fix fuctions to configure lli dmac.

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

12 years agoAdd some preset to configure sampling rate for codec.
asterix [Fri, 16 Sep 2011 12:33:19 +0000 (12:33 +0000)]
Add some preset to configure sampling rate for codec.

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

12 years agoPrint i2c error when send command to codec.
asterix [Fri, 16 Sep 2011 12:32:34 +0000 (12:32 +0000)]
Print i2c error when send command to codec.

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

12 years agoImplement i2s streaming using dmac for sam3x.
asterix [Fri, 16 Sep 2011 12:30:46 +0000 (12:30 +0000)]
Implement i2s streaming using dmac for sam3x.

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

12 years agoAdd wait dma transfer functions.
asterix [Fri, 16 Sep 2011 12:29:09 +0000 (12:29 +0000)]
Add wait dma transfer functions.

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

12 years agoFix streaming implementation, now it could be halt only calling the stop function.
asterix [Thu, 15 Sep 2011 14:36:10 +0000 (14:36 +0000)]
Fix streaming implementation, now it could be halt only calling the stop function.

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

12 years agoAdd sam3x codec example projec (beta version).
asterix [Thu, 15 Sep 2011 13:47:42 +0000 (13:47 +0000)]
Add sam3x codec example projec (beta version).

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

12 years agoDecrease the half bit pulse width.
asterix [Thu, 15 Sep 2011 13:39:20 +0000 (13:39 +0000)]
Decrease the half bit pulse width.

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

12 years agoFix i2s configurations. Reorder code. Clean up.
asterix [Tue, 13 Sep 2011 13:32:50 +0000 (13:32 +0000)]
Fix i2s configurations. Reorder code. Clean up.

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

12 years agoImplement streaming function using dmac linked descriptor.
asterix [Fri, 9 Sep 2011 16:55:17 +0000 (16:55 +0000)]
Implement streaming function using dmac linked descriptor.

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

12 years agoSet error flag on select sd card.
asterix [Fri, 9 Sep 2011 16:54:06 +0000 (16:54 +0000)]
Set error flag on select sd card.

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

12 years agoComply to new api.
asterix [Fri, 9 Sep 2011 16:52:59 +0000 (16:52 +0000)]
Comply to new api.

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

12 years agoReformat.
asterix [Fri, 9 Sep 2011 16:52:30 +0000 (16:52 +0000)]
Reformat.

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

12 years agoRemove context from api, to keep it more simple.
asterix [Fri, 9 Sep 2011 16:51:56 +0000 (16:51 +0000)]
Remove context from api, to keep it more simple.

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

12 years agoFix typo.
asterix [Thu, 8 Sep 2011 17:07:47 +0000 (17:07 +0000)]
Fix typo.

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

12 years agoDisable the trasmitter and reciver to activate it after dmac configuration.
asterix [Wed, 7 Sep 2011 16:17:00 +0000 (16:17 +0000)]
Disable the trasmitter and reciver to activate it after dmac configuration.

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

12 years agoComply for new api.
asterix [Wed, 7 Sep 2011 16:16:11 +0000 (16:16 +0000)]
Comply for new api.

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

12 years agoReformat.
asterix [Wed, 7 Sep 2011 16:15:34 +0000 (16:15 +0000)]
Reformat.

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

12 years agoAdd fuction to configure dmac in linked mode. Include dmac channel into context.
asterix [Wed, 7 Sep 2011 16:14:59 +0000 (16:14 +0000)]
Add fuction to configure dmac in linked mode. Include dmac channel into context.

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

12 years agoSet correct clock frequence.
asterix [Wed, 7 Sep 2011 09:38:22 +0000 (09:38 +0000)]
Set correct clock frequence.

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

12 years agoUse dmac module. Rename hsmci function to read/write.
asterix [Tue, 6 Sep 2011 15:16:29 +0000 (15:16 +0000)]
Use dmac module. Rename hsmci function to read/write.

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

12 years agoAdd dmac driver for sam3x.
asterix [Tue, 6 Sep 2011 15:15:06 +0000 (15:15 +0000)]
Add dmac driver for sam3x.

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