bertos.git
14 years agoAdd first implementation of bit array module.
asterix [Fri, 13 Aug 2010 14:00:03 +0000 (14:00 +0000)]
Add first implementation of bit array module.

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

14 years agoMove some defines to lpc header.
asterix [Fri, 13 Aug 2010 13:11:08 +0000 (13:11 +0000)]
Move some defines to lpc header.

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

14 years agoAdd header flash module.
asterix [Fri, 13 Aug 2010 13:10:39 +0000 (13:10 +0000)]
Add header flash module.

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

14 years agoFirst refactor to kblock.
asterix [Fri, 13 Aug 2010 13:09:58 +0000 (13:09 +0000)]
First refactor to kblock.

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

14 years agoAdd first embedded flash module for lpc23xx.
asterix [Fri, 13 Aug 2010 08:47:29 +0000 (08:47 +0000)]
Add first embedded flash module for lpc23xx.

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

14 years agoLoad first page whent init flash module. Add close callback.
asterix [Fri, 13 Aug 2010 08:27:34 +0000 (08:27 +0000)]
Load first page whent init flash module. Add close callback.

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

14 years agoClean up.
asterix [Thu, 12 Aug 2010 17:04:21 +0000 (17:04 +0000)]
Clean up.

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

14 years agoTypo.
asterix [Thu, 12 Aug 2010 16:57:39 +0000 (16:57 +0000)]
Typo.

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

14 years agoTypo.
batt [Thu, 12 Aug 2010 15:58:14 +0000 (15:58 +0000)]
Typo.

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

14 years agoFix write check.
asterix [Thu, 12 Aug 2010 15:54:54 +0000 (15:54 +0000)]
Fix write check.

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

14 years agoRefactor and reorder ld script for cortex-m3.
asterix [Thu, 12 Aug 2010 15:54:22 +0000 (15:54 +0000)]
Refactor and reorder ld script for cortex-m3.

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

14 years agoAdd close sw implementation.
asterix [Thu, 12 Aug 2010 15:53:22 +0000 (15:53 +0000)]
Add close sw implementation.

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

14 years agoFix kprintf descriptor and typo.
asterix [Thu, 12 Aug 2010 15:52:54 +0000 (15:52 +0000)]
Fix kprintf descriptor and typo.

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

14 years agoFix typo. Load first block at start. Add close implementation.
asterix [Thu, 12 Aug 2010 15:52:15 +0000 (15:52 +0000)]
Fix typo. Load first block at start. Add close implementation.

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

14 years agoOverhaul kdump().
batt [Thu, 12 Aug 2010 15:02:43 +0000 (15:02 +0000)]
Overhaul kdump().

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

14 years agoFix sw load and store. Fix log print. Add comments.
asterix [Thu, 12 Aug 2010 10:37:24 +0000 (10:37 +0000)]
Fix sw load and store. Fix log print. Add comments.

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

14 years agoRead/write from real address. Fix address increasing. Load the first block in cache...
asterix [Thu, 12 Aug 2010 10:28:49 +0000 (10:28 +0000)]
Read/write from real address. Fix address increasing. Load the first block in cache at first time.

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

14 years agoAdd flash dependence for wizard.
asterix [Thu, 12 Aug 2010 10:09:59 +0000 (10:09 +0000)]
Add flash dependence for wizard.

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

14 years agoMove embedded flash definition into cpu family header.
asterix [Wed, 11 Aug 2010 14:50:23 +0000 (14:50 +0000)]
Move embedded flash definition into cpu family header.

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

14 years agoRemove old cfg files, move all int cfg_emb_flash.
asterix [Wed, 11 Aug 2010 14:44:28 +0000 (14:44 +0000)]
Remove old cfg files, move all int cfg_emb_flash.

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

14 years agoTypo.
asterix [Wed, 11 Aug 2010 14:43:42 +0000 (14:43 +0000)]
Typo.

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

14 years agoAdd other error flag. Include platform specific header.
asterix [Wed, 11 Aug 2010 14:42:47 +0000 (14:42 +0000)]
Add other error flag. Include platform specific header.

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

14 years agoReformat to kblock api.
asterix [Wed, 11 Aug 2010 14:41:57 +0000 (14:41 +0000)]
Reformat to kblock api.

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

14 years agoAdd support for old init.
asterix [Wed, 11 Aug 2010 14:40:59 +0000 (14:40 +0000)]
Add support for old init.

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

14 years agoClean up.
asterix [Wed, 11 Aug 2010 14:40:13 +0000 (14:40 +0000)]
Clean up.

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

14 years agoAdd missing assert. Clean up.
asterix [Wed, 11 Aug 2010 13:02:35 +0000 (13:02 +0000)]
Add missing assert. Clean up.

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

14 years agoRefactor the module to new kblock device.
asterix [Wed, 11 Aug 2010 13:00:22 +0000 (13:00 +0000)]
Refactor the module to new kblock device.

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

14 years agoAdd missing dependecy.
asterix [Wed, 11 Aug 2010 10:41:33 +0000 (10:41 +0000)]
Add missing dependecy.

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

14 years agoAdd tag for wizard.
asterix [Wed, 11 Aug 2010 10:37:41 +0000 (10:37 +0000)]
Add tag for wizard.

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

14 years agoClean up.
asterix [Tue, 10 Aug 2010 17:30:34 +0000 (17:30 +0000)]
Clean up.

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

14 years agoAdd some config flags.
asterix [Tue, 10 Aug 2010 17:30:11 +0000 (17:30 +0000)]
Add some config flags.

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

14 years agoClean up.
asterix [Tue, 10 Aug 2010 17:29:07 +0000 (17:29 +0000)]
Clean up.

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

14 years agoRefactor lm3s flash module to new kblock api.
asterix [Tue, 10 Aug 2010 17:28:06 +0000 (17:28 +0000)]
Refactor lm3s flash module to new kblock api.

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

14 years agoAdd embedded flash module for stm32. First refactor of emb flash using kblock.
asterix [Mon, 9 Aug 2010 17:15:26 +0000 (17:15 +0000)]
Add embedded flash module for stm32. First refactor of emb flash using kblock.

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

14 years agoFix comment. Reformat.
asterix [Mon, 9 Aug 2010 09:08:08 +0000 (09:08 +0000)]
Fix comment. Reformat.

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

14 years agoFix doxygen warning.
asterix [Fri, 6 Aug 2010 07:58:43 +0000 (07:58 +0000)]
Fix doxygen warning.

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

14 years agoAdd comments.
asterix [Thu, 5 Aug 2010 15:43:24 +0000 (15:43 +0000)]
Add comments.

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

14 years agoAdd implement verify and erase functions and support for old api. Add cfg for eeprom.
asterix [Thu, 5 Aug 2010 15:20:34 +0000 (15:20 +0000)]
Add implement verify and erase functions and support for old api. Add cfg for eeprom.

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

14 years agoClean up. Rename variable.
asterix [Thu, 5 Aug 2010 10:13:17 +0000 (10:13 +0000)]
Clean up. Rename variable.

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

14 years agoAdd support for backwards compatibility.
asterix [Thu, 5 Aug 2010 10:10:36 +0000 (10:10 +0000)]
Add support for backwards compatibility.

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

14 years agoReformat.
asterix [Thu, 5 Aug 2010 10:04:07 +0000 (10:04 +0000)]
Reformat.

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

14 years agoFix doxygen warning.
asterix [Thu, 5 Aug 2010 08:43:30 +0000 (08:43 +0000)]
Fix doxygen warning.

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

14 years agoFix test run.
asterix [Thu, 5 Aug 2010 08:38:24 +0000 (08:38 +0000)]
Fix test run.

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

14 years agoFix typo in kblock posix. Comply battfs test to new kblock posix.
asterix [Thu, 5 Aug 2010 08:37:43 +0000 (08:37 +0000)]
Fix typo in kblock posix. Comply battfs test to new kblock posix.

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

