mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-14 20:27:43 +00:00
Added resource definition for button, leds, and battery, and removed obsolete compiler setup
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef __CONTIKI_CONF_H__
|
||||
#define __CONTIKI_CONF_H__
|
||||
|
||||
#define PLATFORM_HAS_LEDS 1
|
||||
#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_BATTERY 1
|
||||
|
||||
/* DCO speed resynchronization for more robust UART, etc. */
|
||||
#define DCOSYNCH_CONF_ENABLED 1
|
||||
#define DCOSYNCH_CONF_PERIOD 30
|
||||
@@ -11,15 +15,6 @@
|
||||
#define PROFILE_CONF_ON 0
|
||||
#define ENERGEST_CONF_ON 1
|
||||
|
||||
#ifdef __IAR_SYSTEMS_ICC__
|
||||
#define __MSP430F149__ 1
|
||||
#define __MSP430__ 1
|
||||
#define CC_CONF_INLINE
|
||||
#define BV(x) (1 << x)
|
||||
#else
|
||||
#define CC_CONF_INLINE inline
|
||||
#endif
|
||||
|
||||
#define HAVE_STDINT_H
|
||||
#include "msp430def.h"
|
||||
|
||||
|
@@ -305,8 +305,6 @@ main(void)
|
||||
watchdog_start();
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* char *arg_alloc(char size) {return NULL;} */
|
||||
|
Reference in New Issue
Block a user