]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_GCC/FreeRTOSConfig.h
RIS-V_RV32_SiFive_HiFive1_GCC project now running the blinky demo - still a work...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_GCC / FreeRTOSConfig.h
index 2f7b0e0159c2e10ccf9b74d894a6044170b54b9a..d27c2557bfb12438343268c19215558d2db758e4 100644 (file)
 #ifndef FREERTOS_CONFIG_H\r
 #define FREERTOS_CONFIG_H\r
 \r
-/*\r
- * For some reason the standard demo timer demo/test tasks fail when executing\r
- * in QEMU, although they pass on other RISC-V platforms.  This requires\r
- * further investigation, but for now, defining _WINDOWS_ has the effect of\r
- * using the wider timer test thresholds that are normally only used when the\r
- * tests are used with the FreeRTOS Windows port (which is not deterministic\r
- * and therefore requires wider margins).\r
- */\r
-#define _WINDOWS_\r
-\r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
  *\r
 #define configUSE_PREEMPTION                   1\r
 #define configUSE_IDLE_HOOK                            0\r
 #define configUSE_TICK_HOOK                            1\r
-#define configCPU_CLOCK_HZ                             ( 10000000 ) /*QEMU*/\r
+#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 ) 14100 )\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) 10000 )\r
 #define configMAX_TASK_NAME_LEN                        ( 16 )\r
 #define configUSE_TRACE_FACILITY               0\r
 #define configUSE_16_BIT_TICKS                 0\r