bertos.git
15 years agoRelease version 2.0.0. 2.0.0
batt [Thu, 13 Nov 2008 15:01:24 +0000 (15:01 +0000)]
Release version 2.0.0.

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

15 years agoAdd debug support for atmega1281.
asterix [Thu, 13 Nov 2008 11:43:12 +0000 (11:43 +0000)]
Add debug support for atmega1281.

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

15 years agoAdd config files for keyboard and graphics.
batt [Wed, 12 Nov 2008 21:41:39 +0000 (21:41 +0000)]
Add config files for keyboard and graphics.

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

15 years agoDisable priority and preemption.
batt [Wed, 12 Nov 2008 21:41:15 +0000 (21:41 +0000)]
Disable priority and preemption.

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

15 years agoSet default to cooperative; add debug informations.
batt [Wed, 12 Nov 2008 21:40:31 +0000 (21:40 +0000)]
Set default to cooperative; add debug informations.

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

15 years agoMake irq manager only required when preemption is active.
batt [Wed, 12 Nov 2008 21:39:28 +0000 (21:39 +0000)]
Make irq manager only required when preemption is active.

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

15 years agoReformat comment.
batt [Wed, 12 Nov 2008 13:16:30 +0000 (13:16 +0000)]
Reformat comment.

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

15 years agoAdd some comments.
batt [Tue, 11 Nov 2008 18:31:59 +0000 (18:31 +0000)]
Add some comments.

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

15 years agoAdd configurable option to choose at compile time which i2c backend to use.
batt [Tue, 11 Nov 2008 18:15:01 +0000 (18:15 +0000)]
Add configurable option to choose at compile time which i2c backend to use.

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

15 years agoUpdate to new i2c driver name.
batt [Tue, 11 Nov 2008 17:30:56 +0000 (17:30 +0000)]
Update to new i2c driver name.

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

15 years agoRevert bad commit.
batt [Tue, 11 Nov 2008 17:27:13 +0000 (17:27 +0000)]
Revert bad commit.

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

15 years agoRename arm twi driver to i2c.
batt [Tue, 11 Nov 2008 17:19:05 +0000 (17:19 +0000)]
Rename arm twi driver to i2c.

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

15 years agoSilence uninitialized value warning.
batt [Tue, 11 Nov 2008 15:51:16 +0000 (15:51 +0000)]
Silence uninitialized value warning.

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

15 years agoFix warning on platform with int wide 16 bits.
batt [Tue, 11 Nov 2008 15:01:24 +0000 (15:01 +0000)]
Fix warning on platform with int wide 16 bits.

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

15 years agoSilence warning when testing.
batt [Tue, 11 Nov 2008 14:46:59 +0000 (14:46 +0000)]
Silence warning when testing.

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

15 years agoRename app dir.
batt [Tue, 11 Nov 2008 14:38:03 +0000 (14:38 +0000)]
Rename app dir.

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

15 years agoMerged from external project:
batt [Mon, 10 Nov 2008 21:42:43 +0000 (21:42 +0000)]
Merged from external project:
**********
r22631 | batt | 2008-11-10 22:33:41 +0100 (lun, 10 nov 2008) | 1 line

Not all AVRs have ADCSRB register: make it conditional.
**********

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

15 years agoMerged from external project:
batt [Mon, 10 Nov 2008 14:44:52 +0000 (14:44 +0000)]
Merged from external project:
**********
r22609 | batt | 2008-11-08 14:43:34 +0100 (sab, 08 nov 2008) | 1 line

Add configurable options for xmodem max retries.
**********

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

15 years agoMerged from external project:
batt [Mon, 10 Nov 2008 14:44:48 +0000 (14:44 +0000)]
Merged from external project:
**********
r22607 | batt | 2008-11-08 12:51:04 +0100 (sab, 08 nov 2008) | 1 line

Reduce commands history lenght.
**********

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

