]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_FreedomStudio/main.c
Update RISCC-V-RV32-SiFive_HiFive1_FreedomStudio project to latest tools and metal...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_FreedomStudio / main.c
index 267ac2841128b847dee144352f113acb8faadca8..de03b623b4a9414e4e8688bedf0db8d39af5fffd 100644 (file)
@@ -58,7 +58,7 @@
 \r
 /* Set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to one to run the simple blinky demo,\r
 or 0 to run the more comprehensive test and demo application. */\r
-#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     1\r
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY     0\r
 \r
 /* Index to first HART (there is only one). */\r
 #define mainHART_0             0\r
@@ -265,6 +265,9 @@ void *malloc( size_t xSize )
        if something unexpectedly uses the C library heap.  See\r
        https://www.freertos.org/a00111.html for more information. */\r
        configASSERT( metal_cpu_get( mainHART_0 ) == 0x00 );\r
+\r
+       /* Remove warnings about unused parameter. */\r
+       ( void ) xSize;\r
        return NULL;\r
 }\r
 /*-----------------------------------------------------------*/\r