bertos.git
14 years agoFix xmodem send. Use log module.
asterix [Wed, 28 Apr 2010 12:51:21 +0000 (12:51 +0000)]
Fix xmodem send. Use log module.

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

14 years agoAdd support for flash sizes on all supported AT91SAM7 cpus.
asterix [Wed, 28 Apr 2010 11:59:45 +0000 (11:59 +0000)]
Add support for flash sizes on all supported AT91SAM7 cpus.

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

14 years agoUpdate the hw and cfg thermo files.
asterix [Wed, 28 Apr 2010 10:25:39 +0000 (10:25 +0000)]
Update the hw and cfg thermo files.

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

14 years agoRemove useless while loops
duplo [Wed, 28 Apr 2010 08:42:03 +0000 (08:42 +0000)]
Remove useless while loops

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

14 years agoRemove duplicate defines.
asterix [Tue, 27 Apr 2010 21:25:53 +0000 (21:25 +0000)]
Remove duplicate defines.

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

14 years agoAdd pwm register definitions.
asterix [Tue, 27 Apr 2010 20:29:24 +0000 (20:29 +0000)]
Add pwm register definitions.

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

14 years agoAvoid recursion on string.replace()
batt [Tue, 27 Apr 2010 16:57:38 +0000 (16:57 +0000)]
Avoid recursion on string.replace()

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

14 years agoLPC2: add a UART driver testcase to the example.
arighi [Tue, 27 Apr 2010 16:16:02 +0000 (16:16 +0000)]
LPC2: add a UART driver testcase to the example.

Start a simple "echo" terminal on UART1 at the end of the startup tests.

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

14 years agoAdd comment for the new internal version.
duplo [Tue, 27 Apr 2010 15:35:00 +0000 (15:35 +0000)]
Add comment for the new internal version.

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

14 years agoCopy the user mk file of the preset, replacing the old preset name with the project...
duplo [Tue, 27 Apr 2010 15:32:28 +0000 (15:32 +0000)]
Copy the user mk file of the preset, replacing the old preset name with the project name.

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

14 years agoSome refactor. Clean up. Add comments.
asterix [Tue, 27 Apr 2010 15:20:54 +0000 (15:20 +0000)]
Some refactor. Clean up. Add comments.

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

14 years agoShorten variable name.
batt [Tue, 27 Apr 2010 14:40:54 +0000 (14:40 +0000)]
Shorten variable name.

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

14 years agoAdd new internal version
duplo [Tue, 27 Apr 2010 14:10:40 +0000 (14:10 +0000)]
Add new internal version

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

14 years agoFix relative/absolute path issuew
duplo [Tue, 27 Apr 2010 14:05:51 +0000 (14:05 +0000)]
Fix relative/absolute path issuew

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

14 years agoRevert to the old one.
duplo [Tue, 27 Apr 2010 14:01:59 +0000 (14:01 +0000)]
Revert to the old one.

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

14 years agoLPC2: do not include UART driver to the nightly test build sources.
arighi [Tue, 27 Apr 2010 13:51:26 +0000 (13:51 +0000)]
LPC2: do not include UART driver to the nightly test build sources.

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

14 years agoLPC2: include the UART driver into the generic driver ser_arm.c.
arighi [Tue, 27 Apr 2010 13:51:25 +0000 (13:51 +0000)]
LPC2: include the UART driver into the generic driver ser_arm.c.

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

14 years agolm3s1968: merge the DevelGPS example application.
arighi [Tue, 27 Apr 2010 13:42:09 +0000 (13:42 +0000)]
lm3s1968: merge the DevelGPS example application.

The purpose of this project is to implement a portable GPS locator / geocaching
finder tool using the Cortex-M3 based Luminary Micro LM3S1968 evaluation board.

The device proposes a user interface to configure the GPS coordinates of a
target location and shows on the OLED display the direction and distance to
reach the target.

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

14 years agoAdd relpath module, for python < 2.6.0
duplo [Tue, 27 Apr 2010 13:23:12 +0000 (13:23 +0000)]
Add relpath module, for python < 2.6.0

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

14 years agoModify the copytree code to use the copytree shipped with the standard os.path for...
duplo [Tue, 27 Apr 2010 13:21:56 +0000 (13:21 +0000)]
Modify the copytree code to use the copytree shipped with the standard os.path for python2.6

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