15 years agoMerged from external project:
batt [Mon, 10 Nov 2008 14:44:45 +0000 (14:44 +0000)]
Merged from external project:
**********
r22606 | batt | 2008-11-08 12:50:50 +0100 (sab, 08 nov 2008) | 1 line

Remove kludge used for displaying prompt in triface.
**********

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

15 years agoRemove uneeded debug line.
batt [Mon, 10 Nov 2008 14:03:49 +0000 (14:03 +0000)]
Remove uneeded debug line.

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

15 years agoRename app dir to examples.
batt [Fri, 7 Nov 2008 22:21:30 +0000 (22:21 +0000)]
Rename app dir to examples.

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

15 years agoAdd missing assert.
batt [Fri, 7 Nov 2008 22:05:57 +0000 (22:05 +0000)]
Add missing assert.

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

15 years agoAdd battfs config file; add shuffle for free blocks.
batt [Fri, 7 Nov 2008 22:05:40 +0000 (22:05 +0000)]
Add battfs config file; add shuffle for free blocks.

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

15 years agoAdd local modification test.
batt [Fri, 7 Nov 2008 16:22:47 +0000 (16:22 +0000)]
Add local modification test.

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

15 years agoAdd exhaustive fileopen test.
batt [Fri, 7 Nov 2008 14:16:24 +0000 (14:16 +0000)]
Add exhaustive fileopen test.

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

15 years agoIncrease minimum required stack to suite ARM7 needs.
batt [Fri, 7 Nov 2008 11:19:05 +0000 (11:19 +0000)]
Increase minimum required stack to suite ARM7 needs.

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

15 years agoMerged from external project:
batt [Fri, 7 Nov 2008 11:05:06 +0000 (11:05 +0000)]
Merged from external project:
**********
r22593 | batt | 2008-11-07 12:02:41 +0100 (ven, 07 nov 2008) | 1 line

Fix file search.
**********

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

15 years agoMerged from external project:
batt [Fri, 7 Nov 2008 11:05:03 +0000 (11:05 +0000)]
Merged from external project:
**********
r22580 | batt | 2008-10-30 19:00:06 +0100 (gio, 30 ott 2008) | 1 line

Return the correct len.
**********

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

15 years agoMerged from external project:
batt [Fri, 7 Nov 2008 11:05:00 +0000 (11:05 +0000)]
Merged from external project:
**********
r22579 | batt | 2008-10-30 18:54:25 +0100 (gio, 30 ott 2008) | 1 line

Fix some printf warnings; add missing header.
**********

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

15 years agoUse a possible value for the spi port.
asterix [Wed, 29 Oct 2008 09:15:08 +0000 (09:15 +0000)]
Use a possible value for the spi port.

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

15 years agoUse variable to store Bertos dir. Check if exist bertos backup dir before to delete...
asterix [Tue, 28 Oct 2008 10:42:38 +0000 (10:42 +0000)]
Use variable to store Bertos dir. Check if exist bertos backup dir before to delete bertos dir. Add some info string.

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

15 years agoFix bertos copy command to work also on Mac OS, and exit when there is error. Use...
asterix [Tue, 28 Oct 2008 09:24:39 +0000 (09:24 +0000)]
Fix bertos copy command to work also on Mac OS, and exit when there is error. Use single quote to not allow the shell to expand perl command.

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

15 years agoMerged from external project:
batt [Thu, 23 Oct 2008 17:06:01 +0000 (17:06 +0000)]
Merged from external project:
**********
r22539 | batt | 2008-10-23 19:05:36 +0200(gio, 23 ott 2008) | 1 line

Reformat.
**********

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

15 years agoMerged from external project:
batt [Thu, 23 Oct 2008 17:05:59 +0000 (17:05 +0000)]
Merged from external project:
**********
r22538 | batt | 2008-10-23 19:05:21 +0200(gio, 23 ott 2008) | 1 line

Add battfs diskinit for dataflash.
**********

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

