esp-idf/components/bootloader_support
Angus Gratton abd6d40796 secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
and all ECDSA to be disabled if secure boot is not enabled

Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).

To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.

Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
2019-08-30 14:56:11 +10:00
..
include bootloader: API for the fast wakeup and custom using RTC mem 2019-08-21 11:44:37 +00:00
include_bootloader bootloader: API for the fast wakeup and custom using RTC mem 2019-08-21 11:44:37 +00:00
src secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app 2019-08-30 14:56:11 +10:00
test components: use new component registration api 2019-06-21 19:53:29 +08:00
CMakeLists.txt bugfix(flash): add flash config in app startup 2019-07-18 14:40:59 +08:00
Makefile.projbuild
README.rst
component.mk make bootloader_support depend on IDF_TARGET 2019-04-16 17:37:56 +08:00

README.rst

Bootloader Support Component
============================

Overview
--------

"Bootloader support" contains APIs which are used by the bootloader but are also needed for the main app.

Code in this component needs to be aware of being executed in a bootloader environment (no RTOS available, BOOTLOADER_BUILD macro set) or in an esp-idf app environment (RTOS running, need locking support.)