Commit Graph

592 Commits

Author SHA1 Message Date
barthess 44960790c5 I2C. Comments improvements. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3152 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-12 14:21:44 +00:00
barthess 0ada09b542 I2C. Code clean ups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3151 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-11 19:49:14 +00:00
barthess caeaf6536e I2C. Fixed bug occures when read-through-write two bytes. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3150 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-10 21:40:49 +00:00
barthess 0088567492 I2C. Most of problems have been resolved. Needs testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3149 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-10 18:17:16 +00:00
barthess b064c25e39 I2C. Main problem fixed, but some minor problems must to be fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3142 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-09 22:25:31 +00:00
barthess 6eca655484 I2C. Driver still cause stack overflows.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3134 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-07 21:53:01 +00:00
barthess ff535c27e6 I2C. Fix one potential problem in driver, but main problem with stack overflow still not solved.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3124 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-06 13:54:56 +00:00
barthess 2303c1542c I2C. Small fixes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3122 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-05 14:27:15 +00:00
barthess 03acd18161 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3117 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-07-04 14:27:00 +00:00
barthess ccb28114da I2C. Driver looks working, but sometimes hangs up. I don't know, my big project cause troubles in it, or driver cause troubles in my project.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3116 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-03 18:02:55 +00:00
barthess af0e40079d I2C. Trying to add optional WAIT support. Driver broken.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3101 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-07-01 13:36:59 +00:00
barthess 551a1c1f22 I2C. Added dirty hack to realize thread safe dirver. Needs to be rewrited.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3100 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-30 21:37:34 +00:00
barthess f73960c8dc I2C. API changed. Transmit and receive buffers removed from I2CSlaveConfig. Now pointers to that buffers pass in functions arguments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3099 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-30 13:43:42 +00:00
barthess 73ce7b4fe0 I2C. Commets in examples changed to /**/
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3077 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-24 10:36:41 +00:00
barthess d2b62026fc I2C. Small comment added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3076 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 20:18:58 +00:00
barthess b1d043cede I2C. Some coding style improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3074 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 19:06:33 +00:00
barthess 97e643a2a2 I2C. Commetns style changed to /**/.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3073 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:50:13 +00:00
barthess 2f77482083 I2C. "Sevent" field moved from I2CSlaveConfig to I2CDriver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3072 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:31:24 +00:00
barthess 10153a4f30 I2C. Fixed indent style. All tabs changed to 2 spaces.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3071 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:29:22 +00:00
barthess fbeff97d92 I2C. Variables shared among I2C1 and I2C2 interrupt handlers moved to driver structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3070 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-23 18:05:20 +00:00
barthess 3f2e823d2a I2C. Small improvemets
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3069 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-22 18:00:20 +00:00
barthess 70179f12dd I2C. Slave config structure now have const qualifier. Moset of fields moved to the driver structure. May be broken events subsystem in driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3067 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-21 20:17:14 +00:00
barthess b54133ab1b I2C. Some fields from I2CSlaveConfig moved to driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3066 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-21 18:30:50 +00:00
barthess 30c130dc10 I2C. Dead code removed. Comments fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3059 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 14:55:29 +00:00
barthess 79f477ba95 I2C. "Slave_addr" and "nbit_addr" fields from I2CSlaveConfig structure merged together.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3057 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 14:31:27 +00:00
barthess f3e571839b I2C. Code cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3056 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 13:35:26 +00:00
barthess 350ae0a1a9 I2C. API BROKEN! Structure fields renamed in underscore naming style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3055 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 11:12:33 +00:00
barthess 9e2d63e9dc I2C. Deleted draft driver files
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3053 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-18 10:18:56 +00:00
barthess 140560ea82 I2C. Remove duplicate code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3052 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-17 07:32:57 +00:00
barthess 5cad241306 I2C. Merged code from trunk.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3036 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-07 14:34:59 +00:00
gdisirio 079f323649 Fixed bug 3311999.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3029 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-05 18:19:05 +00:00
gdisirio 03b4c7ddcb FatFs demo for the STM32F103ZG using the SDC driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3028 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-05 08:39:49 +00:00
gdisirio 9b147c2551 SDC driver state machine improved.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3027 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-06-05 07:05:29 +00:00
gdisirio 6fd3079b30 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3026 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-06-04 15:41:07 +00:00
gdisirio 2d4aff80dc git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3025 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-06-04 13:30:13 +00:00
gdisirio 9b9bd471ed Enhancements to the SDC driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3002 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-29 16:19:21 +00:00
gdisirio 88e92b3fc3 Improvements to the STM32 SDC driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3001 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-29 09:09:22 +00:00
barthess 152f34a80c I2C. Some refactorings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3000 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-28 12:31:47 +00:00
gdisirio b3ab17b278 Reordered STM32 drivers default DMA priorities.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2994 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-22 09:45:47 +00:00
gdisirio f4ec81ae14 USB CDC functionality restored, more improvements to the I/O queues.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2983 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-20 12:46:24 +00:00
gdisirio 3cfb4077fb git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2982 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-20 07:29:52 +00:00
gdisirio c2693bcad0 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2958 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-14 08:27:27 +00:00
gdisirio 391474c15f git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2956 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-14 07:11:40 +00:00
gdisirio 67e6534f65 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2955 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-14 07:05:46 +00:00
gdisirio b0af64e71f git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2954 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-14 05:27:09 +00:00
gdisirio 8af2607871 Updated HAL configuration files with SDC driver settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2953 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-14 05:24:10 +00:00
barthess 07556a2d03 I2C. Remove dead variable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2950 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-13 13:24:32 +00:00
gdisirio 16feb88c2d Fixed STM8S SPI driver. Fixed STM32 DMA2 channels 4 and 5 sharing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2949 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-13 09:03:46 +00:00
gdisirio b381c928c7 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2947 35acf78f-673a-0410-8e92-d51de3d6d3f4 2011-05-10 18:37:26 +00:00
gdisirio 0cb8d71e9d SDC improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2946 35acf78f-673a-0410-8e92-d51de3d6d3f4
2011-05-10 18:33:49 +00:00