mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
feat(console): added config option for console task affinity
This commit is contained in:
@@ -27,6 +27,10 @@ static void start_console(void)
|
||||
{
|
||||
esp_console_repl_t *repl = NULL;
|
||||
esp_console_repl_config_t repl_config = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
||||
|
||||
/* Pin repl task to ensure all interrupts are allocated on the same core */
|
||||
repl_config.task_core_id = 0;
|
||||
|
||||
/* Prompt to be printed before each line.
|
||||
* This can be customized, made dynamic, etc.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user