bertos.git
14 years agoAttempt to fix the issue #139.
duplo [Mon, 19 Apr 2010 09:40:39 +0000 (09:40 +0000)]
Attempt to fix the issue #139.

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

14 years agoAdapt the BToolchainSearch dialog to the new dir structure.
duplo [Mon, 19 Apr 2010 08:42:34 +0000 (08:42 +0000)]
Adapt the BToolchainSearch dialog to the new dir structure.

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

14 years agoAdd preset loading function.
duplo [Mon, 19 Apr 2010 08:41:57 +0000 (08:41 +0000)]
Add preset loading function.

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

14 years agoFix the pio pins settings everty time we change configuration.
asterix [Sun, 18 Apr 2010 21:38:19 +0000 (21:38 +0000)]
Fix the pio pins settings everty time we change configuration.

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

14 years agolm3s1968: add keypad driver implementation to the example.
arighi [Sat, 17 Apr 2010 15:04:24 +0000 (15:04 +0000)]
lm3s1968: add keypad driver implementation to the example.

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

14 years agolm3s1968: introduce lm3s_gpioPinRead().
arighi [Sat, 17 Apr 2010 15:04:16 +0000 (15:04 +0000)]
lm3s1968: introduce lm3s_gpioPinRead().

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

14 years agoLPC2: silent warning in nightly test.
batt [Fri, 16 Apr 2010 22:57:55 +0000 (22:57 +0000)]
LPC2: silent warning in nightly test.

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

14 years agoAX25:add new print function compatible with TNC-2 format.
batt [Fri, 16 Apr 2010 22:48:41 +0000 (22:48 +0000)]
AX25:add new print function compatible with TNC-2 format.

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

14 years agoNew module: kfile_debug. Now you can redirect output to the debug console.
batt [Fri, 16 Apr 2010 22:44:16 +0000 (22:44 +0000)]
New module: kfile_debug. Now you can redirect output to the debug console.

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

14 years agoproc: change proc_yield() behaviour.
arighi [Fri, 16 Apr 2010 15:45:54 +0000 (15:45 +0000)]
proc: change proc_yield() behaviour.

The current proc_yield() behaviour is to add the current process to the
ready list and call the scheduler. However, if a process is running at
the highest priority and calls proc_yield() it is added into the ready
list, but immediately re-executed by the scheduler starving all the
other processes.

The behaviour of proc_yield() has been changed so that it first picks
the next process from the ready list and then enqueue the current
running process into the ready list.

In this way the semantic of proc_yield() is exactly the same as
timer_delay(), or any other kind of delay that requires a context
switch.

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

14 years agoAX25: refactor in order to add the possibility to specify a path for
batt [Fri, 16 Apr 2010 15:34:14 +0000 (15:34 +0000)]
AX25: refactor in order to add the possibility to specify a path for
sent frames.

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

14 years agolm3s1968: correctly configure GPIO pins to work as UART pins also for UART1 and UART2.
arighi [Thu, 15 Apr 2010 15:00:59 +0000 (15:00 +0000)]
lm3s1968: correctly configure GPIO pins to work as UART pins also for UART1 and UART2.

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

14 years agoBump up version.
arighi [Wed, 14 Apr 2010 10:47:48 +0000 (10:47 +0000)]
Bump up version.

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

14 years agolm3s1968: integrate the porting in the wizard.
arighi [Wed, 14 Apr 2010 10:47:42 +0000 (10:47 +0000)]
lm3s1968: integrate the porting in the wizard.

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

14 years agoCM3: integrate the Cortex-M3 porting in the wizard.
arighi [Wed, 14 Apr 2010 10:47:37 +0000 (10:47 +0000)]
CM3: integrate the Cortex-M3 porting in the wizard.

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

14 years agorit128x96: integrate the driver in the wizard.
arighi [Wed, 14 Apr 2010 10:47:33 +0000 (10:47 +0000)]
rit128x96: integrate the driver in the wizard.

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

14 years agoCM3: generic timer (Systick) driver implementation.
arighi [Wed, 14 Apr 2010 10:47:27 +0000 (10:47 +0000)]
CM3: generic timer (Systick) driver implementation.

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

14 years agoCM3: remove unneeded file ser_cm3.c.
arighi [Wed, 14 Apr 2010 10:47:23 +0000 (10:47 +0000)]
CM3: remove unneeded file ser_cm3.c.

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

