esp-idf/components/bootloader_support
Ivan Grokhotkov 3b583c150f bootloader: disconnect VRTC from SAR input in bootloader_random_disable
Bootloader enables SAR ADC in test mode to get some entropy for the RNG.
The bits which control the ADC test mux were not disabled, which caused
extra ~24uA current to be drawn from VRTC, increasing deep sleep current
consumption. This change disables relevant test mode bits in
bootloader_random_disable.
2017-02-21 17:07:15 +08:00
..
include Merge branch 'docs/flash_encryption_disable' into 'master' 2017-02-15 13:31:08 +08:00
include_priv bootloader: Enable early boot RNG entropy source 2017-01-04 17:07:12 +11:00
src bootloader: disconnect VRTC from SAR input in bootloader_random_disable 2017-02-21 17:07:15 +08:00
component.mk Secure boot: Option for app & partition table signing to happen outside build system 2016-12-19 13:12:05 +11:00
Makefile.projbuild Secure boot: Correctly re-sign if signing key changes, better error if missing 2016-12-01 23:49:12 -08:00
README.rst Refactor existing bootloader common functionality into bootloader_support component 2016-11-02 17:58:41 +11:00

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.)