bertos.git
14 years agolm3s1968: add graphic to the example.
arighi [Thu, 8 Apr 2010 16:54:42 +0000 (16:54 +0000)]
lm3s1968: add graphic to the example.

Show the BeRTOS bouncing logo and statistics informations to the OLED
display.

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

14 years agolm3s1968: RIT128x96x4 OLED display driver.
arighi [Thu, 8 Apr 2010 16:54:40 +0000 (16:54 +0000)]
lm3s1968: RIT128x96x4 OLED display driver.

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

14 years agoFix doxygen-style documentation.
arighi [Thu, 8 Apr 2010 08:08:35 +0000 (08:08 +0000)]
Fix doxygen-style documentation.

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

14 years agolm3s1968: add generic GPIO configuration subsystem.
arighi [Wed, 7 Apr 2010 10:54:08 +0000 (10:54 +0000)]
lm3s1968: add generic GPIO configuration subsystem.

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

14 years agolm3s1968: Synchronous Serial Interface (SSI) driver.
arighi [Wed, 7 Apr 2010 09:44:26 +0000 (09:44 +0000)]
lm3s1968: Synchronous Serial Interface (SSI) driver.

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

14 years agolm3s1968: enable kernel preemption in the example.
arighi [Tue, 6 Apr 2010 09:28:23 +0000 (09:28 +0000)]
lm3s1968: enable kernel preemption in the example.

Moreover, add a simple testcase to measure the voluntary context switch
overhead.

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

14 years agoCM3: kernel preemption documentation.
arighi [Tue, 6 Apr 2010 09:28:22 +0000 (09:28 +0000)]
CM3: kernel preemption documentation.

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

14 years agoCM3: kernel preemption.
arighi [Tue, 6 Apr 2010 09:28:21 +0000 (09:28 +0000)]
CM3: kernel preemption.

Kernel preemptible is implemented using the PendSV IRQ. Inside the
SysTick handler when a process expires its time quantum a pending
(PendSV) call is triggered.

At the end of the SysTick handler the PendSV handler is called, using
the architecture's tail-chaining functionality (an ISR call without the
overhead of state saving and restoration between different IRQs), and we
perform the stack-switching.

Voluntary context switch is implemented as a soft-interrupt call
(SVCall), so any process is always suspended / resumed from an interrupt
context.

NOTE: interrupts must be disabled or enabled when resuming a process
context in function of the type of suspension. If a process was
suspended by a voluntary context switch IRQs must be disabled on resume
(voluntary context switch always happen with IRQs disabled). Instead, if
a process was suspended by the kernel preemption IRQs must be always
re-enabled, because the PendSV handler resumes directly the process
context.

If CONFIG_KERN_PREEMPT is not enabled the cooperative implementation
fallback to the default stack-switching mechanism performed directly in
thread-mode and implemented as a normal function call.

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

14 years agoCM3: use a distinct stack for handler-mode and thread-mode.
arighi [Tue, 6 Apr 2010 09:28:20 +0000 (09:28 +0000)]
CM3: use a distinct stack for handler-mode and thread-mode.

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

14 years agolm3s1968: rewrite the startup vector table in assembly.
arighi [Tue, 6 Apr 2010 09:28:19 +0000 (09:28 +0000)]
lm3s1968: rewrite the startup vector table in assembly.

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

14 years agoCM3: introduce sysirq_setPriority().
arighi [Tue, 6 Apr 2010 09:28:18 +0000 (09:28 +0000)]
CM3: introduce sysirq_setPriority().

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

14 years agolm3s1968: delay few cycles after enabling the UART peripheral clock.
arighi [Tue, 6 Apr 2010 09:28:17 +0000 (09:28 +0000)]
lm3s1968: delay few cycles after enabling the UART peripheral clock.

Introduce a small spinning delay to give the oscillator time to
stabilize.

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

14 years agolm3s1968: make __delay() naked and usable outside the clock module.
arighi [Tue, 6 Apr 2010 09:28:16 +0000 (09:28 +0000)]
lm3s1968: make __delay() naked and usable outside the clock module.

In this way we're sure __delay() won't be inlined nor optimized by the
compiler and it can be used suitably as a simple spinning delay.

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

14 years agoCM3: add -mthumb to the linker option.
arighi [Tue, 6 Apr 2010 09:28:15 +0000 (09:28 +0000)]
CM3: add -mthumb to the linker option.

This instructs the linker to link the binary with thumb code only, so we
can use all the built-in C functions.

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