14 years agoAdd adc support for atmega1280. Signed-off by Fabio Bizzi.
asterix [Thu, 5 Aug 2010 08:34:20 +0000 (08:34 +0000)]
Add adc support for atmega1280.  Signed-off by Fabio Bizzi.

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

14 years agoWrite or read buffer in block size chunk.
asterix [Wed, 4 Aug 2010 16:47:12 +0000 (16:47 +0000)]
Write or read buffer in block size chunk.

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

14 years agoComply all functions and types to new name.
asterix [Wed, 4 Aug 2010 14:04:41 +0000 (14:04 +0000)]
Comply all functions and types to new name.

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

14 years agoRename kblock on posix file to appropriate name.
asterix [Wed, 4 Aug 2010 13:38:45 +0000 (13:38 +0000)]
Rename kblock on posix file to appropriate name.

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

14 years agoMove the kern/kfile.c to io dir.
asterix [Wed, 4 Aug 2010 13:35:34 +0000 (13:35 +0000)]
Move the kern/kfile.c to io dir.

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

14 years agoRemove commented code. Fix doxygen warning.
asterix [Wed, 4 Aug 2010 11:01:34 +0000 (11:01 +0000)]
Remove commented code. Fix doxygen warning.

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

14 years agoTypos.
asterix [Wed, 4 Aug 2010 10:19:04 +0000 (10:19 +0000)]
Typos.

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

14 years agoAdd flah register defines.
asterix [Wed, 4 Aug 2010 10:16:28 +0000 (10:16 +0000)]
Add flah register defines.

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

14 years agoAdd arduino mega board preset, signed-off by Fabio Bizzi.
asterix [Wed, 4 Aug 2010 09:33:23 +0000 (09:33 +0000)]
Add arduino mega board preset, signed-off by Fabio Bizzi.

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

14 years agoAdd eeprom size info.
asterix [Wed, 4 Aug 2010 09:30:46 +0000 (09:30 +0000)]
Add eeprom size info.

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

14 years agoFix for wizard.
asterix [Wed, 4 Aug 2010 08:57:48 +0000 (08:57 +0000)]
Fix for wizard.

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

14 years agoRefactor eeprom for kblock interface, for now disable the old api.
asterix [Tue, 3 Aug 2010 18:01:16 +0000 (18:01 +0000)]
Refactor eeprom for kblock interface, for now disable the old api.

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

14 years agoClean error when make restart.
asterix [Tue, 3 Aug 2010 17:59:43 +0000 (17:59 +0000)]
Clean error when make restart.

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

14 years agoAdd I2C and ADC support for ATMega1280 (contributed by Fabio Bizzi)
lottaviano [Tue, 3 Aug 2010 10:54:58 +0000 (10:54 +0000)]
Add I2C and ADC support for ATMega1280 (contributed by Fabio Bizzi)

I modified a bit the patch for i2c since it didn't apply cleanly.

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

14 years agoUse macro for bitmask.
asterix [Tue, 3 Aug 2010 10:54:02 +0000 (10:54 +0000)]
Use macro for bitmask.

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

14 years agoAdd simple implentation to use i2c bitbang for stm32.
asterix [Tue, 3 Aug 2010 10:52:11 +0000 (10:52 +0000)]
Add simple implentation to use i2c bitbang for stm32.

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

14 years agoFix check.
asterix [Tue, 3 Aug 2010 10:51:17 +0000 (10:51 +0000)]
Fix check.

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

14 years agoAdd gpio defines.
asterix [Tue, 3 Aug 2010 10:49:50 +0000 (10:49 +0000)]
Add gpio defines.

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

14 years agoAdd comment and reorder the includes. Move gpio structure to specific header file.
asterix [Tue, 3 Aug 2010 10:49:23 +0000 (10:49 +0000)]
Add comment and reorder the includes. Move gpio structure to specific header file.

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

