feat(console): Added runtime component registration support in console_simple_init

This commit is contained in:
Abhik Roy
2023-10-24 16:37:31 +02:00
parent 2e6732882d
commit 057873c1b5
7 changed files with 98 additions and 16 deletions

View File

@ -30,6 +30,9 @@ void app_main(void)
// Register user command
ESP_ERROR_CHECK(console_cmd_user_register("user", do_user_cmd));
// Register all the plugin commands added to this example
ESP_ERROR_CHECK(console_cmd_all_register());
// start console REPL
ESP_ERROR_CHECK(console_cmd_start());

View File

@ -1,6 +1,6 @@
dependencies:
idf:
version: '*'
version: ">=5.0"
console_simple_init:
version: "*"
override_path: '../../../'