bertos.git
14 years agoUpdate in order to use the new KBlock API.
batt [Sat, 3 Jul 2010 12:33:08 +0000 (12:33 +0000)]
Update in order to use the new KBlock API.

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

14 years agoAdd unbuffered methods for accessing a KBlock.
batt [Sat, 3 Jul 2010 12:31:04 +0000 (12:31 +0000)]
Add unbuffered methods for accessing a KBlock.

Since some modules which will use KBlock use an
internal buffer, the buffered API supplied by KBlock
may be redundant.

Specifically, if a module (like the FatFS) has its
own internal block buffer, the buffer inside the KBlock
would be wasted.
In order to avoid this waste of RAM, this patch adds
an unbuffered and simplified version of the API.

All KBlocks will implement this unbuffered API, and
they will give the user the option of adding a software
emulated buffer at init time. In this way we can have both
APIs with no RAM wasting.

In order to simplify KBlock implementors' job, a series of
generic functions is supplied. If the device supports
only a few functions of the KBlock low level API, the missing
ones may be generated using the generic ones.

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

14 years agoImplement read functions.
asterix [Fri, 2 Jul 2010 16:52:28 +0000 (16:52 +0000)]
Implement read functions.

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

14 years agoAdd status definition.
asterix [Fri, 2 Jul 2010 16:51:47 +0000 (16:51 +0000)]
Add status definition.

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

14 years agoAdd i2c pins definition.
asterix [Fri, 2 Jul 2010 16:51:06 +0000 (16:51 +0000)]
Add i2c pins definition.

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

14 years agoRecode files to unix newlines.
batt [Fri, 2 Jul 2010 10:49:47 +0000 (10:49 +0000)]
Recode files to unix newlines.

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

14 years agoRemove \version svn tag.
batt [Fri, 2 Jul 2010 10:20:16 +0000 (10:20 +0000)]
Remove \version svn tag.

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

14 years agoMove kfile interface to the io/ directory.
batt [Fri, 2 Jul 2010 10:01:25 +0000 (10:01 +0000)]
Move kfile interface to the io/ directory.

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

14 years agoSilence warning.
batt [Fri, 2 Jul 2010 09:36:15 +0000 (09:36 +0000)]
Silence warning.

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

14 years agoRemove unneeded if block, add some TODOs.
batt [Fri, 2 Jul 2010 09:32:32 +0000 (09:32 +0000)]
Remove unneeded if block, add some TODOs.

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

14 years agoUse correct macro.
batt [Fri, 2 Jul 2010 09:23:55 +0000 (09:23 +0000)]
Use correct macro.

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

14 years agoRead/Write only one block at a time.
batt [Thu, 1 Jul 2010 17:10:48 +0000 (17:10 +0000)]
Read/Write only one block at a time.

Since kblock API is meant to be used one block at a time,
this committ remove the multiblock support. This will speed up
access a bit in the common case.

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

14 years agoRemove redundant information from BattFS disk descriptor.
batt [Thu, 1 Jul 2010 17:08:27 +0000 (17:08 +0000)]
Remove redundant information from BattFS disk descriptor.

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

14 years agoDisable old BattFS interface in dataflash.
batt [Thu, 1 Jul 2010 16:26:11 +0000 (16:26 +0000)]
Disable old BattFS interface in dataflash.

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

14 years agoUpdate BattFS in order to use the new kblock interface.
batt [Thu, 1 Jul 2010 16:25:33 +0000 (16:25 +0000)]
Update BattFS in order to use the new kblock interface.

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

14 years agoLoad first page.
batt [Thu, 1 Jul 2010 16:24:55 +0000 (16:24 +0000)]
Load first page.

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

14 years agoAdd kblock over a file (using libc functions).
batt [Thu, 1 Jul 2010 16:24:27 +0000 (16:24 +0000)]
Add kblock over a file (using libc functions).

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

14 years agoAdd block start address even in direct Reads, add some comments.
batt [Thu, 1 Jul 2010 16:00:35 +0000 (16:00 +0000)]
Add block start address even in direct Reads, add some comments.

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

