bertos.git
12 years agoAdd hw pin init for sd driver.
asterix [Tue, 6 Sep 2011 12:15:01 +0000 (12:15 +0000)]
Add hw pin init for sd driver.

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

12 years agoComply struct names to conding style.
asterix [Tue, 6 Sep 2011 11:51:41 +0000 (11:51 +0000)]
Comply struct names to conding style.

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

12 years agoRemove sd structure from sd context. Fix and clean.
asterix [Tue, 6 Sep 2011 11:02:14 +0000 (11:02 +0000)]
Remove sd structure from sd context. Fix and clean.

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

12 years agoComply to new sd structure.
asterix [Tue, 6 Sep 2011 11:00:08 +0000 (11:00 +0000)]
Comply to new sd structure.

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

12 years agoClean up, and reformat.
asterix [Tue, 6 Sep 2011 10:59:38 +0000 (10:59 +0000)]
Clean up, and reformat.

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

12 years agoUpdate makefile.
asterix [Tue, 6 Sep 2011 10:14:10 +0000 (10:14 +0000)]
Update makefile.

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

12 years agoRegenerate the sd fat example project.
asterix [Tue, 6 Sep 2011 10:11:08 +0000 (10:11 +0000)]
Regenerate the sd fat example project.

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

12 years agoRename makefiles to comply to new project names.
asterix [Tue, 6 Sep 2011 10:02:48 +0000 (10:02 +0000)]
Rename makefiles to comply to new project names.

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

12 years agoRename project using the board names.
asterix [Tue, 6 Sep 2011 10:01:25 +0000 (10:01 +0000)]
Rename project using the board names.

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

12 years agoUpdate sd project.
asterix [Tue, 6 Sep 2011 08:44:08 +0000 (08:44 +0000)]
Update sd project.

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

12 years agoSome tricks for old compatibility.
asterix [Tue, 6 Sep 2011 08:40:36 +0000 (08:40 +0000)]
Some tricks for old compatibility.

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

12 years agoStart to extract generic interface from the sd driver implementation.
asterix [Mon, 5 Sep 2011 15:49:34 +0000 (15:49 +0000)]
Start to extract generic interface from the sd driver implementation.

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

12 years agoAdd configuration mode flag.
asterix [Mon, 5 Sep 2011 15:47:27 +0000 (15:47 +0000)]
Add configuration mode flag.

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

12 years agoClean up.
asterix [Mon, 5 Sep 2011 15:46:10 +0000 (15:46 +0000)]
Clean up.

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

12 years agoFirst integration of hsmci into sd driver.
asterix [Mon, 5 Sep 2011 13:40:05 +0000 (13:40 +0000)]
First integration of hsmci into sd driver.

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

12 years agoUse read resp fuction, clean up. Start to integrate with sd driver.
asterix [Mon, 5 Sep 2011 07:48:49 +0000 (07:48 +0000)]
Use read resp fuction, clean up. Start to integrate with sd driver.

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

12 years agoAdd utilis macro to manage bits.
asterix [Mon, 5 Sep 2011 07:47:18 +0000 (07:47 +0000)]
Add utilis macro to manage bits.

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

12 years agoClean up. Reformat.
asterix [Fri, 2 Sep 2011 16:24:07 +0000 (16:24 +0000)]
Clean up. Reformat.

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

12 years agoAdd write block function.
asterix [Fri, 2 Sep 2011 16:16:34 +0000 (16:16 +0000)]
Add write block function.

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

12 years agoThe dmac trigger is differnt for rx and tx.
asterix [Fri, 2 Sep 2011 16:15:48 +0000 (16:15 +0000)]
The dmac trigger is differnt for rx and tx.

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

12 years agoRead max data rating of sd. Add fuction to read the SSR sd register. Add read block...
asterix [Fri, 2 Sep 2011 16:00:45 +0000 (16:00 +0000)]
Read max data rating of sd. Add fuction to read the SSR sd register. Add read block function. Some fixes.

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

12 years agoUse dmac for data blk transfer from sd. Fix set bus with function. Clean up.
asterix [Fri, 2 Sep 2011 15:59:09 +0000 (15:59 +0000)]
Use dmac for data blk transfer from sd. Fix set bus with function. Clean up.

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

