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.

Revision:
194:718a82ebba31
Parent:
136:f4bb33e41288
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c	Fri May 16 09:00:06 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/mbed_overrides.c	Fri May 16 16:15:06 2014 +0100
@@ -13,31 +13,9 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#include "gpio_api.h"
-#include "wait_api.h"
+#include "C027_api.h"
 
 // called before main
-void mbed_sdk_init()
-{
-    gpio_t modemEn, modemRst, modemPwrOn, modemLvlOe, modemILvlOe, modemUsbDet;
-    gpio_t gpsEn, gpsRst, led, modemRts;
-    
-    // start with modem disabled 
-    gpio_init_out_ex(&modemEn,     MDMEN,     0);
-    gpio_init_out_ex(&modemRst,    MDMRST,    1);
-    gpio_init_out_ex(&modemPwrOn,  MDMPWRON,  1);
-    gpio_init_out_ex(&modemLvlOe,  MDMLVLOE,  1);
-    gpio_init_out_ex(&modemILvlOe, MDMILVLOE, 0);
-    gpio_init_out_ex(&modemUsbDet, MDMUSBDET, 0);
-    gpio_init_out_ex(&modemRts,    MDMRTS,    0);
-    // start with gps disabled 
-    gpio_init_out_ex(&gpsEn,       GPSEN,     0);
-    gpio_init_out_ex(&gpsRst,      GPSRST,    1);
-    // led should be off
-    gpio_init_out_ex(&led,         LED,       0);
-    
-    wait_ms(50); // when USB cable is inserted the interface chip issues 
-    // multiple resets to the target CPU We wait here for a short period to 
-    // prevent those resets from propagating to the modem and other 
-    // components. 
+void mbed_sdk_init() {
+	c027_init();
 }