bertos.git
14 years agoFix edit issue.
duplo [Mon, 24 May 2010 08:36:25 +0000 (08:36 +0000)]
Fix edit issue.

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

14 years agoReformat error messages.
batt [Fri, 21 May 2010 21:38:02 +0000 (21:38 +0000)]
Reformat error messages.

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

14 years agoAdd channel error check in nmea parser.
batt [Fri, 21 May 2010 20:45:33 +0000 (20:45 +0000)]
Add channel error check in nmea parser.

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

14 years agoReformat.
batt [Fri, 21 May 2010 20:36:52 +0000 (20:36 +0000)]
Reformat.

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

14 years agoarduino: disable kernel preemption in "empty" preset.
arighi [Fri, 21 May 2010 16:54:43 +0000 (16:54 +0000)]
arduino: disable kernel preemption in "empty" preset.

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

14 years agoarduino: add "empty" preset template.
arighi [Fri, 21 May 2010 16:50:53 +0000 (16:50 +0000)]
arduino: add "empty" preset template.

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

14 years agoFix comments.
asterix [Fri, 21 May 2010 15:42:12 +0000 (15:42 +0000)]
Fix comments.

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

14 years agoReload the module data every time the user enter into the module configuration page...
duplo [Fri, 21 May 2010 14:35:52 +0000 (14:35 +0000)]
Reload the module data every time the user enter into the module configuration page so that if the user has changed the cpu the right configuration is picked up.

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

14 years agoDon't show the Congratulation message until the project is really created :)
duplo [Fri, 21 May 2010 14:08:41 +0000 (14:08 +0000)]
Don't show the Congratulation message until the project is really created :)

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

14 years agoFix error message.
duplo [Fri, 21 May 2010 14:01:56 +0000 (14:01 +0000)]
Fix error message.

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

14 years agoChange the error message for WindowsError.
duplo [Fri, 21 May 2010 13:56:37 +0000 (13:56 +0000)]
Change the error message for WindowsError.

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

14 years agoAttempt to fix WindowsError related bug.
duplo [Fri, 21 May 2010 12:52:23 +0000 (12:52 +0000)]
Attempt to fix WindowsError related bug.

NOTE: this modification need to be tested on Windows.

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

14 years agoFix bug #141.
duplo [Fri, 21 May 2010 12:38:17 +0000 (12:38 +0000)]
Fix bug #141.

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

14 years agoat91sam7s: implement hardware LED module.
arighi [Fri, 21 May 2010 12:33:32 +0000 (12:33 +0000)]
at91sam7s: implement hardware LED module.

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

14 years agoAttempt to fix bug #153.
duplo [Fri, 21 May 2010 12:14:23 +0000 (12:14 +0000)]
Attempt to fix bug #153.

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

14 years agoRemove dependence from c source hw file.
asterix [Fri, 21 May 2010 10:24:20 +0000 (10:24 +0000)]
Remove dependence from c source hw file.

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

14 years agoTypo.
asterix [Fri, 21 May 2010 10:23:14 +0000 (10:23 +0000)]
Typo.

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

14 years agoCopy all but directories when handling hw files using preset as starting point in...
duplo [Fri, 21 May 2010 09:54:48 +0000 (09:54 +0000)]
Copy all but directories when handling hw files using preset as starting point in project creation.

(issue #149)

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

14 years agoFix #148 issue. If the cfg file isn't found the Wizard use the default configuration.
duplo [Fri, 21 May 2010 09:00:14 +0000 (09:00 +0000)]
Fix #148 issue. If the cfg file isn't found the Wizard use the default configuration.

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

14 years agoMove this example into board presets.
asterix [Fri, 21 May 2010 08:06:54 +0000 (08:06 +0000)]
Move this example into board presets.

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

14 years agoAdd context switch benchmark for at91sam7s-ek board.
asterix [Thu, 20 May 2010 17:57:50 +0000 (17:57 +0000)]
Add context switch benchmark for at91sam7s-ek board.

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

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