14 years agoRemove unneeded file.
asterix [Tue, 29 Jun 2010 15:06:53 +0000 (15:06 +0000)]
Remove unneeded file.

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

14 years agoRemove svn tag.
asterix [Tue, 29 Jun 2010 15:05:52 +0000 (15:05 +0000)]
Remove svn tag.

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

14 years agoClean up. Add other i2c regitry defines.
asterix [Tue, 29 Jun 2010 15:04:45 +0000 (15:04 +0000)]
Clean up. Add other i2c regitry defines.

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

14 years agoUpdate copyright.
asterix [Tue, 29 Jun 2010 15:04:01 +0000 (15:04 +0000)]
Update copyright.

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

14 years agoImplement i2c init.
asterix [Tue, 29 Jun 2010 15:03:30 +0000 (15:03 +0000)]
Implement i2c init.

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

14 years agoFirst implementation of i2c module for stm32.
asterix [Tue, 29 Jun 2010 10:51:17 +0000 (10:51 +0000)]
First implementation of i2c module for stm32.

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

14 years agoRemove svn tags.
asterix [Tue, 29 Jun 2010 10:50:45 +0000 (10:50 +0000)]
Remove svn tags.

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

14 years agoAdd i2c definition for stm32.
asterix [Tue, 29 Jun 2010 10:17:48 +0000 (10:17 +0000)]
Add i2c definition for stm32.

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

14 years agoImplement the temperature computation in fixed point.
asterix [Tue, 29 Jun 2010 09:25:19 +0000 (09:25 +0000)]
Implement the temperature computation in fixed point.

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

14 years agoRefactor interface in order to simplify user API access.
batt [Mon, 28 Jun 2010 18:19:46 +0000 (18:19 +0000)]
Refactor interface in order to simplify user API access.
Documentation is still incomplete.

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

14 years agoReformat. Clean up. Use more clear variable names.
asterix [Mon, 28 Jun 2010 18:16:39 +0000 (18:16 +0000)]
Reformat. Clean up. Use more clear variable names.

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

14 years agoRevert last commit and add comments.
asterix [Mon, 28 Jun 2010 18:12:07 +0000 (18:12 +0000)]
Revert last commit and add comments.

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

14 years agoAdd some adc function hw specific.
asterix [Mon, 28 Jun 2010 18:03:04 +0000 (18:03 +0000)]
Add some adc function hw specific.

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

14 years agoAdd some adc function hw specific.
asterix [Mon, 28 Jun 2010 18:01:35 +0000 (18:01 +0000)]
Add some adc function hw specific.

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

14 years agoAdd some specifc define for olimex stm32 board.
asterix [Mon, 28 Jun 2010 18:01:09 +0000 (18:01 +0000)]
Add some specifc define for olimex stm32 board.

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

14 years agoFix sample time adc settings. Calibrate ADC when we init it.
asterix [Mon, 28 Jun 2010 17:46:21 +0000 (17:46 +0000)]
Fix sample time adc settings. Calibrate ADC when we init it.

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

14 years agoAdd adc kernel support.
asterix [Mon, 28 Jun 2010 16:35:21 +0000 (16:35 +0000)]
Add adc kernel support.

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

14 years agoClean up, and reoder the code. Add comments.
asterix [Mon, 28 Jun 2010 15:02:45 +0000 (15:02 +0000)]
Clean up, and reoder the code. Add comments.

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

14 years agoAdd first implementation of adc module for stm32 cpu.
asterix [Mon, 28 Jun 2010 14:53:35 +0000 (14:53 +0000)]
Add first implementation of adc module for stm32 cpu.

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

14 years agoAdd stm_adc registry structure. Add other registry defines.
asterix [Mon, 28 Jun 2010 14:52:20 +0000 (14:52 +0000)]
Add stm_adc registry structure. Add other registry defines.

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

14 years agoUse different name for clear masks.
asterix [Mon, 28 Jun 2010 14:51:19 +0000 (14:51 +0000)]
Use different name for clear masks.

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

