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:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 172:65be27845400 1 /*!
AnnaBridge 172:65be27845400 2 * Copyright (c) 2015, Freescale Semiconductor, Inc.
AnnaBridge 172:65be27845400 3 * Copyright 2016-2017 NXP
AnnaBridge 172:65be27845400 4 *
AnnaBridge 172:65be27845400 5 * \file
AnnaBridge 172:65be27845400 6 *
AnnaBridge 172:65be27845400 7 * Redistribution and use in source and binary forms, with or without modification,
AnnaBridge 172:65be27845400 8 * are permitted provided that the following conditions are met:
AnnaBridge 172:65be27845400 9 *
AnnaBridge 172:65be27845400 10 * o Redistributions of source code must retain the above copyright notice, this list
AnnaBridge 172:65be27845400 11 * of conditions and the following disclaimer.
AnnaBridge 172:65be27845400 12 *
AnnaBridge 172:65be27845400 13 * o Redistributions in binary form must reproduce the above copyright notice, this
AnnaBridge 172:65be27845400 14 * list of conditions and the following disclaimer in the documentation and/or
AnnaBridge 172:65be27845400 15 * other materials provided with the distribution.
AnnaBridge 172:65be27845400 16 *
AnnaBridge 172:65be27845400 17 * o Neither the name of Freescale Semiconductor, Inc. nor the names of its
AnnaBridge 172:65be27845400 18 * contributors may be used to endorse or promote products derived from this
AnnaBridge 172:65be27845400 19 * software without specific prior written permission.
AnnaBridge 172:65be27845400 20 *
AnnaBridge 172:65be27845400 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
AnnaBridge 172:65be27845400 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
AnnaBridge 172:65be27845400 23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
AnnaBridge 172:65be27845400 24 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
AnnaBridge 172:65be27845400 25 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
AnnaBridge 172:65be27845400 26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
AnnaBridge 172:65be27845400 27 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
AnnaBridge 172:65be27845400 28 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
AnnaBridge 172:65be27845400 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
AnnaBridge 172:65be27845400 30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
AnnaBridge 172:65be27845400 31 */
AnnaBridge 172:65be27845400 32
AnnaBridge 172:65be27845400 33
AnnaBridge 172:65be27845400 34 #ifndef _FSL_OS_ABSTRACTION_CONFIG_H_
AnnaBridge 172:65be27845400 35 #define _FSL_OS_ABSTRACTION_CONFIG_H_
AnnaBridge 172:65be27845400 36
AnnaBridge 172:65be27845400 37 #ifndef osNumberOfSemaphores
AnnaBridge 172:65be27845400 38 #define osNumberOfSemaphores 5
AnnaBridge 172:65be27845400 39 #endif
AnnaBridge 172:65be27845400 40 #ifndef osNumberOfMutexes
AnnaBridge 172:65be27845400 41 #define osNumberOfMutexes 5
AnnaBridge 172:65be27845400 42 #endif
AnnaBridge 172:65be27845400 43 #ifndef osNumberOfMessageQs
AnnaBridge 172:65be27845400 44 #define osNumberOfMessageQs 0
AnnaBridge 172:65be27845400 45 #endif
AnnaBridge 172:65be27845400 46 #ifndef osNumberOfMessages
AnnaBridge 172:65be27845400 47 #define osNumberOfMessages 10
AnnaBridge 172:65be27845400 48 #endif
AnnaBridge 172:65be27845400 49 #ifndef osNumberOfEvents
AnnaBridge 172:65be27845400 50 #define osNumberOfEvents 5
AnnaBridge 172:65be27845400 51 #endif
AnnaBridge 172:65be27845400 52
AnnaBridge 172:65be27845400 53 #ifndef gMainThreadStackSize_c
AnnaBridge 172:65be27845400 54 #define gMainThreadStackSize_c 1024
AnnaBridge 172:65be27845400 55 #endif
AnnaBridge 172:65be27845400 56 #ifndef gMainThreadPriority_c
AnnaBridge 172:65be27845400 57 #define gMainThreadPriority_c 7
AnnaBridge 172:65be27845400 58 #endif
AnnaBridge 172:65be27845400 59
AnnaBridge 172:65be27845400 60 #ifndef gTaskMultipleInstancesManagement_c
AnnaBridge 172:65be27845400 61 #define gTaskMultipleInstancesManagement_c 0
AnnaBridge 172:65be27845400 62 #endif
AnnaBridge 172:65be27845400 63 #endif /* _FSL_OS_ABSTRACTION_CONFIG_H_ */