12 years agoAdd missing define.
asterix [Fri, 2 Sep 2011 15:57:56 +0000 (15:57 +0000)]
Add missing define.

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

12 years agoReformat fuction to avoid alignement problem.
asterix [Thu, 1 Sep 2011 08:20:23 +0000 (08:20 +0000)]
Reformat fuction to avoid alignement problem.

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

12 years agoAdd bitarray module to build its test.
asterix [Thu, 1 Sep 2011 08:19:07 +0000 (08:19 +0000)]
Add bitarray module to build its test.

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

12 years agoSilent warnings.
asterix [Thu, 1 Sep 2011 08:18:12 +0000 (08:18 +0000)]
Silent warnings.

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

12 years agoAdd search fist non zero bit for bitarray. This implemention is platform independent...
asterix [Wed, 31 Aug 2011 15:29:44 +0000 (15:29 +0000)]
Add search fist non zero bit for bitarray. This implemention is platform independent using the De Bruijin algorithm.
Signed off by Lafras Henning <lafras@xietel.com>.

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

12 years agoFix set bus width function and factorize it. Add status check errors. Other minor...
asterix [Tue, 30 Aug 2011 17:02:23 +0000 (17:02 +0000)]
Fix set bus width function and factorize it. Add status check errors. Other minor fixes.

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

12 years agoAdd some fuction to read block from sd using dmac.
asterix [Tue, 30 Aug 2011 16:59:50 +0000 (16:59 +0000)]
Add some fuction to read block from sd using dmac.

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

12 years agoAdd missing define.
asterix [Tue, 30 Aug 2011 16:58:30 +0000 (16:58 +0000)]
Add missing define.

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

12 years agoFix send command of controls loop. Clean up.
asterix [Thu, 4 Aug 2011 17:41:22 +0000 (17:41 +0000)]
Fix send command of controls loop. Clean up.

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

12 years agoRefactor internal sd api to take the sd context.
asterix [Thu, 4 Aug 2011 17:37:44 +0000 (17:37 +0000)]
Refactor internal sd api to take the sd context.

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

12 years agoUse log for all messages. Refactor and clean command code.
asterix [Thu, 4 Aug 2011 14:31:28 +0000 (14:31 +0000)]
Use log for all messages. Refactor and clean command code.

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

12 years agoClean up, and continue the develop.
asterix [Wed, 3 Aug 2011 17:46:00 +0000 (17:46 +0000)]
Clean up, and continue the develop.

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

12 years agoCompile these functions only for sam3x.
asterix [Wed, 3 Aug 2011 08:47:29 +0000 (08:47 +0000)]
Compile these functions only for sam3x.

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

12 years agoRead 4byte each time from reply register.
asterix [Tue, 2 Aug 2011 17:33:48 +0000 (17:33 +0000)]
Read 4byte each time from reply register.

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

12 years agoAdd first implementation of hsmci controller for sam3x.
asterix [Tue, 2 Aug 2011 17:21:18 +0000 (17:21 +0000)]
Add first implementation of hsmci controller for sam3x.

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

12 years agoAdd first implementation of new sd api.
asterix [Tue, 2 Aug 2011 17:19:48 +0000 (17:19 +0000)]
Add first implementation of new sd api.

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

12 years agoDefine response offest register.
asterix [Tue, 2 Aug 2011 17:18:36 +0000 (17:18 +0000)]
Define response offest register.

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

12 years agoThe timer delay takes already ms, fixed it.
asterix [Tue, 2 Aug 2011 08:35:10 +0000 (08:35 +0000)]
The timer delay takes already ms, fixed it.

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

12 years agoFix typos.
asterix [Mon, 25 Jul 2011 13:56:30 +0000 (13:56 +0000)]
Fix typos.

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

12 years agoAdd hsmci (sd/mmc) register definition for sam3x.
asterix [Mon, 25 Jul 2011 09:26:40 +0000 (09:26 +0000)]
Add hsmci (sd/mmc) register definition for sam3x.

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

