Skip to content

Commit

Permalink
esp32c3: Enabled mass erase
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Aug 6, 2024
1 parent c15d127 commit 4a0f6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/target/esp32c3.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ bool esp32c3_probe(target_s *const target)
target->halt_request = esp32c3_halt_request;
target->halt_resume = esp32c3_halt_resume;
target->halt_poll = esp32c3_halt_poll;
/* Provide an implementation of the mass erase command */
target->mass_erase = bmp_spi_mass_erase;

/* Establish the target RAM mappings */
target_add_ram32(target, ESP32_C3_IBUS_SRAM0_BASE, ESP32_C3_IBUS_SRAM0_SIZE);
Expand Down

0 comments on commit 4a0f6c2

Please sign in to comment.