bertos.git
14 years agodemo: wait for a keypress event instead of sleeping for a second in hello_world(...
arighi [Mon, 22 Mar 2010 17:39:08 +0000 (17:39 +0000)]
demo: wait for a keypress event instead of sleeping for a second in hello_world() test.

This allows to correctly process GUI events during the hello_world()
test in the emulated demo.

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

14 years agoDemo: remove unneeded locks.
batt [Mon, 22 Mar 2010 17:29:41 +0000 (17:29 +0000)]
Demo: remove unneeded locks.

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

14 years agoDo not call schedule() inside idle loop.
batt [Mon, 22 Mar 2010 17:28:54 +0000 (17:28 +0000)]
Do not call schedule() inside idle loop.

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

14 years agoAdd missing prototype.
batt [Mon, 22 Mar 2010 17:28:28 +0000 (17:28 +0000)]
Add missing prototype.

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

14 years agodemo: re-define custom schedule() function
arighi [Mon, 22 Mar 2010 16:45:18 +0000 (16:45 +0000)]
demo: re-define custom schedule() function

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

14 years agoAdd heap module.
batt [Mon, 22 Mar 2010 16:29:37 +0000 (16:29 +0000)]
Add heap module.

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

14 years agoRearrange kernel configurations order.
batt [Mon, 22 Mar 2010 16:13:13 +0000 (16:13 +0000)]
Rearrange kernel configurations order.

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

14 years agokdb: re-enable calling poor man's scheduler inside kbd_peek().
arighi [Mon, 22 Mar 2010 11:56:51 +0000 (11:56 +0000)]
kdb: re-enable calling poor man's scheduler inside kbd_peek().

Restore the old behaviour of calling a custom schedule() function
(provided by the user) inside kbd_peek() if CONFIG_KBD_SCHED is enabled.

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

14 years agoRemove unneeded prototype.
batt [Fri, 19 Mar 2010 18:56:47 +0000 (18:56 +0000)]
Remove unneeded prototype.

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

14 years agoComply to log module.
asterix [Fri, 19 Mar 2010 17:45:41 +0000 (17:45 +0000)]
Comply to log module.

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

14 years agoEvalutate always log arguments.
asterix [Fri, 19 Mar 2010 17:44:37 +0000 (17:44 +0000)]
Evalutate always log arguments.

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

14 years agoRemove the idle process.
arighi [Fri, 19 Mar 2010 16:17:59 +0000 (16:17 +0000)]
Remove the idle process.

We can get rid of the idle process also with the preemptive kernel and
perform the idle loop inside proc_schedule().

In this way we can reduce the kernel memory footprint and better
optimize memory usage.

== avr-kern example ==
<before>
   text    data     bss     dec     hex filename
  24632     238    5713   30583    7777 images/avr-kern.elf
<after>
   text    data     bss     dec     hex filename
  24498     234    5521   30253    762d images/avr-kern.elf

== at91sam7x example ==
<before>
   text    data     bss     dec     hex filename
  42416     184   10120   52720    cdf0 images/at91sam7x.elf
<after>
   text    data     bss     dec     hex filename
  42228     184    9748   52160    cbc0 images/at91sam7x.elf

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

14 years agoAdd avr-kern example.
arighi [Fri, 19 Mar 2010 16:17:57 +0000 (16:17 +0000)]
Add avr-kern example.

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

14 years agodemo: make the GUI preemptive-safe.
arighi [Fri, 19 Mar 2010 14:30:08 +0000 (14:30 +0000)]
demo: make the GUI preemptive-safe.

Protect all the GUI operations, setting them as atomic, in order to make
them work correctly also with the preemptible kernel.

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

14 years agoproc_test: define a distinct instance of test for each possible kernel configuration.
arighi [Fri, 19 Mar 2010 13:32:06 +0000 (13:32 +0000)]
proc_test: define a distinct instance of test for each possible kernel configuration.

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

14 years agoAllow to define "notest: all" to completely exclude some testcases from the nightly...
arighi [Fri, 19 Mar 2010 13:32:05 +0000 (13:32 +0000)]
Allow to define "notest: all" to completely exclude some testcases from the nightly test.

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

14 years agodemo: use kernel heap memory pool for the monitor stack if CONFIG_KERN_HEAP is enabled.
arighi [Fri, 19 Mar 2010 11:25:27 +0000 (11:25 +0000)]
demo: use kernel heap memory pool for the monitor stack if CONFIG_KERN_HEAP is enabled.

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

14 years agoexamples: update at91sam7 configuration.
arighi [Thu, 18 Mar 2010 15:46:25 +0000 (15:46 +0000)]
examples: update at91sam7 configuration.

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

14 years agoproc_test: enlarge processes' stack size to KERN_MINSTACKSIZE * 3.
arighi [Thu, 18 Mar 2010 15:46:24 +0000 (15:46 +0000)]
proc_test: enlarge processes' stack size to KERN_MINSTACKSIZE * 3.

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

14 years agoSilent some gcc "no previous prototype" build warnings.
arighi [Thu, 18 Mar 2010 15:46:23 +0000 (15:46 +0000)]
Silent some gcc "no previous prototype" build warnings.

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

14 years agoPreemption: set default kernel quantum to 11 ms.
arighi [Thu, 18 Mar 2010 14:59:08 +0000 (14:59 +0000)]
Preemption: set default kernel quantum to 11 ms.

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

14 years agoParametric scheduler approach.
arighi [Thu, 18 Mar 2010 14:54:41 +0000 (14:54 +0000)]
Parametric scheduler approach.

Define distinct functions for each implemented scheduler class. This is
a first step toward the "plugin-scheduler" approach.

In this way we can also get rid of mtask.c.

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

14 years agoproc_test: fix a format build warning.
arighi [Thu, 18 Mar 2010 14:54:40 +0000 (14:54 +0000)]
proc_test: fix a format build warning.

Fixed the following build warning:

  bertos/kern/proc_test.c:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’

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

14 years agodemo: increase default kernel heap size to 2MB.
arighi [Thu, 18 Mar 2010 11:50:00 +0000 (11:50 +0000)]
demo: increase default kernel heap size to 2MB.

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

14 years agoproc_test: do not overflow preempt_counter on AVR.
arighi [Thu, 18 Mar 2010 11:49:59 +0000 (11:49 +0000)]
proc_test: do not overflow preempt_counter on AVR.

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

14 years agodemo: enable dynamic memory allocator (kernel heap) by default.
arighi [Thu, 18 Mar 2010 11:49:59 +0000 (11:49 +0000)]
demo: enable dynamic memory allocator (kernel heap) by default.

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

14 years agoproc_test: use kernel dynamic memory if CONFIG_KERN_HEAP is enabled.
arighi [Thu, 18 Mar 2010 11:49:57 +0000 (11:49 +0000)]
proc_test: use kernel dynamic memory if CONFIG_KERN_HEAP is enabled.

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

14 years agoproc_test: code cleanup and introduce a synchronization barrier also for non-preempti...
arighi [Wed, 17 Mar 2010 18:31:07 +0000 (18:31 +0000)]
proc_test: code cleanup and introduce a synchronization barrier also for non-preemptible test.

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

14 years agomonitor: remove useless warning of main process stack usage
arighi [Wed, 17 Mar 2010 18:31:06 +0000 (18:31 +0000)]
monitor: remove useless warning of main process stack usage

Remove the following runtime warning:

  MONITOR: Free stack of process 'main' is only 0 chars

We don't account stack usage for the process 'main', so this message can
be silenced.

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

14 years agoproc_test: fix buffer overflow.
arighi [Wed, 17 Mar 2010 18:31:05 +0000 (18:31 +0000)]
proc_test: fix buffer overflow.

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

14 years agoAvoid duplicate definitions.
arighi [Wed, 17 Mar 2010 18:31:04 +0000 (18:31 +0000)]
Avoid duplicate definitions.

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

14 years agoproc_test: reuse the same stack and memory array of the scheduling test during preemp...
arighi [Wed, 17 Mar 2010 15:39:09 +0000 (15:39 +0000)]
proc_test: reuse the same stack and memory array of the scheduling test during preemption test.

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

14 years agoproc_test: use snprintf() instead of sprintf().
arighi [Wed, 17 Mar 2010 15:39:08 +0000 (15:39 +0000)]
proc_test: use snprintf() instead of sprintf().

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

14 years agopreempt: be sure to never call proc_switch() or proc_yield() with IRQs disabled.
arighi [Wed, 17 Mar 2010 14:12:58 +0000 (14:12 +0000)]
preempt: be sure to never call proc_switch() or proc_yield() with IRQs disabled.

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

14 years agoARM examples: enable frame pointer by default.
batt [Wed, 17 Mar 2010 14:01:36 +0000 (14:01 +0000)]
ARM examples: enable frame pointer by default.

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

14 years agoAT91SAM7: clarify sysirq_dispatcher description.
batt [Wed, 17 Mar 2010 13:08:31 +0000 (13:08 +0000)]
AT91SAM7: clarify sysirq_dispatcher description.

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

14 years agoheap: properly check the alignment in memory of a heap_buf_t pointer.
arighi [Wed, 17 Mar 2010 11:53:12 +0000 (11:53 +0000)]
heap: properly check the alignment in memory of a heap_buf_t pointer.

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

14 years agoAdd alignof() macro.
arighi [Wed, 17 Mar 2010 11:53:11 +0000 (11:53 +0000)]
Add alignof() macro.

This macro returns the alignment in memory of a generic data type.

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

14 years agoAVR: fix redeclaration of ISR_PROTO() macro.
arighi [Wed, 17 Mar 2010 11:53:10 +0000 (11:53 +0000)]
AVR: fix redeclaration of ISR_PROTO() macro.

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

14 years agotest: preempt.c and coop.c should be never explicitly included.
arighi [Wed, 17 Mar 2010 11:53:10 +0000 (11:53 +0000)]
test: preempt.c and coop.c should be never explicitly included.

The inclusion of preempt.c and coop.c depends on the CONFIG_KERN_PREEMPT
option, so they should never been directly included in Makefile.

Instead we must always use mtask.c.

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

14 years agoDo not break old declarations of PROC_DEFINE_STACK().
arighi [Wed, 17 Mar 2010 11:53:09 +0000 (11:53 +0000)]
Do not break old declarations of PROC_DEFINE_STACK().

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

14 years agoproc_test: fix some build warnings on AVR.
arighi [Wed, 17 Mar 2010 11:53:08 +0000 (11:53 +0000)]
proc_test: fix some build warnings on AVR.

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

14 years agoMake kernel heap for processes optional and fully configurable from the wizard.
arighi [Wed, 17 Mar 2010 11:53:07 +0000 (11:53 +0000)]
Make kernel heap for processes optional and fully configurable from the wizard.

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

14 years agodemo: add optional CPPAFLAGS variable definition in demo.mk
arighi [Wed, 17 Mar 2010 11:53:07 +0000 (11:53 +0000)]
demo: add optional CPPAFLAGS variable definition in demo.mk

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

14 years agoFix a memory leak in proc_freeZombies().
arighi [Wed, 17 Mar 2010 11:53:06 +0000 (11:53 +0000)]
Fix a memory leak in proc_freeZombies().

Evaluate the total stack size of a process as the actual stack size +
the sizeo of PCB.

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

14 years agofix asm_switch_context() for the x86 and x86_64 archs
arighi [Wed, 17 Mar 2010 11:53:05 +0000 (11:53 +0000)]
fix asm_switch_context() for the x86 and x86_64 archs

Save and restore all the callee-clobbered registers minus the return
registers, according to the x86 and x86_64 ABI.

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

14 years agoMerge branch "preempt" in "trunk".
arighi [Wed, 17 Mar 2010 11:45:15 +0000 (11:45 +0000)]
Merge branch "preempt" in "trunk".

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

14 years agoBetter detection of concurrent ADC access.
batt [Fri, 12 Mar 2010 18:02:46 +0000 (18:02 +0000)]
Better detection of concurrent ADC access.

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

14 years agoAdd configuration files for at91sam7 flash driver.
asterix [Wed, 3 Mar 2010 15:30:39 +0000 (15:30 +0000)]
Add configuration files for at91sam7 flash driver.

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

14 years agoAdd configuration files for at91sam7 flash driver.
asterix [Wed, 3 Mar 2010 15:23:45 +0000 (15:23 +0000)]
Add configuration files for at91sam7 flash driver.

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

14 years agoAdd configuration files for at91sam7 flash driver.cfg/cfg_boot.h
asterix [Wed, 3 Mar 2010 15:23:34 +0000 (15:23 +0000)]
Add configuration files for at91sam7 flash driver.cfg/cfg_boot.h

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

14 years agoAdd at91sam7 flash driver.
asterix [Wed, 3 Mar 2010 15:00:10 +0000 (15:00 +0000)]
Add at91sam7 flash driver.

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

14 years agoAdd Texas Instruments TLV5618 DAC driver.
batt [Mon, 15 Feb 2010 17:59:06 +0000 (17:59 +0000)]
Add Texas Instruments TLV5618 DAC driver.

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

14 years agoBe sure to always initialize synctimer_list when synctimer_test is executed.
arighi [Thu, 28 Jan 2010 13:27:04 +0000 (13:27 +0000)]
Be sure to always initialize synctimer_list when synctimer_test is executed.

This fixes a SIGSEGV bug when the timer test is executed inside the
BeRTOS emulator demo.

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

14 years agoFix bug related to conditional-dependency files.
duplo [Fri, 22 Jan 2010 15:23:32 +0000 (15:23 +0000)]
Fix bug related to conditional-dependency files.

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

14 years agoIndent code to improve the readibility
duplo [Fri, 22 Jan 2010 15:22:16 +0000 (15:22 +0000)]
Indent code to improve the readibility

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

14 years agoTypo
duplo [Fri, 22 Jan 2010 14:22:06 +0000 (14:22 +0000)]
Typo

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

14 years agoImport fix from preempt branch.
batt [Wed, 20 Jan 2010 16:38:52 +0000 (16:38 +0000)]
Import fix from preempt branch.

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

14 years agodoc: Updated development status to v. 2.3
lottaviano [Thu, 14 Jan 2010 17:32:10 +0000 (17:32 +0000)]
doc: Updated development status to v. 2.3

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

14 years agoReformat.
batt [Thu, 14 Jan 2010 14:27:07 +0000 (14:27 +0000)]
Reformat.

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

14 years agoOptimization: Use a trampoline to start ARM processes instead of wasting one stack...
batt [Thu, 14 Jan 2010 14:21:26 +0000 (14:21 +0000)]
Optimization: Use a trampoline to start ARM processes instead of wasting one stack location and saving lr twice.

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

14 years agoReformat.
batt [Thu, 14 Jan 2010 14:19:41 +0000 (14:19 +0000)]
Reformat.

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

14 years agoAdd synchronous timer scheduler.
batt [Wed, 13 Jan 2010 10:04:14 +0000 (10:04 +0000)]
Add synchronous timer scheduler.

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

14 years agodoc: Clarify Msg documentation.
lottaviano [Tue, 29 Dec 2009 09:03:10 +0000 (09:03 +0000)]
doc: Clarify Msg documentation.

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

14 years agoexplicitly include compiler.h to be sure all stdint types are defined
arighi [Mon, 28 Dec 2009 11:24:04 +0000 (11:24 +0000)]
explicitly include compiler.h to be sure all stdint types are defined

This fix the following build bug:

  In file included from bertos/emul/emulwin.cpp:43:
  bertos/drv/lcd_gfx_qt.h:74: error: ‘uint8_t’ has not been declared
  make: *** [obj/demo/bertos/emul/emulwin.o] Error 1

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

14 years agoAdd missing prototypes.
batt [Sun, 27 Dec 2009 09:04:06 +0000 (09:04 +0000)]
Add missing prototypes.

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

15 years agoAdd a simple heap test.
batt [Wed, 23 Dec 2009 16:50:13 +0000 (16:50 +0000)]
Add a simple heap test.

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

15 years agoCheck for alignment of heap memory buffer; add utility macro used to declare a heap.
batt [Wed, 23 Dec 2009 16:49:42 +0000 (16:49 +0000)]
Check for alignment of heap memory buffer; add utility macro used to declare a heap.

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

15 years agoReformat.
batt [Tue, 22 Dec 2009 14:51:50 +0000 (14:51 +0000)]
Reformat.

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

15 years agoTypo.
batt [Tue, 22 Dec 2009 14:51:43 +0000 (14:51 +0000)]
Typo.

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

15 years agoEnable PIO clock by default on AT91SAM7 CPUs.
batt [Tue, 22 Dec 2009 14:24:56 +0000 (14:24 +0000)]
Enable PIO clock by default on AT91SAM7 CPUs.

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

15 years agoInit lcd_semaphore when kernel is active.
batt [Mon, 21 Dec 2009 10:58:24 +0000 (10:58 +0000)]
Init lcd_semaphore when kernel is active.

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

15 years agoModify the version check
duplo [Tue, 15 Dec 2009 15:50:13 +0000 (15:50 +0000)]
Modify the version check

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

15 years agoChange the name convention for the qvariant_converter implementation files.
duplo [Tue, 15 Dec 2009 09:12:18 +0000 (09:12 +0000)]
Change the name convention for the qvariant_converter implementation files.

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

15 years agoNew qvariant converter module. Now BeRTOS Wizard is able to run with PyQt4 4.6 and...
duplo [Tue, 15 Dec 2009 09:06:15 +0000 (09:06 +0000)]
New qvariant converter module. Now BeRTOS Wizard is able to run with PyQt4 4.6 and older.

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

15 years agoMove crc table in ram when we using bootloader.
asterix [Wed, 18 Nov 2009 11:15:27 +0000 (11:15 +0000)]
Move crc table in ram when we using bootloader.

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

15 years agoReformat.
batt [Tue, 17 Nov 2009 16:50:44 +0000 (16:50 +0000)]
Reformat.

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

15 years agoRemove too specific ASSERT.
batt [Tue, 17 Nov 2009 16:48:53 +0000 (16:48 +0000)]
Remove too specific ASSERT.

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

15 years agoFix some comments.
asterix [Tue, 17 Nov 2009 12:03:49 +0000 (12:03 +0000)]
Fix some comments.

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

15 years agoFix #if check.
asterix [Tue, 17 Nov 2009 12:03:17 +0000 (12:03 +0000)]
Fix #if check.

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

15 years agoChange REVERSE macro name.
batt [Tue, 17 Nov 2009 11:32:06 +0000 (11:32 +0000)]
Change REVERSE macro name.

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

15 years agoFix doc.
batt [Tue, 17 Nov 2009 11:16:55 +0000 (11:16 +0000)]
Fix doc.

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

15 years agoAdd missing initialization.
batt [Fri, 13 Nov 2009 18:18:11 +0000 (18:18 +0000)]
Add missing initialization.

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

15 years agoFix history handling.
batt [Fri, 13 Nov 2009 18:18:10 +0000 (18:18 +0000)]
Fix history handling.

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

15 years agoSilent nightly test warning.
asterix [Wed, 11 Nov 2009 08:49:01 +0000 (08:49 +0000)]
Silent nightly test warning.

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

15 years agoMove crc table in ram when we using bootloader.
asterix [Tue, 10 Nov 2009 11:35:20 +0000 (11:35 +0000)]
Move crc table in ram when we using bootloader.

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

15 years agoClean code and fix compile error.
asterix [Mon, 9 Nov 2009 15:59:51 +0000 (15:59 +0000)]
Clean code and fix compile error.

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

15 years agoReformat and fix paste.
asterix [Fri, 6 Nov 2009 10:31:01 +0000 (10:31 +0000)]
Reformat and fix paste.

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

15 years agoAdd some gcc flags.
asterix [Fri, 6 Nov 2009 09:16:30 +0000 (09:16 +0000)]
Add some gcc flags.

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

15 years agoAdd debug configuration for boot.
asterix [Fri, 6 Nov 2009 09:11:06 +0000 (09:11 +0000)]
Add debug configuration for boot.

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

15 years agoFix typo.
asterix [Thu, 5 Nov 2009 13:58:33 +0000 (13:58 +0000)]
Fix typo.

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

15 years agoUse a better name.
batt [Mon, 26 Oct 2009 22:41:56 +0000 (22:41 +0000)]
Use a better name.

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

15 years agoFix process stack size declaration.
batt [Mon, 26 Oct 2009 21:50:03 +0000 (21:50 +0000)]
Fix process stack size declaration.

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

15 years agoAdd module declaration in PWM driver.
batt [Mon, 26 Oct 2009 21:05:57 +0000 (21:05 +0000)]
Add module declaration in PWM driver.

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

15 years agoLittle bugfix.
duplo [Mon, 26 Oct 2009 15:31:15 +0000 (15:31 +0000)]
Little bugfix.

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

15 years agoAdd support for conditional dependencies (To be tested heavily!)
duplo [Mon, 26 Oct 2009 15:07:07 +0000 (15:07 +0000)]
Add support for conditional dependencies (To be tested heavily!)

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

15 years agoChange the style of the text in the intro page.
duplo [Fri, 23 Oct 2009 14:38:33 +0000 (14:38 +0000)]
Change the style of the text in the intro page.

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

15 years agoAdd the parameter conditional_deps to the configuration information dict.
duplo [Fri, 23 Oct 2009 13:54:57 +0000 (13:54 +0000)]
Add the parameter conditional_deps to the configuration information dict.

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

15 years agoModify the Wizard configuration files parser, in order to take another parameter...
duplo [Fri, 23 Oct 2009 13:33:53 +0000 (13:33 +0000)]
Modify the Wizard configuration files parser, in order to take another parameter (conditional_deps).

This optional parameter is for boolean values only, and will contain the list of the modules that have to be activated if the value is setted to True (1).

example usage:

/**
 * Parameter brief
 *
 * Parameter description
 *
 * $WIZ$ type = 'boolean'
 * $WIZ$ conditional_deps = 'dc_motor', 'kfile'
 */
#define EXAMPLE_PARAMETER 0

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

15 years agoChange style and logo
duplo [Fri, 23 Oct 2009 12:41:15 +0000 (12:41 +0000)]
Change style and logo

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