Skip to content

Commit

Permalink
fixup! esp32c3: Implemented Flash write
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Nov 9, 2023
1 parent 0b3b5eb commit cf477f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/target/esp32c3.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@
#define ESP32_C3_EXTMEM_ICACHE_PRELOAD 0x00000001U
#define ESP32_C3_EXTMEM_ICACHE_PRELOAD_DONE 0x00000002U

#define SPI_FLASH_CMD_PAGE_PROGRAM \
(ESP32_C3_SPI_FLASH_OPCODE_3B_ADDR | ESP32_C3_SPI_FLASH_DATA_OUT | ESP32_C3_SPI_FLASH_DUMMY_LEN(0) | \
ESP32_C3_SPI_FLASH_OPCODE(0x02))

typedef struct esp32c3_priv {
uint32_t wdt_config[4];
target_addr_t last_invalidated_sector;
Expand Down

0 comments on commit cf477f2

Please sign in to comment.