fix(modem): Fix CI build issues with IDFv6.0

* Fix C++ console struct init in examples
* VFS deprecation in tests
* Add conditional defines over wakeup-cause
This commit is contained in:
David Cermak
2025-09-02 12:56:05 +02:00
parent b7cfa31a0b
commit 15140e04c6
3 changed files with 28 additions and 11 deletions

View File

@@ -63,13 +63,12 @@ void ConsoleCommand::RegisterCommand(const char *command, const char *help, cons
arg_type end = { .end = arg_end(1) };
arg_table.emplace_back(end);
const esp_console_cmd_t command_def = {
.command = command,
.help = help,
.hint = nullptr,
.func = command_func_pts[last_command],
.argtable = &arg_table[0]
};
esp_console_cmd_t command_def = { };
command_def.command = command;
command_def.help = help;
command_def.hint = nullptr;
command_def.func = command_func_pts[last_command];
command_def.argtable = &arg_table[0];
ESP_ERROR_CHECK(esp_console_cmd_register(&command_def));
last_command++;
console_commands.emplace_back(this);