Mayank Gupta / Mbed OS pelion-example-frdm

Dependencies:   FXAS21002 FXOS8700Q

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbedOS_crypto_only.h Source File

mbedOS_crypto_only.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 #ifndef PAL_RTOS_WAIT_FOREVER
00026     #define PAL_RTOS_WAIT_FOREVER osWaitForever
00027 #endif
00028 
00029 #ifndef PAL_NUMBER_OF_PARTITIONS
00030     #define PAL_NUMBER_OF_PARTITIONS 1
00031 #endif
00032 
00033 
00034 #ifndef PAL_FS_MOUNT_POINT_PRIMARY
00035     #if (PAL_NUMBER_OF_PARTITIONS == 2)
00036         #define PAL_FS_MOUNT_POINT_PRIMARY    "/sd"           //!< User should change this for the his working folder
00037     #else
00038         #define PAL_FS_MOUNT_POINT_PRIMARY    "/sd"
00039     #endif
00040 #endif
00041 
00042 #ifndef PAL_FS_MOUNT_POINT_SECONDARY
00043     #if (PAL_NUMBER_OF_PARTITIONS == 2)
00044         #define PAL_FS_MOUNT_POINT_SECONDARY    "/sd2"
00045     #else
00046         #define PAL_FS_MOUNT_POINT_SECONDARY    "/sd"         //!< User should change this for the his working folder
00047     #endif
00048 #endif
00049 
00050 #ifndef PAL_NUM_OF_THREAD_INSTANCES
00051     #define PAL_NUM_OF_THREAD_INSTANCES 1
00052 #endif
00053 
00054 #ifndef PAL_MAX_SEMAPHORE_COUNT
00055     #define PAL_MAX_SEMAPHORE_COUNT 1024
00056 #endif
00057 
00058 #define PAL_SKIP_TEST_MODULE_TLS
00059 #define PAL_SKIP_TEST_MODULE_SOTP
00060 #define PAL_SKIP_TEST_MODULE_RTOS
00061 #define PAL_SKIP_TEST_MODULE_NETWORK
00062 #define PAL_SKIP_TEST_MODULE_FILESYSTEM
00063 #define PAL_SKIP_TEST_MODULE_UPDATE
00064 #define PAL_SKIP_TEST_MODULE_INTERNALFLASH
00065 #define PAL_DNS_API_VERSION 1
00066 
00067 #endif /* PAL_MBEDOS_CONFIGURATION_H_ */