Add needed platform defined gaurds to compile with Arduino IDE

Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
This commit is contained in:
Christopher Pepper
2017-08-26 21:25:25 +01:00
committed by Scott Lahteine
parent a037ddbf7b
commit b908e38d08
5 changed files with 22 additions and 10 deletions

View File

@ -20,6 +20,8 @@
*
*/
#ifdef TARGET_LPC1768
#include "../../../macros.h"
#include "../HAL.h"
#include "HardwareSerial.h"
@ -634,3 +636,5 @@ void UART3_IRQHandler (void)
#ifdef __cplusplus
}
#endif
#endif // TARGET_LPC1768