14 years agoRever wrong commit.
asterix [Tue, 27 Apr 2010 13:20:52 +0000 (13:20 +0000)]
Rever wrong commit.

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

14 years agolm3s1968: update UART configuration in the example.
arighi [Tue, 27 Apr 2010 13:16:26 +0000 (13:16 +0000)]
lm3s1968: update UART configuration in the example.

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

14 years agoLPC2: UART driver.
arighi [Tue, 27 Apr 2010 13:16:25 +0000 (13:16 +0000)]
LPC2: UART driver.

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

14 years agoFix problems with older BeRTOS versions.
batt [Tue, 27 Apr 2010 10:52:44 +0000 (10:52 +0000)]
Fix problems with older BeRTOS versions.

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

14 years agoAdd process to use module with kernel. Move some define from hw to module. Use log...
asterix [Tue, 27 Apr 2010 10:48:41 +0000 (10:48 +0000)]
Add process to use module with kernel. Move some define from hw to module. Use log. Clean up.

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

14 years agoAdd ntc log config.
asterix [Tue, 27 Apr 2010 10:44:53 +0000 (10:44 +0000)]
Add ntc log config.

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

14 years agoNew makefile architecture.
duplo [Tue, 27 Apr 2010 10:25:09 +0000 (10:25 +0000)]
New makefile architecture.

NOTE: all the new infrastructure is under development. IT HAS TO BE TESTED HEAVILY.

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

14 years agoAdd log module and use temp types.
asterix [Tue, 27 Apr 2010 09:40:36 +0000 (09:40 +0000)]
Add log module and use temp types.

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

14 years agoAdd comment.
asterix [Tue, 27 Apr 2010 09:39:37 +0000 (09:39 +0000)]
Add comment.

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

14 years agoFix if.
asterix [Tue, 27 Apr 2010 09:39:15 +0000 (09:39 +0000)]
Fix if.

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

14 years agoClean up.
asterix [Tue, 27 Apr 2010 09:38:34 +0000 (09:38 +0000)]
Clean up.

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

14 years agoClean up.
asterix [Tue, 27 Apr 2010 09:38:18 +0000 (09:38 +0000)]
Clean up.

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

14 years agoClean up. Add set polarity prototype.
asterix [Tue, 27 Apr 2010 09:33:33 +0000 (09:33 +0000)]
Clean up. Add set polarity prototype.

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

14 years agoIn editing mode when the user selects a project that was created with older versions...
duplo [Tue, 27 Apr 2010 09:30:28 +0000 (09:30 +0000)]
In editing mode when the user selects a project that was created with older versions of the wizard, the old makefile format is used.

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

14 years agolm3s1968: internal flash memory driver.
arighi [Tue, 27 Apr 2010 09:17:10 +0000 (09:17 +0000)]
lm3s1968: internal flash memory driver.

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

14 years agorit128x96: correctly check for out-of-bounds pixels in lcd_start_blit().
arighi [Tue, 27 Apr 2010 09:17:09 +0000 (09:17 +0000)]
rit128x96: correctly check for out-of-bounds pixels in lcd_start_blit().

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

14 years agoAdd missing import.
duplo [Tue, 27 Apr 2010 09:12:23 +0000 (09:12 +0000)]
Add missing import.

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

14 years agoMore logic into makefiles generation functions
duplo [Tue, 27 Apr 2010 08:53:15 +0000 (08:53 +0000)]
More logic into makefiles generation functions

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

14 years agoAdd more explicative comment for latest internal version
duplo [Tue, 27 Apr 2010 08:52:27 +0000 (08:52 +0000)]
Add more explicative comment for latest internal version

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

