Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256 digest for app and data partitions. Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest Added esp_partition_check_identity() - compares two partitions by SHA-256 digest Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and bootloader_load_image(). Old name function esp_image_load is deprecated and will remove in V4.0 version. spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs
27 lines
512 B
Makefile
27 lines
512 B
Makefile
SOURCE_FILES := \
|
|
app_update/esp_ota_eps.c \
|
|
log/log.c \
|
|
newlib/lock.c \
|
|
esp32/crc.cpp \
|
|
esp32/esp_random.c \
|
|
bootloader_support/src/bootloader_common.c
|
|
|
|
INCLUDE_DIRS := \
|
|
../include \
|
|
../private_include \
|
|
app_update/include \
|
|
driver/include \
|
|
esp32/include \
|
|
freertos/include \
|
|
log/include \
|
|
newlib/include \
|
|
sdmmc/include \
|
|
vfs/include \
|
|
$(addprefix ../../../../components/, \
|
|
soc/esp32/include \
|
|
esp32/include \
|
|
bootloader_support/include \
|
|
app_update/include \
|
|
spi_flash/include \
|
|
)
|
|
|