Skip to content

Commit 2ec518a

Browse files
Added checks on compilation flags.
1 parent 3b70215 commit 2ec518a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libraries/mbed/targets/cmsis/TARGET_NORDIC/TARGET_NRF51822/nordic_global.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@
44
/* There are no global defines in mbed, so we need to define */
55
/* mandatory conditional compilation flags here */
66
//#define NRF51
7+
#ifndef DEBUG_NRF_USER
78
#define DEBUG_NRF_USER
9+
#endif
10+
#ifndef BLE_STACK_SUPPORT_REQD
811
#define BLE_STACK_SUPPORT_REQD
12+
#endif
13+
#ifndef BOARD_PCA10001
914
#define BOARD_PCA10001
15+
#endif
1016

1117
#endif

0 commit comments

Comments
 (0)