bertos.git
14 years agoSTM32: fix build warning.
arighi [Thu, 20 May 2010 13:26:28 +0000 (13:26 +0000)]
STM32: fix build warning.

Fix the following build warning:
  bertos/cpu/cortex-m3/drv/clock_stm32.c: In function 'pll_clock':
  bertos/cpu/cortex-m3/drv/clock_stm32.c:74: warning: comparison between signed and unsigned integer expressions

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

14 years agoRemove svn tag.
asterix [Thu, 20 May 2010 12:12:33 +0000 (12:12 +0000)]
Remove svn tag.

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

14 years agolm3s1968: align the interrupt vector table to 1K boundary.
arighi [Thu, 20 May 2010 10:25:44 +0000 (10:25 +0000)]
lm3s1968: align the interrupt vector table to 1K boundary.

Moreover, do not waste space in RAM and reserve for the vtable an amount
of space proportional to the total number of interrupts defined on the
board.

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

14 years agoboards: rename ek-lpc-p2378 to lpc-p2378.
arighi [Thu, 20 May 2010 09:48:51 +0000 (09:48 +0000)]
boards: rename ek-lpc-p2378 to lpc-p2378.

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

14 years agobenchmark: enable kernel heap in kernel_footprint benchmark for all the supported...
arighi [Thu, 20 May 2010 09:47:57 +0000 (09:47 +0000)]
benchmark: enable kernel heap in kernel_footprint benchmark for all the supported boards.

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

14 years agoRevert last commit.
asterix [Wed, 19 May 2010 13:31:22 +0000 (13:31 +0000)]
Revert last commit.

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

14 years agoRemove svn tag.
asterix [Wed, 19 May 2010 13:26:45 +0000 (13:26 +0000)]
Remove svn tag.

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

14 years agoRevert last commit.
asterix [Wed, 19 May 2010 13:22:09 +0000 (13:22 +0000)]
Revert last commit.

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

14 years agoUpdate boards projects.
asterix [Wed, 19 May 2010 13:11:34 +0000 (13:11 +0000)]
Update boards projects.

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

14 years agoFix comments.
asterix [Wed, 19 May 2010 13:00:53 +0000 (13:00 +0000)]
Fix comments.

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

14 years agolm3s1968: disable kernel heap support for the kernel footprint benchmark.
arighi [Wed, 19 May 2010 12:57:28 +0000 (12:57 +0000)]
lm3s1968: disable kernel heap support for the kernel footprint benchmark.

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

14 years agolpc-p2378: unify kernel footprint and context switch naming in the wizard.
arighi [Wed, 19 May 2010 12:57:25 +0000 (12:57 +0000)]
lpc-p2378: unify kernel footprint and context switch naming in the wizard.

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

14 years agolm3s196: enable kernel preemption for the context_switch benchmark.
arighi [Wed, 19 May 2010 12:57:22 +0000 (12:57 +0000)]
lm3s196: enable kernel preemption for the context_switch benchmark.

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

14 years agoComply to new configuration files.
asterix [Wed, 19 May 2010 12:33:45 +0000 (12:33 +0000)]
Comply to new configuration files.

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

14 years agoRemove lcd configuration files, and add the lcd_hd44 configuration files.
asterix [Wed, 19 May 2010 12:33:10 +0000 (12:33 +0000)]
Remove lcd configuration files, and add the lcd_hd44 configuration files.

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

14 years agoAdd hw file for lcd 32122 module.
asterix [Wed, 19 May 2010 12:30:34 +0000 (12:30 +0000)]
Add hw file for lcd 32122 module.

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

14 years agoAdd lcd 32122a module cfg.
asterix [Wed, 19 May 2010 12:28:58 +0000 (12:28 +0000)]
Add lcd 32122a module cfg.

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

14 years agoClean up lcd 32122a driver and put into bertos driver.
asterix [Wed, 19 May 2010 12:28:12 +0000 (12:28 +0000)]
Clean up lcd 32122a driver and put into bertos driver.

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

14 years agoClean up. Silent warning.
asterix [Wed, 19 May 2010 12:26:51 +0000 (12:26 +0000)]
Clean up. Silent warning.

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

14 years agoRemove svn tag. Set cortex-m3 unsupported.
asterix [Wed, 19 May 2010 12:26:22 +0000 (12:26 +0000)]
Remove svn tag. Set cortex-m3 unsupported.

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

14 years agoARM7TDMI: get rid of gcc's __attribute__((interrupt)).
arighi [Wed, 19 May 2010 12:23:23 +0000 (12:23 +0000)]
ARM7TDMI: get rid of gcc's __attribute__((interrupt)).

GCC is too buggy when generating __attribute__((interrupt)) functions on
ARM (see previous stack corruption issues).

Get rid of this definition and use __attribute__((naked)) instead,
implementing all the required instructions in assembly to properly save
and restore context from an ISR.

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

14 years agoARM7TDMI: restore old IRQ_ENABLED() semantic.
arighi [Wed, 19 May 2010 10:04:03 +0000 (10:04 +0000)]
ARM7TDMI: restore old IRQ_ENABLED() semantic.

Check if at least one between FIQs or IRQs are enabled to determine if
interrupts are enabled.

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

14 years agobenchmark: context switch testcase improvement.
arighi [Wed, 19 May 2010 09:32:53 +0000 (09:32 +0000)]
benchmark: context switch testcase improvement.

Move LED_ON()/LED_OFF() just after sig_wait(). Since they represent a C
language barrier they basically disables optimizations around it,
causing time measurements to be more determistic.

Moreover, be sure to not start child processes before we set the right
priority.

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

14 years agoRemove svn tag.
asterix [Tue, 18 May 2010 15:01:39 +0000 (15:01 +0000)]
Remove svn tag.

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

14 years agoAdd copyright.
asterix [Tue, 18 May 2010 15:01:20 +0000 (15:01 +0000)]
Add copyright.

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

14 years agoRemove svn tag.
asterix [Tue, 18 May 2010 15:00:44 +0000 (15:00 +0000)]
Remove svn tag.

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

14 years agoRemove svn tag.
asterix [Tue, 18 May 2010 14:59:34 +0000 (14:59 +0000)]
Remove svn tag.

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

14 years agobenchmark: context_switch testcase refactoring.
arighi [Tue, 18 May 2010 12:22:09 +0000 (12:22 +0000)]
benchmark: context_switch testcase refactoring.

 - fix: be sure to print the context switch timer when low-priority
   process and high-priority process have completed their run
 - use only SIG_USER0 to synchronize the processes
 - reduce processes' stack size

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

14 years agoARM7TDMI: gcc stack corruption workaround.
arighi [Tue, 18 May 2010 12:22:06 +0000 (12:22 +0000)]
ARM7TDMI: gcc stack corruption workaround.

GCC corrupts the stack pointer and the frame pointer when calling
functions with at least one parameter inside ISR functions, declared
with __attribute__((interrupt)):

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41999

As a workaround, we redefine all the ISRs to call only a single
"void isr(void)" function. In this way, inside the actual isr() we can
use any function call as usual.

NOTE: this is inefficient, because it forces a totally unnecessary
additional function call, but it is a reliable way to avoid the
propagation of this bug to any project or architecture port that defines
interrupt routines.

When the bug will be fixed we will add an appropriate #ifdef to apply
the workaround only when old versions of gcc are used.

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

14 years agoIntroduce NOINLINE macro.
arighi [Tue, 18 May 2010 12:22:03 +0000 (12:22 +0000)]
Introduce NOINLINE macro.

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

14 years agoClean up.
asterix [Mon, 17 May 2010 17:11:16 +0000 (17:11 +0000)]
Clean up.

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

14 years agoRemove svn tag.
asterix [Mon, 17 May 2010 17:09:33 +0000 (17:09 +0000)]
Remove svn tag.

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

14 years agoClean up. Remove CVS and SVN tags.
asterix [Mon, 17 May 2010 16:44:56 +0000 (16:44 +0000)]
Clean up. Remove CVS and SVN tags.

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

14 years agoAdd input hw file.
asterix [Mon, 17 May 2010 08:37:19 +0000 (08:37 +0000)]
Add input hw file.

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

14 years agoReformat.
asterix [Mon, 17 May 2010 08:24:48 +0000 (08:24 +0000)]
Reformat.

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

14 years agoAdd semaphore to benchmark test.
asterix [Thu, 13 May 2010 17:22:11 +0000 (17:22 +0000)]
Add semaphore to benchmark test.

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

