]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_IAR/FreeRTOSConfig.h
Update the GCC and IAR SiFive HiFive rev-b demos to use the new configMTIME_BASE_ADDR...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1-RevB_IAR / FreeRTOSConfig.h
index c1be600590567a8ef3dbcfa429f46c30243969c4..1edf11793acdc7f3bf82c828ac08b62fa28d1f68 100644 (file)
@@ -41,7 +41,9 @@
  *----------------------------------------------------------*/\r
 \r
 #define configISR_STACK_SIZE_WORDS ( 200 )\r
-#define configCLINT_BASE_ADDRESS       0x2000000\r
+#define CLINT_CTRL_ADDR                                ( 0x02000000UL )\r
+#define configMTIME_BASE_ADDRESS               ( CLINT_CTRL_ADDR + 0xBFF8UL )\r
+#define configMTIMECMP_BASE_ADDRESS            ( CLINT_CTRL_ADDR + 0x4000UL )\r
 \r
 #define configUSE_PREEMPTION                   1\r
 #define configUSE_IDLE_HOOK                            0\r