bertos.git
16 years agoMerged from external project:
batt [Wed, 8 Oct 2008 14:15:11 +0000 (14:15 +0000)]
Merged from external project:
**********
r22495 | batt | 2008-10-08 16:14:51 +0200 (Wed, 08 Oct 2008) | 1 line

Typos.
**********

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

16 years agoMerged from external project:
batt [Wed, 8 Oct 2008 14:15:08 +0000 (14:15 +0000)]
Merged from external project:
**********
r22494 | batt | 2008-10-08 16:14:36 +0200 (Wed, 08 Oct 2008) | 1 line

Avoid warning if log level is lower than INFO.
**********

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

16 years agoMerged from external project:
batt [Wed, 8 Oct 2008 13:06:04 +0000 (13:06 +0000)]
Merged from external project:
**********
r22490 | batt | 2008-10-08 15:05:13 +0200 (Wed, 08 Oct 2008) | 1 line

Typo.
**********

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

16 years agoMerged from external project:
batt [Tue, 7 Oct 2008 16:31:24 +0000 (16:31 +0000)]
Merged from external project:
**********
r22426 | batt | 2008-10-07 18:30:20 +0200 (Tue, 07 Oct 2008) | 1 line

Add missing support for SAM7X128.
**********

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

16 years agoAdd remote merge script.
batt [Mon, 6 Oct 2008 17:38:11 +0000 (17:38 +0000)]
Add remote merge script.

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:22:03 +0000 (17:22 +0000)]
Merged from external project:
**********
r22419 | batt | 2008-10-03 15:25:13 +0200 (Fri, 03 Oct 2008) | 1 line

Add missing headers; Add ASSERT to check sync on start; add modcheck for timer.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:22:01 +0000 (17:22 +0000)]
Merged from external project:
**********
r22418 | batt | 2008-10-03 12:53:56 +0200 (Fri, 03 Oct 2008) | 1 line

Refactor to use log subsystem.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:59 +0000 (17:21 +0000)]
Merged from external project:
**********
r22415 | batt | 2008-10-03 12:49:09 +0200 (Fri, 03 Oct 2008) | 1 line

Refactor after testing: now works.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:57 +0000 (17:21 +0000)]
Merged from external project:
**********
r22414 | batt | 2008-10-03 12:48:06 +0200 (Fri, 03 Oct 2008) | 1 line

Add hw-specific delay for i2c timing.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:55 +0000 (17:21 +0000)]
Merged from external project:
**********
r22413 | batt | 2008-10-03 12:47:32 +0200 (Fri, 03 Oct 2008) | 1 line

Add log configuration to i2c.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:53 +0000 (17:21 +0000)]
Merged from external project:
**********
r22412 | batt | 2008-10-03 12:46:25 +0200 (Fri, 03 Oct 2008) | 1 line

Rename READ_BIT to I2C_READBIT.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:50 +0000 (17:21 +0000)]
Merged from external project:
**********
r22411 | batt | 2008-10-03 12:45:35 +0200 (Fri, 03 Oct 2008) | 1 line

Silence warnings.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:48 +0000 (17:21 +0000)]
Merged from external project:
**********
r22408 | batt | 2008-10-02 12:09:50 +0200 (Thu, 02 Oct 2008) | 1 line

Add low level macros for bitbang i2c.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:46 +0000 (17:21 +0000)]
Merged from external project:
**********
r22406 | batt | 2008-10-02 11:48:27 +0200 (Thu, 02 Oct 2008) | 1 line

Rename and move code to comply to new i2c interface.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:43 +0000 (17:21 +0000)]
Merged from external project:
**********
r22402 | batt | 2008-10-02 11:30:26 +0200 (Thu, 02 Oct 2008) | 1 line

Rename i2c cfg module.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:40 +0000 (17:21 +0000)]
Merged from external project:
**********
r22401 | batt | 2008-10-02 11:24:17 +0200 (Thu, 02 Oct 2008) | 1 line

