![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Color Oled(SSD1331) connect to STMicroelectronics Nucleo-F466
mbed-os/mbed.h@0:8fdf9a60065b, 2018-10-10 (annotated)
- Committer:
- kadonotakashi
- Date:
- Wed Oct 10 00:33:53 2018 +0000
- Revision:
- 0:8fdf9a60065b
how to make mbed librry
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kadonotakashi | 0:8fdf9a60065b | 1 | /* mbed Microcontroller Library |
kadonotakashi | 0:8fdf9a60065b | 2 | * Copyright (c) 2006-2013 ARM Limited |
kadonotakashi | 0:8fdf9a60065b | 3 | * |
kadonotakashi | 0:8fdf9a60065b | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
kadonotakashi | 0:8fdf9a60065b | 5 | * you may not use this file except in compliance with the License. |
kadonotakashi | 0:8fdf9a60065b | 6 | * You may obtain a copy of the License at |
kadonotakashi | 0:8fdf9a60065b | 7 | * |
kadonotakashi | 0:8fdf9a60065b | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
kadonotakashi | 0:8fdf9a60065b | 9 | * |
kadonotakashi | 0:8fdf9a60065b | 10 | * Unless required by applicable law or agreed to in writing, software |
kadonotakashi | 0:8fdf9a60065b | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
kadonotakashi | 0:8fdf9a60065b | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
kadonotakashi | 0:8fdf9a60065b | 13 | * See the License for the specific language governing permissions and |
kadonotakashi | 0:8fdf9a60065b | 14 | * limitations under the License. |
kadonotakashi | 0:8fdf9a60065b | 15 | */ |
kadonotakashi | 0:8fdf9a60065b | 16 | #ifndef MBED_H |
kadonotakashi | 0:8fdf9a60065b | 17 | #define MBED_H |
kadonotakashi | 0:8fdf9a60065b | 18 | |
kadonotakashi | 0:8fdf9a60065b | 19 | #include "platform/mbed_version.h" |
kadonotakashi | 0:8fdf9a60065b | 20 | |
kadonotakashi | 0:8fdf9a60065b | 21 | #if MBED_CONF_RTOS_PRESENT |
kadonotakashi | 0:8fdf9a60065b | 22 | #include "rtos/rtos.h" |
kadonotakashi | 0:8fdf9a60065b | 23 | #endif |
kadonotakashi | 0:8fdf9a60065b | 24 | |
kadonotakashi | 0:8fdf9a60065b | 25 | #if MBED_CONF_NSAPI_PRESENT |
kadonotakashi | 0:8fdf9a60065b | 26 | #include "netsocket/nsapi.h" |
kadonotakashi | 0:8fdf9a60065b | 27 | #include "netsocket/nsapi_ppp.h" |
kadonotakashi | 0:8fdf9a60065b | 28 | #endif |
kadonotakashi | 0:8fdf9a60065b | 29 | |
kadonotakashi | 0:8fdf9a60065b | 30 | #if MBED_CONF_EVENTS_PRESENT |
kadonotakashi | 0:8fdf9a60065b | 31 | #include "events/mbed_events.h" |
kadonotakashi | 0:8fdf9a60065b | 32 | #endif |
kadonotakashi | 0:8fdf9a60065b | 33 | |
kadonotakashi | 0:8fdf9a60065b | 34 | #if MBED_CONF_FILESYSTEM_PRESENT |
kadonotakashi | 0:8fdf9a60065b | 35 | #include "filesystem/mbed_filesystem.h" |
kadonotakashi | 0:8fdf9a60065b | 36 | #endif |
kadonotakashi | 0:8fdf9a60065b | 37 | |
kadonotakashi | 0:8fdf9a60065b | 38 | #include "platform/mbed_toolchain.h" |
kadonotakashi | 0:8fdf9a60065b | 39 | #include "platform/platform.h" |
kadonotakashi | 0:8fdf9a60065b | 40 | #include "platform/mbed_application.h" |
kadonotakashi | 0:8fdf9a60065b | 41 | |
kadonotakashi | 0:8fdf9a60065b | 42 | // Useful C libraries |
kadonotakashi | 0:8fdf9a60065b | 43 | #include <math.h> |
kadonotakashi | 0:8fdf9a60065b | 44 | #include <time.h> |
kadonotakashi | 0:8fdf9a60065b | 45 | |
kadonotakashi | 0:8fdf9a60065b | 46 | // mbed Debug libraries |
kadonotakashi | 0:8fdf9a60065b | 47 | #include "platform/mbed_error.h" |
kadonotakashi | 0:8fdf9a60065b | 48 | #include "platform/mbed_interface.h" |
kadonotakashi | 0:8fdf9a60065b | 49 | #include "platform/mbed_assert.h" |
kadonotakashi | 0:8fdf9a60065b | 50 | #include "platform/mbed_debug.h" |
kadonotakashi | 0:8fdf9a60065b | 51 | |
kadonotakashi | 0:8fdf9a60065b | 52 | // mbed Peripheral components |
kadonotakashi | 0:8fdf9a60065b | 53 | #include "drivers/DigitalIn.h" |
kadonotakashi | 0:8fdf9a60065b | 54 | #include "drivers/DigitalOut.h" |
kadonotakashi | 0:8fdf9a60065b | 55 | #include "drivers/DigitalInOut.h" |
kadonotakashi | 0:8fdf9a60065b | 56 | #include "drivers/BusIn.h" |
kadonotakashi | 0:8fdf9a60065b | 57 | #include "drivers/BusOut.h" |
kadonotakashi | 0:8fdf9a60065b | 58 | #include "drivers/BusInOut.h" |
kadonotakashi | 0:8fdf9a60065b | 59 | #include "drivers/PortIn.h" |
kadonotakashi | 0:8fdf9a60065b | 60 | #include "drivers/PortInOut.h" |
kadonotakashi | 0:8fdf9a60065b | 61 | #include "drivers/PortOut.h" |
kadonotakashi | 0:8fdf9a60065b | 62 | #include "drivers/AnalogIn.h" |
kadonotakashi | 0:8fdf9a60065b | 63 | #include "drivers/AnalogOut.h" |
kadonotakashi | 0:8fdf9a60065b | 64 | #include "drivers/PwmOut.h" |
kadonotakashi | 0:8fdf9a60065b | 65 | #include "drivers/Serial.h" |
kadonotakashi | 0:8fdf9a60065b | 66 | #include "drivers/SPI.h" |
kadonotakashi | 0:8fdf9a60065b | 67 | #include "drivers/SPISlave.h" |
kadonotakashi | 0:8fdf9a60065b | 68 | #include "drivers/I2C.h" |
kadonotakashi | 0:8fdf9a60065b | 69 | #include "drivers/I2CSlave.h" |
kadonotakashi | 0:8fdf9a60065b | 70 | #include "drivers/Ethernet.h" |
kadonotakashi | 0:8fdf9a60065b | 71 | #include "drivers/CAN.h" |
kadonotakashi | 0:8fdf9a60065b | 72 | #include "drivers/RawSerial.h" |
kadonotakashi | 0:8fdf9a60065b | 73 | #include "drivers/UARTSerial.h" |
kadonotakashi | 0:8fdf9a60065b | 74 | #include "drivers/FlashIAP.h" |
kadonotakashi | 0:8fdf9a60065b | 75 | #include "drivers/MbedCRC.h" |
kadonotakashi | 0:8fdf9a60065b | 76 | |
kadonotakashi | 0:8fdf9a60065b | 77 | // mbed Internal components |
kadonotakashi | 0:8fdf9a60065b | 78 | #include "drivers/Timer.h" |
kadonotakashi | 0:8fdf9a60065b | 79 | #include "drivers/Ticker.h" |
kadonotakashi | 0:8fdf9a60065b | 80 | #include "drivers/Timeout.h" |
kadonotakashi | 0:8fdf9a60065b | 81 | #include "drivers/LowPowerTimeout.h" |
kadonotakashi | 0:8fdf9a60065b | 82 | #include "drivers/LowPowerTicker.h" |
kadonotakashi | 0:8fdf9a60065b | 83 | #include "drivers/LowPowerTimer.h" |
kadonotakashi | 0:8fdf9a60065b | 84 | #include "platform/LocalFileSystem.h" |
kadonotakashi | 0:8fdf9a60065b | 85 | #include "drivers/InterruptIn.h" |
kadonotakashi | 0:8fdf9a60065b | 86 | #include "platform/mbed_wait_api.h" |
kadonotakashi | 0:8fdf9a60065b | 87 | #include "hal/sleep_api.h" |
kadonotakashi | 0:8fdf9a60065b | 88 | #include "platform/mbed_power_mgmt.h" |
kadonotakashi | 0:8fdf9a60065b | 89 | #include "platform/mbed_rtc_time.h" |
kadonotakashi | 0:8fdf9a60065b | 90 | #include "platform/mbed_poll.h" |
kadonotakashi | 0:8fdf9a60065b | 91 | #include "platform/ATCmdParser.h" |
kadonotakashi | 0:8fdf9a60065b | 92 | #include "platform/FileSystemHandle.h" |
kadonotakashi | 0:8fdf9a60065b | 93 | #include "platform/FileHandle.h" |
kadonotakashi | 0:8fdf9a60065b | 94 | #include "platform/DirHandle.h" |
kadonotakashi | 0:8fdf9a60065b | 95 | #include "platform/CriticalSectionLock.h" |
kadonotakashi | 0:8fdf9a60065b | 96 | #include "platform/DeepSleepLock.h" |
kadonotakashi | 0:8fdf9a60065b | 97 | #include "platform/mbed_stats.h" |
kadonotakashi | 0:8fdf9a60065b | 98 | |
kadonotakashi | 0:8fdf9a60065b | 99 | // mbed Non-hardware components |
kadonotakashi | 0:8fdf9a60065b | 100 | #include "platform/Callback.h" |
kadonotakashi | 0:8fdf9a60065b | 101 | #include "platform/FunctionPointer.h" |
kadonotakashi | 0:8fdf9a60065b | 102 | #include "platform/ScopedLock.h" |
kadonotakashi | 0:8fdf9a60065b | 103 | |
kadonotakashi | 0:8fdf9a60065b | 104 | using namespace mbed; |
kadonotakashi | 0:8fdf9a60065b | 105 | using namespace std; |
kadonotakashi | 0:8fdf9a60065b | 106 | |
kadonotakashi | 0:8fdf9a60065b | 107 | #endif |