contiki/cpu/cc2538
Benoît Thébaudeau 42c287f363 cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0
lpm.c needs to #include lpm.h in order to get the definition of
lpm_periph_permit_pm1_func_t, which made the replacement macros conflict with
the function definitions for the LPM_CONF_ENABLE == 0 case. This change fixes
this issue by #if-ing out the code in lpm.c in that case. Also, the replacement
macro for lpm_register_peripheral() was missing in that case, which is fixed
here.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
2014-01-28 20:21:06 +01:00
..
dev cc2538: lpm: Fix RTIMER_NOW() upon wake-up 2013-12-05 20:23:29 +01:00
usb cc2538: usb: Make the GPIO driving the pull-up optional 2013-11-25 15:15:35 +01:00
cc2538.lds cc2538: Add header file for flash CCA page and use it 2013-12-05 18:45:51 +01:00
clock.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
debug-uart.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.h Change the InfoPage Location of the IEEE address 2013-04-17 15:44:01 +01:00
lpm.c cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0 2014-01-28 20:21:06 +01:00
lpm.h cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0 2014-01-28 20:21:06 +01:00
Makefile.cc2538 cc2538: Fix library linkage 2014-01-28 14:32:30 +01:00
mtarch.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
reg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rtimer-arch.c cc2538: lpm: Fix RTIMER_NOW() upon wake-up 2013-12-05 20:23:29 +01:00
rtimer-arch.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
slip-arch.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
spi-arch.h cc2538: spi: Add enable and disable functions 2013-11-20 14:20:50 +01:00