We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db15fb7 commit c706006Copy full SHA for c706006
src/target/espressif/esp32c6.c
@@ -241,7 +241,7 @@ static int esp32c6_init_target(struct command_context *cmd_ctx,
241
242
target->semihosting->user_command_extension = esp_semihosting_common;
243
244
- struct esp_riscv_common *esp_riscv = calloc(1, sizeof(*esp_riscv));
+ struct esp_riscv_common *esp_riscv = target_to_esp_riscv(target);
245
246
ret = esp_riscv_init_arch_info(cmd_ctx,
247
target,
0 commit comments