Tim Barry / mbed_blinky_offset
Committer:
timbobazza
Date:
Sat Oct 04 09:07:08 2014 +0000
Revision:
0:2173789ea697
First version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
timbobazza 0:2173789ea697 1 /* mbed Microcontroller Library
timbobazza 0:2173789ea697 2 * Copyright (c) 2006-2013 ARM Limited
timbobazza 0:2173789ea697 3 *
timbobazza 0:2173789ea697 4 * Licensed under the Apache License, Version 2.0 (the "License");
timbobazza 0:2173789ea697 5 * you may not use this file except in compliance with the License.
timbobazza 0:2173789ea697 6 * You may obtain a copy of the License at
timbobazza 0:2173789ea697 7 *
timbobazza 0:2173789ea697 8 * http://www.apache.org/licenses/LICENSE-2.0
timbobazza 0:2173789ea697 9 *
timbobazza 0:2173789ea697 10 * Unless required by applicable law or agreed to in writing, software
timbobazza 0:2173789ea697 11 * distributed under the License is distributed on an "AS IS" BASIS,
timbobazza 0:2173789ea697 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
timbobazza 0:2173789ea697 13 * See the License for the specific language governing permissions and
timbobazza 0:2173789ea697 14 * limitations under the License.
timbobazza 0:2173789ea697 15 */
timbobazza 0:2173789ea697 16 #ifndef MBED_TOOLCHAIN_H
timbobazza 0:2173789ea697 17 #define MBED_TOOLCHAIN_H
timbobazza 0:2173789ea697 18
timbobazza 0:2173789ea697 19 #if defined(TOOLCHAIN_ARM) || defined(TOOLCHAIN_uARM)
timbobazza 0:2173789ea697 20 #include <rt_sys.h>
timbobazza 0:2173789ea697 21 #endif
timbobazza 0:2173789ea697 22
timbobazza 0:2173789ea697 23 #ifndef FILEHANDLE
timbobazza 0:2173789ea697 24 typedef int FILEHANDLE;
timbobazza 0:2173789ea697 25 #endif
timbobazza 0:2173789ea697 26
timbobazza 0:2173789ea697 27 #if defined (__ICCARM__)
timbobazza 0:2173789ea697 28 # define WEAK __weak
timbobazza 0:2173789ea697 29 # define PACKED __packed
timbobazza 0:2173789ea697 30 #else
timbobazza 0:2173789ea697 31 # define WEAK __attribute__((weak))
timbobazza 0:2173789ea697 32 # define PACKED __attribute__((packed))
timbobazza 0:2173789ea697 33 #endif
timbobazza 0:2173789ea697 34
timbobazza 0:2173789ea697 35 #endif