Go to the documentation of this file.
37 #ifndef __PLATFORM_CONF_H__
38 #define __PLATFORM_CONF_H__
57 #ifndef INGA_CONF_REVISION
58 #define INGA_REVISION INGA_V12
60 #define INGA_REVISION INGA_CONF_REVISION
63 #define PLATFORM PLATFORM_AVR
66 #define RF230_HAL = INGA_12
68 #define PLATFORM_HAS_BUTTON 1
72 #define F_CPU 8000000UL
76 #ifndef CLOCK_CONF_SECOND
77 #define CLOCK_CONF_SECOND 128UL
81 typedef unsigned short uip_stats_t;
82 typedef unsigned long clock_time_t;
83 typedef unsigned long off_t;
86 #define PLATFORM_HAS_LEDS 1
87 #define LEDS_PxDIR DDRD
88 #define LEDS_PxOUT PORTD
89 #define LEDS_CONF_GREEN 0x20
90 #define LEDS_CONF_YELLOW 0x80
93 #define MICRO_SD_PWR_PORT PORTA
94 #define MICRO_SD_PWR_PORT_DDR DDRA
95 #define MICRO_SD_PWR_PIN PORTA4
97 #include <util/delay.h>
104 #define SDCARD_POWER_ON() {MICRO_SD_PWR_PORT |= (1 << MICRO_SD_PWR_PIN); _delay_ms(2);}
109 #define SDCARD_POWER_OFF() MICRO_SD_PWR_PORT &= ~(1 << MICRO_SD_PWR_PIN)