Rename avr driver.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:37 +0000 (17:21 +0000)]
Merged from external project:
**********
r22400 | batt | 2008-10-02 11:15:03 +0200 (Thu, 02 Oct 2008) | 1 line

Refactor for new i2c interface.
**********

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

16 years agoMerged from external project:
batt [Mon, 6 Oct 2008 17:21:34 +0000 (17:21 +0000)]
Merged from external project:
**********
r22398 | batt | 2008-10-02 11:14:38 +0200 (Thu, 02 Oct 2008) | 1 line

Add generic i2c interface.
**********

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

16 years agoDisable preemptive kernel (not working).
batt [Fri, 3 Oct 2008 14:20:42 +0000 (14:20 +0000)]
Disable preemptive kernel (not working).

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

16 years agoFix Luminary LM3S detection.
batt [Thu, 2 Oct 2008 08:44:15 +0000 (08:44 +0000)]
Fix Luminary LM3S detection.

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

16 years agoAdd skel of i2c bitbang driver.
batt [Wed, 1 Oct 2008 21:05:33 +0000 (21:05 +0000)]
Add skel of i2c bitbang driver.

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

16 years agoAdd error check.
batt [Mon, 29 Sep 2008 15:46:29 +0000 (15:46 +0000)]
Add error check.

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

16 years agoDocument errors.
batt [Mon, 29 Sep 2008 15:03:38 +0000 (15:03 +0000)]
Document errors.

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

16 years agoAdd error handling.
batt [Mon, 29 Sep 2008 15:00:14 +0000 (15:00 +0000)]
Add error handling.

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

16 years agoAdd missing include.
batt [Sat, 27 Sep 2008 07:50:47 +0000 (07:50 +0000)]
Add missing include.

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

16 years agoAdd macro for shuffling an array.
batt [Fri, 26 Sep 2008 22:24:36 +0000 (22:24 +0000)]
Add macro for shuffling an array.

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

16 years agoRename battfs_init to battfs_mount and battfs_close to battfs_umount.
batt [Fri, 26 Sep 2008 20:49:38 +0000 (20:49 +0000)]
Rename battfs_init to battfs_mount and battfs_close to battfs_umount.

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

16 years agoSilence warning on 32bit platforms.
batt [Fri, 26 Sep 2008 20:44:38 +0000 (20:44 +0000)]
Silence warning on 32bit platforms.

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

16 years agoFix warnings.
batt [Fri, 26 Sep 2008 16:05:07 +0000 (16:05 +0000)]
Fix warnings.

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

16 years agoReformat; fix a warning.
batt [Fri, 26 Sep 2008 16:04:42 +0000 (16:04 +0000)]
Reformat; fix a warning.

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

16 years agoImprove readability using disk-> instead of fdb->disk->...
batt [Fri, 26 Sep 2008 15:48:19 +0000 (15:48 +0000)]
Improve readability using disk-> instead of fdb->disk->...

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

16 years agoReformat.
batt [Fri, 26 Sep 2008 15:47:33 +0000 (15:47 +0000)]
Reformat.

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

16 years agoAdd more tests; handle end of disk space correctly.
batt [Fri, 26 Sep 2008 15:00:21 +0000 (15:00 +0000)]
Add more tests; handle end of disk space correctly.

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

16 years agoAdd missing semicolon; remove useless test.
batt [Thu, 25 Sep 2008 17:44:56 +0000 (17:44 +0000)]
Add missing semicolon; remove useless test.

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

16 years agoAlso fsck right after init.
batt [Thu, 25 Sep 2008 17:39:26 +0000 (17:39 +0000)]
Also fsck right after init.

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

16 years agoRemove unneeded goto.
batt [Thu, 25 Sep 2008 17:38:55 +0000 (17:38 +0000)]
Remove unneeded goto.

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

16 years agoAdd filesystem consistency check.
batt [Thu, 25 Sep 2008 17:35:06 +0000 (17:35 +0000)]
Add filesystem consistency check.

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

16 years agoFix warnings.
batt [Thu, 25 Sep 2008 16:42:46 +0000 (16:42 +0000)]
Fix warnings.

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