14 years agoSerial port support for ATMega1280 (contributed by Fabio Bizzi).
lottaviano [Tue, 3 Aug 2010 10:37:58 +0000 (10:37 +0000)]
Serial port support for ATMega1280 (contributed by Fabio Bizzi).

I added AVR_HAS_UART{2,3} defines for CPUs other than ATMega1280
to avoid compilation warnings.

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

14 years agoAdd timer support for ATMega 1280 (contributed by Fabio Bizzi)
lottaviano [Mon, 2 Aug 2010 19:25:46 +0000 (19:25 +0000)]
Add timer support for ATMega 1280 (contributed by Fabio Bizzi)

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

14 years agoFirst support for ATMega 1280
lottaviano [Mon, 2 Aug 2010 19:10:47 +0000 (19:10 +0000)]
First support for ATMega 1280

This patch introduces detect macros and kdebug serial code.

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

14 years agoRemove old api that using i2c. Add interface to allow the compatibily with old api.
asterix [Mon, 2 Aug 2010 14:28:44 +0000 (14:28 +0000)]
Remove old api that using i2c. Add interface to allow the compatibily with old api.

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

14 years agoAdd documentation; remove ASSERT on partial write.
batt [Mon, 2 Aug 2010 13:13:33 +0000 (13:13 +0000)]
Add documentation; remove ASSERT on partial write.

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

14 years agoAdd documentation; remove ASSERT on partial write.bertos/io/kfile_block.c
batt [Mon, 2 Aug 2010 13:12:56 +0000 (13:12 +0000)]
Add documentation; remove ASSERT on partial write.bertos/io/kfile_block.c

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

14 years agoAdd KFile over a KBlock device (first implementation).
batt [Mon, 2 Aug 2010 12:55:16 +0000 (12:55 +0000)]
Add KFile over a KBlock device (first implementation).

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

14 years agoUpdate doc.
batt [Mon, 2 Aug 2010 12:54:27 +0000 (12:54 +0000)]
Update doc.

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

14 years agoChange clearerr prototype; Automatically flush the device on close.
batt [Mon, 2 Aug 2010 12:53:25 +0000 (12:53 +0000)]
Change clearerr prototype; Automatically flush the device on close.

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

14 years agoFix doxygen documentation.
asterix [Sun, 1 Aug 2010 15:37:41 +0000 (15:37 +0000)]
Fix doxygen documentation.

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

14 years agoUpdate hw files.
asterix [Fri, 30 Jul 2010 16:09:10 +0000 (16:09 +0000)]
Update hw files.

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

14 years agoAdd deprecared i2c api switch for eeprom. Silent warning.
asterix [Fri, 30 Jul 2010 16:05:58 +0000 (16:05 +0000)]
Add deprecared i2c api switch for eeprom. Silent warning.

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

14 years agoUse shortest name for all macros.
asterix [Fri, 30 Jul 2010 15:49:13 +0000 (15:49 +0000)]
Use shortest name for all macros.

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

14 years agoTypo.
asterix [Fri, 30 Jul 2010 15:48:49 +0000 (15:48 +0000)]
Typo.

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

14 years agoUpdate i2c cfg file.
asterix [Fri, 30 Jul 2010 15:45:06 +0000 (15:45 +0000)]
Update i2c cfg file.

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

14 years agoAdd deprecated switch.
asterix [Fri, 30 Jul 2010 15:35:20 +0000 (15:35 +0000)]
Add deprecated switch.

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

14 years agoRemove from wizart i2c backend selection. Add deprecate switch to disable old i2c...
asterix [Fri, 30 Jul 2010 15:34:00 +0000 (15:34 +0000)]
Remove from wizart i2c backend selection. Add deprecate switch to disable old i2c api support.

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

14 years agoAdd support for devices which can partial write a block.
batt [Fri, 30 Jul 2010 15:10:43 +0000 (15:10 +0000)]
Add support for devices which can partial write a block.
Update drivers accordingly.

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