12 years agoReadd the buffer len settings for old compatibility.
asterix [Fri, 22 Jul 2011 07:33:08 +0000 (07:33 +0000)]
Readd the buffer len settings for old compatibility.

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

12 years agoEnable the receiver.
asterix [Thu, 21 Jul 2011 16:41:43 +0000 (16:41 +0000)]
Enable the receiver.

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

12 years agoPower on all devices.
asterix [Thu, 21 Jul 2011 16:40:57 +0000 (16:40 +0000)]
Power on all devices.

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

12 years agoAdd i2s implementation for the sam3x.
asterix [Thu, 21 Jul 2011 15:50:07 +0000 (15:50 +0000)]
Add i2s implementation for the sam3x.

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

12 years agoAdd alpha api implementation for i2s module.
asterix [Thu, 21 Jul 2011 15:49:29 +0000 (15:49 +0000)]
Add alpha api implementation for i2s module.

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

12 years agoReformat.
asterix [Wed, 20 Jul 2011 10:28:16 +0000 (10:28 +0000)]
Reformat.

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

12 years agoFix comment.
asterix [Mon, 18 Jul 2011 14:37:11 +0000 (14:37 +0000)]
Fix comment.

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

12 years agoSet volume on both channel. Semplfy the code.
asterix [Mon, 18 Jul 2011 14:32:50 +0000 (14:32 +0000)]
Set volume on both channel. Semplfy the code.

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

12 years agoMove some settings into cfg file.
asterix [Mon, 18 Jul 2011 13:37:21 +0000 (13:37 +0000)]
Move some settings into cfg file.

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

12 years agoClean up and write the first implementation of i2s module for sam3x.
asterix [Fri, 15 Jul 2011 16:34:48 +0000 (16:34 +0000)]
Clean up and write the first implementation of i2s module for sam3x.

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

12 years agoAdd board implentation of the codec hw.
asterix [Fri, 15 Jul 2011 16:28:08 +0000 (16:28 +0000)]
Add board implentation of the codec hw.

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

12 years agoImplement some fuctions to manage codec through 2 wire connection. Add configuration...
asterix [Fri, 15 Jul 2011 16:25:52 +0000 (16:25 +0000)]
Implement some fuctions to manage codec through 2 wire connection. Add configuration parameter
into the cfg module.

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

12 years agoDefine wm8731 context, add log.
asterix [Thu, 14 Jul 2011 17:20:58 +0000 (17:20 +0000)]
Define wm8731 context, add log.

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

12 years agoAdd first implentatio of ssc module for sam3x.
asterix [Thu, 14 Jul 2011 17:09:43 +0000 (17:09 +0000)]
Add first implentatio of ssc module for sam3x.

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

12 years agoAdd first implementation of wm8731 audio codec module.
asterix [Thu, 14 Jul 2011 17:08:25 +0000 (17:08 +0000)]
Add first implementation of wm8731 audio codec module.

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

12 years agoAdd DMAC's register definitions.
asterix [Thu, 14 Jul 2011 17:07:48 +0000 (17:07 +0000)]
Add DMAC's register definitions.

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

12 years agoAdd some missign register defines. Reformat.
asterix [Thu, 14 Jul 2011 17:06:29 +0000 (17:06 +0000)]
Add some missign register defines. Reformat.

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

12 years agoFix the macro alignment bug.
asterix [Tue, 12 Jul 2011 10:25:05 +0000 (10:25 +0000)]
Fix the macro alignment bug.

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

12 years agoRemove unneeded file.
asterix [Mon, 13 Jun 2011 10:07:51 +0000 (10:07 +0000)]
Remove unneeded file.

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

12 years agoReorder includes.
asterix [Mon, 13 Jun 2011 10:04:02 +0000 (10:04 +0000)]
Reorder includes.

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

12 years agoFix sam3n example name, and re-add the others project.
asterix [Mon, 13 Jun 2011 09:56:53 +0000 (09:56 +0000)]
Fix sam3n example name, and re-add the others project.

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

12 years agoRevert commit.
asterix [Mon, 13 Jun 2011 09:55:26 +0000 (09:55 +0000)]
Revert commit.

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