14 years agolm3s1968: some optimizations in the example application.
arighi [Tue, 13 Apr 2010 17:13:49 +0000 (17:13 +0000)]
lm3s1968: some optimizations in the example application.

text_xprintf() accepts printf()-like format, so there's no need to use
an additional buffer and format the string with snprintf().

Moreover, enlarge the stack of the processes to (KERN_MINSTACKSIZE * 2),
to avoid stack overflow problems with debugging enabled.

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

14 years agolm3s1968: restore prompt on UART0 in the example.
arighi [Tue, 13 Apr 2010 16:33:27 +0000 (16:33 +0000)]
lm3s1968: restore prompt on UART0 in the example.

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

14 years agorit128x96: small code optimizations.
arighi [Tue, 13 Apr 2010 16:28:50 +0000 (16:28 +0000)]
rit128x96: small code optimizations.

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

14 years agolm3s1968: offload Serial structure from the serial prompt process's stack.
arighi [Tue, 13 Apr 2010 16:28:49 +0000 (16:28 +0000)]
lm3s1968: offload Serial structure from the serial prompt process's stack.

In addition make some small code readability improvements.

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

14 years agolm3s1968: replace switch-case statements with if-then-else.
arighi [Tue, 13 Apr 2010 16:28:48 +0000 (16:28 +0000)]
lm3s1968: replace switch-case statements with if-then-else.

Some old compilers may trigger (e.g., Sourcery G++ Lite 2008q3-66
4.3.2) may trigger some bugs with large switch-case.

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

14 years agolm3s1968: remove unneeded build options in the example.
arighi [Tue, 13 Apr 2010 16:28:47 +0000 (16:28 +0000)]
lm3s1968: remove unneeded build options in the example.

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

14 years agorit128x96: add distinct configuration and hardware definition files.
arighi [Tue, 13 Apr 2010 13:39:51 +0000 (13:39 +0000)]
rit128x96: add distinct configuration and hardware definition files.

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

14 years agolm3s1968: add a simple serial prompt to the example.
arighi [Tue, 13 Apr 2010 13:13:45 +0000 (13:13 +0000)]
lm3s1968: add a simple serial prompt to the example.

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

14 years agolm3s1968: generic UART driver.
arighi [Tue, 13 Apr 2010 13:13:44 +0000 (13:13 +0000)]
lm3s1968: generic UART driver.

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

14 years agoCM3: allow to declare ISR functions as static.
arighi [Tue, 13 Apr 2010 13:13:42 +0000 (13:13 +0000)]
CM3: allow to declare ISR functions as static.

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

14 years agoCM3: generic IRQ management module.
arighi [Tue, 13 Apr 2010 13:13:34 +0000 (13:13 +0000)]
CM3: generic IRQ management module.

Define an IRQ management module generic for all the Cortex-M3 family
processors.

Moreover, automatically set the appropriate priority and enable the IRQ
when registering an ISR via sysirq_setHandler().

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

14 years agoUpdate checksum value.
batt [Tue, 13 Apr 2010 11:52:05 +0000 (11:52 +0000)]
Update checksum value.

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

14 years agoLPC2xxx: add kernel test.
batt [Mon, 12 Apr 2010 22:15:04 +0000 (22:15 +0000)]
LPC2xxx: add kernel test.

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

14 years agoLPC2xxx: add timer test.
batt [Mon, 12 Apr 2010 21:34:37 +0000 (21:34 +0000)]
LPC2xxx: add timer test.

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

14 years agoLPC2xxx: add timer support.
batt [Mon, 12 Apr 2010 21:33:34 +0000 (21:33 +0000)]
LPC2xxx: add timer support.

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

14 years agoLPC2xxx: Add VIC sources to common cdef file.
batt [Mon, 12 Apr 2010 21:32:25 +0000 (21:32 +0000)]
LPC2xxx: Add VIC sources to common cdef file.

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

14 years agoLPC2xxx: Add Vectored Interrupt Controller (VIC) driver.
batt [Mon, 12 Apr 2010 21:24:07 +0000 (21:24 +0000)]
LPC2xxx: Add Vectored Interrupt Controller (VIC) driver.

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