14 years agoSilent warning.
asterix [Fri, 30 Jul 2010 15:04:03 +0000 (15:04 +0000)]
Silent warning.

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

14 years agoUse drecate macro instead the warning key.
asterix [Fri, 30 Jul 2010 15:03:47 +0000 (15:03 +0000)]
Use drecate macro instead the warning key.

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

14 years agoUse macro to define i2c generic init.
asterix [Fri, 30 Jul 2010 14:49:13 +0000 (14:49 +0000)]
Use macro to define i2c generic init.

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

14 years agoAdd support for new api.
asterix [Fri, 30 Jul 2010 14:48:43 +0000 (14:48 +0000)]
Add support for new api.

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

14 years agoSilent warning. Make static sono i2c table.
asterix [Fri, 30 Jul 2010 12:40:12 +0000 (12:40 +0000)]
Silent warning. Make static sono i2c table.

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

14 years agoMerged revisions 4004-4036,4039-4048,4050-4095,4097-4100 via svnmerge from
asterix [Fri, 30 Jul 2010 12:32:58 +0000 (12:32 +0000)]
Merged revisions 4004-4036,4039-4048,4050-4095,4097-4100 via svnmerge from
https://src.develer.com/svnoss/bertos/branches/i2c

........
  r4005 | asterix | 2010-07-07 18:06:44 +0200 (mer, 07 lug 2010) | 1 line

  Add status registry defines.
........
  r4006 | asterix | 2010-07-07 18:08:01 +0200 (mer, 07 lug 2010) | 1 line

  Fix i2c driver to use correctly the stm32 i2c implementation.
........
  r4007 | asterix | 2010-07-07 18:08:30 +0200 (mer, 07 lug 2010) | 1 line

  Use recv instead get.
........
  r4008 | asterix | 2010-07-07 18:08:40 +0200 (mer, 07 lug 2010) | 1 line

  Use recv instead get.
........
  r4009 | asterix | 2010-07-07 19:05:25 +0200 (mer, 07 lug 2010) | 1 line

  Add comments. Extract method for cheching function. Clean up.
........
  r4011 | asterix | 2010-07-08 18:26:32 +0200 (gio, 08 lug 2010) | 1 line

  Add i2c definition for lm3s cpu.
........
  r4013 | asterix | 2010-07-08 18:32:16 +0200 (gio, 08 lug 2010) | 1 line

  Add first implementation of i2c for lm3s.
........
  r4022 | asterix | 2010-07-12 12:35:43 +0200 (lun, 12 lug 2010) | 1 line

  Add mask for i2c events. Reformat.
........
  r4023 | asterix | 2010-07-12 12:41:33 +0200 (lun, 12 lug 2010) | 1 line

  Rename file to more generic name.
........
  r4024 | asterix | 2010-07-12 12:43:27 +0200 (lun, 12 lug 2010) | 1 line

  Add i2c pins definition. Use include for all lm3s.
........
  r4025 | asterix | 2010-07-12 12:43:53 +0200 (lun, 12 lug 2010) | 1 line

  Add missing include.
........
  r4026 | asterix | 2010-07-12 12:44:32 +0200 (lun, 12 lug 2010) | 1 line

  Reorder includes.
........
  r4027 | asterix | 2010-07-12 12:44:57 +0200 (lun, 12 lug 2010) | 1 line

  Reorder includes.
........
  r4028 | asterix | 2010-07-12 12:45:44 +0200 (lun, 12 lug 2010) | 1 line

  Add first implementation of i2c driver for lm3s.
........
  r4029 | asterix | 2010-07-15 15:35:15 +0200 (gio, 15 lug 2010) | 1 line

  Fix the i2c implemtation for lm3s. Add some defines to use also the second i2c device.
........
  r4030 | asterix | 2010-07-15 15:35:38 +0200 (gio, 15 lug 2010) | 1 line

  Add some defines to use also the second i2c device.
........
  r4031 | asterix | 2010-07-15 18:48:06 +0200 (gio, 15 lug 2010) | 1 line

  Add first implemtation of i2c for lpc23xx.
