Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
Kojto
Date:
Wed Mar 04 07:31:39 2015 +0100
Revision:
95:7e07b6fb45cf
Parent:
93:e188a91d3eaa
Child:
102:da0ca467f8b5
Release 95 of the mbed library

Main changes:

- new platform: APPNEARME_MICRONFCBOARD
- LPC 8xx - us ticker and pwm out fixes
- RZ_A1H - GCC support, fixes in Ticker and Serial
- IAR - stack and heap corrections for few targets
- us ticker - get next timestamp function addition

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 92:4fc01daae5a5 1 /* mbed Microcontroller Library
bogdanm 92:4fc01daae5a5 2 * Copyright (c) 2006-2013 ARM Limited
bogdanm 92:4fc01daae5a5 3 *
bogdanm 92:4fc01daae5a5 4 * Licensed under the Apache License, Version 2.0 (the "License");
bogdanm 92:4fc01daae5a5 5 * you may not use this file except in compliance with the License.
bogdanm 92:4fc01daae5a5 6 * You may obtain a copy of the License at
bogdanm 92:4fc01daae5a5 7 *
bogdanm 92:4fc01daae5a5 8 * http://www.apache.org/licenses/LICENSE-2.0
bogdanm 92:4fc01daae5a5 9 *
bogdanm 92:4fc01daae5a5 10 * Unless required by applicable law or agreed to in writing, software
bogdanm 92:4fc01daae5a5 11 * distributed under the License is distributed on an "AS IS" BASIS,
bogdanm 92:4fc01daae5a5 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
bogdanm 92:4fc01daae5a5 13 * See the License for the specific language governing permissions and
bogdanm 92:4fc01daae5a5 14 * limitations under the License.
bogdanm 92:4fc01daae5a5 15 */
bogdanm 92:4fc01daae5a5 16 #ifndef MBED_DEVICE_H
bogdanm 92:4fc01daae5a5 17 #define MBED_DEVICE_H
bogdanm 92:4fc01daae5a5 18
Kojto 93:e188a91d3eaa 19 /* ->Take measures about optimization problems of web compiler */
Kojto 93:e188a91d3eaa 20 /* Web compiler has problem that inlining code may not be generated correctly */
Kojto 93:e188a91d3eaa 21 /* when "-O3 -Otime" was specified. */
Kojto 95:7e07b6fb45cf 22 #if defined(__CC_ARM) && (__ARMCC_VERSION <= 5040027)
Kojto 93:e188a91d3eaa 23 #pragma Ospace
Kojto 93:e188a91d3eaa 24 #endif
Kojto 93:e188a91d3eaa 25 /* <-Take measures about optimization problems of web compiler */
Kojto 93:e188a91d3eaa 26
bogdanm 92:4fc01daae5a5 27 #define DEVICE_PORTIN 1
bogdanm 92:4fc01daae5a5 28 #define DEVICE_PORTOUT 1
bogdanm 92:4fc01daae5a5 29 #define DEVICE_PORTINOUT 1
bogdanm 92:4fc01daae5a5 30
bogdanm 92:4fc01daae5a5 31 #define DEVICE_INTERRUPTIN 1
bogdanm 92:4fc01daae5a5 32
bogdanm 92:4fc01daae5a5 33 #define DEVICE_ANALOGIN 1
bogdanm 92:4fc01daae5a5 34 #define DEVICE_ANALOGOUT 0
bogdanm 92:4fc01daae5a5 35
bogdanm 92:4fc01daae5a5 36 #define DEVICE_SERIAL 1
bogdanm 92:4fc01daae5a5 37 #define DEVICE_SERIAL_FC 1
bogdanm 92:4fc01daae5a5 38
bogdanm 92:4fc01daae5a5 39 #define DEVICE_I2C 1
bogdanm 92:4fc01daae5a5 40 #define DEVICE_I2CSLAVE 1
bogdanm 92:4fc01daae5a5 41
bogdanm 92:4fc01daae5a5 42 #define DEVICE_SPI 1
bogdanm 92:4fc01daae5a5 43 #define DEVICE_SPISLAVE 1
bogdanm 92:4fc01daae5a5 44
bogdanm 92:4fc01daae5a5 45 #define DEVICE_CAN 0
bogdanm 92:4fc01daae5a5 46
Kojto 93:e188a91d3eaa 47 #define DEVICE_RTC 1
bogdanm 92:4fc01daae5a5 48
bogdanm 92:4fc01daae5a5 49 #define DEVICE_ETHERNET 1
bogdanm 92:4fc01daae5a5 50
bogdanm 92:4fc01daae5a5 51 #define DEVICE_PWMOUT 1
bogdanm 92:4fc01daae5a5 52
bogdanm 92:4fc01daae5a5 53 #define DEVICE_SEMIHOST 0
bogdanm 92:4fc01daae5a5 54 #define DEVICE_LOCALFILESYSTEM 0
bogdanm 92:4fc01daae5a5 55 #define DEVICE_ID_LENGTH 32
bogdanm 92:4fc01daae5a5 56 #define DEVICE_MAC_OFFSET 20
bogdanm 92:4fc01daae5a5 57
bogdanm 92:4fc01daae5a5 58 #define DEVICE_SLEEP 0
bogdanm 92:4fc01daae5a5 59
bogdanm 92:4fc01daae5a5 60 #define DEVICE_DEBUG_AWARENESS 0
bogdanm 92:4fc01daae5a5 61
bogdanm 92:4fc01daae5a5 62 #define DEVICE_STDIO_MESSAGES 0
bogdanm 92:4fc01daae5a5 63
bogdanm 92:4fc01daae5a5 64 #define DEVICE_ERROR_PATTERN 0
bogdanm 92:4fc01daae5a5 65
bogdanm 92:4fc01daae5a5 66 #include "objects.h"
bogdanm 92:4fc01daae5a5 67
bogdanm 92:4fc01daae5a5 68 #endif