Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbedOS_default.h Source File

mbedOS_default.h

00001 /*******************************************************************************
00002  * Copyright 2016-2018 ARM Ltd.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  *******************************************************************************/
00016 
00017 #ifndef PAL_MBEDOS_CONFIGURATION_H_
00018 
00019 #include "cmsis_os.h"
00020 
00021 #if (defined(MBED_DEBUG) && !defined(DEBUG))
00022     #define DEBUG
00023 #endif
00024 
00025 /*!
00026  * \brief This file is for more specific definitions (per board, if needed).
00027  *        if this file is defined it will be included from pal_configuration.h
00028  *        if not, the default file will be included - if needed
00029  */
00030 #ifndef PAL_BOARD_SPECIFIC_CONFIG
00031     #if defined(TARGET_K64F)
00032         #include "K64F_default.h"
00033     #elif defined(TARGET_NUCLEO_F429ZI)
00034         #include "NUCLEO_default.h"
00035     #elif defined(TARGET_UBLOX_EVK_ODIN_W2)
00036         #include "ODIN_default.h"
00037     #elif defined(TARGET_UBLOX_C030_U201)
00038         #include "C030_default.h"
00039     #endif
00040 #endif
00041 
00042 
00043 #ifndef PAL_RTOS_WAIT_FOREVER
00044     #define PAL_RTOS_WAIT_FOREVER osWaitForever
00045 #endif
00046 
00047 #ifndef PAL_NUMBER_OF_PARTITIONS
00048     #define PAL_NUMBER_OF_PARTITIONS 1
00049 #endif
00050 
00051 
00052 #ifndef PAL_FS_MOUNT_POINT_PRIMARY
00053     #if (PAL_NUMBER_OF_PARTITIONS == 2)
00054         #define PAL_FS_MOUNT_POINT_PRIMARY    "/sd"           //!< User should change this for the his working folder
00055     #else
00056         #define PAL_FS_MOUNT_POINT_PRIMARY    "/sd"
00057     #endif
00058 #endif
00059 
00060 #ifndef PAL_FS_MOUNT_POINT_SECONDARY
00061     #if (PAL_NUMBER_OF_PARTITIONS == 2)
00062         #define PAL_FS_MOUNT_POINT_SECONDARY    "/sd2"
00063     #else
00064         #define PAL_FS_MOUNT_POINT_SECONDARY    "/sd"         //!< User should change this for the his working folder
00065     #endif
00066 #endif
00067 
00068 #ifndef PAL_NUM_OF_THREAD_INSTANCES
00069     #define PAL_NUM_OF_THREAD_INSTANCES 1
00070 #endif
00071 
00072 #ifndef PAL_MAX_SEMAPHORE_COUNT
00073     #define PAL_MAX_SEMAPHORE_COUNT 1024
00074 #endif
00075 
00076 
00077 
00078 #endif /* PAL_MBEDOS_CONFIGURATION_H_ */