Skip to content

Commit 96a1759

Browse files
committed
Updated device definition file for NRF52_DK target.
1 parent 2eaa468 commit 96a1759

File tree

1 file changed

+2
-23
lines changed
  • hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK

1 file changed

+2
-23
lines changed

hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TARGET_NRF52_DK/device.h

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
2+
// Check the 'features' section of the target description in 'targets.json' for more details.
13
/* mbed Microcontroller Library
24
* Copyright (c) 2006-2013 ARM Limited
35
*
@@ -16,43 +18,20 @@
1618
#ifndef MBED_DEVICE_H
1719
#define MBED_DEVICE_H
1820

19-
#define DEVICE_PORTIN 1
20-
#define DEVICE_PORTOUT 1
21-
#define DEVICE_PORTINOUT 1
2221

23-
#define DEVICE_INTERRUPTIN 1
2422

25-
#define DEVICE_ANALOGIN 1
26-
#define DEVICE_ANALOGOUT 0
2723

28-
#define DEVICE_SERIAL 1
2924

30-
#define DEVICE_I2C 1
31-
#define DEVICE_I2CSLAVE 0
3225

33-
#define DEVICE_SPI 1
34-
#define DEVICE_SPISLAVE 1
3526

36-
#define DEVICE_CAN 0
3727

38-
#define DEVICE_RTC 0
3928

40-
#define DEVICE_ETHERNET 0
4129

42-
#define DEVICE_PWMOUT 1
4330

44-
#define DEVICE_SEMIHOST 0
45-
#define DEVICE_LOCALFILESYSTEM 0
4631

47-
#define DEVICE_SLEEP 1
4832

49-
#define DEVICE_DEBUG_AWARENESS 0
5033

51-
#define DEVICE_STDIO_MESSAGES 0
5234

53-
#define DEVICE_ERROR_PATTERN 1
54-
55-
#define DEVICE_LOWPOWERTIMER 1
5635

5736
#include "objects.h"
5837

0 commit comments

Comments
 (0)