14 years agolm3s1968-gpio: coding style fixes.
arighi [Sun, 11 Apr 2010 15:03:55 +0000 (15:03 +0000)]
lm3s1968-gpio: coding style fixes.

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

14 years agoarmtest: remove deprecated build option -gen-debug.
arighi [Sun, 11 Apr 2010 13:46:24 +0000 (13:46 +0000)]
armtest: 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@3415 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agorit128x96: fix nightly_test warnings.
arighi [Sun, 11 Apr 2010 13:46:05 +0000 (13:46 +0000)]
rit128x96: fix nightly_test warnings.

Fix the following nightly test warnings:
 ./bertos/drv/lcd_rit128x96.h:39:28: warning: drv/clock_lm3s.h: No such file or directory
 ./bertos/drv/lcd_rit128x96.h:40:26: warning: drv/ssi_lm3s.h: No such file or directory
 ./bertos/drv/lcd_rit128x96.h:41:27: warning: drv/gpio_lm3s.h: No such file or directory
 ./bertos/drv/lcd_rit128x96.c:110: warning: implicit declaration of function 'LCD_WRITE'
 ./bertos/drv/lcd_rit128x96.c:112: warning: implicit declaration of function 'LCD_READ'
 ./bertos/drv/lcd_rit128x96.c:122: warning: implicit declaration of function 'LCD_SET_COMMAND'
 ./bertos/drv/lcd_rit128x96.c:162: warning: implicit declaration of function 'LCD_SET_DATA'

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

14 years agoCM3: add missing include switch_ctx_cm3.h.
arighi [Fri, 9 Apr 2010 16:29:53 +0000 (16:29 +0000)]
CM3: add missing include switch_ctx_cm3.h.

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

14 years agolm3s1968: rename the function __delay() to lm3s_busyWait().
arighi [Fri, 9 Apr 2010 16:29:52 +0000 (16:29 +0000)]
lm3s1968: rename the function __delay() to lm3s_busyWait().

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

14 years agoCM3: generic context switch implementation.
arighi [Fri, 9 Apr 2010 15:30:46 +0000 (15:30 +0000)]
CM3: generic context switch implementation.

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

14 years agoCM3: trim the startup IRQ vector table.
arighi [Fri, 9 Apr 2010 15:05:22 +0000 (15:05 +0000)]
CM3: trim the startup IRQ vector table.

The startup IRQ vector table will be replaced by another one in RAM
after the IRQ module initialization and the reset handler disables IRQ
at the very beginning, so we can safely trim the rest of this table to
reduce the memory footprint and save some space in flash.

For example, for the lm3s1968 example:

<before>
   text    data     bss     dec     hex filename
  23772    1036   18140   42948    a7c4 images/lm3s1968.elf
<after>
   text    data     bss     dec     hex filename
  23596    1036   18140   42772    a714 images/lm3s1968.elf

Moreover, make the vector IRQ table more generic (common for all the
Cortex-M3-based boards).

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

14 years agoCoding style fixes.
arighi [Fri, 9 Apr 2010 14:30:21 +0000 (14:30 +0000)]
Coding style fixes.

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

14 years agolm3s1968: use the generic OLED-RIT-128x96 (P14201) driver in the example.
arighi [Fri, 9 Apr 2010 14:27:35 +0000 (14:27 +0000)]
lm3s1968: use the generic OLED-RIT-128x96 (P14201) driver in the example.

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

14 years agoLCD: generic OLED-RIT-128x96 (P14201) graphic display driver implementation.
arighi [Fri, 9 Apr 2010 14:27:34 +0000 (14:27 +0000)]
LCD: generic OLED-RIT-128x96 (P14201) graphic display driver implementation.

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

14 years agoCoding style fixes.
arighi [Fri, 9 Apr 2010 14:27:32 +0000 (14:27 +0000)]
Coding style fixes.

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

14 years agolm3s1968: generic KFile-compliant SSI bus implementation.
arighi [Fri, 9 Apr 2010 14:27:31 +0000 (14:27 +0000)]
lm3s1968: generic KFile-compliant SSI bus implementation.

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

14 years agoicons: add missing C includes in flipimage.
arighi [Fri, 9 Apr 2010 14:27:30 +0000 (14:27 +0000)]
icons: add missing C includes in flipimage.

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

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