12 years agoComply the prj to the new name.
asterix [Mon, 13 Jun 2011 09:32:41 +0000 (09:32 +0000)]
Comply the prj to the new name.

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

12 years agoRemane the prj to insert it into nightly test.
asterix [Mon, 13 Jun 2011 09:13:13 +0000 (09:13 +0000)]
Remane the prj to insert it into nightly test.

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

12 years agoComply the demo project to new spi dma interface.
asterix [Mon, 13 Jun 2011 09:05:59 +0000 (09:05 +0000)]
Comply the demo project to new spi dma interface.

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

12 years agoAdd spi with dma implementation for sam3, and define generic header for both. Note...
asterix [Mon, 13 Jun 2011 09:04:24 +0000 (09:04 +0000)]
Add spi with dma implementation for sam3, and define generic header for both. Note: this module should be
refactor!

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

12 years agoAdd ssc pins definition for sam3 family.
asterix [Mon, 13 Jun 2011 09:00:45 +0000 (09:00 +0000)]
Add ssc pins definition for sam3 family.

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

12 years agosam3 i2c: Fix handling of CR start/stop bits and simplify initialization.
aleph [Fri, 10 Jun 2011 16:27:07 +0000 (16:27 +0000)]
sam3 i2c: Fix handling of CR start/stop bits and simplify initialization.

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

12 years agoMove the pdc definition in separate file and comply the other headers.
asterix [Fri, 10 Jun 2011 10:13:01 +0000 (10:13 +0000)]
Move the pdc definition in separate file and comply the other headers.

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

12 years agoAdd ssc register defines for sam3x.
asterix [Fri, 10 Jun 2011 10:09:37 +0000 (10:09 +0000)]
Add ssc register defines for sam3x.

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

12 years agoAdd hw defines for i2c bitbang.
asterix [Thu, 9 Jun 2011 16:11:41 +0000 (16:11 +0000)]
Add hw defines for i2c bitbang.

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

12 years agosam3 i2c: change stop function name, and read before set is not needed.
aleph [Thu, 9 Jun 2011 15:51:49 +0000 (15:51 +0000)]
sam3 i2c: change stop function name, and read before set is not needed.
Move set stop bit before reading a byte, and wait transfer bit complete
when reading last byte.

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

12 years agosam3 i2c: fix slave address setting.
aleph [Thu, 9 Jun 2011 15:51:48 +0000 (15:51 +0000)]
sam3 i2c: fix slave address setting.

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

12 years agosam3 ethernet: remove kludge to fix early sam3x-ek ethernet.
aleph [Mon, 6 Jun 2011 11:07:01 +0000 (11:07 +0000)]
sam3 ethernet: remove kludge to fix early sam3x-ek ethernet.

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

12 years agosam3: add twi definitions for SAM3N, SAM3S and SAM3U
aleph [Mon, 6 Jun 2011 11:06:59 +0000 (11:06 +0000)]
sam3: add twi definitions for SAM3N, SAM3S and SAM3U

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

12 years agosam3: add TWI (i2c) driver.
aleph [Tue, 31 May 2011 15:53:53 +0000 (15:53 +0000)]
sam3: add TWI (i2c) driver.

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

12 years agosam3: add twi to generic hw include file.
aleph [Tue, 31 May 2011 15:53:51 +0000 (15:53 +0000)]
sam3: add twi to generic hw include file.

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

12 years agosam3x: add TWI register definitions, and add peripherals port defines.
aleph [Mon, 30 May 2011 15:51:23 +0000 (15:51 +0000)]
sam3x: add TWI register definitions, and add peripherals port defines.

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

12 years agosam3x: add TWI I/O pins defines.
aleph [Mon, 30 May 2011 13:46:38 +0000 (13:46 +0000)]
sam3x: add TWI I/O pins defines.

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

12 years agonand driver: change some logging levels.
aleph [Mon, 30 May 2011 13:46:37 +0000 (13:46 +0000)]
nand driver: change some logging levels.

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

12 years agoEnable arduino-mega_aprs nightly test.
lottaviano [Fri, 27 May 2011 10:37:26 +0000 (10:37 +0000)]
Enable arduino-mega_aprs nightly test.

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