14 years agoAdd class type, fix copyright year.
batt [Mon, 28 Jun 2010 13:08:32 +0000 (13:08 +0000)]
Add class type, fix copyright year.

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

14 years agoFixes warning.
batt [Mon, 28 Jun 2010 10:51:10 +0000 (10:51 +0000)]
Fixes warning.

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

14 years agoAdd kblock over a ram buffer wrapper.
batt [Fri, 25 Jun 2010 18:37:00 +0000 (18:37 +0000)]
Add kblock over a ram buffer wrapper.

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

14 years agoAdd missing headers; fix typo.
batt [Fri, 25 Jun 2010 18:36:05 +0000 (18:36 +0000)]
Add missing headers; fix typo.

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

14 years agoAdd first stub of a generic block device interface.
batt [Fri, 25 Jun 2010 17:24:47 +0000 (17:24 +0000)]
Add first stub of a generic block device interface.

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

14 years agoDistribute the same comment to all group members.
batt [Fri, 25 Jun 2010 17:23:45 +0000 (17:23 +0000)]
Distribute the same comment to all group members.

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

14 years agoRemove svn tag.
asterix [Thu, 24 Jun 2010 17:18:54 +0000 (17:18 +0000)]
Remove svn tag.

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

14 years agoWe use same gpio port reg.
asterix [Thu, 24 Jun 2010 17:18:30 +0000 (17:18 +0000)]
We use same gpio port reg.

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

14 years agoReorder includes.
asterix [Thu, 24 Jun 2010 17:17:28 +0000 (17:17 +0000)]
Reorder includes.

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

14 years agoRemove svn tag.
asterix [Thu, 24 Jun 2010 10:58:09 +0000 (10:58 +0000)]
Remove svn tag.

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

14 years agoRemove svn tags.
asterix [Thu, 24 Jun 2010 10:56:47 +0000 (10:56 +0000)]
Remove svn tags.

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

14 years agoAdd adc defines.
asterix [Thu, 24 Jun 2010 09:54:22 +0000 (09:54 +0000)]
Add adc defines.

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

14 years agoReformat.
asterix [Thu, 24 Jun 2010 08:30:23 +0000 (08:30 +0000)]
Reformat.

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

14 years agoAdd hw error detect.
asterix [Thu, 24 Jun 2010 08:30:00 +0000 (08:30 +0000)]
Add hw error detect.

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

14 years agoClean up. Use defines instead magic numers.
asterix [Thu, 24 Jun 2010 08:12:53 +0000 (08:12 +0000)]
Clean up. Use defines instead magic numers.

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

14 years agoAdd serial module.
asterix [Wed, 23 Jun 2010 16:54:03 +0000 (16:54 +0000)]
Add serial module.

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

14 years agoAdd stm32 serial support.
asterix [Wed, 23 Jun 2010 16:53:42 +0000 (16:53 +0000)]
Add stm32 serial support.

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

14 years agoAdd missing include.
asterix [Wed, 23 Jun 2010 16:53:25 +0000 (16:53 +0000)]
Add missing include.

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

14 years agoReformat.
asterix [Wed, 23 Jun 2010 16:53:06 +0000 (16:53 +0000)]
Reformat.

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

14 years agoReorder defines and new ones.
asterix [Wed, 23 Jun 2010 16:52:24 +0000 (16:52 +0000)]
Reorder defines and new ones.

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

14 years agoAdd interrupt table defines.
asterix [Wed, 23 Jun 2010 16:51:20 +0000 (16:51 +0000)]
Add interrupt table defines.

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

14 years agoMove some common defines to uart.h.
asterix [Wed, 23 Jun 2010 16:50:13 +0000 (16:50 +0000)]
Move some common defines to uart.h.

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

14 years agoReorde include.
asterix [Wed, 23 Jun 2010 16:46:27 +0000 (16:46 +0000)]
Reorde include.

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

14 years agoFix comment.
batt [Tue, 22 Jun 2010 08:25:39 +0000 (08:25 +0000)]
Fix comment.

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

14 years agoAdd some more error messages.
batt [Mon, 21 Jun 2010 17:56:15 +0000 (17:56 +0000)]
Add some more error messages.

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

