1234567891011121314151617181920212223242526272829303132333435 |
-
- #ifndef MBED_TOOLCHAIN_H
- #define MBED_TOOLCHAIN_H
-
- #if defined(TOOLCHAIN_ARM)
- #include <rt_sys.h>
- #endif
-
- #ifndef FILEHANDLE
- typedef int FILEHANDLE;
- #endif
-
- #if defined (__ICCARM__)
- # define WEAK __weak
- # define PACKED __packed
- #else
- # define WEAK __attribute__((weak))
- # define PACKED __attribute__((packed))
- #endif
-
- #endif
|