add the implementation of LP1768 wakeup based on the old WakeUp library

Dependencies:   LPC1114_WakeInterruptIn

Fork of WakeUp by steven niu

Files at this revision

API Documentation at this revision

Comitter:
Sissors
Date:
Wed Jul 30 20:02:47 2014 +0000
Parent:
13:779d866b8a2d
Child:
15:6bf547e1e62d
Commit message:
Latest mbed(-src) lib does not automatically include toolchain.h on the LPC1114 anymore. So added in WakeUp code itself.

Changed in this revision

Device/WakeUp_LPC11XX.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Device/WakeUp_LPC11XX.cpp	Wed Jul 30 15:07:08 2014 +0000
+++ b/Device/WakeUp_LPC11XX.cpp	Wed Jul 30 20:02:47 2014 +0000
@@ -7,6 +7,7 @@
 #include "WakeUp.h"
 #include "WakeInterruptIn.h"
 #include "pinmap.h"
+#include "toolchain.h"
 
 //Pin used, allowed pins = P0_1 (dp24, default), P0_8 (dp1) and P0_9 (dp2)
 //By defining WakeUpPin in for example your main.cpp this can be overridden