Skip to content

Commit 4f6b0b6

Browse files
nordic_global.h file now included
1 parent d7dae24 commit 4f6b0b6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#ifndef _NORDIC_GLOBAL_H_
2+
#define _NORDIC_GLOBAL_H_
3+
4+
/* There are no global defines in mbed, so we need to define */
5+
/* mandatory conditional compilation flags here */
6+
//#define NRF51
7+
#define DEBUG_NRF_USER
8+
#define BLE_STACK_SUPPORT_REQD
9+
#define BOARD_PCA10001
10+
11+
#endif

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef NRF_H
2020
#define NRF_H
2121

22-
22+
#include "nordic_global.h"
2323
#include "compiler_abstraction.h"
2424
#include "nrf51.h"
2525
#include "nrf51_bitfields.h"

0 commit comments

Comments
 (0)