15 years agoMerged from external project:
batt [Thu, 23 Oct 2008 17:05:57 +0000 (17:05 +0000)]
Merged from external project:
**********
r22537 | batt | 2008-10-23 19:04:36 +0200(gio, 23 ott 2008) | 1 line

Remove old reference to ser_spi1.
**********

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

15 years agoMerged from external project:
batt [Thu, 23 Oct 2008 17:05:54 +0000 (17:05 +0000)]
Merged from external project:
**********
r22536 | batt | 2008-10-23 19:00:53 +0200(gio, 23 ott 2008) | 1 line

Reformat; set default SPI serial to SPI0.
**********

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

15 years agoMerged from external project:
batt [Thu, 23 Oct 2008 17:00:15 +0000 (17:00 +0000)]
Merged from external project:
**********
r22535 | batt | 2008-10-23 18:59:33 +0200(gio, 23 ott 2008) | 1 line

Remove duplicate assigment.
**********

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

15 years agoRefactor disk_open calling: now the disk must be opened before passing it to battfs_m...
batt [Thu, 23 Oct 2008 13:12:41 +0000 (13:12 +0000)]
Refactor disk_open calling: now the disk must be opened before passing it to battfs_mount.

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

15 years agoMerged from external project:
batt [Tue, 21 Oct 2008 14:26:08 +0000 (14:26 +0000)]
Merged from external project:
**********
r22525 | batt | 2008-10-21 16:25:29 +0200(mar, 21 ott 2008) | 1 line

Fix some errors and warnings.
**********

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

15 years agoRevert bad commit.
batt [Tue, 21 Oct 2008 14:17:04 +0000 (14:17 +0000)]
Revert bad commit.

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

15 years agoMerged from external project:
batt [Tue, 21 Oct 2008 14:15:07 +0000 (14:15 +0000)]
Merged from external project:
**********
r22524 | batt | 2008-10-21 16:09:01 +0200(mar, 21 ott 2008) | 1 line

Add battfs low level interface (prelininary).
**********

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

15 years agoMerged from external project:
batt [Tue, 21 Oct 2008 14:15:04 +0000 (14:15 +0000)]
Merged from external project:
**********
r22523 | batt | 2008-10-21 16:08:16 +0200(mar, 21 ott 2008) | 1 line

Add disk low level context.
**********

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

15 years agoMerged from external project:
batt [Tue, 21 Oct 2008 14:15:02 +0000 (14:15 +0000)]
Merged from external project:
**********
r22511 | batt | 2008-10-16 11:34:26 +0200(gio, 16 ott 2008) | 1 line

Use correct ld script
**********

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

15 years agoMerged from external project:
batt [Thu, 9 Oct 2008 14:04:40 +0000 (14:04 +0000)]
Merged from external project:
**********
r22505 | batt | 2008-10-09 15:57:52 +0200 (Thu, 09 Oct 2008) | 1 line

Refactor: i2c_stop returns void.
**********

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

15 years agoMerged from external project:
batt [Thu, 9 Oct 2008 14:04:38 +0000 (14:04 +0000)]
Merged from external project:
**********
r22504 | batt | 2008-10-09 15:57:14 +0200 (Thu, 09 Oct 2008) | 1 line

Add missing ID.
**********

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

15 years agoMerged from external project:
batt [Thu, 9 Oct 2008 14:04:36 +0000 (14:04 +0000)]
Merged from external project:
**********
r22498 | batt | 2008-10-08 19:03:25 +0200 (Wed, 08 Oct 2008) | 1 line

Add missing header.
**********

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

15 years agoMerged from external project:
batt [Thu, 9 Oct 2008 14:04:34 +0000 (14:04 +0000)]
Merged from external project:
**********
r22497 | batt | 2008-10-08 19:01:03 +0200 (Wed, 08 Oct 2008) | 1 line

Add first skel of PCF8574 driver.
**********

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

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

Reformat.
**********

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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