From: asterix Date: Tue, 20 Jul 2010 10:57:51 +0000 (+0000) Subject: Merged revisions 4003-4037 via svnmerge from X-Git-Tag: 2.6.0~288^2~55 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=5116d38f82d41b65b0be5e1013dbff50da229dd7;p=bertos.git Merged revisions 4003-4037 via svnmerge from https://src.develer.com/svnoss/bertos/trunk ........ r4010 | batt | 2010-07-08 17:42:42 +0200 (gio, 08 lug 2010) | 1 line Simplify driver in order to use less memory. The FIFO implementation had also a bug in write mode. ........ r4012 | batt | 2010-07-08 18:29:42 +0200 (gio, 08 lug 2010) | 2 lines Reformat;Increase NAC timeout; Fix warning; Add simple write test. ........ r4014 | batt | 2010-07-08 18:32:34 +0200 (gio, 08 lug 2010) | 1 line Silence warning during night test. ........ r4015 | batt | 2010-07-08 18:59:42 +0200 (gio, 08 lug 2010) | 1 line Increase read/write performances; add some comments. ........ r4016 | batt | 2010-07-08 19:19:43 +0200 (gio, 08 lug 2010) | 1 line Improve docs. ........ r4017 | batt | 2010-07-09 12:43:19 +0200 (ven, 09 lug 2010) | 10 lines 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. ........ r4018 | batt | 2010-07-09 12:43:34 +0200 (ven, 09 lug 2010) | 1 line Remove unneeded configuration. ........ r4019 | batt | 2010-07-09 12:47:03 +0200 (ven, 09 lug 2010) | 1 line Silence warning. ........ r4020 | batt | 2010-07-09 18:39:21 +0200 (ven, 09 lug 2010) | 1 line Add some documentation. ........ r4021 | batt | 2010-07-09 18:43:14 +0200 (ven, 09 lug 2010) | 1 line Reformat; Optimize flush. ........ git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4038 38d2e660-2303-0410-9eaa-f027e97ec537 --- 5116d38f82d41b65b0be5e1013dbff50da229dd7