14 years agoUse PRESET_NAME instead of PROJECT_NAME when creating a project from a preset (to...
batt [Mon, 26 Apr 2010 16:03:08 +0000 (16:03 +0000)]
Use PRESET_NAME instead of PROJECT_NAME when creating a project from a preset (to remove preset unuseful files).

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

14 years agoAdd comment.
duplo [Mon, 26 Apr 2010 15:38:41 +0000 (15:38 +0000)]
Add comment.

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

14 years agoAvoid to create a new VERSION file for presets, in editing mode.
duplo [Mon, 26 Apr 2010 15:37:51 +0000 (15:37 +0000)]
Avoid to create a new VERSION file for presets, in editing mode.

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

14 years agoIf the project edited is a preset the wizard doesn't add the following stuff:
duplo [Mon, 26 Apr 2010 14:26:17 +0000 (14:26 +0000)]
If the project edited is a preset the wizard doesn't add the following stuff:
 * VERSION file (it's still copied, I'm investigating...)
 * Makefile
 * new sources
 * hw dir containing the hw files
 * autogenerated mk file
 * project files for the IDEs

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

14 years agoAdd new _wizard_version for differentiate the newest ones that use "BERTOS_PATH"...
duplo [Mon, 26 Apr 2010 13:53:31 +0000 (13:53 +0000)]
Add new _wizard_version for differentiate the newest ones that use "BERTOS_PATH" from the older ones that use "SOURCES_PATH".

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

14 years agoChange SOURCES_PATH in BERTOS_PATH.
duplo [Mon, 26 Apr 2010 13:48:10 +0000 (13:48 +0000)]
Change SOURCES_PATH in BERTOS_PATH.

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

14 years agoAdd support for parametrization of the sources dir and the project sources dir.
duplo [Mon, 26 Apr 2010 13:27:33 +0000 (13:27 +0000)]
Add support for parametrization of the sources dir and the project sources dir.

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

14 years agolm3s1968: add a busy wait sleep when enabling or disabling the UART peripheral.
arighi [Fri, 23 Apr 2010 15:37:26 +0000 (15:37 +0000)]
lm3s1968: add a busy wait sleep when enabling or disabling the UART peripheral.

This is an enforcement to be sure the peripheral is actually enabled or
disabled on return from lm3s_uartEnable()/lm3s_uartDisable().

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

14 years agoUse PROJECT_NAME instead of os.path.basename(PROJECT_PATH)
duplo [Fri, 23 Apr 2010 15:11:02 +0000 (15:11 +0000)]
Use PROJECT_NAME instead of os.path.basename(PROJECT_PATH)

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

14 years agolm3s1968: use the fixed-width Gohufont in the example.
arighi [Fri, 23 Apr 2010 14:58:46 +0000 (14:58 +0000)]
lm3s1968: use the fixed-width Gohufont in the example.

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

14 years agofont: add fixed-width Gohufont.
arighi [Fri, 23 Apr 2010 14:58:45 +0000 (14:58 +0000)]
font: add fixed-width Gohufont.

See also: http://font.gohu.eu.

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

14 years agorit128x96: allow to define starting x and y coordinates with rit128x96_blitRaw().
arighi [Fri, 23 Apr 2010 14:58:44 +0000 (14:58 +0000)]
rit128x96: allow to define starting x and y coordinates with rit128x96_blitRaw().

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

14 years agoAdd information about project source path.
duplo [Fri, 23 Apr 2010 14:50:01 +0000 (14:50 +0000)]
Add information about project source path.

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

14 years agoAdd information for advanced preset editing.
duplo [Fri, 23 Apr 2010 13:09:34 +0000 (13:09 +0000)]
Add information for advanced preset editing.

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

14 years agoUse " instead of ' for BProject file (to follow the BeRTOS wizard coding standard).
duplo [Fri, 23 Apr 2010 12:34:04 +0000 (12:34 +0000)]
Use " instead of ' for BProject file (to follow the BeRTOS wizard coding standard).

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

14 years agoFix existing directory problem with copytree.
duplo [Fri, 23 Apr 2010 11:11:09 +0000 (11:11 +0000)]
Fix existing directory problem with copytree.

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

14 years agoCreate an empty file if the user select the box.
duplo [Fri, 23 Apr 2010 10:24:01 +0000 (10:24 +0000)]
Create an empty file if the user select the box.

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

14 years agoCreating a new project from a preset the Wizard copy also the files contained into...
duplo [Fri, 23 Apr 2010 10:14:07 +0000 (10:14 +0000)]
Creating a new project from a preset the Wizard copy also the files contained into the preset project dir.

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

14 years agoAvoid the manual join of paths, using os.path.join.
duplo [Fri, 23 Apr 2010 09:32:52 +0000 (09:32 +0000)]
Avoid the manual join of paths, using os.path.join.

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

14 years agoAdd placeholder comment
duplo [Fri, 23 Apr 2010 09:25:41 +0000 (09:25 +0000)]
Add placeholder comment

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

14 years agoAdd properties to retrieve the project relevant dirs.
duplo [Fri, 23 Apr 2010 09:16:21 +0000 (09:16 +0000)]
Add properties to retrieve the project relevant dirs.

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

14 years agoAdd information to project.
duplo [Fri, 23 Apr 2010 09:16:03 +0000 (09:16 +0000)]
Add information to project.

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

14 years agoCompute duty cycle according to pwm polarity before to set it.
asterix [Fri, 23 Apr 2010 08:55:26 +0000 (08:55 +0000)]
Compute duty cycle according to pwm polarity before to set it.

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

14 years agoRemove not needed edit checks.
duplo [Fri, 23 Apr 2010 08:11:06 +0000 (08:11 +0000)]
Remove not needed edit checks.

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

14 years agolm3s1968: set the correct GPIO registers when enabling the peripheral clock for UART1...
arighi [Thu, 22 Apr 2010 21:57:33 +0000 (21:57 +0000)]
lm3s1968: set the correct GPIO registers when enabling the peripheral clock for UART1 and UART2.

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

14 years agorit128x96: introduce rit128x96_blitRaw() to draw a raw image on screen.
arighi [Thu, 22 Apr 2010 21:57:27 +0000 (21:57 +0000)]
rit128x96: introduce rit128x96_blitRaw() to draw a raw image on screen.

Moreover, fix the function naming according to the coding style.

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

14 years agoCM3: ensure that all processes have eight-byte stack alignment.
arighi [Wed, 21 Apr 2010 13:55:25 +0000 (13:55 +0000)]
CM3: ensure that all processes have eight-byte stack alignment.

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

14 years agolm3s1968: improve the example with GUI enhancements, keypad driver and menu.
arighi [Wed, 21 Apr 2010 13:55:24 +0000 (13:55 +0000)]
lm3s1968: improve the example with GUI enhancements, keypad driver and menu.

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

14 years agogui: refresh the local bitmap instead of referencing the global symbol lcd_bitmap.
arighi [Wed, 21 Apr 2010 13:55:23 +0000 (13:55 +0000)]
gui: refresh the local bitmap instead of referencing the global symbol lcd_bitmap.

This avoid to declare a global symbol lcd_bitmap when using the smooth
menu scrolling.

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

14 years agoReuse most of the available code.
duplo [Tue, 20 Apr 2010 19:08:02 +0000 (19:08 +0000)]
Reuse most of the available code.

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

14 years agoRemove the 'edit' parameter, no more needed.
duplo [Tue, 20 Apr 2010 16:41:05 +0000 (16:41 +0000)]
Remove the 'edit' parameter, no more needed.

TODO: the refactoring is work in progress. The duplicated code will be removed as soon as possible :)

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