........
  r4032 | asterix | 2010-07-19 19:49:58 +0200 (lun, 19 lug 2010) | 1 line

  Reorder includes.
........
  r4033 | asterix | 2010-07-19 19:50:25 +0200 (lun, 19 lug 2010) | 1 line

  Add some i2c definition.
........
  r4034 | asterix | 2010-07-19 19:51:35 +0200 (lun, 19 lug 2010) | 1 line

  Implement the write function. Write first skell for read function.
........
  r4035 | asterix | 2010-07-20 12:17:00 +0200 (mar, 20 lug 2010) | 1 line

  Fix read function. Add comment. Use macro for registers devices specific.
........
  r4036 | asterix | 2010-07-20 12:17:53 +0200 (mar, 20 lug 2010) | 1 line

  Add states definition. Some fix.
........
  r4039 | asterix | 2010-07-20 15:52:21 +0200 (mar, 20 lug 2010) | 1 line

  Add the macro to count the argument number of functions.
........
  r4040 | asterix | 2010-07-20 18:58:48 +0200 (mar, 20 lug 2010) | 1 line

  Fix newline.
........
  r4041 | asterix | 2010-07-20 19:22:59 +0200 (mar, 20 lug 2010) | 1 line

  Reoeder and add missing includes.
........
  r4042 | asterix | 2010-07-21 14:29:48 +0200 (mer, 21 lug 2010) | 1 line

  Some fix.
........
  r4043 | asterix | 2010-07-22 11:35:38 +0200 (gio, 22 lug 2010) | 1 line

  Refactor to implement put and get.
........
  r4044 | asterix | 2010-07-22 11:37:27 +0200 (gio, 22 lug 2010) | 1 line

  Reformat.
........
  r4045 | asterix | 2010-07-22 12:00:52 +0200 (gio, 22 lug 2010) | 1 line

  Clean up. Add timeout on some status polling.
........
  r4046 | asterix | 2010-07-22 12:20:01 +0200 (gio, 22 lug 2010) | 1 line

  Implement put function and remove send.
........
  r4047 | asterix | 2010-07-22 16:28:40 +0200 (gio, 22 lug 2010) | 1 line

  Clean up.
........
  r4050 | asterix | 2010-07-22 18:33:59 +0200 (gio, 22 lug 2010) | 1 line

  Add definition and function for new i2c api.
........
  r4051 | asterix | 2010-07-22 18:49:59 +0200 (gio, 22 lug 2010) | 1 line

  Add implementation for oveloaded functions.
........
  r4052 | asterix | 2010-07-22 19:09:48 +0200 (gio, 22 lug 2010) | 1 line

  Inline oveloaded functions. Some fix. Add missing include.
........
  r4053 | asterix | 2010-07-22 19:10:36 +0200 (gio, 22 lug 2010) | 1 line

  Add cpu header selecter for i2c.
........
  r4054 | asterix | 2010-07-22 19:13:51 +0200 (gio, 22 lug 2010) | 1 line

  Add stop flag defition.
........
  r4055 | asterix | 2010-07-23 17:02:48 +0200 (ven, 23 lug 2010) | 1 line

  Refactor the i2c api.
........
  r4056 | batt | 2010-07-23 17:15:43 +0200 (ven, 23 lug 2010) | 2 lines

  Refactor i2c start.
........
  r4057 | asterix | 2010-07-23 17:49:13 +0200 (ven, 23 lug 2010) | 1 line

  Fix start argument. Add arblst flag.
........
  r4058 | batt | 2010-07-23 17:54:17 +0200 (ven, 23 lug 2010) | 2 lines

  Add some errors.
........
  r4059 | asterix | 2010-07-23 18:41:43 +0200 (ven, 23 lug 2010) | 1 line

  Add test stop and generic error.
........
  r4060 | asterix | 2010-07-23 18:46:29 +0200 (ven, 23 lug 2010) | 1 line

  Add test stop and generic error.
