bertos.git
14 years agoFlush kfile in generic kfile_close implementation.
batt [Sat, 24 Jul 2010 10:23:46 +0000 (10:23 +0000)]
Flush kfile in generic kfile_close implementation.

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

14 years agoAdd missing stop and check errors.
asterix [Thu, 22 Jul 2010 15:17:46 +0000 (15:17 +0000)]
Add missing stop and check errors.

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

14 years agoReformat; Optimize flush.
batt [Fri, 9 Jul 2010 16:43:14 +0000 (16:43 +0000)]
Reformat; Optimize flush.

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

14 years agoAdd some documentation.
batt [Fri, 9 Jul 2010 16:39:21 +0000 (16:39 +0000)]
Add some documentation.

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

14 years agoSilence warning.
batt [Fri, 9 Jul 2010 10:47:03 +0000 (10:47 +0000)]
Silence warning.

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

14 years agoRemove unneeded configuration.
batt [Fri, 9 Jul 2010 10:43:34 +0000 (10:43 +0000)]
Remove unneeded configuration.

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

14 years agoFlush the transfer before exiting from write function.
batt [Fri, 9 Jul 2010 10:43:19 +0000 (10:43 +0000)]
Flush the transfer before exiting from write function.

Since the buffer is used by the DMA, if we return early we run the
risk of having the buffer overwritten before the transfer will be
completed.
Waiting for the flush could be theorically a pessimization, but from
tests, since the typical use involves mixed reads/writes, we already
wait for the transfers to be completed, and performance are
almost the same.

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

14 years agoImprove docs.
batt [Thu, 8 Jul 2010 17:19:43 +0000 (17:19 +0000)]
Improve docs.

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

14 years agoIncrease read/write performances; add some comments.
batt [Thu, 8 Jul 2010 16:59:42 +0000 (16:59 +0000)]
Increase read/write performances; add some comments.

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

14 years agoSilence warning during night test.
batt [Thu, 8 Jul 2010 16:32:34 +0000 (16:32 +0000)]
Silence warning during night test.

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

14 years agoReformat;Increase NAC timeout; Fix warning; Add simple write test.
batt [Thu, 8 Jul 2010 16:29:42 +0000 (16:29 +0000)]
Reformat;Increase NAC timeout; Fix warning; Add simple write test.

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

14 years agoSimplify driver in order to use less memory. The FIFO implementation had also a bug...
batt [Thu, 8 Jul 2010 15:42:42 +0000 (15:42 +0000)]
Simplify driver in order to use less memory. The FIFO implementation had also a bug in write mode.

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

14 years agoAdd missing dependancy.
batt [Tue, 6 Jul 2010 16:05:26 +0000 (16:05 +0000)]
Add missing dependancy.

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

14 years agoUpdate SD driver in order to use the new KBlock API.
batt [Tue, 6 Jul 2010 15:59:49 +0000 (15:59 +0000)]
Update SD driver in order to use the new KBlock API.

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

14 years agoAdd generic KBlock disk interface for FatFs module.
batt [Tue, 6 Jul 2010 15:58:29 +0000 (15:58 +0000)]
Add generic KBlock disk interface for FatFs module.

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

14 years agoAdd log level options to fat module.
batt [Tue, 6 Jul 2010 15:55:38 +0000 (15:55 +0000)]
Add log level options to fat module.

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

14 years agoUpdate to latest KBlock low level API.
batt [Mon, 5 Jul 2010 22:20:11 +0000 (22:20 +0000)]
Update to latest KBlock low level API.

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

14 years agoRemove readBlock method in order to simplify low level API.
batt [Mon, 5 Jul 2010 22:19:25 +0000 (22:19 +0000)]
Remove readBlock method in order to simplify low level API.

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

14 years agoAdd newline at end of file.
batt [Mon, 5 Jul 2010 10:38:51 +0000 (10:38 +0000)]
Add newline at end of file.

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

14 years agoEmulate an hw buffer.
batt [Sat, 3 Jul 2010 13:35:28 +0000 (13:35 +0000)]
Emulate an hw buffer.

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

14 years agoUse new cache accessors to increase performances.
batt [Sat, 3 Jul 2010 13:34:52 +0000 (13:34 +0000)]
Use new cache accessors to increase performances.

A common pattern is to write on a file one byte at a time.
Since consecutive writes are mostly on the same block, BattFS
would allocate a new block each time to avoid burning
the sector.
This is very inefficient, and since we have a cache, we can
avoid re-writing the block by using it.

This patch does not rewrite a block if it is cached, and use
the cache efficiently.

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

14 years agoSet cache_dirty flag to be a bitmask; add accessors and update code.
batt [Sat, 3 Jul 2010 13:28:13 +0000 (13:28 +0000)]
Set cache_dirty flag to be a bitmask; add accessors and update code.

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

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