freertos: FreeRTOS SMP RISC-V port cleanup and enable esp32c3 in KConfig

This commit does general cleanup of the risc-v port files and restricts
FreeRTOS SMP config option to only esp32 and esp32c3.
This commit is contained in:
Sudeep Mohanty
2022-06-09 16:00:03 +02:00
parent 71eef9a9b0
commit 12e2312aaa
6 changed files with 132 additions and 471 deletions

View File

@@ -507,7 +507,7 @@ extern int xPortSwitchFlag;
// --------------------- Debugging -------------------------
#if CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION
#define UNTESTED_FUNCTION() { esp_rom_printf("Untested FreeRTOS function %s\r\n", __FUNCTION__); configASSERT(false); } while(0)
#define UNTESTED_FUNCTION() do{ esp_rom_printf("Untested FreeRTOS function %s\r\n", __FUNCTION__); configASSERT(false); } while(0)
#else
#define UNTESTED_FUNCTION()
#endif