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.h@59:0883845fe643, 2013-02-18 (annotated)
- Committer:
- emilmont
- Date:
- Mon Feb 18 11:12:58 2013 +0000
- Revision:
- 59:0883845fe643
- Parent:
- 55:d722ed6a4237
- Child:
- 65:5798e58a58b1
Add pinmap NC terminators for LPC1768 CAN.
Update the license from MIT to Apache v2.
Make the semihost code target independent using opportune defines for the UID and MAC.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon.ford@mbed.co.uk | 0:82220227f4fa | 1 | /* mbed Microcontroller Library |
emilmont | 54:71b101360fb9 | 2 | * Copyright (c) 2006-2013 ARM Limited |
emilmont | 44:24d45a770a51 | 3 | * |
emilmont | 59:0883845fe643 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
emilmont | 59:0883845fe643 | 5 | * you may not use this file except in compliance with the License. |
emilmont | 59:0883845fe643 | 6 | * You may obtain a copy of the License at |
emilmont | 59:0883845fe643 | 7 | * |
emilmont | 59:0883845fe643 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
emilmont | 44:24d45a770a51 | 9 | * |
emilmont | 59:0883845fe643 | 10 | * Unless required by applicable law or agreed to in writing, software |
emilmont | 59:0883845fe643 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
emilmont | 59:0883845fe643 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
emilmont | 59:0883845fe643 | 13 | * See the License for the specific language governing permissions and |
emilmont | 59:0883845fe643 | 14 | * limitations under the License. |
emilmont | 44:24d45a770a51 | 15 | */ |
simon.ford@mbed.co.uk | 0:82220227f4fa | 16 | #ifndef MBED_H |
simon.ford@mbed.co.uk | 0:82220227f4fa | 17 | #define MBED_H |
simon.ford@mbed.co.uk | 5:62573be585e9 | 18 | |
emilmont | 44:24d45a770a51 | 19 | #define MBED_LIBRARY_VERSION 30 |
emilmont | 44:24d45a770a51 | 20 | |
emilmont | 44:24d45a770a51 | 21 | #include "platform.h" |
emilmont | 44:24d45a770a51 | 22 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 23 | // Useful C libraries |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 24 | #include <math.h> |
rolf.meyer@arm.com | 14:20a79241b4a0 | 25 | #include <time.h> |
simon.ford@mbed.co.uk | 0:82220227f4fa | 26 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 27 | // mbed Debug libraries |
rolf.meyer@arm.com | 12:f63353af7be8 | 28 | #include "error.h" |
emilmont | 27:7110ebee3484 | 29 | #include "mbed_interface.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 30 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 31 | // mbed Peripheral components |
simon.ford@mbed.co.uk | 0:82220227f4fa | 32 | #include "DigitalIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 33 | #include "DigitalOut.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 34 | #include "DigitalInOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 35 | #include "BusIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 36 | #include "BusOut.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 37 | #include "BusInOut.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 38 | #include "PortIn.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 39 | #include "PortInOut.h" |
simon.ford@mbed.co.uk | 18:b3c9f16cbb96 | 40 | #include "PortOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 41 | #include "AnalogIn.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 42 | #include "AnalogOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 43 | #include "PwmOut.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 44 | #include "Serial.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 45 | #include "SPI.h" |
simon | 20:029aa53d7323 | 46 | #include "SPISlave.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 47 | #include "I2C.h" |
simon | 22:9114680c05da | 48 | #include "I2CSlave.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 49 | #include "Ethernet.h" |
rolf.meyer@arm.com | 14:20a79241b4a0 | 50 | #include "CAN.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 51 | |
simon.ford@mbed.co.uk | 0:82220227f4fa | 52 | // mbed Internal components |
simon.ford@mbed.co.uk | 0:82220227f4fa | 53 | #include "Timer.h" |
simon.ford@mbed.co.uk | 3:aefd12a1f1c5 | 54 | #include "Ticker.h" |
simon.ford@mbed.co.uk | 3:aefd12a1f1c5 | 55 | #include "Timeout.h" |
simon.ford@mbed.co.uk | 4:5d1359a283bc | 56 | #include "LocalFileSystem.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 57 | #include "InterruptIn.h" |
rolf.meyer@arm.com | 11:1c1ebd0324fa | 58 | #include "wait_api.h" |
emilmont | 55:d722ed6a4237 | 59 | #include "sleep_api.h" |
rolf.meyer@arm.com | 14:20a79241b4a0 | 60 | #include "rtc_time.h" |
simon.ford@mbed.co.uk | 0:82220227f4fa | 61 | |
emilmont | 44:24d45a770a51 | 62 | using namespace mbed; |
emilmont | 44:24d45a770a51 | 63 | using namespace std; |
simon.ford@mbed.co.uk | 0:82220227f4fa | 64 | |
emilmont | 44:24d45a770a51 | 65 | #endif |