/* * FreeRTOS Kernel * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of * the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * https://www.FreeRTOS.org * https://github.com/FreeRTOS * */ /******************************************************************************* * This file provides an example FreeRTOSConfig.h header file, inclusive of an * abbreviated explanation of each configuration item. Online and reference * documentation provides more information. * https://www.freertos.org/a00110.html * * Constant values enclosed in square brackets ('[' and ']') must be completed * before this file will build. * * Use the FreeRTOSConfig.h supplied with the RTOS port in use rather than this * generic file, if one is available. ******************************************************************************/ #ifndef __FREERTOS_CONFIG_SMP_H__ #define __FREERTOS_CONFIG_SMP_H__ #include "../FreeRTOSConfig.h" /******************************************************************************/ /* Scheduling behaviour related definitions. **********************************/ /******************************************************************************/ /* Set configNUMBER_OF_CORES to greater than 1 to enable running one instance of * FreeRTOS kernel to schedule tasks across multiple identical processor cores. */ #define configNUMBER_OF_CORES 2 /******************************************************************************/ /* Hook and callback function related definitions. ****************************/ /******************************************************************************/ /* Set the following configUSE_* constants to 1 to include the named hook * functionality in the build. Set to 0 to exclude the hook functionality from the * build. The application writer is responsible for providing the hook function * for any set to 1. See https://www.freertos.org/a00016.html */ #define configUSE_PASSIVE_IDLE_HOOK 0 #endif /* __FREERTOS_CONFIG_SMP_H__ */