Go to the documentation of this file. 46 #ifndef NRF52DK_DEF_H_ 47 #define NRF52DK_DEF_H_ 51 #define PLATFORM_HAS_BATTERY 0 52 #define PLATFORM_HAS_RADIO 0 53 #define PLATFORM_HAS_TEMPERATURE 1 62 #define PLATFORM_HAS_LEDS 1 63 #define LEDS_CONF_LEGACY_API 1 65 #define LEDS_1 (1 << (LED_1 - LED_START)) // 1 66 #define LEDS_2 (1 << (LED_2 - LED_START)) // 2 67 #define LEDS_3 (1 << (LED_3 - LED_START)) // 4 68 #define LEDS_4 (1 << (LED_4 - LED_START)) // 8 70 #define LEDS_CONF_GREEN LEDS_1 71 #define LEDS_CONF_YELLOW LEDS_2 72 #define LEDS_CONF_RED LEDS_3 73 #define LEDS_CONF_BLUE LEDS_4 75 #define LEDS_CONF_ALL (LEDS_1 | LEDS_2 | LEDS_3 | LEDS_4) 81 #define PLATFORM_INDICATE_BLE_STATE 1 90 #define PLATFORM_HAS_BUTTON 1 96 #define button_sensor button_1 97 #define button_sensor2 button_2 103 #define PLATFORM_RTC_INSTANCE_ID 1 109 #define PLATFORM_TIMER_INSTANCE_ID 1