A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers target.h Source File

target.h

00001 // bricks/target.h - define target specifics
00002 
00003 #ifndef _BRICKS_TARGET_H_
00004 #define _BRICKS_TARGET_H_
00005 
00006 //#define MTCONNECT04                    // MtM nRF51822 module MtConnect04
00007 
00008 // platform specific defines - comment out platforms which are not used
00009 // We work only with two kinds of platform:
00010 //
00011 //    a) a NUCLEO platform from STMicroelectronics
00012 //    b) a nRF51 platform from Nordic Semiconductor
00013 //
00014 // If we have not a nRF51 target then we coclude it is a NUCLEO target. This is
00015 // not really clean, but under above assumptions it works so far!
00016 
00017 #ifdef TARGET_NRF51822 
00018 #   define LED_INVERTED          // inverted LED for nRF51 targets
00019 #endif
00020 
00021 #ifdef MTCONNECT04
00022 #  define BLINK_LED p16
00023 #endif
00024 
00025 #endif // _BRICKS_TARGET_H_