bertos.git
14 years agoFix typo.
asterix [Thu, 20 May 2010 17:49:49 +0000 (17:49 +0000)]
Fix typo.

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

14 years agoAdd kernel footprint benchmark for at91sam7s-ek board.
asterix [Thu, 20 May 2010 17:47:47 +0000 (17:47 +0000)]
Add kernel footprint benchmark for at91sam7s-ek board.

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

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

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

14 years agoSet none programmer type.
asterix [Thu, 20 May 2010 17:19:27 +0000 (17:19 +0000)]
Set none programmer type.

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

14 years agoSilent warning.
asterix [Thu, 20 May 2010 17:18:59 +0000 (17:18 +0000)]
Silent warning.

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

14 years agoUpdate hw board preset files.
asterix [Thu, 20 May 2010 17:11:49 +0000 (17:11 +0000)]
Update hw board preset files.

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

14 years agoUpdate all board presets.
asterix [Thu, 20 May 2010 17:04:09 +0000 (17:04 +0000)]
Update all board presets.

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

14 years agoarduino: add kernel memory footprint benchmark.
arighi [Thu, 20 May 2010 17:01:41 +0000 (17:01 +0000)]
arduino: add kernel memory footprint benchmark.

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

14 years agoremove unused log file.
arighi [Thu, 20 May 2010 17:01:29 +0000 (17:01 +0000)]
remove unused log file.

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

14 years agoUpdate board presets.
asterix [Thu, 20 May 2010 16:57:41 +0000 (16:57 +0000)]
Update board presets.

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

14 years agoUpdate examples.
asterix [Thu, 20 May 2010 16:54:52 +0000 (16:54 +0000)]
Update examples.

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

14 years agoMove the example into board preset.
asterix [Thu, 20 May 2010 16:52:05 +0000 (16:52 +0000)]
Move the example into board preset.

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

14 years agoUpdate demo.
asterix [Thu, 20 May 2010 16:49:39 +0000 (16:49 +0000)]
Update demo.

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

14 years agoClean up and comply to new api.
asterix [Thu, 20 May 2010 16:49:05 +0000 (16:49 +0000)]
Clean up and comply to new api.

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

14 years agoUse univoc name for low level init module. Fixed include.
asterix [Thu, 20 May 2010 16:48:14 +0000 (16:48 +0000)]
Use univoc name for low level init module. Fixed include.

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

14 years agoComply to new api.
asterix [Thu, 20 May 2010 16:47:21 +0000 (16:47 +0000)]
Comply to new api.

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

14 years agoAdd wizard mark and clean up.
asterix [Thu, 20 May 2010 16:45:39 +0000 (16:45 +0000)]
Add wizard mark and clean up.

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

14 years agoClean up and using correct configuration.
asterix [Thu, 20 May 2010 16:42:55 +0000 (16:42 +0000)]
Clean up and using correct configuration.

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

14 years agoRemove old and unneeded lcd_gfx module.
asterix [Thu, 20 May 2010 16:42:28 +0000 (16:42 +0000)]
Remove old and unneeded lcd_gfx module.

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

14 years agoSplit menu configuration. Add callback for smooth. Clean up.
asterix [Thu, 20 May 2010 16:41:11 +0000 (16:41 +0000)]
Split menu configuration. Add callback for smooth. Clean up.

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

14 years agoarduino: add context_switch benchmark.
arighi [Thu, 20 May 2010 16:07:41 +0000 (16:07 +0000)]
arduino: add context_switch benchmark.

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

14 years agoarduino: fix hardware led module.
arighi [Thu, 20 May 2010 15:13:16 +0000 (15:13 +0000)]
arduino: fix hardware led module.

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

14 years agoUpdate hw files.
asterix [Thu, 20 May 2010 14:19:57 +0000 (14:19 +0000)]
Update hw files.

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

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

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

14 years agoClean up.
asterix [Thu, 20 May 2010 14:05:19 +0000 (14:05 +0000)]
Clean up.

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

14 years agoThe benchmark are replaced with bertos module (see wizard preset).
asterix [Thu, 20 May 2010 14:03:47 +0000 (14:03 +0000)]
The benchmark are replaced with bertos module (see wizard preset).

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

14 years agoRemove unneed pgm memory wizard mark.
asterix [Thu, 20 May 2010 14:00:59 +0000 (14:00 +0000)]
Remove unneed pgm memory wizard mark.

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

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

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

14 years agomenu: revert deleted include dependency for wizard.
arighi [Thu, 20 May 2010 13:43:38 +0000 (13:43 +0000)]
menu: revert deleted include dependency for wizard.

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

14 years agostm32-p103: add kernel_footprint benchmark.
arighi [Thu, 20 May 2010 13:43:36 +0000 (13:43 +0000)]
stm32-p103: add kernel_footprint benchmark.

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

14 years agostm32-p103: align the interrupt vector table to 1K boundary.
arighi [Thu, 20 May 2010 13:43:26 +0000 (13:43 +0000)]
stm32-p103: 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@3740 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agostm32-p103: add board preset with context_switch benchmark.
arighi [Thu, 20 May 2010 13:43:23 +0000 (13:43 +0000)]
stm32-p103: add board preset with context_switch benchmark.

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

14 years agobenchmark: do not build serial driver in context_switch if CONFIG_USE_HP_TIMER is...
arighi [Thu, 20 May 2010 13:26:43 +0000 (13:26 +0000)]
benchmark: do not build serial driver in context_switch if CONFIG_USE_HP_TIMER is not enabled.

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

14 years agolpc-p2378: enable kernel heap in kernel_footprint benchmark.
arighi [Thu, 20 May 2010 13:26:31 +0000 (13:26 +0000)]
lpc-p2378: enable kernel heap in kernel_footprint benchmark.

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

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