14 years agoSet correct boot size in order to gain some flash.
batt [Mon, 21 Jun 2010 17:14:12 +0000 (17:14 +0000)]
Set correct boot size in order to gain some flash.

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

14 years agoAdd exception handling for parsing error within the preset route.
duplo [Mon, 21 Jun 2010 13:18:35 +0000 (13:18 +0000)]
Add exception handling for parsing error within the preset route.

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

14 years agoSave some RAM space.
batt [Mon, 21 Jun 2010 10:25:51 +0000 (10:25 +0000)]
Save some RAM space.

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

14 years agoRefactor and optimize code.
batt [Fri, 18 Jun 2010 18:21:03 +0000 (18:21 +0000)]
Refactor and optimize code.

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

14 years agoRemove redundant code.
batt [Fri, 18 Jun 2010 15:33:08 +0000 (15:33 +0000)]
Remove redundant code.

The flash init code is already present in
the crt startup code.

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

14 years agoFix ticket #97.
duplo [Mon, 14 Jun 2010 08:54:40 +0000 (08:54 +0000)]
Fix ticket #97.

Now when a module is automatically unselected the font is reverted to normal (not bold).

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

14 years agoWizard option to create codelite files is True as default. The user must check everyt...
asterix [Fri, 11 Jun 2010 15:04:39 +0000 (15:04 +0000)]
Wizard option to create codelite files is True as default. The user must check everytime the checkbox to not create them.

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

14 years agoFix default value for codelite files checkbox.
duplo [Fri, 11 Jun 2010 14:30:46 +0000 (14:30 +0000)]
Fix default value for codelite files checkbox.

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

14 years agoAttempt to fix the "Always checked no codelite files checkbox" issue.
duplo [Fri, 11 Jun 2010 14:23:13 +0000 (14:23 +0000)]
Attempt to fix the "Always checked no codelite files checkbox" issue.

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

14 years agoFix timer selection for some avr cpus.
asterix [Fri, 11 Jun 2010 10:53:41 +0000 (10:53 +0000)]
Fix timer selection for some avr cpus.

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

14 years agoFix typo.
asterix [Thu, 10 Jun 2010 17:04:28 +0000 (17:04 +0000)]
Fix typo.

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

14 years agoUpdate the interrupt signal to new style.
asterix [Thu, 10 Jun 2010 15:37:04 +0000 (15:37 +0000)]
Update the interrupt signal to new style.

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

14 years agoSlow bounging logo.
asterix [Thu, 10 Jun 2010 09:57:37 +0000 (09:57 +0000)]
Slow bounging logo.

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

14 years agoSet correct programmer type.
asterix [Thu, 10 Jun 2010 09:57:12 +0000 (09:57 +0000)]
Set correct programmer type.

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

14 years agoRemove module from wizard.
asterix [Thu, 10 Jun 2010 09:09:59 +0000 (09:09 +0000)]
Remove module from wizard.

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

14 years agoUpdate bertos logo.
asterix [Thu, 10 Jun 2010 09:01:46 +0000 (09:01 +0000)]
Update bertos logo.

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

14 years agoRemove wrong wizard cfg file. Clean up.
asterix [Thu, 10 Jun 2010 09:01:24 +0000 (09:01 +0000)]
Remove wrong wizard cfg file. Clean up.

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

14 years agoMinor fixes in AT91 ADC module.
batt [Wed, 9 Jun 2010 11:01:15 +0000 (11:01 +0000)]
Minor fixes in AT91 ADC module.

Improve documentation and fix macros in order to
always use a frequency compliant with ADC specifications.

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

14 years agoAdd test for negative coordinates.
batt [Tue, 8 Jun 2010 21:02:42 +0000 (21:02 +0000)]
Add test for negative coordinates.

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

14 years agoRemove previous hack to let the new infrastructure work.
asterix [Tue, 8 Jun 2010 14:28:01 +0000 (14:28 +0000)]
Remove previous hack to let the new infrastructure work.

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

