Preliminary main mbed library for nexpaq development

Committer:
nexpaq
Date:
Fri Nov 04 20:54:50 2016 +0000
Revision:
1:d96dbedaebdb
Parent:
0:6c56fb4bc5f0
Removed extra directories for other platforms

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nexpaq 0:6c56fb4bc5f0 1 /* mbed Microcontroller Library
nexpaq 0:6c56fb4bc5f0 2 * Copyright (c) 2006-2013 ARM Limited
nexpaq 0:6c56fb4bc5f0 3 *
nexpaq 0:6c56fb4bc5f0 4 * Licensed under the Apache License, Version 2.0 (the "License");
nexpaq 0:6c56fb4bc5f0 5 * you may not use this file except in compliance with the License.
nexpaq 0:6c56fb4bc5f0 6 * You may obtain a copy of the License at
nexpaq 0:6c56fb4bc5f0 7 *
nexpaq 0:6c56fb4bc5f0 8 * http://www.apache.org/licenses/LICENSE-2.0
nexpaq 0:6c56fb4bc5f0 9 *
nexpaq 0:6c56fb4bc5f0 10 * Unless required by applicable law or agreed to in writing, software
nexpaq 0:6c56fb4bc5f0 11 * distributed under the License is distributed on an "AS IS" BASIS,
nexpaq 0:6c56fb4bc5f0 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
nexpaq 0:6c56fb4bc5f0 13 * See the License for the specific language governing permissions and
nexpaq 0:6c56fb4bc5f0 14 * limitations under the License.
nexpaq 0:6c56fb4bc5f0 15 */
nexpaq 0:6c56fb4bc5f0 16 #ifndef MBED_H
nexpaq 0:6c56fb4bc5f0 17 #define MBED_H
nexpaq 0:6c56fb4bc5f0 18
nexpaq 0:6c56fb4bc5f0 19 #define MBED_LIBRARY_VERSION 123
nexpaq 0:6c56fb4bc5f0 20
nexpaq 0:6c56fb4bc5f0 21 #if MBED_CONF_RTOS_PRESENT
nexpaq 0:6c56fb4bc5f0 22 #include "rtos/rtos.h"
nexpaq 0:6c56fb4bc5f0 23 #endif
nexpaq 0:6c56fb4bc5f0 24
nexpaq 0:6c56fb4bc5f0 25 #if MBED_CONF_NSAPI_PRESENT
nexpaq 0:6c56fb4bc5f0 26 #include "network-socket/nsapi.h"
nexpaq 0:6c56fb4bc5f0 27 #endif
nexpaq 0:6c56fb4bc5f0 28
nexpaq 0:6c56fb4bc5f0 29 #include "toolchain.h"
nexpaq 0:6c56fb4bc5f0 30 #include "platform.h"
nexpaq 0:6c56fb4bc5f0 31
nexpaq 0:6c56fb4bc5f0 32 // Useful C libraries
nexpaq 0:6c56fb4bc5f0 33 #include <math.h>
nexpaq 0:6c56fb4bc5f0 34 #include <time.h>
nexpaq 0:6c56fb4bc5f0 35
nexpaq 0:6c56fb4bc5f0 36 // mbed Debug libraries
nexpaq 0:6c56fb4bc5f0 37 #include "mbed_error.h"
nexpaq 0:6c56fb4bc5f0 38 #include "mbed_interface.h"
nexpaq 0:6c56fb4bc5f0 39 #include "mbed_assert.h"
nexpaq 0:6c56fb4bc5f0 40
nexpaq 0:6c56fb4bc5f0 41 // mbed Peripheral components
nexpaq 0:6c56fb4bc5f0 42 #include "DigitalIn.h"
nexpaq 0:6c56fb4bc5f0 43 #include "DigitalOut.h"
nexpaq 0:6c56fb4bc5f0 44 #include "DigitalInOut.h"
nexpaq 0:6c56fb4bc5f0 45 #include "BusIn.h"
nexpaq 0:6c56fb4bc5f0 46 #include "BusOut.h"
nexpaq 0:6c56fb4bc5f0 47 #include "BusInOut.h"
nexpaq 0:6c56fb4bc5f0 48 #include "PortIn.h"
nexpaq 0:6c56fb4bc5f0 49 #include "PortInOut.h"
nexpaq 0:6c56fb4bc5f0 50 #include "PortOut.h"
nexpaq 0:6c56fb4bc5f0 51 #include "AnalogIn.h"
nexpaq 0:6c56fb4bc5f0 52 #include "AnalogOut.h"
nexpaq 0:6c56fb4bc5f0 53 #include "PwmOut.h"
nexpaq 0:6c56fb4bc5f0 54 #include "Serial.h"
nexpaq 0:6c56fb4bc5f0 55 #include "SPI.h"
nexpaq 0:6c56fb4bc5f0 56 #include "SPISlave.h"
nexpaq 0:6c56fb4bc5f0 57 #include "I2C.h"
nexpaq 0:6c56fb4bc5f0 58 #include "I2CSlave.h"
nexpaq 0:6c56fb4bc5f0 59 #include "Ethernet.h"
nexpaq 0:6c56fb4bc5f0 60 #include "CAN.h"
nexpaq 0:6c56fb4bc5f0 61 #include "RawSerial.h"
nexpaq 0:6c56fb4bc5f0 62
nexpaq 0:6c56fb4bc5f0 63 // mbed Internal components
nexpaq 0:6c56fb4bc5f0 64 #include "Timer.h"
nexpaq 0:6c56fb4bc5f0 65 #include "Ticker.h"
nexpaq 0:6c56fb4bc5f0 66 #include "Timeout.h"
nexpaq 0:6c56fb4bc5f0 67 #include "LowPowerTimeout.h"
nexpaq 0:6c56fb4bc5f0 68 #include "LowPowerTicker.h"
nexpaq 0:6c56fb4bc5f0 69 #include "LowPowerTimer.h"
nexpaq 0:6c56fb4bc5f0 70 #include "LocalFileSystem.h"
nexpaq 0:6c56fb4bc5f0 71 #include "InterruptIn.h"
nexpaq 0:6c56fb4bc5f0 72 #include "wait_api.h"
nexpaq 0:6c56fb4bc5f0 73 #include "sleep_api.h"
nexpaq 0:6c56fb4bc5f0 74 #include "rtc_time.h"
nexpaq 0:6c56fb4bc5f0 75
nexpaq 0:6c56fb4bc5f0 76 // mbed Non-hardware components
nexpaq 0:6c56fb4bc5f0 77 #include "Callback.h"
nexpaq 0:6c56fb4bc5f0 78 #include "FunctionPointer.h"
nexpaq 0:6c56fb4bc5f0 79
nexpaq 0:6c56fb4bc5f0 80 using namespace mbed;
nexpaq 0:6c56fb4bc5f0 81 using namespace std;
nexpaq 0:6c56fb4bc5f0 82
nexpaq 0:6c56fb4bc5f0 83 #endif