14 years agoAdd semaphore to benchmark test.
asterix [Thu, 13 May 2010 17:15:48 +0000 (17:15 +0000)]
Add semaphore to benchmark test.

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

14 years agoAdd missing cfg.
asterix [Thu, 13 May 2010 17:14:07 +0000 (17:14 +0000)]
Add missing cfg.

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

14 years agoAdd semaphore to benchmark test.
asterix [Thu, 13 May 2010 17:07:47 +0000 (17:07 +0000)]
Add semaphore to benchmark test.

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

14 years agoUpdate hw of all project.
asterix [Thu, 13 May 2010 16:55:10 +0000 (16:55 +0000)]
Update hw of all project.

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

14 years agoek-lpc-p2378: add preset with context_switch and kernel_footprint benchmarks.
arighi [Thu, 13 May 2010 16:36:06 +0000 (16:36 +0000)]
ek-lpc-p2378: add preset with context_switch and kernel_footprint benchmarks.

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

14 years agobenchmark: "semaphores" module should be a dependency for kernel_footprint.
arighi [Thu, 13 May 2010 16:35:50 +0000 (16:35 +0000)]
benchmark: "semaphores" module should be a dependency for kernel_footprint.

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

14 years agowizard: add shebang and copyright notice to create_preset.py script.
arighi [Thu, 13 May 2010 16:35:48 +0000 (16:35 +0000)]
wizard: add shebang and copyright notice to create_preset.py script.

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

14 years agobenchmark: add semaphore code to the kernel_footprint benchmark.
arighi [Thu, 13 May 2010 16:35:43 +0000 (16:35 +0000)]
benchmark: add semaphore code to the kernel_footprint benchmark.

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

14 years agoUpdate triface project.
asterix [Thu, 13 May 2010 16:30:00 +0000 (16:30 +0000)]
Update triface project.

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

14 years agoUpdate interrupt vector name.
asterix [Thu, 13 May 2010 16:28:50 +0000 (16:28 +0000)]
Update interrupt vector name.

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

14 years agoAdd example for arduino board.
asterix [Thu, 13 May 2010 16:05:39 +0000 (16:05 +0000)]
Add example for arduino board.

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

14 years agoAdd hw source file for afsk modem.
asterix [Thu, 13 May 2010 16:04:51 +0000 (16:04 +0000)]
Add hw source file for afsk modem.

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

14 years agoRemove svn tag.
asterix [Thu, 13 May 2010 16:01:45 +0000 (16:01 +0000)]
Remove svn tag.

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

14 years agobenchmark: print a carriage return "\r" after new line "\n" in context_switch.
arighi [Thu, 13 May 2010 15:48:36 +0000 (15:48 +0000)]
benchmark: print a carriage return "\r" after new line "\n" in context_switch.

This allows to correctly show the output messages when they are not
processed within a terminal (e.g., from minicom).

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

14 years agoReformat.
asterix [Thu, 13 May 2010 15:36:01 +0000 (15:36 +0000)]
Reformat.

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

14 years agoRemove test label.
asterix [Thu, 13 May 2010 15:33:41 +0000 (15:33 +0000)]
Remove test label.

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

14 years agoTypo.
asterix [Thu, 13 May 2010 15:14:28 +0000 (15:14 +0000)]
Typo.

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

14 years agoTypo.
asterix [Thu, 13 May 2010 15:08:55 +0000 (15:08 +0000)]
Typo.

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

14 years agoLPC-P2378: implement status LED on/off macros.
arighi [Thu, 13 May 2010 15:08:53 +0000 (15:08 +0000)]
LPC-P2378: implement status LED on/off macros.

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

14 years agoRemove svn id.
asterix [Thu, 13 May 2010 14:47:45 +0000 (14:47 +0000)]
Remove svn id.

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

14 years agoARM7TDMI: simplify IRQ_SAVE_DISABLE().
arighi [Thu, 13 May 2010 13:59:10 +0000 (13:59 +0000)]
ARM7TDMI: simplify IRQ_SAVE_DISABLE().

The temporary register moved to cpsr (to disable interrupts) can be
simply declared using a "register" variable.

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

14 years agoARM7TDMI: optimize IRQ macros.
arighi [Thu, 13 May 2010 13:20:43 +0000 (13:20 +0000)]
ARM7TDMI: optimize IRQ macros.

Instead of using register "r0" explicitly in IRQ_ENABLE(),
IRQ_DISABLE(), etc. consider to let the compiler decide the best
register to use.

