bertos.git
13 years agoDetect code for STM32F100RB CPU (cortex-m3 family) added.
lottaviano [Wed, 4 May 2011 12:59:49 +0000 (12:59 +0000)]
Detect code for STM32F100RB CPU (cortex-m3 family) added.

Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
Signed-off-by: Andrea Scalise <andreascalo@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4873 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agomt29f nand driver: add kblock interface.
aleph [Wed, 4 May 2011 10:03:54 +0000 (10:03 +0000)]
mt29f nand driver: add kblock interface.

kblock blocks are mapped on nand 128k erase blocks.

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

13 years agomt29f driver: don't check ECC on empty pages, or pages not written by driver itself.
aleph [Wed, 4 May 2011 10:03:51 +0000 (10:03 +0000)]
mt29f driver: don't check ECC on empty pages, or pages not written by driver itself.

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

13 years agoMT29F NAND driver: implement bad block handling and remapping.
aleph [Mon, 2 May 2011 14:12:16 +0000 (14:12 +0000)]
MT29F NAND driver: implement bad block handling and remapping.
Preliminar version: need to implement kblock interface.

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

13 years agomt29f nand driver: use context the right way, storing and using right chip select...
aleph [Wed, 27 Apr 2011 14:38:20 +0000 (14:38 +0000)]
mt29f nand driver: use context the right way, storing and using right chip select when accessing NAND chip.

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

13 years agoFix lwIP retransmission problems.
lottaviano [Fri, 22 Apr 2011 11:13:48 +0000 (11:13 +0000)]
Fix lwIP retransmission problems.

In some cases lost packets where never retransmitted because
timeouts where handled improperly.
This patch implements a global timeout list, which solves the
issue.
The current implementation cannot be used with preemptive kernel;
concurrency issues will be solved with lwIP v. 1.4.

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

13 years agodoc: Improve timer documentation.
lottaviano [Fri, 22 Apr 2011 11:06:40 +0000 (11:06 +0000)]
doc: Improve timer documentation.

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

13 years agosam3x tcpserver example: fix warning when building the example.
aleph [Thu, 21 Apr 2011 16:56:42 +0000 (16:56 +0000)]
sam3x tcpserver example: fix warning when building the example.

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

13 years agosam3 nand driver: initial ECC implementation.
aleph [Thu, 21 Apr 2011 16:30:58 +0000 (16:30 +0000)]
sam3 nand driver: initial ECC implementation.

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

13 years agomt29f NAND driver: remove kblock interface. A very simple FTL layer
aleph [Thu, 21 Apr 2011 09:15:52 +0000 (09:15 +0000)]
mt29f NAND driver: remove kblock interface.  A very simple FTL layer
will be added to implement kblock interface on top of this low level driver.

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

13 years agosam3 smc definitions, add ECC registers.
aleph [Thu, 21 Apr 2011 09:13:53 +0000 (09:13 +0000)]
sam3 smc definitions, add ECC registers.

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

13 years agomt29f NAND driver: fix I/O pin numbers and row/column addressing.
aleph [Tue, 19 Apr 2011 17:04:19 +0000 (17:04 +0000)]
mt29f NAND driver: fix I/O pin numbers and row/column addressing.

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

13 years agomt29f NAND driver: misc improvements (erase not working yet...)
aleph [Thu, 14 Apr 2011 12:53:00 +0000 (12:53 +0000)]
mt29f NAND driver: misc improvements (erase not working yet...)

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

13 years agoRemove unneeded instruction in AVR timer.
lottaviano [Thu, 14 Apr 2011 10:13:55 +0000 (10:13 +0000)]
Remove unneeded instruction in AVR timer.

The ASSR register is used for asynchronous counter timer2. Checked
for ATmega8/16, ATmega48/168/328, and ATmega1280.

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

13 years agomt29f on SAM3: handle read/write timeout; fix SMC configuration;
aleph [Wed, 13 Apr 2011 15:53:30 +0000 (15:53 +0000)]
mt29f on SAM3: handle read/write timeout; fix SMC configuration;
fix SMC's SRAM base address.

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

13 years agosam3 definitions: add SMC_CFG and SMC_CTRL bits.
aleph [Wed, 13 Apr 2011 15:50:57 +0000 (15:50 +0000)]
sam3 definitions: add SMC_CFG and SMC_CTRL bits.

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

13 years agoFix type
aleph [Wed, 13 Apr 2011 12:54:52 +0000 (12:54 +0000)]
Fix type

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

13 years agowizard: use a reliable order for enabled modules in the project file
lottaviano [Tue, 12 Apr 2011 05:15:25 +0000 (05:15 +0000)]
wizard: use a reliable order for enabled modules in the project file

