]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_GCC/FreeRTOSConfig.h
Added the "full" demo to the RISC-V_RV32_SiFive_HiFive1_GCC demo - backup check in...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_GCC / FreeRTOSConfig.h
index d27c2557bfb12438343268c19215558d2db758e4..207d2e2bd4755328718fb6f71d4b6ea3402c5758 100644 (file)
@@ -90,8 +90,8 @@
 #define configCPU_CLOCK_HZ                             ( 32768 ) /*QEMU*/\r
 #define configTICK_RATE_HZ                             ( ( TickType_t ) 1000 )\r
 #define configMAX_PRIORITIES                   ( 7 )\r
-#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 70 )\r
-#define configTOTAL_HEAP_SIZE                  ( ( size_t ) 10000 )\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 120 ) /* Only needs to be this high as some demo tasks also use this constant.  In production only the idle task would use this. */\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) 10900 )\r
 #define configMAX_TASK_NAME_LEN                        ( 16 )\r
 #define configUSE_TRACE_FACILITY               0\r
 #define configUSE_16_BIT_TICKS                 0\r
 /* Software timer definitions. */\r
 #define configUSE_TIMERS                               1\r
 #define configTIMER_TASK_PRIORITY              ( configMAX_PRIORITIES - 1 )\r
-#define configTIMER_QUEUE_LENGTH               4\r
-#define configTIMER_TASK_STACK_DEPTH   ( 100 )\r
+#define configTIMER_QUEUE_LENGTH               8\r
+#define configTIMER_TASK_STACK_DEPTH   ( 160 )\r
 \r
 /* Task priorities.  Allow these to be overridden. */\r
 #ifndef uartPRIMARY_PRIORITY\r
@@ -138,16 +138,4 @@ header file. */
 void vAssertCalled( void );\r
 #define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled()\r
 \r
-/* Overwrite some of the stack sizes allocated to various test and demo tasks.\r
-Like all task stack sizes, the value is the number of words, not bytes. */\r
-#define bktBLOCK_TIME_TASK_STACK_SIZE 100\r
-#define notifyNOTIFIED_TASK_STACK_SIZE 120\r
-#define priSUSPENDED_RX_TASK_STACK_SIZE 90\r
-#define tmrTIMER_TEST_TASK_STACK_SIZE 100\r
-#define ebRENDESVOUS_TEST_TASK_STACK_SIZE 100\r
-#define ebEVENT_GROUP_SET_BITS_TEST_TASK_STACK_SIZE 115\r
-#define genqMUTEX_TEST_TASK_STACK_SIZE 90\r
-#define genqGENERIC_QUEUE_TEST_TASK_STACK_SIZE 100\r
-#define recmuRECURSIVE_MUTEX_TEST_TASK_STACK_SIZE 90\r
-\r
 #endif /* FREERTOS_CONFIG_H */\r