14 years agoDo not test init_lpc2 for now.
batt [Sat, 3 Apr 2010 14:27:35 +0000 (14:27 +0000)]
Do not test init_lpc2 for now.

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

14 years agoConvert newlines to unix style.
batt [Sat, 3 Apr 2010 11:03:02 +0000 (11:03 +0000)]
Convert newlines to unix style.

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

14 years agoLPC2: add LPC2378 example project.
batt [Sat, 3 Apr 2010 10:55:23 +0000 (10:55 +0000)]
LPC2: add LPC2378 example project.

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

14 years agoLPC2: add LPC2378 wizard definitions.
batt [Sat, 3 Apr 2010 10:35:20 +0000 (10:35 +0000)]
LPC2: add LPC2378 wizard definitions.

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

14 years agoLPC2: add init module.
batt [Sat, 3 Apr 2010 10:22:28 +0000 (10:22 +0000)]
LPC2: add init module.

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

14 years agoAT91SAM7: add compile time pll constant computation.
batt [Fri, 2 Apr 2010 18:13:08 +0000 (18:13 +0000)]
AT91SAM7: add compile time pll constant computation.

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

14 years agoAdd some logic to display the presets into the preset page.
duplo [Fri, 2 Apr 2010 10:31:19 +0000 (10:31 +0000)]
Add some logic to display the presets into the preset page.

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

14 years agoAdd script to generate presets from Wizard-created projects.
duplo [Fri, 2 Apr 2010 10:23:23 +0000 (10:23 +0000)]
Add script to generate presets from Wizard-created projects.

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

14 years agoAT91SAM7: Use correct number of flash wait states; set correct FMCN.
batt [Fri, 2 Apr 2010 10:01:37 +0000 (10:01 +0000)]
AT91SAM7: Use correct number of flash wait states; set correct FMCN.

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

14 years agoAT91SAM7: add FMCN shifts.
batt [Fri, 2 Apr 2010 10:01:25 +0000 (10:01 +0000)]
AT91SAM7: add FMCN shifts.

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

14 years agoDIV_ROUNDUP: new macro.
batt [Fri, 2 Apr 2010 09:56:44 +0000 (09:56 +0000)]
DIV_ROUNDUP: new macro.

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

14 years agoAT91SAM7: Increase flash access speed.
batt [Thu, 1 Apr 2010 17:18:12 +0000 (17:18 +0000)]
AT91SAM7: Increase flash access speed.

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

14 years agoAT91SAM7: use new startup files.
batt [Thu, 1 Apr 2010 17:13:33 +0000 (17:13 +0000)]
AT91SAM7: use new startup files.

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

14 years agoARM7TDMI: add sections for exception handlers.
batt [Thu, 1 Apr 2010 17:12:39 +0000 (17:12 +0000)]
ARM7TDMI: add sections for exception handlers.

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

14 years agoAdd explicative comment into the loadProjectPreset placeholder.
duplo [Thu, 1 Apr 2010 13:57:33 +0000 (13:57 +0000)]
Add explicative comment into the loadProjectPreset placeholder.

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

14 years agoUpdate .ui file for the board preset page.
duplo [Thu, 1 Apr 2010 13:57:06 +0000 (13:57 +0000)]
Update .ui file for the board preset page.

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

14 years agoAdd stub for nextId logic of the board preset page.
duplo [Thu, 1 Apr 2010 13:44:37 +0000 (13:44 +0000)]
Add stub for nextId logic of the board preset page.

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

14 years agoAdd placeholder for method that will load the board presets.
duplo [Thu, 1 Apr 2010 12:55:00 +0000 (12:55 +0000)]
Add placeholder for method that will load the board presets.

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

14 years agoAdd a stub of the code that will fill all the fields of the board selection Wizard...
duplo [Thu, 1 Apr 2010 12:54:31 +0000 (12:54 +0000)]
Add a stub of the code that will fill all the fields of the board selection Wizard page.

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

14 years agoModify the order of the pages.
duplo [Thu, 1 Apr 2010 09:51:47 +0000 (09:51 +0000)]
Modify the order of the pages.

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

14 years agoRemove debug print.
duplo [Thu, 1 Apr 2010 08:56:34 +0000 (08:56 +0000)]
Remove debug print.

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

14 years agoLPC2: add debug.
batt [Wed, 31 Mar 2010 22:08:09 +0000 (22:08 +0000)]
LPC2: add debug.

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

14 years agoLPC2: Add RAM start address.
batt [Wed, 31 Mar 2010 22:07:30 +0000 (22:07 +0000)]
LPC2: Add RAM start address.

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

