Use stdint.h
This commit is contained in:
parent
016778b29e
commit
199e6bd270
1 changed files with 49 additions and 53 deletions
|
@ -1,5 +1,7 @@
|
|||
#ifndef __CONTIKI_CONF_H__
|
||||
#define __CONTIKI_CONF_H__
|
||||
#ifndef CONTIKI_CONF_H
|
||||
#define CONTIKI_CONF_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define IRQ_PORT1 0x01
|
||||
#define IRQ_PORT2 0x02
|
||||
|
@ -100,17 +102,11 @@ typedef signed long INT32;
|
|||
/*#define UIP_CONF_RECEIVE_WINDOW 140*/
|
||||
|
||||
#define UIP_CONF_LLH_LEN 6
|
||||
|
||||
#define UIP_CONF_RESOLV_ENTRIES 1
|
||||
|
||||
#define UIP_CONF_PINGADDRCONF 1
|
||||
|
||||
#define UIP_CONF_LOGGING 0
|
||||
|
||||
#define UIP_CONF_UDP_CONNS 6
|
||||
|
||||
#define UIP_CONF_FWCACHE_SIZE 1
|
||||
|
||||
#define UIP_CONF_BROADCAST 1
|
||||
|
||||
#define LOADER_CONF_ARCH "loader/loader-arch.h"
|
||||
|
@ -125,9 +121,9 @@ typedef signed long INT32;
|
|||
#define LEDS_CONF_GREEN 0x00
|
||||
#define LEDS_CONF_YELLOW 0x00
|
||||
|
||||
#define SD_LED_READ_ON LEDS_PxOUT &=~LEDS_CONF_RED
|
||||
#define SD_LED_READ_OFF LEDS_PxOUT |= LEDS_CONF_RED
|
||||
#define SD_LED_READ_ON (LEDS_PxOUT &=~LEDS_CONF_RED)
|
||||
#define SD_LED_READ_OFF (LEDS_PxOUT |= LEDS_CONF_RED)
|
||||
#define SD_LED_WRITE_ON SD_LED_READ_ON
|
||||
#define SD_LED_WRITE_OFF SD_LED_READ_OFF
|
||||
|
||||
#endif /* __CONTIKI_CONF_H__ */
|
||||
#endif /* !CONTIKI_CONF_H */
|
||||
|
|
Loading…
Reference in a new issue