This should minimize the diff in the project file when
enabling/disabling a module in a BeRTOS project stored inside a VCS.

Signed-off-by: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4856 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agowizard: use a deterministic order for files in the Makefiles
lottaviano [Tue, 12 Apr 2011 05:15:13 +0000 (05:15 +0000)]
wizard: use a deterministic order for files in the Makefiles

Signed-off-by: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4855 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agowizard: generate custom Makefile variables with the right prefix
lottaviano [Tue, 12 Apr 2011 05:15:01 +0000 (05:15 +0000)]
wizard: generate custom Makefile variables with the right prefix

This fixes the bug where custom Makefile variables are not correctly
defined if the project is not in a directory which name is the name of
the project.

Signed-off-by: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4854 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agoMT29F driver: first implementation of read/write functions.
aleph [Mon, 11 Apr 2011 17:28:06 +0000 (17:28 +0000)]
MT29F driver: first implementation of read/write functions.

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

13 years agoAdd serial driver for AVR XMega CPU.
lottaviano [Sat, 9 Apr 2011 13:45:50 +0000 (13:45 +0000)]
Add serial driver for AVR XMega CPU.

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

13 years agoMove AVR mega serial files to prepare the XMega patch
lottaviano [Sat, 9 Apr 2011 13:45:18 +0000 (13:45 +0000)]
Move AVR mega serial files to prepare the XMega patch

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

13 years agoFix project generation for ATmega CPU.
lottaviano [Sat, 9 Apr 2011 13:44:46 +0000 (13:44 +0000)]
Fix project generation for ATmega CPU.

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

13 years agoImplement AVR XMega timer driver.
lottaviano [Sat, 9 Apr 2011 13:44:08 +0000 (13:44 +0000)]
Implement AVR XMega timer driver.

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

13 years agoMove AVR timer files to prepare XMega patches.
lottaviano [Sat, 9 Apr 2011 13:43:40 +0000 (13:43 +0000)]
Move AVR timer files to prepare XMega patches.

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

13 years agoAdd to the wizard AVR XMega init file.
lottaviano [Sat, 9 Apr 2011 13:43:12 +0000 (13:43 +0000)]
Add to the wizard AVR XMega init file.

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

13 years agoAdd wizard definitions for AVR XMega MCU.
lottaviano [Sat, 9 Apr 2011 13:42:52 +0000 (13:42 +0000)]
Add wizard definitions for AVR XMega MCU.

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

13 years agoAdd init file to enable all interrupt priorities at boot.
lottaviano [Sat, 9 Apr 2011 13:42:34 +0000 (13:42 +0000)]
Add init file to enable all interrupt priorities at boot.

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

13 years agoAdd debug support for AVR XMega MCU.
lottaviano [Sat, 9 Apr 2011 13:42:16 +0000 (13:42 +0000)]
Add debug support for AVR XMega MCU.

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

13 years agoAdd detect macros for AVR XMega MCU.
lottaviano [Sat, 9 Apr 2011 13:41:54 +0000 (13:41 +0000)]
Add detect macros for AVR XMega MCU.

Hardware interrupts should be enabled separately by using the lines:
  #include <avr/io.h>
  PMIC.CTRL |= PMIC_LOLVLEX_bm | PMIC_MEDLVLEX_bm | PMIC_HILVLEX_bm;
These should go into a separate init file specific for AVR XMega.

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

13 years agoMT29F NAND flash driver: add block erase function.
aleph [Fri, 8 Apr 2011 15:48:21 +0000 (15:48 +0000)]
MT29F NAND flash driver: add block erase function.

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

13 years agosam3 SMC includes, add NFC registers definitions.
aleph [Fri, 8 Apr 2011 15:47:17 +0000 (15:47 +0000)]
sam3 SMC includes, add NFC registers definitions.

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

13 years agosam3x-ek board: allow to build the display demo using the IAR compiler
arighi [Fri, 8 Apr 2011 09:45:04 +0000 (09:45 +0000)]
sam3x-ek board: allow to build the display demo using the IAR compiler

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

13 years agosam3x: add IAR-specific linker scripts
arighi [Fri, 8 Apr 2011 09:44:59 +0000 (09:44 +0000)]
sam3x: add IAR-specific linker scripts

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

13 years agomenu: avoid starving other processes in menu_handle()
arighi [Fri, 8 Apr 2011 09:44:57 +0000 (09:44 +0000)]
menu: avoid starving other processes in menu_handle()

When CONFIG_MENU_SMOOTH is enabled the menu_handle() can run
indefinitely without explicitly releasing the CPU.

