]> granicus.if.org Git - esp-idf/commit
make bootloader_support depend on IDF_TARGET
authorsuda-morris <362953310@qq.com>
Tue, 16 Apr 2019 09:01:31 +0000 (17:01 +0800)
committersuda-morris <362953310@qq.com>
Tue, 16 Apr 2019 09:37:56 +0000 (17:37 +0800)
commit3f2d6a08910dbd03932820e8edf2ef0ca82ebef7
tree6822c6427b6e79a2629a771d944347727d843bdd
parent936ee2884b3ca8f404bb9f5b2a847dc23909136e
make bootloader_support depend on IDF_TARGET

1. move chip-specific code(e.g. encryption) into IDF_TARGET directory
2. splict app-only code to idf directory which won't be compiled into bootloader
12 files changed:
components/bootloader_support/CMakeLists.txt
components/bootloader_support/component.mk
components/bootloader_support/include_bootloader/bootloader_sha.h
components/bootloader_support/include_bootloader/bootloader_utility.h
components/bootloader_support/src/bootloader_utility.c
components/bootloader_support/src/esp32/bootloader_sha.c [moved from components/bootloader_support/src/bootloader_sha.c with 66% similarity]
components/bootloader_support/src/esp32/flash_encrypt.c [moved from components/bootloader_support/src/flash_encrypt.c with 100% similarity]
components/bootloader_support/src/esp32/secure_boot.c [moved from components/bootloader_support/src/secure_boot.c with 99% similarity]
components/bootloader_support/src/esp32/secure_boot_signatures.c [new file with mode: 0644]
components/bootloader_support/src/esp_image_format.c
components/bootloader_support/src/idf/bootloader_sha.c [new file with mode: 0644]
components/bootloader_support/src/idf/secure_boot_signatures.c [moved from components/bootloader_support/src/secure_boot_signatures.c with 79% similarity]