esp_flasher_worker.h 582 B

1234567891011121314151617
  1. #pragma once
  2. #include "esp_flasher_app_i.h"
  3. #include "esp_flasher_uart.h"
  4. #define SERIAL_FLASHER_INTERFACE_UART /* TODO why is application.fam not passing this via cdefines */
  5. #include "esp_loader_io.h"
  6. #define ESP_ADDR_BOOT_S3 0x0
  7. #define ESP_ADDR_BOOT 0x1000
  8. #define ESP_ADDR_PART 0x8000
  9. #define ESP_ADDR_NVS 0x9000
  10. #define ESP_ADDR_BOOT_APP0 0xE000
  11. #define ESP_ADDR_APP 0x10000
  12. void esp_flasher_worker_start_thread(EspFlasherApp* app);
  13. void esp_flasher_worker_stop_thread(EspFlasherApp* app);
  14. void esp_flasher_worker_handle_rx_data_cb(uint8_t* buf, size_t len, void* context);