14 years agoRe-add a wrongly reverted commit.
duplo [Tue, 8 Jun 2010 14:02:43 +0000 (14:02 +0000)]
Re-add a wrongly reverted commit.

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

14 years agoAttempt to fix ToolchainPage reloadData information.
duplo [Tue, 8 Jun 2010 14:01:40 +0000 (14:01 +0000)]
Attempt to fix ToolchainPage reloadData information.

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

14 years agoAdd new parameter to reloadData method (an integer containing the id of the previous...
duplo [Tue, 8 Jun 2010 13:59:55 +0000 (13:59 +0000)]
Add new parameter to reloadData method (an integer containing the id of the previous page, or the next, if your coming back).

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

14 years agoFix cpu reloadPage method
asterix [Tue, 8 Jun 2010 13:03:20 +0000 (13:03 +0000)]
Fix cpu reloadPage method

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

14 years agoRemember the previously selected toolchain when coming back from the module page.
asterix [Tue, 8 Jun 2010 12:50:48 +0000 (12:50 +0000)]
Remember the previously selected toolchain when coming back from the module page.

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

14 years agoFix toolchain reloadPage problem (_valid_items list wasn't cleared properly).
asterix [Tue, 8 Jun 2010 12:45:59 +0000 (12:45 +0000)]
Fix toolchain reloadPage problem (_valid_items list wasn't cleared properly).

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

14 years agoFix join argument.
asterix [Tue, 8 Jun 2010 10:38:54 +0000 (10:38 +0000)]
Fix join argument.

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

14 years agoFix main.c souce path in user makefile.
asterix [Tue, 8 Jun 2010 10:27:22 +0000 (10:27 +0000)]
Fix main.c souce path in user makefile.

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

14 years agoRefactor in order to test also negative altitude values.
batt [Mon, 7 Jun 2010 17:45:12 +0000 (17:45 +0000)]
Refactor in order to test also negative altitude values.

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

14 years agoFix sign related issues.
batt [Mon, 7 Jun 2010 17:44:45 +0000 (17:44 +0000)]
Fix sign related issues.

Altitude and decimal degrees positions can be negative!
Without this patch, dangerous overflows can happen.
Also fix some minor documentation issues.

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

14 years agoFix typo.
batt [Fri, 4 Jun 2010 19:57:38 +0000 (19:57 +0000)]
Fix typo.

Very hard to find bug!
It caused CPU starvation when there was no AFSK data.

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

14 years agoRemove #ifdef leftovers.
batt [Fri, 4 Jun 2010 12:05:47 +0000 (12:05 +0000)]
Remove #ifdef leftovers.

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

14 years agoBetter HD44780 lcd display initialization.
batt [Thu, 3 Jun 2010 15:58:51 +0000 (15:58 +0000)]
Better HD44780 lcd display initialization.

If the display is already in 4bit mode, reset to 8 bit
mode first, otherwise commands are misunderstood.

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

14 years agoAdd support for 24XX1024 memories, fix some warnings.
batt [Thu, 3 Jun 2010 15:47:52 +0000 (15:47 +0000)]
Add support for 24XX1024 memories, fix some warnings.

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

14 years agoAdd support for 24XX08 eeproms, signed-off by Giovanni Casano.
batt [Thu, 3 Jun 2010 15:37:03 +0000 (15:37 +0000)]
Add support for 24XX08 eeproms, signed-off by Giovanni Casano.

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

14 years agosignal: correctly deliver signal to current_process.
arighi [Thu, 3 Jun 2010 12:18:50 +0000 (12:18 +0000)]
signal: correctly deliver signal to current_process.

It may happen that a process needs to send a signal to itself to
synchronize on an asynchronous event, e.g., an event triggered by an
interrupt.

In such case we must correctly clear the proc->sig_wait mask.

This fix also improves the signal delivery's performance, because we
don't need to check anymore if we need to skip the delivery to
current_process.

NOTE: we can replace this check with an ASSERT(), if proc->sig_wait is
set the current process can't actively deliver a signal to itself
(it's in sleep state waiting for a signal and can't run by definition).

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