esp_openthread_flash.h 432 B

12345678910111213141516171819202122232425
  1. /*
  2. * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #pragma once
  7. #include "esp_partition.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. /**
  12. * @brief Set the partition to store OpenThread dataset.
  13. *
  14. * @param[in] partition The storage partition.
  15. *
  16. */
  17. void esp_openthread_flash_set_partition(const esp_partition_t *partition);
  18. #ifdef __cplusplus
  19. }
  20. #endif