14 years agoCM3: startup refactoring.
arighi [Wed, 31 Mar 2010 16:54:12 +0000 (16:54 +0000)]
CM3: startup refactoring.

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

14 years agoAdd missing imports.
duplo [Wed, 31 Mar 2010 15:41:03 +0000 (15:41 +0000)]
Add missing imports.

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

14 years agoAdd the possibility to compile one file with specific compiler options.
batt [Wed, 31 Mar 2010 15:20:58 +0000 (15:20 +0000)]
Add the possibility to compile one file with specific compiler options.

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

14 years agoFix CPU reloading data bug when the user change the BeRTOS version.
duplo [Wed, 31 Mar 2010 15:20:28 +0000 (15:20 +0000)]
Fix CPU reloading data bug when the user change the BeRTOS version.

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

14 years agoUpdate the CPU information when the user change the BeRTOS version.
duplo [Wed, 31 Mar 2010 14:44:57 +0000 (14:44 +0000)]
Update the CPU information when the user change the BeRTOS version.

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

14 years agoAdd infrastructure for CPU reloading files.
duplo [Wed, 31 Mar 2010 14:44:24 +0000 (14:44 +0000)]
Add infrastructure for CPU reloading files.

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

14 years agolm3s1968: enable the kernel in the example.
arighi [Wed, 31 Mar 2010 14:41:58 +0000 (14:41 +0000)]
lm3s1968: enable the kernel in the example.

This enables kernel, signals, dynamic memory allocator and process
priorities in the lm3s1968 example and execute the proc_test testcase.

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

14 years agoCM3: introduce asm_switch_context().
arighi [Wed, 31 Mar 2010 14:41:57 +0000 (14:41 +0000)]
CM3: introduce asm_switch_context().

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

14 years agoat91sam7: remove deprecated build option -gen-debug.
arighi [Wed, 31 Mar 2010 14:41:56 +0000 (14:41 +0000)]
at91sam7: remove deprecated build option -gen-debug.

This option may trigger build errors with recent toolchains.

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

14 years agolm3s1968: enlarge the stack size of the main process to 1K.
arighi [Wed, 31 Mar 2010 14:41:56 +0000 (14:41 +0000)]
lm3s1968: enlarge the stack size of the main process to 1K.

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

14 years agolm3s1968: log an error and halt forever in case of unhandled IRQs.
arighi [Wed, 31 Mar 2010 14:41:55 +0000 (14:41 +0000)]
lm3s1968: log an error and halt forever in case of unhandled IRQs.

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

14 years agoCM3: introduce PAUSE macro.
arighi [Wed, 31 Mar 2010 14:41:54 +0000 (14:41 +0000)]
CM3: introduce PAUSE macro.

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

14 years agolm3s1968: introduce a distinct inline function to evaluate SYSDIV divisor.
arighi [Wed, 31 Mar 2010 14:41:53 +0000 (14:41 +0000)]
lm3s1968: introduce a distinct inline function to evaluate SYSDIV divisor.

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

14 years agoCM3: define specific architecture attributes.
arighi [Wed, 31 Mar 2010 14:41:52 +0000 (14:41 +0000)]
CM3: define specific architecture attributes.

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

14 years agoARM: introduce NAKED() macro.
arighi [Wed, 31 Mar 2010 14:41:51 +0000 (14:41 +0000)]
ARM: introduce NAKED() macro.

This macro can be used on ARM to specify functions that does not need
prologue/epilogue.

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

14 years agoRemove wrong code (after the refactoring).
duplo [Wed, 31 Mar 2010 13:22:32 +0000 (13:22 +0000)]
Remove wrong code (after the refactoring).

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

14 years agoUse QApplication.instance() instead of qApp because qApp seems to ignore the attribut...
duplo [Wed, 31 Mar 2010 13:19:42 +0000 (13:19 +0000)]
Use QApplication.instance() instead of qApp because qApp seems to ignore the attributes manually injected.

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

14 years agoFix errors in nightly test.
batt [Wed, 31 Mar 2010 12:47:17 +0000 (12:47 +0000)]
Fix errors in nightly test.

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

14 years agoARM7TDMI:add some doc; move exceptions to .vectors section.
batt [Wed, 31 Mar 2010 12:24:14 +0000 (12:24 +0000)]
ARM7TDMI:add some doc; move exceptions to .vectors section.

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

14 years agoARM7TDMI:Do not specify and entry point (not needed);do not keep unused sections.
batt [Wed, 31 Mar 2010 12:23:02 +0000 (12:23 +0000)]
ARM7TDMI:Do not specify and entry point (not needed);do not keep unused sections.

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

