]>
git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h
1 /* mbed Microcontroller Library
2 * Copyright (c) 2006-2013 ARM Limited
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 /* ->Take measures about optimization problems of web compiler */
20 /* Web compiler has problem that inlining code may not be generated correctly */
21 /* when "-O3 -Otime" was specified. */
22 #if defined(__CC_ARM) && (__ARMCC_VERSION <= 5040027)
25 /* <-Take measures about optimization problems of web compiler */
27 #define DEVICE_PORTIN 1
28 #define DEVICE_PORTOUT 1
29 #define DEVICE_PORTINOUT 1
31 #define DEVICE_INTERRUPTIN 1
33 #define DEVICE_ANALOGIN 1
34 #define DEVICE_ANALOGOUT 0
36 #define DEVICE_SERIAL 1
37 #define DEVICE_SERIAL_FC 1
40 #define DEVICE_I2CSLAVE 1
43 #define DEVICE_SPISLAVE 1
49 #define DEVICE_ETHERNET 1
51 #define DEVICE_PWMOUT 1
53 #define DEVICE_SEMIHOST 0
54 #define DEVICE_LOCALFILESYSTEM 0
55 #define DEVICE_ID_LENGTH 32
56 #define DEVICE_MAC_OFFSET 20
58 #define DEVICE_SLEEP 0
60 #define DEVICE_DEBUG_AWARENESS 0
62 #define DEVICE_STDIO_MESSAGES 0
64 #define DEVICE_ERROR_PATTERN 0