File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
libraries/mbed/targets/hal/TARGET_Silicon_Labs/TARGET_EFM32 Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 50
50
51
51
#define DEVICE_LOWPOWERTIMER 1
52
52
53
+ // Redefine OPEN_MAX from sys_limits.h to save on RAM.
54
+ // Effect: maximum amount of file handlers = OPEN_MAX
55
+ // This is not going to have an impact, since this is a RAM-limited part anyway.
56
+ #define OPEN_MAX 24
57
+
53
58
#include "objects.h"
54
59
#include "Modules.h"
55
60
#include "device_peripherals.h"
Original file line number Diff line number Diff line change 50
50
51
51
#define DEVICE_LOWPOWERTIMER 1
52
52
53
+ // Redefine OPEN_MAX from sys_limits.h to save on RAM.
54
+ // Effect: maximum amount of file handlers = OPEN_MAX
55
+ // This is not going to have an impact, since this is a RAM-limited part anyway.
56
+ #define OPEN_MAX 8
57
+
53
58
#include "objects.h"
54
59
#include "Modules.h"
55
60
#include "device_peripherals.h"
You can’t perform that action at this time.
0 commit comments