Moreover, add "memory" to the clobber list so that all the IRQ functions
implicitly add a memory barrier. In this way we're sure memory operation
ordering is always preserved on either side of the IRQ operation.

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

14 years agoAdd the hashtable test module.
arighi [Thu, 13 May 2010 13:05:48 +0000 (13:05 +0000)]
Add the hashtable test module.

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

14 years agohashtable: fix build warning.
arighi [Thu, 13 May 2010 13:05:42 +0000 (13:05 +0000)]
hashtable: fix build warning.

Fix the following build warning:

  warning: missing braces around initializer

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

14 years agohashtable: do not wrap text to avoid truncated description in the wizard.
arighi [Thu, 13 May 2010 13:05:35 +0000 (13:05 +0000)]
hashtable: do not wrap text to avoid truncated description in the wizard.

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

14 years agoremove unneed function. Use hpread in context switch benchmark.
asterix [Thu, 13 May 2010 12:23:13 +0000 (12:23 +0000)]
remove unneed function. Use hpread in context switch benchmark.

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

14 years agoFix debug port select.
asterix [Thu, 13 May 2010 12:21:10 +0000 (12:21 +0000)]
Fix debug port select.

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

14 years agostm32p103: create a distinct process to blink the status LED in the example application.
arighi [Wed, 12 May 2010 16:32:46 +0000 (16:32 +0000)]
stm32p103: create a distinct process to blink the status LED in the example application.

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

14 years agostmp103: enable kernel preemption, task priorities and heap allocator in the example...
arighi [Wed, 12 May 2010 16:26:46 +0000 (16:26 +0000)]
stmp103: enable kernel preemption, task priorities and heap allocator in the example application.

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

14 years agostm32p103: change debug message in example application.
arighi [Wed, 12 May 2010 16:26:43 +0000 (16:26 +0000)]
stm32p103: change debug message in example application.

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

14 years agoSTM32: fix GPIO settings in kdebug module.
arighi [Wed, 12 May 2010 15:01:53 +0000 (15:01 +0000)]
STM32: fix GPIO settings in kdebug module.

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

14 years agoSTM32: correctly set PCLK1 to 36MHz (max allowed frequency).
arighi [Wed, 12 May 2010 15:01:50 +0000 (15:01 +0000)]
STM32: correctly set PCLK1 to 36MHz (max allowed frequency).

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

14 years agoFix typo.
asterix [Wed, 12 May 2010 14:38:46 +0000 (14:38 +0000)]
Fix typo.

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

14 years agoAdd ek-lm3s1968 kernel footprint benchmark.
asterix [Wed, 12 May 2010 14:36:25 +0000 (14:36 +0000)]
Add ek-lm3s1968 kernel footprint benchmark.

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

14 years agoAdd triface kernel footprint benchmark.
asterix [Wed, 12 May 2010 14:28:36 +0000 (14:28 +0000)]
Add triface kernel footprint benchmark.

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

14 years agoAdd function to read hp ticks.
asterix [Wed, 12 May 2010 14:12:41 +0000 (14:12 +0000)]
Add function to read hp ticks.

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

14 years agoAdd switch context module.
asterix [Wed, 12 May 2010 14:08:30 +0000 (14:08 +0000)]
Add switch context module.

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

14 years agoAdd context switch benchmark for all boards.
asterix [Wed, 12 May 2010 14:07:23 +0000 (14:07 +0000)]
Add context switch benchmark for all boards.

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

14 years agostm32p103: update "blinky" example using timer_delay().
arighi [Wed, 12 May 2010 12:17:13 +0000 (12:17 +0000)]
stm32p103: update "blinky" example using timer_delay().

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

14 years agoSTM32: add basic kdebug support.
arighi [Wed, 12 May 2010 12:15:36 +0000 (12:15 +0000)]
STM32: add basic kdebug support.

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

14 years agoSTM32: initialize the clock for all the peripherals at boot.
arighi [Wed, 12 May 2010 12:15:31 +0000 (12:15 +0000)]
STM32: initialize the clock for all the peripherals at boot.

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

14 years agoUpdate hw files and cfg.
asterix [Wed, 12 May 2010 10:51:16 +0000 (10:51 +0000)]
Update hw files and cfg.

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

14 years agoLM3S: remove kdebug dependency from serial driver.
arighi [Wed, 12 May 2010 10:50:56 +0000 (10:50 +0000)]
LM3S: remove kdebug dependency from serial driver.

This allows to create projects that use the kdebug module without
necessarily enabling the serial driver.

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

14 years agoAdd project description.
asterix [Wed, 12 May 2010 10:50:22 +0000 (10:50 +0000)]
Add project description.

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

14 years agoUpdate programmer type.
asterix [Wed, 12 May 2010 10:49:54 +0000 (10:49 +0000)]
Update programmer type.

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

14 years agoAdd hw led module.
asterix [Wed, 12 May 2010 10:41:20 +0000 (10:41 +0000)]
Add hw led module.

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

14 years agoMove leds function to hw file. Comply flash api. Add Copyright.
asterix [Wed, 12 May 2010 10:38:36 +0000 (10:38 +0000)]
Move leds function to hw file. Comply flash api. Add Copyright.

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

14 years agoUse benchmark module. Refactor the benchmark projects.
asterix [Tue, 11 May 2010 14:27:38 +0000 (14:27 +0000)]
Use benchmark module. Refactor the benchmark projects.

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

14 years agoAdd benchmark modules.
asterix [Tue, 11 May 2010 13:59:20 +0000 (13:59 +0000)]
Add benchmark modules.

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

14 years agoComply to new api.
asterix [Tue, 11 May 2010 12:44:37 +0000 (12:44 +0000)]
Comply to new api.

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

14 years agoAdd flash module.
asterix [Tue, 11 May 2010 12:44:17 +0000 (12:44 +0000)]
Add flash module.

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

14 years agoRefactor module.
asterix [Tue, 11 May 2010 12:43:55 +0000 (12:43 +0000)]
Refactor module.

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

14 years agoComply to new flash module.
asterix [Tue, 11 May 2010 10:14:51 +0000 (10:14 +0000)]
Comply to new flash module.

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

14 years agoAdd flash module. Refactor the cpu implementation.
asterix [Tue, 11 May 2010 10:13:50 +0000 (10:13 +0000)]
Add flash module. Refactor the cpu implementation.

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

14 years agoAdd flash module. Refactor the cpu implementation.
asterix [Tue, 11 May 2010 10:13:35 +0000 (10:13 +0000)]
Add flash module. Refactor the cpu implementation.

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

14 years agoAdd -fomit-frame-pointer when we are not in debug mode.
arighi [Mon, 10 May 2010 16:22:14 +0000 (16:22 +0000)]
Add -fomit-frame-pointer when we are not in debug mode.

We can implement this in bertos/rules.mk since we already use different
build options when debug mode is enabled or not.

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

14 years agoRevert "wizard: add -fomit-frame-pointer when we are not in debug mode."
arighi [Mon, 10 May 2010 16:22:12 +0000 (16:22 +0000)]
Revert "wizard: add -fomit-frame-pointer when we are not in debug mode."

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

14 years agowizard: add -fomit-frame-pointer when we are not in debug mode.
arighi [Mon, 10 May 2010 14:42:53 +0000 (14:42 +0000)]
wizard: add -fomit-frame-pointer when we are not in debug mode.

This closes #128.

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

14 years agoSTM32: correctly evaluate the CPU clocking configuration.
arighi [Mon, 10 May 2010 14:36:48 +0000 (14:36 +0000)]
STM32: correctly evaluate the CPU clocking configuration.

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

14 years agoAdd triface example.
asterix [Fri, 7 May 2010 17:13:25 +0000 (17:13 +0000)]
Add triface example.

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

14 years agoAdd wizard mark. Add configuration file. Move some conf to its file.
asterix [Fri, 7 May 2010 16:02:18 +0000 (16:02 +0000)]
Add wizard mark. Add configuration file. Move some conf to its file.

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

14 years agoClean up.
asterix [Fri, 7 May 2010 16:01:25 +0000 (16:01 +0000)]
Clean up.

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

14 years agoAdd wizard mark. Clean up. Use kfile instead ser.
asterix [Fri, 7 May 2010 16:01:09 +0000 (16:01 +0000)]
Add wizard mark. Clean up. Use kfile instead ser.

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

14 years agoClean up.
asterix [Fri, 7 May 2010 15:49:43 +0000 (15:49 +0000)]
Clean up.

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