16 years agoAvoid flushing the same page twice.
batt [Thu, 25 Sep 2008 16:35:18 +0000 (16:35 +0000)]
Avoid flushing the same page twice.

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

16 years agoRefactor to fill sparse bytes with a known value (0).
batt [Thu, 25 Sep 2008 16:11:55 +0000 (16:11 +0000)]
Refactor to fill sparse bytes with a known value (0).

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

16 years agodisk->data_size now hold the space size usable by data inside a page.
batt [Thu, 25 Sep 2008 14:37:17 +0000 (14:37 +0000)]
disk->data_size now hold the space size usable by data inside a page.

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

16 years agoAdd support for writing far over the EOF.
batt [Thu, 25 Sep 2008 13:59:37 +0000 (13:59 +0000)]
Add support for writing far over the EOF.

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

16 years agoReformat.
batt [Thu, 25 Sep 2008 13:59:32 +0000 (13:59 +0000)]
Reformat.

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

16 years agoHandle reading outside EOF.
batt [Wed, 24 Sep 2008 16:36:13 +0000 (16:36 +0000)]
Handle reading outside EOF.

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

16 years agoRestore correct MODE type.
batt [Wed, 24 Sep 2008 16:22:07 +0000 (16:22 +0000)]
Restore correct MODE type.

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

16 years agoGive to each test a proper name.
batt [Wed, 24 Sep 2008 16:16:38 +0000 (16:16 +0000)]
Give to each test a proper name.

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

16 years agoUse correct inode_t type.
batt [Wed, 24 Sep 2008 15:29:40 +0000 (15:29 +0000)]
Use correct inode_t type.

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

16 years agoRemove unneeded if.
batt [Wed, 24 Sep 2008 15:29:09 +0000 (15:29 +0000)]
Remove unneeded if.

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

16 years agoRefactor to automatically fill new page header on loading a new page.
batt [Tue, 23 Sep 2008 17:41:21 +0000 (17:41 +0000)]
Refactor to automatically fill new page header on loading a new page.

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

16 years agoRemove cache of current header.
batt [Tue, 23 Sep 2008 17:31:01 +0000 (17:31 +0000)]
Remove cache of current header.

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

16 years agoAdd a test.
batt [Tue, 23 Sep 2008 17:27:29 +0000 (17:27 +0000)]
Add a test.

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

16 years agoFix moving other open files when a file is growing; add some log messages; fix positi...
batt [Tue, 23 Sep 2008 17:08:16 +0000 (17:08 +0000)]
Fix moving other open files when a file is growing; add some log messages; fix position computation when a new page is added to a file.

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

16 years agoAdd some debug features.
batt [Tue, 23 Sep 2008 13:44:50 +0000 (13:44 +0000)]
Add some debug features.

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

16 years agoAdd and fix some log messages; add dumpPageArray (for debugging purpose); fix countFi...
batt [Tue, 23 Sep 2008 13:34:11 +0000 (13:34 +0000)]
Add and fix some log messages; add dumpPageArray (for debugging purpose); fix countFilePages to stop at free space start.

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

16 years agoAdd more write tests.
batt [Sun, 21 Sep 2008 12:51:03 +0000 (12:51 +0000)]
Add more write tests.

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

16 years agoRemove duplicate "errir" string.
batt [Sun, 21 Sep 2008 12:50:15 +0000 (12:50 +0000)]
Remove duplicate "errir" string.

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

16 years agoAdd another write test.
batt [Sat, 20 Sep 2008 13:23:14 +0000 (13:23 +0000)]
Add another write test.

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

16 years agoAdd max page offset allocated for the file; add some log and fix some typos.
batt [Sat, 20 Sep 2008 13:22:57 +0000 (13:22 +0000)]
Add max page offset allocated for the file; add some log and fix some typos.

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

16 years agoAdd doc.
batt [Sat, 20 Sep 2008 10:58:34 +0000 (10:58 +0000)]
Add doc.

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

