mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
22 lines
450 B
C
22 lines
450 B
C
/*
|
|
* SPDX-FileCopyrightText: 2017-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <assert.h>
|
|
#include <sys/param.h>
|
|
#include "esp_ota_ops.h"
|
|
#include "esp_attr.h"
|
|
#include "sdkconfig.h"
|
|
|
|
const esp_app_desc_t *esp_ota_get_app_description(void)
|
|
{
|
|
return esp_app_get_description();
|
|
}
|
|
|
|
int IRAM_ATTR esp_ota_get_app_elf_sha256(char* dst, size_t size)
|
|
{
|
|
return esp_app_get_elf_sha256(dst, size);
|
|
}
|