So, add a voluntary preemption point in menu_handle() to avoid
starvation of the other processes when the kernel preemption is not
enabled.

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

13 years agoCM3: add support to the IAR Embedded Workbench(TM) compiler
arighi [Fri, 8 Apr 2011 09:44:54 +0000 (09:44 +0000)]
CM3: add support to the IAR Embedded Workbench(TM) compiler

Allow to build BeRTOS projects based on the CM3 architecture with the
IAR compiler.

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

13 years agoadd support to the IAR Embedded Workbench(TM) compiler
arighi [Fri, 8 Apr 2011 09:44:50 +0000 (09:44 +0000)]
add support to the IAR Embedded Workbench(TM) compiler

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

13 years agoFix compilation warnings.
lottaviano [Thu, 7 Apr 2011 07:53:52 +0000 (07:53 +0000)]
Fix compilation warnings.

LWIP sys_thread_new() should not modify the thread name in input,
fixed using the const qualifier.
This is also fixed in upstream LWIP code.

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

13 years agoInitial sketch of a driver for MT29F serial NAND.
aleph [Wed, 6 Apr 2011 15:48:25 +0000 (15:48 +0000)]
Initial sketch of a driver for MT29F serial NAND.

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

13 years agosam3: add missing SMC register definition.
aleph [Wed, 6 Apr 2011 15:44:57 +0000 (15:44 +0000)]
sam3: add missing SMC register definition.

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

13 years agoFix warnings.
asterix [Mon, 4 Apr 2011 17:33:05 +0000 (17:33 +0000)]
Fix warnings.

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

13 years agoSilence new compiler warnings.
batt [Sun, 3 Apr 2011 13:21:31 +0000 (13:21 +0000)]
Silence new compiler warnings.

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

13 years agoFix warnings on new compilers.
batt [Sun, 3 Apr 2011 13:08:59 +0000 (13:08 +0000)]
Fix warnings on new compilers.

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

13 years agotest: fix path
aleph [Fri, 1 Apr 2011 09:16:42 +0000 (09:16 +0000)]
test: fix path

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

13 years agoAdd sam3x-ek tcp/ip example to nightly test
aleph [Wed, 30 Mar 2011 14:55:01 +0000 (14:55 +0000)]
Add sam3x-ek tcp/ip example to nightly test

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

13 years agosam3x-ek: add TCP/IP example.
aleph [Wed, 30 Mar 2011 14:54:01 +0000 (14:54 +0000)]
sam3x-ek: add TCP/IP example.

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

13 years agoAdd timer dependency to ethernet driver.
aleph [Wed, 30 Mar 2011 14:52:42 +0000 (14:52 +0000)]
Add timer dependency to ethernet driver.

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

13 years agosam3: add sam3 generic tag to SAM3X8 cpu info, to allow eth driver build.
aleph [Wed, 30 Mar 2011 14:05:39 +0000 (14:05 +0000)]
sam3: add sam3 generic tag to SAM3X8 cpu info, to allow eth driver build.

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

13 years agosam3 eth: consider PHY auto-negotiation results when initializing emac.
aleph [Wed, 30 Mar 2011 14:05:00 +0000 (14:05 +0000)]
sam3 eth: consider PHY auto-negotiation results when initializing emac.

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

13 years agoFix variable name. Remove for now the api from doxygen. Add callback for streaming.
asterix [Wed, 30 Mar 2011 10:33:27 +0000 (10:33 +0000)]
Fix variable name. Remove for now the api from doxygen. Add callback for streaming.

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

13 years agoAdd comment. Clean up. Sync dac with the timer.
asterix [Tue, 29 Mar 2011 15:12:05 +0000 (15:12 +0000)]
Add comment. Clean up. Sync dac with the timer.

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

13 years agoReformat dac module to use tc. Clean up code.
asterix [Tue, 29 Mar 2011 10:13:30 +0000 (10:13 +0000)]
Reformat dac module to use tc. Clean up code.

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

13 years agoDefine dac trigger selections.
asterix [Tue, 29 Mar 2011 10:11:22 +0000 (10:11 +0000)]
Define dac trigger selections.

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

13 years agoAdd the hw context in the dac structure. Reformat to use the new context.
asterix [Tue, 29 Mar 2011 10:02:51 +0000 (10:02 +0000)]
Add the hw context in the dac structure. Reformat to use the new context.

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

13 years agoFix pasto. Add define for tc clock selections.
asterix [Tue, 29 Mar 2011 09:59:20 +0000 (09:59 +0000)]
Fix pasto. Add define for tc clock selections.

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

