]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/main.c
Remove driver files that generate compiler warnings from the RISC-V_Renode_Emulator_S...
[freertos] / FreeRTOS / Demo / RISC-V_Renode_Emulator_SoftConsole / main.c
index 1225598ea0606064c2b8b97d4872baf5384bd396..d8923ac5bd2a1f7781eb3a8aa6d54ddc51ed8582 100644 (file)
@@ -121,7 +121,7 @@ static uint32_t ulLEDState = 0;
 \r
 void vSendString( const char * const pcString )\r
 {\r
-       UART_polled_tx_string( &g_uart, pcString );\r
+       UART_polled_tx_string( &g_uart, ( const uint8_t * ) pcString );\r
 }\r
 /*-----------------------------------------------------------*/\r
 \r
@@ -181,5 +181,13 @@ void vApplicationTickHook( void )
        }\r
        #endif\r
 }\r
+/*-----------------------------------------------------------*/\r
 \r
+void *_sbrk( ptrdiff_t incr )\r
+{\r
+       /* Required to link, but force an assert to ensure it is never actually\r
+       called. */\r
+       configASSERT( ( void * ) incr == NULL );\r
+       return NULL;\r
+}\r
 \r