mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
i2c_tool: add i2c_tool example test
1. add example test for i2c-tools 2. make command line arguments number configurable
This commit is contained in:
@@ -86,8 +86,8 @@ static void initialize_console()
|
||||
|
||||
/* Initialize the console */
|
||||
esp_console_config_t console_config = {
|
||||
.max_cmdline_args = 8,
|
||||
.max_cmdline_length = 256,
|
||||
.max_cmdline_args = CONFIG_MAX_CMD_ARGUMENTS,
|
||||
.max_cmdline_length = CONFIG_MAX_CMD_LENGTH,
|
||||
#if CONFIG_LOG_COLORS
|
||||
.hint_color = atoi(LOG_COLOR_CYAN)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user