Enable the legacy LED API for respective platforms
This commit is contained in:
parent
b1537374fb
commit
d52bfa0f22
@ -46,6 +46,8 @@
|
||||
|
||||
#define COOJA 1
|
||||
|
||||
#define LEDS_CONF_LEGACY_API 1
|
||||
|
||||
#ifndef EEPROM_CONF_SIZE
|
||||
#define EEPROM_CONF_SIZE 1024
|
||||
#endif
|
||||
|
@ -196,6 +196,8 @@ typedef uint32_t rtimer_clock_t;
|
||||
#define PLATFORM_HAS_SHT11 0
|
||||
#define PLATFORM_HAS_RADIO 1
|
||||
|
||||
#define LEDS_CONF_LEGACY_API 1
|
||||
|
||||
#define PLATFORM_CONF_PROVIDES_MAIN_LOOP 1
|
||||
|
||||
/* CPU target speed in Hz
|
||||
|
@ -66,6 +66,8 @@ typedef int32_t s32_t;
|
||||
|
||||
typedef unsigned int uip_stats_t;
|
||||
|
||||
#define LEDS_CONF_LEGACY_API 1
|
||||
|
||||
#ifndef UIP_CONF_BYTE_ORDER
|
||||
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
|
||||
#endif
|
||||
|
@ -60,6 +60,7 @@
|
||||
* @{
|
||||
*/
|
||||
#define PLATFORM_HAS_LEDS 1
|
||||
#define LEDS_CONF_LEGACY_API 1
|
||||
|
||||
#define LEDS_1 (1 << (LED_1 - LED_START)) // 1
|
||||
#define LEDS_2 (1 << (LED_2 - LED_START)) // 2
|
||||
|
@ -75,6 +75,8 @@
|
||||
#define LEDS_CONF_GREEN 0x20
|
||||
#define LEDS_CONF_YELLOW 0x40
|
||||
|
||||
#define LEDS_CONF_LEGACY_API 1
|
||||
|
||||
/* DCO speed resynchronization for more robust UART, etc. */
|
||||
#ifndef DCOSYNCH_CONF_ENABLED
|
||||
#define DCOSYNCH_CONF_ENABLED (!(MAC_CONF_WITH_TSCH)) /* TSCH needs timerB
|
||||
|
Loading…
Reference in New Issue
Block a user