mbed library sources change for ST sensors and ST BLE
Fork of mbed-src by
Revision 604:19d487c995ec, committed 2015-08-13
- 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
--- 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.