A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

bricks/target.h

Committer:
hux
Date:
2017-10-01
Revision:
29:a6b74dfdd5f2
Parent:
28:307f58df778a

File content as of revision 29:a6b74dfdd5f2:

// bricks/target.h - define target specifics

#ifndef _BRICKS_TARGET_H_
#define _BRICKS_TARGET_H_

//#define MTCONNECT04                    // MtM nRF51822 module MtConnect04

// platform specific defines - comment out platforms which are not used
// We work only with two kinds of platform:
//
//    a) a NUCLEO platform from STMicroelectronics
//    b) a nRF51 platform from Nordic Semiconductor
//
// If we have not a nRF51 target then we coclude it is a NUCLEO target. This is
// not really clean, but under above assumptions it works so far!

#ifdef TARGET_NRF51822 
#   define LED_INVERTED          // inverted LED for nRF51 targets
#endif

#ifdef MTCONNECT04
#  define BLINK_LED p16
#endif

#endif // _BRICKS_TARGET_H_