bertos.git
14 years agoSave only the path of the toolchain, instead of all the toolchain information.
duplo [Wed, 17 Nov 2010 10:14:54 +0000 (10:14 +0000)]
Save only the path of the toolchain, instead of all the toolchain information.

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

14 years agoUpdate stm32 examples cfg.
asterix [Tue, 16 Nov 2010 22:34:41 +0000 (22:34 +0000)]
Update stm32 examples cfg.

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

14 years agoReorder the header include. Add types include.
asterix [Tue, 16 Nov 2010 22:32:55 +0000 (22:32 +0000)]
Reorder the header include. Add types include.

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

14 years agoFix kfile source path.
asterix [Tue, 16 Nov 2010 18:49:17 +0000 (18:49 +0000)]
Fix kfile source path.

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

14 years agoFix kfile.c source include to allow the developers to build preset inside bertos.
asterix [Tue, 16 Nov 2010 18:48:11 +0000 (18:48 +0000)]
Fix kfile.c source include to allow the developers to build preset inside bertos.

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

14 years agoFix regression due to #183 fix...
duplo [Tue, 16 Nov 2010 16:45:38 +0000 (16:45 +0000)]
Fix regression due to #183 fix...

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

14 years agoAdd support for #183 fix in preset creation.
duplo [Tue, 16 Nov 2010 13:59:15 +0000 (13:59 +0000)]
Add support for #183 fix in preset creation.

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

