Go to the documentation of this file.
46 #ifndef PLATFORM_CONF_H_
47 #define PLATFORM_CONF_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
64 #define LEDS_1 (1 << (LED_1 - LED_START)) // 1
65 #define LEDS_2 (1 << (LED_2 - LED_START)) // 2
66 #define LEDS_3 (1 << (LED_3 - LED_START)) // 4
67 #define LEDS_4 (1 << (LED_4 - LED_START)) // 8
69 #define LEDS_GREEN LEDS_1
70 #define LEDS_YELLOW LEDS_2
71 #define LEDS_RED LEDS_3
72 #define LEDS_BLUE LEDS_4
74 #define LEDS_CONF_ALL (LEDS_1 | LEDS_2 | LEDS_3 | LEDS_4)
80 #define PLATFORM_INDICATE_BLE_STATE 1
89 #define PLATFORM_HAS_BUTTON 1
95 #define button_sensor button_1
96 #define button_sensor2 button_2
102 #define PLATFORM_RTC_INSTANCE_ID 1
108 #define PLATFORM_TIMER_INSTANCE_ID 1
118 #define CLOCK_CONF_SECOND 128
125 typedef uint32_t clock_time_t;
126 typedef uint32_t uip_stats_t;
129 #define CLOCK_LT(a, b) ((signed long)((a) - (b)) < 0)
131 #define RTIMER_ARCH_SECOND 62500
136 typedef uint32_t rtimer_clock_t;
137 #define RTIMER_CLOCK_DIFF(a,b) ((int32_t)((a)-(b)))