Merge pull request #1290 from BlackstoneEngineering/BLoDFix_SiLabs

Blue Lights of Death fix for Silicon Labs boards
pull/1144/merge
Martin Kojtal 2015-08-13 10:56:41 +01:00
commit 59ff23cdaf
6 changed files with 11 additions and 1 deletions

View File

@ -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)

View File

@ -50,6 +50,8 @@
#define DEVICE_LOWPOWERTIMER 1
#define DEVICE_ERROR_PATTERN 1
#include "objects.h"
#include "device_peripherals.h"

View File

@ -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.

View File

@ -50,6 +50,8 @@
#define DEVICE_LOWPOWERTIMER 1
#define DEVICE_ERROR_PATTERN 1
#include "objects.h"
#include "Modules.h"
#include "device_peripherals.h"

View File

@ -50,6 +50,8 @@
#define DEVICE_LOWPOWERTIMER 1
#define DEVICE_ERROR_PATTERN 1
#include "objects.h"
#include "Modules.h"
#include "device_peripherals.h"

View File

@ -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.