]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/FreeRTOSConfig.h
Update libraries and sundry check-ins ready for the V10.3.0 kernel release.
[freertos] / FreeRTOS / Demo / RISC-V_Renode_Emulator_SoftConsole / FreeRTOSConfig.h
index 79f1a00a1a814ff37e9aa930f7e2c3fa8b87b7d4..e426d946be6188180f9098ee7768bb4ae4edc994 100644 (file)
 #include "hw_platform.h"\r
 #include "riscv_plic.h"\r
 \r
+/* See https://www.freertos.org/Using-FreeRTOS-on-RISC-V.html */\r
+#define configMTIME_BASE_ADDRESS       ( ( PRCI_BASE ) + 0xBFF8UL )\r
+#define configMTIMECMP_BASE_ADDRESS ( ( PRCI_BASE ) + 0x4000UL )\r
+\r
+\r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
  *\r
@@ -85,7 +90,7 @@
  *\r
  * See http://www.freertos.org/a00110.html.\r
  *----------------------------------------------------------*/\r
-#define configCLINT_BASE_ADDRESS               PRCI_BASE\r
+\r
 #define configUSE_PREEMPTION                   1\r
 #define configUSE_IDLE_HOOK                            1\r
 #define configUSE_TICK_HOOK                            1\r