12 years agoUpdate triface empty and kernel templates and enable them in nightly test.
lottaviano [Fri, 27 May 2011 10:27:23 +0000 (10:27 +0000)]
Update triface empty and kernel templates and enable them in nightly test.

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

12 years agoUpdate triface example and fix nightly tests
lottaviano [Fri, 27 May 2011 10:15:42 +0000 (10:15 +0000)]
Update triface example and fix nightly tests

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

12 years agoFix nightly test warnings in hashtable implementation.
lottaviano [Fri, 27 May 2011 09:17:06 +0000 (09:17 +0000)]
Fix nightly test warnings in hashtable implementation.

The warning is reported with latest versions of GCC, starting
from 4.5.
The array definition didn't use a constant expression (as defined
by the standard). Defining an enum value fixes the issue.

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

12 years agoFix compilation issues in sam7 tcp server example.
lottaviano [Tue, 24 May 2011 14:53:15 +0000 (14:53 +0000)]
Fix compilation issues in sam7 tcp server example.

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

12 years agoUpdate sam7x tcp server project and prepare for nightly test.
lottaviano [Tue, 24 May 2011 14:42:37 +0000 (14:42 +0000)]
Update sam7x tcp server project and prepare for nightly test.

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

12 years agoRename sam7 tcp server example.
lottaviano [Tue, 24 May 2011 14:03:23 +0000 (14:03 +0000)]
Rename sam7 tcp server example.

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

12 years agosam3x tcp_server: use the correct input function in netif
lottaviano [Tue, 24 May 2011 13:47:50 +0000 (13:47 +0000)]
sam3x tcp_server: use the correct input function in netif

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

12 years agoEnable all arduino nightly tests
lottaviano [Tue, 24 May 2011 13:41:33 +0000 (13:41 +0000)]
Enable all arduino nightly tests

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

12 years agoUpdate arduino empty template, make it compile
lottaviano [Tue, 24 May 2011 13:41:31 +0000 (13:41 +0000)]
Update arduino empty template, make it compile

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

12 years agoUpdate arduino kernel template, make it compile
lottaviano [Tue, 24 May 2011 13:41:26 +0000 (13:41 +0000)]
Update arduino kernel template, make it compile

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

12 years agoUpdate arduino kernel footprint benchmark, make it compile
lottaviano [Tue, 24 May 2011 13:41:23 +0000 (13:41 +0000)]
Update arduino kernel footprint benchmark, make it compile

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

12 years agoUpdate arduino context switch benchmark, fix compiling issues
lottaviano [Tue, 24 May 2011 13:41:19 +0000 (13:41 +0000)]
Update arduino context switch benchmark, fix compiling issues

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

12 years agoUpdate sam3x tcp server example to the latest Ethernet changes.
lottaviano [Tue, 24 May 2011 13:41:15 +0000 (13:41 +0000)]
Update sam3x tcp server example to the latest Ethernet changes.

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

12 years agoUpdate the tcp_server example to use the correct ip input callback.
lottaviano [Tue, 24 May 2011 13:41:13 +0000 (13:41 +0000)]
Update the tcp_server example to use the correct ip input callback.

Use tcpip_input() as the network interface function, it's required when
using a kernel.
Change the IP address shown into a string and add a comment.

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

12 years agoMake MAC address configurable using hw files.
lottaviano [Tue, 24 May 2011 13:41:11 +0000 (13:41 +0000)]
Make MAC address configurable using hw files.

Users can now modify the hw_eth.c file to change MAC address. Adjust the
drivers accordingly.

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

12 years agoFix lwIP ethernet interface port.
lottaviano [Tue, 24 May 2011 13:41:08 +0000 (13:41 +0000)]
Fix lwIP ethernet interface port.

Remove leftovers from old lwIP ethernetif ports and
only use the new API.
The same processing is done in upper layers when using tcpip_input as
the input function of netif.

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

12 years agoFix warnings in nightly tests
lottaviano [Tue, 24 May 2011 08:07:13 +0000 (08:07 +0000)]
Fix warnings in nightly tests

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