mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Files at this revision

API Documentation at this revision

Comitter:
humlet
Date:
Sun Jun 30 16:34:50 2013 +0000
Parent:
10:3bc89ef62ce7
Child:
12:5fa2273de5db
Commit message:
fix for mbed lib issue 1 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/1

Changed in this revision

vendor/NXP/LPC11U24/hal/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
vendor/NXP/LPC1768/hal/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
vendor/NXP/LPC2368/hal/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
vendor/NXP/LPC4088/hal/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/vendor/NXP/LPC11U24/hal/i2c_api.c	Fri Jun 14 17:49:17 2013 +0100
+++ b/vendor/NXP/LPC11U24/hal/i2c_api.c	Sun Jun 30 16:34:50 2013 +0000
@@ -258,7 +258,9 @@
         }
     }
     
-    i2c_clear_SI(obj);
+    // clearing the serial interrupt here might cause an unintended rewrite of the last byte
+    // see also issue report https://mbed.org/users/mbed_official/code/mbed/issues/1
+    // i2c_clear_SI(obj);
     
     // If not repeated start, send stop.
     if (stop) {
--- a/vendor/NXP/LPC1768/hal/i2c_api.c	Fri Jun 14 17:49:17 2013 +0100
+++ b/vendor/NXP/LPC1768/hal/i2c_api.c	Sun Jun 30 16:34:50 2013 +0000
@@ -266,7 +266,9 @@
         }
     }
     
-    i2c_clear_SI(obj);
+    // clearing the serial interrupt here might cause an unintended rewrite of the last byte
+    // see also issue report https://mbed.org/users/mbed_official/code/mbed/issues/1
+    // i2c_clear_SI(obj);
     
     // If not repeated start, send stop.
     if (stop) {
--- a/vendor/NXP/LPC2368/hal/i2c_api.c	Fri Jun 14 17:49:17 2013 +0100
+++ b/vendor/NXP/LPC2368/hal/i2c_api.c	Sun Jun 30 16:34:50 2013 +0000
@@ -265,7 +265,9 @@
         }
     }
     
-    i2c_clear_SI(obj);
+    // clearing the serial interrupt here might cause an unintended rewrite of the last byte
+    // see also issue report https://mbed.org/users/mbed_official/code/mbed/issues/1
+    // i2c_clear_SI(obj);
     
     // If not repeated start, send stop.
     if (stop) {
--- a/vendor/NXP/LPC4088/hal/i2c_api.c	Fri Jun 14 17:49:17 2013 +0100
+++ b/vendor/NXP/LPC4088/hal/i2c_api.c	Sun Jun 30 16:34:50 2013 +0000
@@ -275,7 +275,9 @@
         }
     }
     
-    i2c_clear_SI(obj);
+    // clearing the serial interrupt here might cause an unintended rewrite of the last byte
+    // see also issue report https://mbed.org/users/mbed_official/code/mbed/issues/1
+    // i2c_clear_SI(obj);
     
     // If not repeated start, send stop.
     if (stop) {