13 years agoCorrectly set errno when sockets API is enabled.
lottaviano [Mon, 28 Mar 2011 12:18:41 +0000 (12:18 +0000)]
Correctly set errno when sockets API is enabled.

The sockets.c provides BSD compatible sockets API, which uses errno
to communicate which error occurred.
Without setting ERRNO, it's not possible to find out which error
occurred, eg. it's not possible to understand if the peer reset the
connection after a call to send().

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

13 years agoAdd sam3x dac private funcion to use hight level api.
asterix [Mon, 28 Mar 2011 10:25:37 +0000 (10:25 +0000)]
Add sam3x dac private funcion to use hight level api.

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

13 years agoFirst implementation of dac api (beta version).
asterix [Mon, 28 Mar 2011 09:57:47 +0000 (09:57 +0000)]
First implementation of dac api (beta version).

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

13 years agoAdd header to choose the right cpu dependet dac implementation.
asterix [Mon, 28 Mar 2011 09:56:56 +0000 (09:56 +0000)]
Add header to choose the right cpu dependet dac implementation.

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

13 years agoFix typo.
asterix [Mon, 28 Mar 2011 09:29:21 +0000 (09:29 +0000)]
Fix typo.

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

13 years agosam3 eth: fix phy initialization.
aleph [Sat, 26 Mar 2011 17:34:48 +0000 (17:34 +0000)]
sam3 eth: fix phy initialization.

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

13 years agoSet the correct svn:eol-style=native property, please ignore.
batt [Sat, 26 Mar 2011 08:43:59 +0000 (08:43 +0000)]
Set the correct svn:eol-style=native  property, please ignore.

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

13 years agoRemove wrong eol.
asterix [Fri, 25 Mar 2011 17:03:38 +0000 (17:03 +0000)]
Remove wrong eol.

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

13 years agoPasto.
asterix [Fri, 25 Mar 2011 16:46:31 +0000 (16:46 +0000)]
Pasto.

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

13 years agoRemove compile time warnings.
lottaviano [Fri, 25 Mar 2011 08:18:49 +0000 (08:18 +0000)]
Remove compile time warnings.

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

13 years agoRemove doxygen warnings
lottaviano [Fri, 25 Mar 2011 08:18:25 +0000 (08:18 +0000)]
Remove doxygen warnings

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

13 years agoUpdate the project to compile dacc.
asterix [Wed, 23 Mar 2011 18:56:55 +0000 (18:56 +0000)]
Update the project to compile dacc.

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

13 years agoAdd write function for dac.
asterix [Wed, 23 Mar 2011 18:55:56 +0000 (18:55 +0000)]
Add write function for dac.

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

13 years agoAdd preliminary Timer counter register definition.
asterix [Wed, 23 Mar 2011 18:54:43 +0000 (18:54 +0000)]
Add preliminary Timer counter register definition.

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

13 years agosam3 eth: handle phy addr in phy maintenance functions; increase management
aleph [Wed, 23 Mar 2011 17:38:52 +0000 (17:38 +0000)]
sam3 eth: handle phy addr in phy maintenance functions; increase management
interface clock divider; change phy address.

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

13 years agoAdd SAM3 cpu to printf formatters definition for lwip
aleph [Wed, 23 Mar 2011 17:25:53 +0000 (17:25 +0000)]
Add SAM3 cpu to printf formatters definition for lwip

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

13 years agoFirst implementation of dac module.
asterix [Wed, 23 Mar 2011 15:07:32 +0000 (15:07 +0000)]
First implementation of dac module.

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

13 years agoFix headerguard.
asterix [Wed, 23 Mar 2011 14:58:06 +0000 (14:58 +0000)]
Fix headerguard.

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

13 years agoFix cpu tag to differ from sam3n and sam3x.
asterix [Wed, 23 Mar 2011 14:57:31 +0000 (14:57 +0000)]
Fix cpu tag to differ from sam3n and sam3x.

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

13 years agoAdd dma register definition for dac.
asterix [Tue, 22 Mar 2011 18:47:14 +0000 (18:47 +0000)]
Add dma register definition for dac.

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

13 years agoAdd sam3x example to nightly test.
asterix [Tue, 22 Mar 2011 14:57:50 +0000 (14:57 +0000)]
Add sam3x example to nightly test.

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

13 years agoSome fix to build example with nightly test.
asterix [Tue, 22 Mar 2011 14:54:48 +0000 (14:54 +0000)]
Some fix to build example with nightly test.

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

13 years agoUpdate to new name.
asterix [Tue, 22 Mar 2011 14:42:08 +0000 (14:42 +0000)]
Update to new name.

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

