Go to the documentation of this file.
45 #ifndef __PLATFORM_CONF_H__
46 #define __PLATFORM_CONF_H__
51 #define PLATFORM_HAS_LEDS 1
52 #define PLATFORM_HAS_BUTTON 1
53 #define PLATFORM_HAS_RADIO 1
58 #ifdef X_NUCLEO_IKS01A1
59 #define LEDS_CONF_ALL 1
61 #define LEDS_CONF_ALL 3
64 #define F_CPU 32000000ul
65 #define RTIMER_ARCH_SECOND 32768
66 #define PRESCALER ((F_CPU / (RTIMER_ARCH_SECOND * 2)))
68 #define UART1_CONF_TX_WITH_INTERRUPT 0
69 #define WITH_SERIAL_LINE_INPUT 1
70 #define TELNETD_CONF_NUMLINES 6
71 #define NETSTACK_CONF_RADIO spirit_radio_driver
72 #define NETSTACK_RADIO_MAX_PAYLOAD_LEN 96
78 #define CLOCK_CONF_SECOND 128
81 #define RTIMER_CLOCK_DIFF(a, b) ((signed short)((a) - (b)))
83 typedef unsigned long clock_time_t;
84 typedef unsigned long long rtimer_clock_t;
86 #define CC_CONF_REGISTER_ARGS 0
87 #define CC_CONF_FUNCTION_POINTER_ARGS 1
88 #define CC_CONF_FASTCALL
89 #define CC_CONF_VA_ARGS 1
90 #define CC_CONF_INLINE inline
96 typedef uint16_t u16_t;
97 typedef uint32_t u32_t;
98 typedef int32_t s32_t;
99 typedef unsigned short uip_stats_t;
101 #define MULTICHAN_CONF_SET_CHANNEL(x)
102 #define MULTICHAN_CONF_READ_RSSI(x) 0