........
  r4061 | batt | 2010-07-23 21:40:05 +0200 (ven, 23 lug 2010) | 1 line

  Automatically decrement transfer size.
........
  r4062 | batt | 2010-07-23 21:40:40 +0200 (ven, 23 lug 2010) | 1 line

  Add generic i2c_recv and i2c_send implementation.
........
  r4063 | batt | 2010-07-23 21:41:23 +0200 (ven, 23 lug 2010) | 1 line

  First version of new i2c bitbang API.
........
  r4065 | asterix | 2010-07-26 15:59:45 +0200 (lun, 26 lug 2010) | 1 line

  Refactor the driver for new api.
........
  r4066 | asterix | 2010-07-26 16:00:27 +0200 (lun, 26 lug 2010) | 1 line

  Add header for i2c for lpc2.
........
  r4067 | asterix | 2010-07-26 16:01:19 +0200 (lun, 26 lug 2010) | 1 line

  Add definition for generic send and recv.
........
  r4068 | asterix | 2010-07-26 16:02:05 +0200 (lun, 26 lug 2010) | 1 line

  Fix count params macro.
........
  r4069 | asterix | 2010-07-26 16:07:48 +0200 (lun, 26 lug 2010) | 1 line

  Clean up.
........
  r4070 | asterix | 2010-07-26 17:32:24 +0200 (lun, 26 lug 2010) | 1 line

  Add support for more i2c devices.
........
  r4071 | asterix | 2010-07-26 17:32:44 +0200 (lun, 26 lug 2010) | 1 line

  Add comments.
........
  r4072 | asterix | 2010-07-26 17:33:27 +0200 (lun, 26 lug 2010) | 1 line

  Move cm3 type to generic types header.
........
  r4073 | asterix | 2010-07-26 17:41:14 +0200 (lun, 26 lug 2010) | 1 line

  Remove unneeded macros. Remove empty header.
........
  r4074 | asterix | 2010-07-26 17:42:10 +0200 (lun, 26 lug 2010) | 1 line

  Fix include.
........
  r4075 | asterix | 2010-07-27 11:28:40 +0200 (mar, 27 lug 2010) | 1 line

  Add defines for all i2c devices.
........
  r4076 | asterix | 2010-07-27 14:21:55 +0200 (mar, 27 lug 2010) | 1 line

  Clean up.
........
  r4077 | asterix | 2010-07-27 14:22:54 +0200 (mar, 27 lug 2010) | 1 line

  Add some header to use new i2c api.
........
  r4078 | asterix | 2010-07-27 16:58:37 +0200 (mar, 27 lug 2010) | 1 line

  Remove dependece from log module.
........
  r4079 | asterix | 2010-07-27 16:59:02 +0200 (mar, 27 lug 2010) | 1 line

  Modify driver to work with new api.
........
  r4080 | asterix | 2010-07-27 17:06:52 +0200 (mar, 27 lug 2010) | 1 line

  Add missing define to use i2c2 devices.
........
  r4081 | asterix | 2010-07-27 17:45:00 +0200 (mar, 27 lug 2010) | 1 line

  Clean up. Use cpu_relax for while loop. Rename check_i2cStatus to wait_event.
........
  r4082 | asterix | 2010-07-27 18:13:01 +0200 (mar, 27 lug 2010) | 1 line

  Split long function. Add comments.
........
  r4083 | asterix | 2010-07-28 17:40:25 +0200 (mer, 28 lug 2010) | 1 line

  Refactor to works with new api. Clean up.
........
  r4084 | asterix | 2010-07-28 17:48:28 +0200 (mer, 28 lug 2010) | 1 line

  Refactor to works with new api. Clean up.
........
  r4085 | asterix | 2010-07-28 18:23:43 +0200 (mer, 28 lug 2010) | 1 line

  Refactor the recv. Add comments. Change fist_send flag names.
........
  r4086 | asterix | 2010-07-28 18:29:18 +0200 (mer, 28 lug 2010) | 1 line

  Move generic i2c_hw_init prototype to i2c header.