14 years agoFix for preset editing problems (bug #183).
duplo [Mon, 15 Nov 2010 11:22:07 +0000 (11:22 +0000)]
Fix for preset editing problems (bug #183).

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

14 years agodoc: Remove doxygen warnings.
lottaviano [Fri, 12 Nov 2010 16:28:32 +0000 (16:28 +0000)]
doc: Remove doxygen warnings.

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

14 years agodoc: Refactor documentation and add OOP basics.
lottaviano [Fri, 12 Nov 2010 16:28:08 +0000 (16:28 +0000)]
doc: Refactor documentation and add OOP basics.

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

14 years agoHardcoded initial geometry: 200, 200, 800, 600
duplo [Fri, 12 Nov 2010 15:22:13 +0000 (15:22 +0000)]
Hardcoded initial geometry: 200, 200, 800, 600

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

14 years agoChange comment.
duplo [Fri, 12 Nov 2010 10:31:19 +0000 (10:31 +0000)]
Change comment.

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

14 years agoAdd cpu def for msp430g2231.
asterix [Thu, 11 Nov 2010 23:21:09 +0000 (23:21 +0000)]
Add cpu def for msp430g2231.

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

14 years agodoc: Add documentation for kernel
lottaviano [Thu, 11 Nov 2010 22:17:44 +0000 (22:17 +0000)]
doc: Add documentation for kernel

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

14 years agoAttempt to use window manager's default positioning, the first time the wizard is...
duplo [Thu, 11 Nov 2010 10:36:33 +0000 (10:36 +0000)]
Attempt to use window manager's default positioning, the first time the wizard is launched.

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

14 years agodoc: Added group definitions for most common modules.
lottaviano [Wed, 10 Nov 2010 16:19:50 +0000 (16:19 +0000)]
doc: Added group definitions for most common modules.

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

14 years agodoc: Update embedded flash documentation.
lottaviano [Tue, 9 Nov 2010 17:40:06 +0000 (17:40 +0000)]
doc: Update embedded flash documentation.

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

14 years agodoc: Improve documentation for Flash driver.
lottaviano [Tue, 9 Nov 2010 12:05:26 +0000 (12:05 +0000)]
doc: Improve documentation for Flash driver.

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

14 years agoUpdate the benchmarck preset. Enable the context switch output on serial.
asterix [Mon, 8 Nov 2010 14:29:03 +0000 (14:29 +0000)]
Update the benchmarck preset. Enable the context switch output on serial.

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

14 years agoUpdare cfg files.
asterix [Mon, 8 Nov 2010 14:25:21 +0000 (14:25 +0000)]
Updare cfg files.

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

14 years agoAdd missing configurations.
asterix [Mon, 8 Nov 2010 11:12:38 +0000 (11:12 +0000)]
Add missing configurations.

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

14 years agoUpdate example project to new bertos api.
asterix [Mon, 8 Nov 2010 10:25:55 +0000 (10:25 +0000)]
Update example project to new bertos api.

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

14 years agoOpen by default the kblock device in bufferd mode.
asterix [Mon, 8 Nov 2010 10:23:48 +0000 (10:23 +0000)]
Open by default the kblock device in bufferd mode.

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

14 years agoUpdate to new sd api.
asterix [Mon, 8 Nov 2010 10:08:19 +0000 (10:08 +0000)]
Update to new sd api.

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

14 years agoBump up version.
batt [Fri, 5 Nov 2010 16:30:49 +0000 (16:30 +0000)]
Bump up version.

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

14 years agoAdd benchmark for sam3n.
asterix [Fri, 5 Nov 2010 16:04:47 +0000 (16:04 +0000)]
Add benchmark for sam3n.

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

14 years agoRemove unneeded functions using led macros.
asterix [Fri, 5 Nov 2010 14:16:25 +0000 (14:16 +0000)]
Remove unneeded functions using led macros.

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

14 years agoRefactor led macro, now we can specify the led to on/off.
asterix [Fri, 5 Nov 2010 14:07:28 +0000 (14:07 +0000)]
Refactor led macro, now we can specify the led to on/off.

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

14 years agoAdd kernel template for sam3n board.
asterix [Fri, 5 Nov 2010 14:05:57 +0000 (14:05 +0000)]
Add kernel template for sam3n board.

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

14 years agoAdd missing return.
asterix [Fri, 5 Nov 2010 14:01:49 +0000 (14:01 +0000)]
Add missing return.

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

14 years agoAdd comment and reformat.
asterix [Fri, 5 Nov 2010 14:00:48 +0000 (14:00 +0000)]
Add comment and reformat.

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

14 years agodoc: Add documentation for log module and cleanup.
lottaviano [Fri, 5 Nov 2010 11:59:39 +0000 (11:59 +0000)]
doc: Add documentation for log module and cleanup.

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

14 years agoAdd comments and reformat.
asterix [Fri, 5 Nov 2010 11:24:48 +0000 (11:24 +0000)]
Add comments and reformat.

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

14 years agoCompile whit gcc optimization.
asterix [Fri, 5 Nov 2010 11:08:19 +0000 (11:08 +0000)]
Compile whit gcc optimization.

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

14 years agoAdd lcd foldback implementation.
asterix [Fri, 5 Nov 2010 11:07:04 +0000 (11:07 +0000)]
Add lcd foldback implementation.

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

14 years agoReorder inludes. Move setBacklight to hw file implementation.
asterix [Fri, 5 Nov 2010 11:00:16 +0000 (11:00 +0000)]
Reorder inludes. Move setBacklight to hw file implementation.

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

14 years agoAdd emply templates for sam3n board.
asterix [Fri, 5 Nov 2010 10:54:54 +0000 (10:54 +0000)]
Add emply templates for sam3n board.

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

14 years agoAdd headerguard, use nops to wait. Define setbacklite function to change the ligth...
asterix [Fri, 5 Nov 2010 10:50:26 +0000 (10:50 +0000)]
Add headerguard, use nops to wait. Define setbacklite function to change the ligth level.

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

14 years agosam3n-ek example: fix led handling
aleph [Fri, 5 Nov 2010 09:35:27 +0000 (09:35 +0000)]
sam3n-ek example: fix led handling

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

14 years agosam3n-ek example: fix led macros
aleph [Fri, 5 Nov 2010 09:27:23 +0000 (09:27 +0000)]
sam3n-ek example: fix led macros

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

14 years agosam3: fix CPU name
aleph [Fri, 5 Nov 2010 09:25:16 +0000 (09:25 +0000)]
sam3: fix CPU name

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

14 years agosam3n port: create hw files for lcd and leds.
lottaviano [Fri, 5 Nov 2010 08:32:48 +0000 (08:32 +0000)]
sam3n port: create hw files for lcd and leds.

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

14 years agoAdd SAM3N-EK board and example preset.
lottaviano [Thu, 4 Nov 2010 16:28:51 +0000 (16:28 +0000)]
Add SAM3N-EK board and example preset.

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

14 years agoFirst commit to cleanup log module documentation.
lottaviano [Thu, 4 Nov 2010 16:28:00 +0000 (16:28 +0000)]
First commit to cleanup log module documentation.

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

14 years agoAdd script to create a new board directory skeleton.
lottaviano [Thu, 4 Nov 2010 16:14:21 +0000 (16:14 +0000)]
Add script to create a new board directory skeleton.

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

14 years agolwIP: disable LWIP_POSIX_SOCKETS_IO_NAMES
arighi [Wed, 3 Nov 2010 11:42:38 +0000 (11:42 +0000)]
lwIP: disable LWIP_POSIX_SOCKETS_IO_NAMES

Disable the POSIX compatibility. User applications that enable BSD
sockets must explicitly use lwip_*() functions, instead of the standard
POSIX primitives.

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

14 years agolwIP: always enable ARP functionality
arighi [Wed, 3 Nov 2010 10:50:31 +0000 (10:50 +0000)]
lwIP: always enable ARP functionality

Nothing works without ARP in lwIP.

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

14 years agolwIP: remove dependency on heap module
arighi [Wed, 3 Nov 2010 10:35:07 +0000 (10:35 +0000)]
lwIP: remove dependency on heap module

lwIP now implements its own thread stacks' allocator if CONFIG_KERN_HEAP
is disabled.

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

14 years agolwIP: remove dependency on semaphore and add dependency on heap
arighi [Wed, 3 Nov 2010 10:02:20 +0000 (10:02 +0000)]
lwIP: remove dependency on semaphore and add dependency on heap

lwIP no longer uses BeRTOS semaphores, but it implements a custom
"mutex" primitive.

TODO: consider to move this "mutex" implementation into a more generic
place to make it usable by other modules.

Add the dependency on heap: lwIP threads need the heap to allocate their
stacks.

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

14 years agolwIP: do not compile unnecessary code
arighi [Wed, 3 Nov 2010 09:46:56 +0000 (09:46 +0000)]
lwIP: do not compile unnecessary code

Strip away all unnecessary source code that must be not compiled
according to the lwIP configuration option.

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

14 years agoAT91SAM7X: gracefully drop bad frames read from the EMAC
arighi [Wed, 3 Nov 2010 09:46:51 +0000 (09:46 +0000)]
AT91SAM7X: gracefully drop bad frames read from the EMAC

When a host in the same subnet changes their IP / mac address
association, we could have some "deprecated" frames in the ethernet
buffer.

The hardware seems to explicitly mark them, cleaning the ownership bit.
If this happens simply drop the frame and do not pass it to the upper
layers.

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

14 years agoILI9225 lcd driver: add function to write true color bitmap directly on screen.
aleph [Tue, 2 Nov 2010 16:09:51 +0000 (16:09 +0000)]
ILI9225 lcd driver: add function to write true color bitmap directly on screen.

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

14 years agosam3n: use linker script for flash, not for ram
aleph [Tue, 2 Nov 2010 16:08:46 +0000 (16:08 +0000)]
sam3n: use linker script for flash, not for ram

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

14 years agoAT91SAM7X: add TCP/IP echo server example
arighi [Mon, 1 Nov 2010 16:27:16 +0000 (16:27 +0000)]
AT91SAM7X: add TCP/IP echo server example

This example application demonstrates the usage of the lwIP TCP/IP stack
with BeRTOS.

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

14 years agoExclude lwIP stuff from the nightly build tests.
arighi [Mon, 1 Nov 2010 16:26:51 +0000 (16:26 +0000)]
Exclude lwIP stuff from the nightly build tests.

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

14 years agolwIP: integrate lwIP with the BeRTOS wizard
arighi [Mon, 1 Nov 2010 16:26:46 +0000 (16:26 +0000)]
lwIP: integrate lwIP with the BeRTOS wizard

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

14 years agolwIP: add configuration parameters
arighi [Mon, 1 Nov 2010 16:26:39 +0000 (16:26 +0000)]
lwIP: add configuration parameters

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

14 years agolwIP: add ethernet glue for lwIP
arighi [Mon, 1 Nov 2010 16:26:28 +0000 (16:26 +0000)]
lwIP: add ethernet glue for lwIP

Implement the "ethernetif" virtual driver to plug lwIP to the BeRTOS
generic ethernet layer.

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

14 years agolwIP: operating system requirements
arighi [Mon, 1 Nov 2010 16:26:18 +0000 (16:26 +0000)]
lwIP: operating system requirements

Implement system-specific functionalities needed by lwIP.

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

14 years agoCPU: introduce cpu_atomic_xchg()
arighi [Mon, 1 Nov 2010 16:26:07 +0000 (16:26 +0000)]
CPU: introduce cpu_atomic_xchg()

Add an architecture-optimized function to atomically exchange two
different cpu_atomic_t values.

More exactly, the function replaces the value of a cpu_atomic_t variable
and returns the old value, atomically.

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

14 years agodoc: exclude the lwIP source code from the Doxygen-generated documentation.
arighi [Mon, 1 Nov 2010 16:25:56 +0000 (16:25 +0000)]
doc: exclude the lwIP source code from the Doxygen-generated documentation.

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

14 years agoAdd lwIP include directories to the BeRTOS include path.
arighi [Mon, 1 Nov 2010 16:25:51 +0000 (16:25 +0000)]
Add lwIP include directories to the BeRTOS include path.

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

14 years agoAT91SAM7: EMAC ethernet driver refactoring
arighi [Mon, 1 Nov 2010 16:25:45 +0000 (16:25 +0000)]
AT91SAM7: EMAC ethernet driver refactoring

Refactor EMAC ethernet driver for a better (and more efficient)
integration with the lwIP TCP/IP stack.

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

14 years agonet: add lwIP TCP/IP stack
arighi [Mon, 1 Nov 2010 16:25:33 +0000 (16:25 +0000)]
net: add lwIP TCP/IP stack

Import lwIP version 1.3.2.

For additional details on lwIP, refer to the lwIP homepage at:
http://savannah.nongnu.org/projects/lwip/

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

14 years agoevent: always add a memory barrier before returning from event_waitTimeout()
arighi [Mon, 1 Nov 2010 16:23:32 +0000 (16:23 +0000)]
event: always add a memory barrier before returning from event_waitTimeout()

In this way we are sure the compiler will not perform optimizations or
instruction reordering: so that the return from event is always done
after the execution of the corresponding event_do().

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

14 years agodocs: silent wrong Doxygen warning
arighi [Sun, 31 Oct 2010 09:44:54 +0000 (09:44 +0000)]
docs: silent wrong Doxygen warning

Silent the following warning (probably due to a Doxygen bug):

  bertos/cpu/arm/drv/eth_at91.c:89: warning: documented function `static uint8_t rx_buf' was not declared or defined.

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

14 years agoMove flash related flags to the flash driver; refactor accordingly.
batt [Thu, 28 Oct 2010 15:59:24 +0000 (15:59 +0000)]
Move flash related flags to the flash driver; refactor accordingly.

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

14 years agoFix typo
aleph [Thu, 28 Oct 2010 10:48:02 +0000 (10:48 +0000)]
Fix typo

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

14 years agoChange filename and macros from AT91SAM3.. to SAM3.. to conform to Atmel's official...
aleph [Wed, 27 Oct 2010 17:17:32 +0000 (17:17 +0000)]
Change filename and macros from AT91SAM3.. to SAM3.. to conform to Atmel's official product naming.

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

14 years agoili9225 lcd driver: remove backlight macros, board dependent stuff.
aleph [Wed, 27 Oct 2010 15:00:33 +0000 (15:00 +0000)]
ili9225 lcd driver: remove backlight macros, board dependent stuff.

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

14 years agoILI9225 lcd driver: remove backlight control function, is a SAM3N-EK only
aleph [Wed, 27 Oct 2010 14:36:45 +0000 (14:36 +0000)]
ILI9225 lcd driver: remove backlight control function, is a SAM3N-EK only
implementation, each board implements its own backlight system.

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

14 years agotest: activate AT91SAM7X for nightly tests instead of AT91SAM7S for armtest
arighi [Wed, 27 Oct 2010 09:43:29 +0000 (09:43 +0000)]
test: activate AT91SAM7X for nightly tests instead of AT91SAM7S for armtest

In this way also the ethernet module will be checked during nitghly test
builds.

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

14 years agoAT91: distinct CPU definitions for AT91SAM7X and AT91SAM7S family
arighi [Wed, 27 Oct 2010 09:43:26 +0000 (09:43 +0000)]
AT91: distinct CPU definitions for AT91SAM7X and AT91SAM7S family

Add distinct definitions for AT91SAM7X and AT91SAM7S families to allow
the definition of modules that are supported by one architecture and not
the other (e.g., the ethernet module).

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

14 years agosam3 port: enable power on all PIO input ports by default.
aleph [Tue, 26 Oct 2010 18:03:49 +0000 (18:03 +0000)]
sam3 port: enable power on all PIO input ports by default.

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

14 years agoFix default debug port for STM32 board on context switch preset.
lottaviano [Tue, 26 Oct 2010 16:52:32 +0000 (16:52 +0000)]
Fix default debug port for STM32 board on context switch preset.

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

14 years agoILI9225 lcd driver: writes one row at a time: a lot faster when using SPI DMA.
aleph [Tue, 26 Oct 2010 15:04:30 +0000 (15:04 +0000)]
ILI9225 lcd driver: writes one row at a time: a lot faster when using SPI DMA.

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

14 years agoILI9225 lcd driver: use generic KFile object instead of SPI.
aleph [Tue, 26 Oct 2010 14:29:15 +0000 (14:29 +0000)]
ILI9225 lcd driver: use generic KFile object instead of SPI.

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

14 years agosam3: add PDC register offsets
aleph [Tue, 26 Oct 2010 14:27:10 +0000 (14:27 +0000)]
sam3: add PDC register offsets

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

14 years agodoc: Update and clarify documentation for event handling module.
lottaviano [Tue, 26 Oct 2010 13:21:33 +0000 (13:21 +0000)]
doc: Update and clarify documentation for event handling module.

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

14 years agodoc: Update offline reference doc to match website information.
lottaviano [Tue, 26 Oct 2010 09:06:05 +0000 (09:06 +0000)]
doc: Update offline reference doc to match website information.

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

14 years agomware: add documentation of the generic completion events
arighi [Tue, 26 Oct 2010 08:44:09 +0000 (08:44 +0000)]
mware: add documentation of the generic completion events

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

14 years agomware: fix generic completion events behaviour without the kernel
arighi [Tue, 26 Oct 2010 08:44:04 +0000 (08:44 +0000)]
mware: fix generic completion events behaviour without the kernel

The correct behaviour of the generic completion events is to allow any
process to wait for the event and not only the one that initialized the
completion.

With this fix the "owner" of the completion is assigned when a process
call event_wait() and not event_initGeneric(). In this way a call to
event_do() correctly wakes up the process that actually performed the
event_wait().

Moreover, use the signal SIG_SYSTEM5 for generic completion events
(instead of SIG_SINGLE, that is already by the timer and msg).

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

14 years agodoc: I2C, add more documentation for old API backends.
lottaviano [Tue, 26 Oct 2010 07:52:01 +0000 (07:52 +0000)]
doc: I2C, add more documentation for old API backends.

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

14 years agodoc: Move old i2c API at the end of file.
lottaviano [Tue, 26 Oct 2010 07:36:51 +0000 (07:36 +0000)]
doc: Move old i2c API at the end of file.

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

14 years agodoc: Add documentation for new I2C API and razionalize using modules
lottaviano [Mon, 25 Oct 2010 16:55:21 +0000 (16:55 +0000)]
doc: Add documentation for new I2C API and razionalize using modules

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

14 years agonetwork: add generic ethernet module.
arighi [Mon, 25 Oct 2010 11:09:25 +0000 (11:09 +0000)]
network: add generic ethernet module.

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

14 years agoAT91SAM7: add EMAC ethernet driver
arighi [Mon, 25 Oct 2010 11:09:22 +0000 (11:09 +0000)]
AT91SAM7: add EMAC ethernet driver

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

14 years agodoc: Reorder KFile interface functions, add documentation.
lottaviano [Sun, 24 Oct 2010 12:37:34 +0000 (12:37 +0000)]
doc: Reorder KFile interface functions, add documentation.

Generate a clearer documentation by reordering functions: first read
functions, then write functions, then other less used functions.

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

14 years agoRemove unneeded compile time check.
lottaviano [Sun, 24 Oct 2010 12:37:15 +0000 (12:37 +0000)]
Remove unneeded compile time check.

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

14 years agodoc: Remove doxygen tags to internal typedefs; add docs for KFile interface functions.
lottaviano [Sun, 24 Oct 2010 12:22:22 +0000 (12:22 +0000)]
doc: Remove doxygen tags to internal typedefs; add docs for KFile interface functions.

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

14 years agoAdd new LCD display driver for ILI9225 based lcds, configured for 4 wire
aleph [Sat, 23 Oct 2010 16:21:40 +0000 (16:21 +0000)]
Add new LCD display driver for ILI9225 based lcds, configured for 4 wire
8-bit serial interface.

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

14 years agoFix copyright. Reorder include and remove deprecated. Comply the core cpu macro name.
asterix [Fri, 22 Oct 2010 20:04:11 +0000 (20:04 +0000)]
Fix copyright. Reorder include and remove deprecated. Comply the core cpu macro name.

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

14 years agoDefine cpu core macro for makefile.
asterix [Fri, 22 Oct 2010 20:00:58 +0000 (20:00 +0000)]
Define cpu core macro for makefile.

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

14 years agoFix msp430 cpu core name. Add new msp430 core detect.
asterix [Fri, 22 Oct 2010 19:59:56 +0000 (19:59 +0000)]
Fix msp430 cpu core name. Add new msp430 core detect.

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

14 years agodoc: Add missing return values.
lottaviano [Fri, 22 Oct 2010 14:27:24 +0000 (14:27 +0000)]
doc: Add missing return values.

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

14 years agodoc: Add documentation for BitArray module.
lottaviano [Fri, 22 Oct 2010 14:12:39 +0000 (14:12 +0000)]
doc: Add documentation for BitArray module.

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

14 years agoAdd API warning in USB subsystem.
lottaviano [Fri, 22 Oct 2010 13:12:03 +0000 (13:12 +0000)]
Add API warning in USB subsystem.

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

14 years agosam3n spi: revert to "end of transmit" interrupt instead of "tx buffer empty",
aleph [Fri, 22 Oct 2010 13:06:52 +0000 (13:06 +0000)]
sam3n spi: revert to "end of transmit" interrupt instead of "tx buffer empty",
it's slower but with the latter method it's necessary to handle both interrupt
to make flush work correctly.
Remove board specific stuff (chip select handling).  Don't allow SPI hardware
to drive chip select, better handled by the app as PIO.

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

14 years agosam3n io: fix nasty pasto
aleph [Fri, 22 Oct 2010 13:03:17 +0000 (13:03 +0000)]
sam3n io: fix nasty pasto

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

14 years agoAdd verbatim in documentation.
lottaviano [Fri, 22 Oct 2010 12:50:06 +0000 (12:50 +0000)]
Add verbatim in documentation.

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