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:
Kojto
Date:
Wed Jul 19 16:46:19 2017 +0100
Revision:
147:a97add6d7e64
Parent:
132:9baf128c2fab
Child:
170:e95d10626187
Release 147 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 132:9baf128c2fab 1 // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
<> 132:9baf128c2fab 2 // Check the 'features' section of the target description in 'targets.json' for more details.
<> 132:9baf128c2fab 3 /* mbed Microcontroller Library
<> 132:9baf128c2fab 4 *******************************************************************************
<> 132:9baf128c2fab 5 * Copyright (c) 2014, STMicroelectronics
<> 132:9baf128c2fab 6 * All rights reserved.
<> 132:9baf128c2fab 7 *
<> 132:9baf128c2fab 8 * Redistribution and use in source and binary forms, with or without
<> 132:9baf128c2fab 9 * modification, are permitted provided that the following conditions are met:
<> 132:9baf128c2fab 10 *
<> 132:9baf128c2fab 11 * 1. Redistributions of source code must retain the above copyright notice,
<> 132:9baf128c2fab 12 * this list of conditions and the following disclaimer.
<> 132:9baf128c2fab 13 * 2. Redistributions in binary form must reproduce the above copyright notice,
<> 132:9baf128c2fab 14 * this list of conditions and the following disclaimer in the documentation
<> 132:9baf128c2fab 15 * and/or other materials provided with the distribution.
<> 132:9baf128c2fab 16 * 3. Neither the name of STMicroelectronics nor the names of its contributors
<> 132:9baf128c2fab 17 * may be used to endorse or promote products derived from this software
<> 132:9baf128c2fab 18 * without specific prior written permission.
<> 132:9baf128c2fab 19 *
<> 132:9baf128c2fab 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
<> 132:9baf128c2fab 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
<> 132:9baf128c2fab 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
<> 132:9baf128c2fab 23 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
<> 132:9baf128c2fab 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
<> 132:9baf128c2fab 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
<> 132:9baf128c2fab 26 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
<> 132:9baf128c2fab 27 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
<> 132:9baf128c2fab 28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
<> 132:9baf128c2fab 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<> 132:9baf128c2fab 30 *******************************************************************************
<> 132:9baf128c2fab 31 */
<> 132:9baf128c2fab 32 #ifndef MBED_DEVICE_H
<> 132:9baf128c2fab 33 #define MBED_DEVICE_H
<> 132:9baf128c2fab 34
<> 132:9baf128c2fab 35 //=======================================
<> 132:9baf128c2fab 36 #define DEVICE_ID_LENGTH 24
<> 132:9baf128c2fab 37
<> 132:9baf128c2fab 38 #include "objects.h"
<> 132:9baf128c2fab 39
<> 132:9baf128c2fab 40 #endif