Merge pull request #24 from sg-/error-compiler-patch

rename error.c to mbed_error.c. add toolchain.h to mbed.h exposing to…
Bogdan Marinescu 2016-04-07 16:31:24 +01:00
commit 640296520f
3 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#define MBED_LIBRARY_VERSION 117
#include "toolchain.h"
#include "platform.h"
// Useful C libraries

View File

@ -24,6 +24,10 @@
typedef int FILEHANDLE;
#endif
#ifndef EXTERN
#define EXTERN extern
#endif
#if defined (__ICCARM__)
# define WEAK __weak
# define PACKED __packed