diff options
author | alfred gedeon <28123637+alfred2g@users.noreply.github.com> | 2021-03-16 09:52:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 09:52:47 -0700 |
commit | cbc96ff5966deb6ea730d4da4beaf4c6c4d0ea4e (patch) | |
tree | 4558c6d1b4d9f9813e53b195a14cb6482407309a | |
parent | d7e5f4088538f24b8d61a081fc7313e2d297bd2a (diff) | |
download | freertos-git-cbc96ff5966deb6ea730d4da4beaf4c6c4d0ea4e.tar.gz |
Demo: remove commented code, and unused macros (#525)
-rw-r--r-- | FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h index 386c0492b..f92bcfa3b 100644 --- a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/FreeRTOSConfig.h @@ -79,15 +79,6 @@ to exclude the API function. */ #define configUSE_RECURSIVE_MUTEXES 1 #define configUSE_TIMERS 1 #define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 ) -/* -#define INCLUDE_vTaskPrioritySet 1 -#define INCLUDE_uxTaskPriorityGet 1 -#define INCLUDE_vTaskDelete 1 -#define INCLUDE_vTaskCleanUpResources 0 -#define INCLUDE_vTaskSuspend 0 -#define INCLUDE_vTaskDelayUntil 1 -#define INCLUDE_vTaskDelay 1 -*/ #define INCLUDE_vTaskPrioritySet 1 #define INCLUDE_uxTaskPriorityGet 1 @@ -121,40 +112,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */ | 9 connected. */ extern void vLoggingPrintf( const char *pcFormatString, ... ); - -/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to -1 then FreeRTOS_debug_printf should be defined to the function used to print - out the debugging messages. */ -#define ipconfigHAS_DEBUG_PRINTF 1 - #ifdef HEAP3 #define xPortGetMinimumEverFreeHeapSize (x) #define xPortGetFreeHeapSize (x) #endif -#if( ipconfigHAS_DEBUG_PRINTF == 1 ) -#include <stdio.h> -#define FreeRTOS_debug_printf(X) \ - printf("%p->%s %d: ", \ - xTaskGetCurrentTaskHandle(), \ - __FUNCTION__, \ - __LINE__); \ - vLoggingPrintf X -#endif - -/* Set to 1 to print out non debugging messages, for example the output of the - FreeRTOS_netstat() command, and ping replies. If ipconfigHAS_PRINTF is set to 1 - then FreeRTOS_printf should be set to the function used to print out the - messages. */ -#define ipconfigHAS_PRINTF 1 -#if( ipconfigHAS_PRINTF == 1 ) -#include <stdio.h> -#define FreeRTOS_printf(X) \ - printf("%p->%s %d: ", \ - xTaskGetCurrentTaskHandle(), \ - __FUNCTION__, \ - __LINE__); \ - vLoggingPrintf X -#endif - #endif /* FREERTOS_CONFIG_H */
|