mirror of https://github.com/ARMmbed/mbed-os.git
added BLoD functionality to all Silicon Labs boards. Added #define to all device.h files and a disable_irq() exception in common/board.c because the wait function is implemented in a interrupt for both NRF and SiLabs boards
parent
020975119c
commit
0278260cad
|
@ -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)
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
|
||||
#define DEVICE_LOWPOWERTIMER 1
|
||||
|
||||
#define DEVICE_ERROR_PATTERN 1
|
||||
|
||||
#include "objects.h"
|
||||
#include "device_peripherals.h"
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
|
||||
#define DEVICE_LOWPOWERTIMER 1
|
||||
|
||||
#define DEVICE_ERROR_PATTERN 1
|
||||
|
||||
#include "objects.h"
|
||||
#include "Modules.h"
|
||||
#include "device_peripherals.h"
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
|
||||
#define DEVICE_LOWPOWERTIMER 1
|
||||
|
||||
#define DEVICE_ERROR_PATTERN 1
|
||||
|
||||
#include "objects.h"
|
||||
#include "Modules.h"
|
||||
#include "device_peripherals.h"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue