The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Fri Sep 16 13:57:13 2016 +0100
Revision:
126:abea610beb85
Parent:
125:2e9cc70d1897
Child:
127:25aea2a3f4e3
Release 126 of the mbed library

Changes:

New Targets:
#2504: [Disco_F769NI] adding new target [https://github.com/ARMmbed/mbed-os/pull/2504]
#2654: DELTA_DFBM_NQ620 platform porting [https://github.com/ARMmbed/mbed-os/pull/2654]
#2615: [MTM_MTCONNECT04S] Added support for MTM_MTCONNECT04S [https://github.com/ARMmbed/mbed-os/pull/2615]
#2548: Nucleof303ze [https://github.com/ARMmbed/mbed-os/pull/2548]

Fixes:

#2657: [MAX326xx] Removed echoing of characters and carriage return. [https://github.com/ARMmbed/mbed-os/pull/2657]
#2651: Use lp_timer to count time in the deepsleep tests [https://github.com/ARMmbed/mbed-os/pull/2651]
#2643: Fix thread self termination [https://github.com/ARMmbed/mbed-os/pull/2643]
#2623: DISCO_L476VG - Add Serial Flow Control pins + add SERIAL_FC macro [https://github.com/ARMmbed/mbed-os/pull/2623]
#2617: STM32F2xx - Enable Serial Flow Control [https://github.com/ARMmbed/mbed-os/pull/2617]
#2601: Adding ON Semiconductor copyright notice to source and header files. [https://github.com/ARMmbed/mbed-os/pull/2601]
#2597: [HAL] Fixed "intrinsic is deprecated" warnings [https://github.com/ARMmbed/mbed-os/pull/2597]
#2589: [NUC472] Fix heap configuration error with armcc [https://github.com/ARMmbed/mbed-os/pull/2589]
#2587: add PTEx pins as option for SPI on Hexiwear - for SD Card Interface [https://github.com/ARMmbed/mbed-os/pull/2587]
#2584: Set size of callback irq array to IrqCnt [https://github.com/ARMmbed/mbed-os/pull/2584]
#2582: [GCC_CR] fix runtime hang for baremetal build [https://github.com/ARMmbed/mbed-os/pull/2582]
#2562: Fix GCC lazy init race condition and add test [https://github.com/ARMmbed/mbed-os/pull/2562]
#2538: STM32F4xx - Add support of ADC internal channels (Temp, VRef, VBat) [https://github.com/ARMmbed/mbed-os/pull/2538]
#2514: Updated FlexCan and SAI SDK drivers [https://github.com/ARMmbed/mbed-os/pull/2514]
#2442: Malloc heap info [https://github.com/ARMmbed/mbed-os/pull/2442]
#2419: [STM32F1] Add asynchronous serial [https://github.com/ARMmbed/mbed-os/pull/2419]
#2130: stm32 : reduce number of device.h files [https://github.com/ARMmbed/mbed-os/pull/2130]
#2678: Fixing NCS36510 compile on Linux [https://github.com/ARMmbed/mbed-os/pull/2678]
#2607: Fix uvisor memory tracing [https://github.com/ARMmbed/mbed-os/pull/2607]
#2596: [HAL] Improve memory tracer [https://github.com/ARMmbed/mbed-os/pull/2596]
#2487: Runtime dynamic memory tracing [https://github.com/ARMmbed/mbed-os/pull/2487]

Who changed what in which revision?

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