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:
<>
Date:
Mon Jan 16 12:05:23 2017 +0000
Revision:
134:ad3be0349dc5
Parent:
133:99b5ccf27215
Child:
140:97feb9bacc10
Release 134 of the mbed library

Ports for Upcoming Targets


Fixes and Changes

3488: Dev stm i2c v2 unitary functions https://github.com/ARMmbed/mbed-os/pull/3488
3492: Fix #3463 CAN read() return value https://github.com/ARMmbed/mbed-os/pull/3492
3503: [LPC15xx] Ensure that PWM=1 is resolved correctly https://github.com/ARMmbed/mbed-os/pull/3503
3504: [LPC15xx] CAN implementation improvements https://github.com/ARMmbed/mbed-os/pull/3504
3539: NUCLEO_F412ZG - Add support of TRNG peripheral https://github.com/ARMmbed/mbed-os/pull/3539
3540: STM: SPI: Initialize Rx in spi_master_write https://github.com/ARMmbed/mbed-os/pull/3540
3438: K64F: Add support for SERIAL ASYNCH API https://github.com/ARMmbed/mbed-os/pull/3438
3519: MCUXpresso: Fix ENET driver to enable interrupts after interrupt handler is set https://github.com/ARMmbed/mbed-os/pull/3519
3544: STM32L4 deepsleep improvement https://github.com/ARMmbed/mbed-os/pull/3544
3546: NUCLEO-F412ZG - Add CAN peripheral https://github.com/ARMmbed/mbed-os/pull/3546
3551: Fix I2C driver for RZ/A1H https://github.com/ARMmbed/mbed-os/pull/3551
3558: K64F UART Asynch API: Fix synchronization issue https://github.com/ARMmbed/mbed-os/pull/3558
3563: LPC4088 - Fix vector checksum https://github.com/ARMmbed/mbed-os/pull/3563
3567: Dev stm32 F0 v1.7.0 https://github.com/ARMmbed/mbed-os/pull/3567
3577: Fixes linking errors when building with debug profile https://github.com/ARMmbed/mbed-os/pull/3577

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 133:99b5ccf27215 1 /* mbed Microcontroller Library
<> 133:99b5ccf27215 2 * Copyright (c) 2016 ARM Limited
<> 133:99b5ccf27215 3 *
<> 133:99b5ccf27215 4 * Licensed under the Apache License, Version 2.0 (the "License");
<> 133:99b5ccf27215 5 * you may not use this file except in compliance with the License.
<> 133:99b5ccf27215 6 * You may obtain a copy of the License at
<> 133:99b5ccf27215 7 *
<> 133:99b5ccf27215 8 * http://www.apache.org/licenses/LICENSE-2.0
<> 133:99b5ccf27215 9 *
<> 133:99b5ccf27215 10 * Unless required by applicable law or agreed to in writing, software
<> 133:99b5ccf27215 11 * distributed under the License is distributed on an "AS IS" BASIS,
<> 133:99b5ccf27215 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<> 133:99b5ccf27215 13 * See the License for the specific language governing permissions and
<> 133:99b5ccf27215 14 * limitations under the License.
<> 133:99b5ccf27215 15 */
<> 133:99b5ccf27215 16
<> 133:99b5ccf27215 17 #ifndef MBED_MBED_RTX_H
<> 133:99b5ccf27215 18 #define MBED_MBED_RTX_H
<> 133:99b5ccf27215 19
<> 133:99b5ccf27215 20 #if defined(TARGET_MCU_NRF51822)
<> 133:99b5ccf27215 21
<> 133:99b5ccf27215 22 #ifndef INITIAL_SP
<> 133:99b5ccf27215 23 # if defined(TARGET_MCU_NORDIC_32K)
<> 133:99b5ccf27215 24 # define INITIAL_SP (0x20008000UL)
<> 133:99b5ccf27215 25 # elif defined(TARGET_MCU_NORDIC_16K)
<> 133:99b5ccf27215 26 # define INITIAL_SP (0x20004000UL)
<> 133:99b5ccf27215 27 # endif
<> 133:99b5ccf27215 28 #endif
<> 133:99b5ccf27215 29
<> 133:99b5ccf27215 30 #ifndef OS_TASKCNT
<> 133:99b5ccf27215 31 #define OS_TASKCNT 6
<> 133:99b5ccf27215 32 #endif
<> 133:99b5ccf27215 33 #ifndef OS_MAINSTKSIZE
<> 133:99b5ccf27215 34 #define OS_MAINSTKSIZE 512
<> 133:99b5ccf27215 35 #endif
<> 133:99b5ccf27215 36 #ifndef OS_CLOCK
<> 133:99b5ccf27215 37 #define OS_CLOCK 32768
<> 133:99b5ccf27215 38 #endif
<> 133:99b5ccf27215 39 #ifndef OS_SYSTICK
<> 133:99b5ccf27215 40 #define OS_SYSTICK 0
<> 133:99b5ccf27215 41 #endif
<> 133:99b5ccf27215 42
<> 133:99b5ccf27215 43 #elif defined(TARGET_MCU_NRF52832)
<> 133:99b5ccf27215 44
<> 133:99b5ccf27215 45 #ifndef INITIAL_SP
<> 133:99b5ccf27215 46 #define INITIAL_SP (0x20010000UL)
<> 133:99b5ccf27215 47 #endif
<> 133:99b5ccf27215 48 #ifndef OS_TASKCNT
<> 133:99b5ccf27215 49 #define OS_TASKCNT 6
<> 133:99b5ccf27215 50 #endif
<> 133:99b5ccf27215 51 #ifndef OS_MAINSTKSIZE
<> 133:99b5ccf27215 52 #define OS_MAINSTKSIZE 512
<> 133:99b5ccf27215 53 #endif
<> 133:99b5ccf27215 54 #ifndef OS_CLOCK
<> 133:99b5ccf27215 55 #define OS_CLOCK 64000000
<> 133:99b5ccf27215 56 #endif
<> 133:99b5ccf27215 57
<> 133:99b5ccf27215 58 #endif
<> 133:99b5ccf27215 59
<> 133:99b5ccf27215 60 #endif