1 /* 2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * This is a STUB FILE used when compiling ESP-IDF to run tests on the host system. 7 * The source file used normally for ESP-IDF has the same name but is located elsewhere. 8 */ 9 #include "esp_err.h" 10 bootloader_common_get_sha256_of_partition(uint32_t address,uint32_t size,int type,uint8_t * out_sha_256)11esp_err_t bootloader_common_get_sha256_of_partition (uint32_t address, uint32_t size, int type, uint8_t *out_sha_256) 12 { 13 return ESP_OK; 14 } 15