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:
Thu Jul 07 14:34:11 2016 +0100
Revision:
122:f9eeca106725
Parent:
101:7cff1c4259d7
Release 122 of the mbed library

Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 122:f9eeca106725 1 // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
Kojto 122:f9eeca106725 2 // Check the 'features' section of the target description in 'targets.json' for more details.
Kojto 101:7cff1c4259d7 3 /*******************************************************************************
Kojto 101:7cff1c4259d7 4 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
Kojto 101:7cff1c4259d7 5 *
Kojto 101:7cff1c4259d7 6 * Permission is hereby granted, free of charge, to any person obtaining a
Kojto 101:7cff1c4259d7 7 * copy of this software and associated documentation files (the "Software"),
Kojto 101:7cff1c4259d7 8 * to deal in the Software without restriction, including without limitation
Kojto 101:7cff1c4259d7 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Kojto 101:7cff1c4259d7 10 * and/or sell copies of the Software, and to permit persons to whom the
Kojto 101:7cff1c4259d7 11 * Software is furnished to do so, subject to the following conditions:
Kojto 101:7cff1c4259d7 12 *
Kojto 101:7cff1c4259d7 13 * The above copyright notice and this permission notice shall be included
Kojto 101:7cff1c4259d7 14 * in all copies or substantial portions of the Software.
Kojto 101:7cff1c4259d7 15 *
Kojto 101:7cff1c4259d7 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Kojto 101:7cff1c4259d7 17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Kojto 101:7cff1c4259d7 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Kojto 101:7cff1c4259d7 19 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
Kojto 101:7cff1c4259d7 20 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Kojto 101:7cff1c4259d7 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
Kojto 101:7cff1c4259d7 22 * OTHER DEALINGS IN THE SOFTWARE.
Kojto 101:7cff1c4259d7 23 *
Kojto 101:7cff1c4259d7 24 * Except as contained in this notice, the name of Maxim Integrated
Kojto 101:7cff1c4259d7 25 * Products, Inc. shall not be used except as stated in the Maxim Integrated
Kojto 101:7cff1c4259d7 26 * Products, Inc. Branding Policy.
Kojto 101:7cff1c4259d7 27 *
Kojto 101:7cff1c4259d7 28 * The mere transfer of this software does not imply any licenses
Kojto 101:7cff1c4259d7 29 * of trade secrets, proprietary technology, copyrights, patents,
Kojto 101:7cff1c4259d7 30 * trademarks, maskwork rights, or any other form of intellectual
Kojto 101:7cff1c4259d7 31 * property whatsoever. Maxim Integrated Products, Inc. retains all
Kojto 101:7cff1c4259d7 32 * ownership rights.
Kojto 101:7cff1c4259d7 33 *******************************************************************************
Kojto 101:7cff1c4259d7 34 */
Kojto 101:7cff1c4259d7 35
Kojto 101:7cff1c4259d7 36 #ifndef MBED_DEVICE_H
Kojto 101:7cff1c4259d7 37 #define MBED_DEVICE_H
Kojto 101:7cff1c4259d7 38
Kojto 101:7cff1c4259d7 39
Kojto 101:7cff1c4259d7 40
Kojto 122:f9eeca106725 41
Kojto 101:7cff1c4259d7 42
Kojto 101:7cff1c4259d7 43
Kojto 101:7cff1c4259d7 44
Kojto 101:7cff1c4259d7 45
Kojto 101:7cff1c4259d7 46
Kojto 101:7cff1c4259d7 47
Kojto 101:7cff1c4259d7 48
Kojto 101:7cff1c4259d7 49
Kojto 101:7cff1c4259d7 50
Kojto 101:7cff1c4259d7 51
Kojto 101:7cff1c4259d7 52
Kojto 101:7cff1c4259d7 53
Kojto 101:7cff1c4259d7 54
Kojto 101:7cff1c4259d7 55 #include "objects.h"
Kojto 101:7cff1c4259d7 56
Kojto 101:7cff1c4259d7 57 #endif