16 years agoDisable TRACEMSGs.
batt [Sat, 20 Sep 2008 10:54:04 +0000 (10:54 +0000)]
Disable TRACEMSGs.

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

16 years agoMore aggressive cache an read; rename some static method; getNewPage: new method...
batt [Sat, 20 Sep 2008 10:53:31 +0000 (10:53 +0000)]
More aggressive cache an read; rename some static method; getNewPage: new method; Add creation of new files and writing over EOF.

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

16 years agoAdd caching of current header, add some docs.
batt [Sat, 20 Sep 2008 10:50:45 +0000 (10:50 +0000)]
Add caching of current header, add some docs.

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

16 years agoAdd cache read API.
batt [Fri, 19 Sep 2008 20:12:32 +0000 (20:12 +0000)]
Add cache read API.

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

16 years agoAdd more writing test.
batt [Fri, 19 Sep 2008 19:51:30 +0000 (19:51 +0000)]
Add more writing test.

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

16 years agoAdd missing page erase.
batt [Fri, 19 Sep 2008 19:39:22 +0000 (19:39 +0000)]
Add missing page erase.

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

16 years agoAdd first write test.
batt [Fri, 19 Sep 2008 19:22:07 +0000 (19:22 +0000)]
Add first write test.

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

16 years agoAdd some log info; add a missing "!".
batt [Fri, 19 Sep 2008 19:21:36 +0000 (19:21 +0000)]
Add some log info; add a missing "!".

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

16 years agoReformat.
batt [Fri, 19 Sep 2008 17:00:40 +0000 (17:00 +0000)]
Reformat.

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

16 years agoSearch files only in used blocks.
batt [Fri, 19 Sep 2008 16:44:52 +0000 (16:44 +0000)]
Search files only in used blocks.

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

16 years agoRefactor countFileSize to return the size directly.
batt [Fri, 19 Sep 2008 16:32:15 +0000 (16:32 +0000)]
Refactor countFileSize to return the size directly.

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

16 years agoFix test, add some TRACE.
batt [Fri, 19 Sep 2008 16:26:41 +0000 (16:26 +0000)]
Fix test, add some TRACE.

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

16 years agoAdd preliminary write support; initialize to 0xff the memory in battfs_writeTestBlock...
batt [Fri, 19 Sep 2008 16:26:14 +0000 (16:26 +0000)]
Add preliminary write support; initialize to 0xff the memory in battfs_writeTestBlock; implement battfs_flush.

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

16 years agoSwitch to new disk write interface:the disk should now supply the write buffer.
batt [Thu, 18 Sep 2008 16:42:55 +0000 (16:42 +0000)]
Switch to new disk write interface:the disk should now supply the write buffer.

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

16 years agoFix doc; compile test only in UNIT_TEST.
batt [Tue, 16 Sep 2008 13:35:39 +0000 (13:35 +0000)]
Fix doc; compile test only in UNIT_TEST.

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

16 years agoFix battfs tests.
batt [Tue, 16 Sep 2008 13:25:35 +0000 (13:25 +0000)]
Fix battfs tests.

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

16 years agoRemove dead code.
batt [Tue, 16 Sep 2008 12:48:18 +0000 (12:48 +0000)]
Remove dead code.

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

16 years agoSimplify sequence numbering: now pages have a monotonically increasing sequence numnber.
batt [Tue, 16 Sep 2008 12:47:26 +0000 (12:47 +0000)]
Simplify sequence numbering: now pages have a monotonically increasing sequence numnber.

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

16 years agoRemove dead code; Use LOG_ERR; Fix 2 typo.
batt [Mon, 15 Sep 2008 22:21:47 +0000 (22:21 +0000)]
Remove dead code; Use LOG_ERR; Fix 2 typo.

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

16 years agoStart to fix some tests.
batt [Mon, 15 Sep 2008 22:20:27 +0000 (22:20 +0000)]
Start to fix some tests.

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

16 years agoUpdate to new names and API.
batt [Mon, 15 Sep 2008 20:16:13 +0000 (20:16 +0000)]
Update to new names and API.

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