14 years agoAdd method to create the sources dir into the project.
duplo [Tue, 20 Apr 2010 16:18:37 +0000 (16:18 +0000)]
Add method to create the sources dir into the project.

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

14 years agoAdd method for version file
duplo [Tue, 20 Apr 2010 16:14:44 +0000 (16:14 +0000)]
Add method for version file

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

14 years agoSplit the createBertosProject method.
duplo [Tue, 20 Apr 2010 16:07:46 +0000 (16:07 +0000)]
Split the createBertosProject method.

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

14 years agoAdd missing import
duplo [Tue, 20 Apr 2010 15:30:22 +0000 (15:30 +0000)]
Add missing import

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

14 years agoMove createBertosProject as BProject method
duplo [Tue, 20 Apr 2010 15:25:24 +0000 (15:25 +0000)]
Move createBertosProject as BProject method

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

14 years agoAdd wait cursor during preset loading.
duplo [Tue, 20 Apr 2010 14:44:00 +0000 (14:44 +0000)]
Add wait cursor during preset loading.

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

14 years agoSelect the current preset when the user go back after preset selection
duplo [Tue, 20 Apr 2010 14:43:39 +0000 (14:43 +0000)]
Select the current preset when the user go back after preset selection

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

14 years agoStub of preset load method.
duplo [Tue, 20 Apr 2010 14:32:22 +0000 (14:32 +0000)]
Stub of preset load method.

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

14 years agoAdd _ before the name of new 'private' methods.
duplo [Tue, 20 Apr 2010 13:53:18 +0000 (13:53 +0000)]
Add _ before the name of new 'private' methods.

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

14 years agoRemove trailing spaces.
duplo [Tue, 20 Apr 2010 13:50:20 +0000 (13:50 +0000)]
Remove trailing spaces.

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

