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:
mbed_official
Date:
Thu Aug 13 11:00:09 2015 +0100
Parent:
603:3c75ef011213
Child:
605:ded2017be6ab
Commit message:
Synchronized with git revision 59ff23cdaf8734ec707a806487606065a5d24f57

Full URL: https://github.com/mbedmicro/mbed/commit/59ff23cdaf8734ec707a806487606065a5d24f57/

Blue Lights of Death fix for Silicon Labs boards

Changed in this revision

common/board.c Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h Show annotated file Show diff for this revision Revisions of this file
--- a/common/board.c	Thu Aug 13 10:30:09 2015 +0100
+++ b/common/board.c	Thu Aug 13 11:00:09 2015 +0100
@@ -19,7 +19,7 @@
 #include "mbed_interface.h"
 
 WEAK void mbed_die(void) {
-#ifndef NRF51_H
+#if !defined (NRF51_H) && !defined(TARGET_EFM32)
 	__disable_irq();	// dont allow interrupts to disturb the flash pattern
 #endif
 #if   (DEVICE_ERROR_RED == 1)
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h	Thu Aug 13 10:30:09 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/device.h	Thu Aug 13 11:00:09 2015 +0100
@@ -50,6 +50,8 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+#define DEVICE_ERROR_PATTERN    1
+
 #include "objects.h"
 #include "device_peripherals.h"
 
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h	Thu Aug 13 10:30:09 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/device.h	Thu Aug 13 11:00:09 2015 +0100
@@ -50,6 +50,8 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+#define DEVICE_ERROR_PATTERN    1
+
 // Redefine OPEN_MAX from sys_limits.h to save on RAM.
 // Effect: maximum amount of file handlers = OPEN_MAX
 // This is not going to have an impact, since this is a RAM-limited part anyway.
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h	Thu Aug 13 10:30:09 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/device.h	Thu Aug 13 11:00:09 2015 +0100
@@ -50,6 +50,8 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+#define DEVICE_ERROR_PATTERN    1
+
 #include "objects.h"
 #include "Modules.h"
 #include "device_peripherals.h"
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h	Thu Aug 13 10:30:09 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/device.h	Thu Aug 13 11:00:09 2015 +0100
@@ -50,6 +50,8 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+#define DEVICE_ERROR_PATTERN    1
+
 #include "objects.h"
 #include "Modules.h"
 #include "device_peripherals.h"
--- a/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h	Thu Aug 13 10:30:09 2015 +0100
+++ b/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/device.h	Thu Aug 13 11:00:09 2015 +0100
@@ -50,6 +50,8 @@
 
 #define DEVICE_LOWPOWERTIMER    1
 
+#define DEVICE_ERROR_PATTERN    1
+
 // Redefine OPEN_MAX from sys_limits.h to save on RAM.
 // Effect: maximum amount of file handlers = OPEN_MAX
 // This is not going to have an impact, since this is a RAM-limited part anyway.