14 years agoChange loadModuleData function to be a BProject method.
duplo [Wed, 31 Mar 2010 12:13:24 +0000 (12:13 +0000)]
Change loadModuleData function to be a BProject method.

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

14 years agoAvoid import * (to help debug in during the refactoring).
duplo [Wed, 31 Mar 2010 11:02:30 +0000 (11:02 +0000)]
Avoid import * (to help debug in during the refactoring).

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

14 years agoRemove unused code.
duplo [Wed, 31 Mar 2010 10:57:22 +0000 (10:57 +0000)]
Remove unused code.

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

14 years agoAT91SAM7 Add hw initialization C routines.
batt [Wed, 31 Mar 2010 10:56:08 +0000 (10:56 +0000)]
AT91SAM7 Add hw initialization C routines.

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

14 years agoChange the loadBertosProject function to be a BProject method (and call it from the...
duplo [Wed, 31 Mar 2010 10:49:51 +0000 (10:49 +0000)]
Change the loadBertosProject function to be a BProject method (and call it from the __init__ when needed).

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

14 years agoFix Wizard configuratino for module ser.
duplo [Wed, 31 Mar 2010 10:46:41 +0000 (10:46 +0000)]
Fix Wizard configuratino for module ser.

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

14 years agoAdd stub for board selection page.
duplo [Wed, 31 Mar 2010 10:08:55 +0000 (10:08 +0000)]
Add stub for board selection page.

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

14 years agoAdd stub of new interface with radio for custom/predefined boards.
duplo [Wed, 31 Mar 2010 09:43:44 +0000 (09:43 +0000)]
Add stub of new interface with radio for custom/predefined boards.

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

14 years agoAdd infrastructure for non-linear Wizard.
duplo [Wed, 31 Mar 2010 09:43:22 +0000 (09:43 +0000)]
Add infrastructure for non-linear Wizard.

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

14 years agoAdd support for serial driver on ATMega168.
lottaviano [Wed, 31 Mar 2010 04:57:22 +0000 (04:57 +0000)]
Add support for serial driver on ATMega168.

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

14 years agoAdd serial port support for ATMega328
lottaviano [Wed, 31 Mar 2010 04:55:02 +0000 (04:55 +0000)]
Add serial port support for ATMega328

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

14 years agoAdd architecture specific files.
batt [Tue, 30 Mar 2010 15:03:04 +0000 (15:03 +0000)]
Add architecture specific files.

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

14 years agoAdd try/finally for every setOverrideCursor/restoreOverrideCursor.
duplo [Tue, 30 Mar 2010 15:02:45 +0000 (15:02 +0000)]
Add try/finally for every setOverrideCursor/restoreOverrideCursor.

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

14 years agoFurther Cortex-M3 core related macros.
batt [Tue, 30 Mar 2010 14:40:49 +0000 (14:40 +0000)]
Further Cortex-M3 core related macros.

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

14 years agoMore efficient way to track BeRTOS files.
duplo [Tue, 30 Mar 2010 14:37:27 +0000 (14:37 +0000)]
More efficient way to track BeRTOS files.

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

14 years agoCorrectly detect Cortex-M3 cpus.
batt [Tue, 30 Mar 2010 14:32:13 +0000 (14:32 +0000)]
Correctly detect Cortex-M3 cpus.

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

14 years agoARM7TDMI: Use SVC stack.
batt [Tue, 30 Mar 2010 14:30:12 +0000 (14:30 +0000)]
ARM7TDMI: Use SVC stack.

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

14 years agoUse abspath for project file.
duplo [Tue, 30 Mar 2010 14:07:45 +0000 (14:07 +0000)]
Use abspath for project file.

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

14 years agoRemove debug prints and profiler :(
duplo [Tue, 30 Mar 2010 13:57:21 +0000 (13:57 +0000)]
Remove debug prints and profiler :(

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

14 years agoMove loadSourceTree and findDefinitions function into BProject class (to avoid useles...
duplo [Tue, 30 Mar 2010 13:52:10 +0000 (13:52 +0000)]
Move loadSourceTree and findDefinitions function into BProject class (to avoid useless deepcopies).

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

14 years agoRemember the plugin selection.
duplo [Tue, 30 Mar 2010 10:58:57 +0000 (10:58 +0000)]
Remember the plugin selection.

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

14 years agolm3s1968: add configuration files to the example.
arighi [Tue, 30 Mar 2010 10:58:44 +0000 (10:58 +0000)]
lm3s1968: add configuration files to the example.

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

14 years agolm3s1968: return the correct CPU frequency in clock_get_rate().
arighi [Tue, 30 Mar 2010 10:40:27 +0000 (10:40 +0000)]
lm3s1968: return the correct CPU frequency in clock_get_rate().

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

14 years agolm3s1968: integrate the hardware timer driver into the main timer module.
arighi [Tue, 30 Mar 2010 10:38:45 +0000 (10:38 +0000)]
lm3s1968: integrate the hardware timer driver into the main timer module.

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

14 years agoFix the #133 (projects created with older versions of the Wizard should be edited...
duplo [Tue, 30 Mar 2010 10:28:42 +0000 (10:28 +0000)]
Fix the #133 (projects created with older versions of the Wizard should be edited to let the modification works, otherwise the wizard couldn't open the project).

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

14 years agoFix random file inclusion in project editing.
duplo [Tue, 30 Mar 2010 09:44:23 +0000 (09:44 +0000)]
Fix random file inclusion in project editing.

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

14 years agoAdd WaitCursor when the Wizard is doing something complex into module page.
duplo [Tue, 30 Mar 2010 09:09:59 +0000 (09:09 +0000)]
Add WaitCursor when the Wizard is doing something complex into module page.

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

14 years agoFix elif with no expression.
arighi [Tue, 30 Mar 2010 08:32:44 +0000 (08:32 +0000)]
Fix elif with no expression.

An elif condition without expression may trigger the following build
error with recent toolchains.

 In file included from ./bertos/drv/flash25.c:53:
 bertos/drv/flash25.h:103: error: #elif with no expression
 make: *** [obj/armtest/./bertos/drv/flash25.o] Error 1

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

14 years agolm3s1968: add debugging functionality on UART0.
arighi [Mon, 29 Mar 2010 22:11:19 +0000 (22:11 +0000)]
lm3s1968: add debugging functionality on UART0.

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

14 years agoARM: add LM3S Cortex-M3 core family detection.
arighi [Mon, 29 Mar 2010 22:11:08 +0000 (22:11 +0000)]
ARM: add LM3S Cortex-M3 core family detection.

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

14 years agolm3s1968: driver names refactoring.
arighi [Mon, 29 Mar 2010 22:11:03 +0000 (22:11 +0000)]
lm3s1968: driver names refactoring.

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

14 years agoLPC2378: add IO definitions.
batt [Mon, 29 Mar 2010 22:01:01 +0000 (22:01 +0000)]
LPC2378: add IO definitions.

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

14 years agoLPC2378: fix path in ld-script
batt [Mon, 29 Mar 2010 21:56:32 +0000 (21:56 +0000)]
LPC2378: fix path in ld-script

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

14 years agoLPC2378: pre-compute correct checksum.
batt [Mon, 29 Mar 2010 21:55:47 +0000 (21:55 +0000)]
LPC2378: pre-compute correct checksum.

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

14 years agoAdd LPC2378 CPU detection.
batt [Mon, 29 Mar 2010 21:55:09 +0000 (21:55 +0000)]
Add LPC2378 CPU detection.

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

14 years agoAdd IRQ vectors for LPC2xxx.
batt [Mon, 29 Mar 2010 21:14:25 +0000 (21:14 +0000)]
Add IRQ vectors for LPC2xxx.

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

14 years agoIncrease readability.
batt [Mon, 29 Mar 2010 21:14:03 +0000 (21:14 +0000)]
Increase readability.

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

14 years agoAdd timer support for AVR 328P (Arduino)
lottaviano [Mon, 29 Mar 2010 21:06:48 +0000 (21:06 +0000)]
Add timer support for AVR 328P (Arduino)

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

14 years agodoc: Add documentation for various ser_ specific functions
lottaviano [Mon, 29 Mar 2010 21:06:33 +0000 (21:06 +0000)]
doc: Add documentation for various ser_ specific functions

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

14 years agoAdd IRQ vectors for AT91.
batt [Mon, 29 Mar 2010 20:57:12 +0000 (20:57 +0000)]
Add IRQ vectors for AT91.

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

14 years agoAdd generic ARM7TDMI crt.
batt [Mon, 29 Mar 2010 20:56:42 +0000 (20:56 +0000)]
Add generic ARM7TDMI crt.

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

14 years agoAdd replace line into the custom user mk generator function
batt [Mon, 29 Mar 2010 15:56:13 +0000 (15:56 +0000)]
Add replace line into the custom user mk generator function

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

14 years agoInitial stub for filesystem query cache.
duplo [Mon, 29 Mar 2010 15:39:44 +0000 (15:39 +0000)]
Initial stub for filesystem query cache.

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