14 years agoAdd setEnabledModules as method of BProject class (instead of function).
duplo [Tue, 20 Apr 2010 13:49:02 +0000 (13:49 +0000)]
Add setEnabledModules as method of BProject class (instead of function).

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

14 years agoSplit loadBertosProject method to reuse most of the code for presets.
duplo [Tue, 20 Apr 2010 13:41:46 +0000 (13:41 +0000)]
Split loadBertosProject method to reuse most of the code for presets.

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

14 years agoAdd stub of project loading from preset.
duplo [Tue, 20 Apr 2010 12:27:16 +0000 (12:27 +0000)]
Add stub of project loading from preset.

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

14 years agoSave the project preset path into the project.
duplo [Tue, 20 Apr 2010 10:34:23 +0000 (10:34 +0000)]
Save the project preset path into the project.

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

14 years agoAdd implementation for the isComplete method override.
duplo [Tue, 20 Apr 2010 10:12:07 +0000 (10:12 +0000)]
Add implementation for the isComplete method override.

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

14 years agoFix regression.
duplo [Tue, 20 Apr 2010 07:51:24 +0000 (07:51 +0000)]
Fix regression.

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

14 years agoHeap: refactor in order to add more tests.
batt [Mon, 19 Apr 2010 22:54:33 +0000 (22:54 +0000)]
Heap: refactor in order to add more tests.

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

14 years agoTypos.
batt [Mon, 19 Apr 2010 22:53:42 +0000 (22:53 +0000)]
Typos.

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

14 years agoReformat.
batt [Mon, 19 Apr 2010 22:52:01 +0000 (22:52 +0000)]
Reformat.

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

14 years agoHeap: add heap_freeSpace(), a new function.
batt [Mon, 19 Apr 2010 22:49:56 +0000 (22:49 +0000)]
Heap: add heap_freeSpace(), a new function.

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

14 years agoheap: Fix heap_freemem() when all the heap is full.
batt [Mon, 19 Apr 2010 22:41:40 +0000 (22:41 +0000)]
heap: Fix heap_freemem() when all the heap is full.

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

14 years agogfx: fix missing dependency.
arighi [Mon, 19 Apr 2010 16:54:41 +0000 (16:54 +0000)]
gfx: fix missing dependency.

The file line.c must be a dependency for gfx/text.c. This fixes
"undefined reference to `gfx_rectFillC'" errors.

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

14 years agomenu: correctly show the entry at the bottom of the display.
arighi [Mon, 19 Apr 2010 16:07:08 +0000 (16:07 +0000)]
menu: correctly show the entry at the bottom of the display.

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

14 years agokernel: preemptive and cooperative scheduler refactoring.
arighi [Mon, 19 Apr 2010 16:03:37 +0000 (16:03 +0000)]
kernel: preemptive and cooperative scheduler refactoring.

Cooperative and preemptive scheduler share almost the same code.
Everything can be merged into bertos/kern/proc.c.

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

14 years agoat91sam7x: force inlining of all the UART ISR functions.
arighi [Mon, 19 Apr 2010 16:03:35 +0000 (16:03 +0000)]
at91sam7x: force inlining of all the UART ISR functions.

NOTE: this is not just an improvement (that is worth to be applied
anyway), it's also a workaround for a GCC bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41999): the compiler
corrupts the stack pointer and the frame pointer when calling functions
with at least one parameter inside ISR functions, declared with
__attribute__((interrupt)).

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

14 years agoat91sam7x: add -fno-strict-aliasing -fwrapv build options to the example.
arighi [Mon, 19 Apr 2010 16:03:33 +0000 (16:03 +0000)]
at91sam7x: add -fno-strict-aliasing -fwrapv build options to the example.

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

14 years agoAdd icons to the Board page.
duplo [Mon, 19 Apr 2010 15:50:12 +0000 (15:50 +0000)]
Add icons to the Board page.

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

14 years agoAdd preset load functionality.
duplo [Mon, 19 Apr 2010 15:03:44 +0000 (15:03 +0000)]
Add preset load functionality.

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

14 years agoAdd test for project loading functionality.
duplo [Mon, 19 Apr 2010 15:03:03 +0000 (15:03 +0000)]
Add test for project loading functionality.

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

14 years agoRemove unwanted code (that search for information into files found using the TOOLCHAI...
duplo [Mon, 19 Apr 2010 13:17:30 +0000 (13:17 +0000)]
Remove unwanted code (that search for information into files found using the TOOLCHAIN attribute of the CPU).

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