16 years agoVery preliminary: remove from BattFS the LRU of free blocks; now the old blocks are...
batt [Mon, 15 Sep 2008 17:28:29 +0000 (17:28 +0000)]
Very preliminary: remove from BattFS the LRU of free blocks; now the old blocks are left on the disk with an old seq number.

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

16 years agoFix docs; optimization.
batt [Fri, 12 Sep 2008 10:39:57 +0000 (10:39 +0000)]
Fix docs; optimization.

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

16 years agoRemove old battfs_test leftover.
batt [Thu, 11 Sep 2008 16:33:34 +0000 (16:33 +0000)]
Remove old battfs_test leftover.

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

16 years agoUnbreak battfs_test: comply with new policy.
batt [Thu, 11 Sep 2008 16:32:55 +0000 (16:32 +0000)]
Unbreak battfs_test: comply with new policy.

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

16 years agoTypo.
batt [Wed, 10 Sep 2008 09:50:26 +0000 (09:50 +0000)]
Typo.

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

16 years agoRename macros.
batt [Mon, 8 Sep 2008 14:01:50 +0000 (14:01 +0000)]
Rename macros.

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

16 years agoAdd new config directive.
batt [Fri, 5 Sep 2008 17:38:08 +0000 (17:38 +0000)]
Add new config directive.

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

16 years agoAdd generic kfile_close.
batt [Fri, 5 Sep 2008 17:31:32 +0000 (17:31 +0000)]
Add generic kfile_close.

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

16 years agoUse correct type, change test condition.
batt [Fri, 5 Sep 2008 17:30:50 +0000 (17:30 +0000)]
Use correct type, change test condition.

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

16 years agoAdd missing cast.
batt [Fri, 5 Sep 2008 17:23:37 +0000 (17:23 +0000)]
Add missing cast.

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

16 years agoRefactor eeprom driver to use kfile interface.
batt [Fri, 5 Sep 2008 17:19:23 +0000 (17:19 +0000)]
Refactor eeprom driver to use kfile interface.

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

16 years agoRefactor eeprom driver to use kfile interface.
batt [Fri, 5 Sep 2008 17:17:44 +0000 (17:17 +0000)]
Refactor eeprom driver to use kfile interface.

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

16 years agoAdd config option for calling schedule() from kbd_peek().
batt [Fri, 5 Sep 2008 16:21:53 +0000 (16:21 +0000)]
Add config option for calling schedule() from kbd_peek().

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

16 years agoRefactor timer prescaler handling.
batt [Fri, 5 Sep 2008 16:12:40 +0000 (16:12 +0000)]
Refactor timer prescaler handling.

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

16 years agoRefactor AVR twi driver to supply twi_get; add ATMega32 support.
batt [Fri, 5 Sep 2008 16:09:24 +0000 (16:09 +0000)]
Refactor AVR twi driver to supply twi_get; add ATMega32 support.

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

16 years agoRefactor AVR twi driver to supply twi_get; add ATMega32 support.
batt [Fri, 5 Sep 2008 16:08:42 +0000 (16:08 +0000)]
Refactor AVR twi driver to supply twi_get; add ATMega32 support.

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

16 years agoAdd debug support for ATMega32.
batt [Fri, 5 Sep 2008 15:42:24 +0000 (15:42 +0000)]
Add debug support for ATMega32.

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

16 years agoAdd detect for ATMega32.
batt [Fri, 5 Sep 2008 14:44:06 +0000 (14:44 +0000)]
Add detect for ATMega32.

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

16 years agoStart to develop a dummy app for Luminary Micro Stellaris. It need a startup routine...
qwert [Thu, 4 Sep 2008 16:52:11 +0000 (16:52 +0000)]
Start to develop a dummy app for Luminary Micro Stellaris. It need a startup routine..coming soon.

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

16 years agoMove all cortex-m3 stuff in dedicated directory.
qwert [Thu, 4 Sep 2008 16:46:10 +0000 (16:46 +0000)]
Move all cortex-m3 stuff in dedicated directory.

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