A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Sun Oct 01 12:49:25 2017 +0000
Revision:
29:a6b74dfdd5f2
Parent:
28:307f58df778a
A blue button is always a nice toy ...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 28:307f58df778a 1 // bricks/target.h - define target specifics
hux 28:307f58df778a 2
hux 28:307f58df778a 3 #ifndef _BRICKS_TARGET_H_
hux 28:307f58df778a 4 #define _BRICKS_TARGET_H_
hux 28:307f58df778a 5
hux 28:307f58df778a 6 //#define MTCONNECT04 // MtM nRF51822 module MtConnect04
hux 28:307f58df778a 7
hux 28:307f58df778a 8 // platform specific defines - comment out platforms which are not used
hux 28:307f58df778a 9 // We work only with two kinds of platform:
hux 28:307f58df778a 10 //
hux 28:307f58df778a 11 // a) a NUCLEO platform from STMicroelectronics
hux 28:307f58df778a 12 // b) a nRF51 platform from Nordic Semiconductor
hux 28:307f58df778a 13 //
hux 28:307f58df778a 14 // If we have not a nRF51 target then we coclude it is a NUCLEO target. This is
hux 28:307f58df778a 15 // not really clean, but under above assumptions it works so far!
hux 28:307f58df778a 16
hux 28:307f58df778a 17 #ifdef TARGET_NRF51822
hux 28:307f58df778a 18 # define LED_INVERTED // inverted LED for nRF51 targets
hux 28:307f58df778a 19 #endif
hux 28:307f58df778a 20
hux 28:307f58df778a 21 #ifdef MTCONNECT04
hux 28:307f58df778a 22 # define BLINK_LED p16
hux 28:307f58df778a 23 #endif
hux 28:307f58df778a 24
hux 28:307f58df778a 25 #endif // _BRICKS_TARGET_H_