........
  r4087 | asterix | 2010-07-28 19:22:09 +0200 (mer, 28 lug 2010) | 1 line

  Add firt implementation for avr i2c with new api.
........
  r4088 | asterix | 2010-07-28 19:22:31 +0200 (mer, 28 lug 2010) | 1 line

  Add data nack error.
........
  r4089 | asterix | 2010-07-29 16:21:18 +0200 (gio, 29 lug 2010) | 1 line

  Use different api name for new i2c interface. Comply all driver.
........
  r4090 | asterix | 2010-07-29 17:17:31 +0200 (gio, 29 lug 2010) | 1 line

  Fix flag test.
........
  r4091 | asterix | 2010-07-30 12:28:47 +0200 (ven, 30 lug 2010) | 1 line

  Add support for i2c bitbang.
........
  r4092 | asterix | 2010-07-30 12:30:26 +0200 (ven, 30 lug 2010) | 1 line

  Add author.
........
  r4093 | asterix | 2010-07-30 12:31:47 +0200 (ven, 30 lug 2010) | 1 line

  Add foldback for at91 i2c for nightly test.
........
  r4094 | asterix | 2010-07-30 12:32:15 +0200 (ven, 30 lug 2010) | 1 line

  Reorder includes.
........
  r4095 | asterix | 2010-07-30 12:39:13 +0200 (ven, 30 lug 2010) | 1 line

  Clean up. Remove module check where is unneeded.
........

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

14 years agoRestor propedit fix.
asterix [Fri, 30 Jul 2010 12:31:06 +0000 (12:31 +0000)]
Restor propedit fix.

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

14 years agoFix svnmerge-integrated property.
asterix [Fri, 30 Jul 2010 12:21:30 +0000 (12:21 +0000)]
Fix svnmerge-integrated property.

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

14 years agoFix svnmerge-integrated property
lmancini [Fri, 30 Jul 2010 10:58:16 +0000 (10:58 +0000)]
Fix svnmerge-integrated property

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

14 years agoInitialized merge tracking via "svnmerge" with revisions "1-4096" from
asterix [Fri, 30 Jul 2010 10:54:43 +0000 (10:54 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-4096" from
https://src.develer.com/svnoss/bertos/branches/i2c

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

14 years agoClean up. Remove module check where is unneeded.
asterix [Fri, 30 Jul 2010 10:39:13 +0000 (10:39 +0000)]
Clean up. Remove module check where is unneeded.

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

14 years agoReorder includes.
asterix [Fri, 30 Jul 2010 10:32:15 +0000 (10:32 +0000)]
Reorder includes.

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

14 years agoAdd foldback for at91 i2c for nightly test.
asterix [Fri, 30 Jul 2010 10:31:47 +0000 (10:31 +0000)]
Add foldback for at91 i2c for nightly test.

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

14 years agoAdd author.
asterix [Fri, 30 Jul 2010 10:30:26 +0000 (10:30 +0000)]
Add author.

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

14 years agoAdd support for i2c bitbang.
asterix [Fri, 30 Jul 2010 10:28:47 +0000 (10:28 +0000)]
Add support for i2c bitbang.

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

14 years agoFix flag test.
asterix [Thu, 29 Jul 2010 15:17:31 +0000 (15:17 +0000)]
Fix flag test.

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

14 years agoUse different api name for new i2c interface. Comply all driver.
asterix [Thu, 29 Jul 2010 14:21:18 +0000 (14:21 +0000)]
Use different api name for new i2c interface. Comply all driver.

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

14 years agoAdd data nack error.
asterix [Wed, 28 Jul 2010 17:22:31 +0000 (17:22 +0000)]
Add data nack error.

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

14 years agoAdd firt implementation for avr i2c with new api.
asterix [Wed, 28 Jul 2010 17:22:09 +0000 (17:22 +0000)]
Add firt implementation for avr i2c with new api.

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