13 years agoRename project files.
asterix [Tue, 22 Mar 2011 14:41:16 +0000 (14:41 +0000)]
Rename project files.

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

13 years agoRename project to allow the nightly test build.
asterix [Tue, 22 Mar 2011 14:37:33 +0000 (14:37 +0000)]
Rename project to allow the nightly test build.

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

13 years agoAdd dacc sam3x register definitions.
asterix [Tue, 22 Mar 2011 14:26:45 +0000 (14:26 +0000)]
Add dacc sam3x register definitions.

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

13 years agoAdd adc to example.
asterix [Tue, 22 Mar 2011 13:10:18 +0000 (13:10 +0000)]
Add adc to example.

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

13 years agoAdd some utility to read the temperature sensor on chip.
asterix [Tue, 22 Mar 2011 13:09:40 +0000 (13:09 +0000)]
Add some utility to read the temperature sensor on chip.

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

13 years agoFix log message. Add define for temperature sensor.
asterix [Tue, 22 Mar 2011 13:08:45 +0000 (13:08 +0000)]
Fix log message. Add define for temperature sensor.

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

13 years agoAdd flag to configure the adc with wizard.
asterix [Mon, 21 Mar 2011 18:37:06 +0000 (18:37 +0000)]
Add flag to configure the adc with wizard.

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

13 years agoAdd comments and clean up.
asterix [Mon, 21 Mar 2011 18:04:26 +0000 (18:04 +0000)]
Add comments and clean up.

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

13 years agoAdd adc register definifion for sam3x.
asterix [Mon, 21 Mar 2011 17:57:19 +0000 (17:57 +0000)]
Add adc register definifion for sam3x.

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

13 years agoAdd adc implementation for sam3x.
asterix [Mon, 21 Mar 2011 17:56:21 +0000 (17:56 +0000)]
Add adc implementation for sam3x.

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

13 years agoFix (more) doxygen warnings
lottaviano [Sat, 19 Mar 2011 15:24:44 +0000 (15:24 +0000)]
Fix (more) doxygen warnings

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

13 years agoComply register name to datasheet.
asterix [Fri, 18 Mar 2011 12:37:30 +0000 (12:37 +0000)]
Comply register name to datasheet.

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

13 years agoAdd register definition for sam3 adc.
asterix [Fri, 18 Mar 2011 09:50:02 +0000 (09:50 +0000)]
Add register definition for sam3 adc.

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

13 years agoFix nightly test warnings
lottaviano [Thu, 17 Mar 2011 12:11:19 +0000 (12:11 +0000)]
Fix nightly test warnings

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

13 years agoAdd seven segment LED display implementation for Arduino Mega.
lottaviano [Wed, 16 Mar 2011 13:33:13 +0000 (13:33 +0000)]
Add seven segment LED display implementation for Arduino Mega.

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

13 years agoAdd seven segment LED driver.
lottaviano [Wed, 16 Mar 2011 13:26:11 +0000 (13:26 +0000)]
Add seven segment LED driver.

Signed-off-by: Fabio Bizzi <fabio.bizzi@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4779 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agoAdd seven segmend LED display driver (config files).
lottaviano [Wed, 16 Mar 2011 13:06:13 +0000 (13:06 +0000)]
Add seven segmend LED display driver (config files).

This driver allows to display text on a seven segment LED display.

Signed-off-by: Fabio Bizzi <fabio.bizzi@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4778 38d2e660-2303-0410-9eaa-f027e97ec537

13 years agosam3: include emac definition
aleph [Wed, 16 Mar 2011 10:34:57 +0000 (10:34 +0000)]
sam3: include emac definition

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

13 years agoEthernet driver for SAM3X.
aleph [Wed, 16 Mar 2011 10:33:22 +0000 (10:33 +0000)]
Ethernet driver for SAM3X.

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

13 years agosam3: add register definitions for RSTC and EMAC
aleph [Wed, 16 Mar 2011 10:32:09 +0000 (10:32 +0000)]
sam3: add register definitions for RSTC and EMAC

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

13 years agoAllow selectively disabling debug features to reduce code/data size
arighi [Tue, 15 Mar 2011 16:59:27 +0000 (16:59 +0000)]
Allow selectively disabling debug features to reduce code/data size

Kdebug already contained preprocessor symbols for turning off ASSERT2()
messages and trace, but it was not possible to override them from
cfg_debug.h.

This patch renames the old options to use positive logic and add a
third option to enable walls. The defaults remain unchanged.

TODO: add these settings to cfg/cfg_debug.h, along with some
documentation.

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