]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Demo/FreeRTOS_IoT_Libraries/task_pool/iot_config.h
Update version number in readiness for V10.3.0 release. Sync SVN with reviewed releas...
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_IoT_Libraries / task_pool / iot_config.h
diff --git a/FreeRTOS-Plus/Demo/FreeRTOS_IoT_Libraries/task_pool/iot_config.h b/FreeRTOS-Plus/Demo/FreeRTOS_IoT_Libraries/task_pool/iot_config.h
deleted file mode 100644 (file)
index 6851788..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-/*\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
- *\r
- * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
- * this software and associated documentation files (the "Software"), to deal in\r
- * the Software without restriction, including without limitation the rights to\r
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
- * the Software, and to permit persons to whom the Software is furnished to do so,\r
- * subject to the following conditions:\r
- *\r
- * The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
- */\r
-\r
-/* This file contains configuration settings for the demos. */\r
-\r
-#ifndef IOT_CONFIG_H_\r
-#define IOT_CONFIG_H_\r
-\r
-\r
-/*\r
- * Set this to the number of recyclable tasks for the task pool to cache.\r
- *\r
- * Caching dynamically allocated tasks (recyclable tasks) helps the application\r
- * to limit the number of allocations at runtime. Caching recyclable tasks may\r
- * help making the application more responsive and predictable, by removing a\r
- * potential for memory allocation failures, but it may also have negative\r
- * repercussions on the amount of memory available at any given time. It is up\r
- * to the application developer to strike the correct balance these competing\r
- * needs. The task pool will cache when the application calling\r
- * IotTaskPool_RecycleJob. Any recycled tasks in excess of\r
- * IOT_TASKPOOL_JOBS_RECYCLE_LIMIT will be destroyed and its memory will be\r
- * release.\r
- *\r
- * Default value (if undefined): 8\r
- */\r
-#define IOT_TASKPOOL_JOBS_RECYCLE_LIMIT 8\r
-\r
-/*\r
- * Set this to 1 to perform sanity checks when using the task pool library.\r
- *\r
- * Asserts are useful for debugging, but should be disabled in production code.\r
- * If this is set to 1, IotTaskPool_Assert can be defined to set the assertion\r
- * function; otherwise, the standard library's assert function will be used.\r
- *\r
- * Possible values: 0 (asserts disabled) or 1 (asserts enabled)\r
- * Recommended values: 1 when debugging; 0 in production code.\r
- * Default value (if undefined): 0\r
- */\r
-#define IOT_TASKPOOL_ENABLE_ASSERTS 1\r
-\r
-/*\r
- * The full IoT Task Pool Library has many use cases, including Linux\r
- * development.  Typical FreeRTOS use cases do not require the full\r
- * functionality so an optimised implementation is provided specifically for use\r
- * with FreeRTOS.  The optimised version has a fixed number of tasks in the\r
- * pool, each of which uses statically allocated memory to ensure creation of\r
- * the pool is guaranteed (it does not run out of heap space).\r
- * IOT_TASKPOOL_NUMBER_OF_WORKERS sets the number of tasks in the pool.\r
- */\r
-#define IOT_TASKPOOL_NUMBER_OF_WORKERS               3\r
-\r
-/*\r
- * Set the log level of the task pool library.\r
- *\r
- * Log messages from the task pool library at or below this setting will be\r
- * printed.\r
- *\r
- * Possible values: One of the Log levels.\r
- * Default value (if undefined): IOT_LOG_LEVEL_GLOBAL; if that is undefined,\r
- * then IOT_LOG_NONE.\r
- */\r
-#define IOT_LOG_LEVEL_TASKPOOL IOT_LOG_INFO\r
-\r
-\r
-/**\r
- * @brief The stack size (in bytes) for each worker task in the task pool.\r
- * \r
- * The minimal version of the of task pool library only supports one task pool\r
- * and the configuration of each worker task fixed at the compile time.\r
- */\r
-#define IOT_TASKPOOL_WORKER_STACK_SIZE_BYTES        2048\r
-\r
-/* Include the common configuration file for FreeRTOS. */\r
-#include "iot_config_common.h"\r
-\r
-#endif /* ifndef IOT_CONFIG_H_ */\r