simplify project-conf.h
This commit is contained in:
parent
26b1e874d6
commit
8905f35d72
2 changed files with 16 additions and 6 deletions
|
@ -44,6 +44,22 @@
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef OSDPLUG
|
||||||
|
//#define PLATFORM_HAS_LEDS 1
|
||||||
|
//#define PLATFORM_HAS_BUTTON 1
|
||||||
|
#define PLATFORM_HAS_OPTRIAC 1
|
||||||
|
#define PLATFORM_HAS_TEMPERATURE 1
|
||||||
|
#define PLATFORM_HAS_BATTERY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (defined (OSDLIGHT) || defined (OSDSHUTTER))
|
||||||
|
#define PLATFORM_HAS_LEDS 1
|
||||||
|
#define PLATFORM_HAS_BUTTON 1
|
||||||
|
#define PLATFORM_HAS_OPTRIAC 1
|
||||||
|
#define PLATFORM_HAS_TEMPERATURE 1
|
||||||
|
#define PLATFORM_HAS_BATTERY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define which resources to include to meet memory constraints. */
|
/* Define which resources to include to meet memory constraints. */
|
||||||
#define REST_RES_INFO 1
|
#define REST_RES_INFO 1
|
||||||
#define REST_RES_OPTRIAC 1
|
#define REST_RES_OPTRIAC 1
|
||||||
|
|
|
@ -37,12 +37,6 @@
|
||||||
//#define OSDSHUTTER
|
//#define OSDSHUTTER
|
||||||
|
|
||||||
|
|
||||||
//#define PLATFORM_HAS_LEDS 1
|
|
||||||
//#define PLATFORM_HAS_BUTTON 1
|
|
||||||
#define PLATFORM_HAS_OPTRIAC 1
|
|
||||||
#define PLATFORM_HAS_TEMPERATURE 1
|
|
||||||
#define PLATFORM_HAS_BATTERY 1
|
|
||||||
|
|
||||||
#define SICSLOWPAN_CONF_FRAG 1
|
#define SICSLOWPAN_CONF_FRAG 1
|
||||||
|
|
||||||
/* For Debug: Dont allow MCU sleeping between channel checks */
|
/* For Debug: Dont allow MCU sleeping between channel checks */
|
||||||
|
|
Loading…
Reference in a new issue