Chapter 2. API Reference
CONFIG_NEWLIB_NANO_FORMAT
Enable ‘nano’formatting options for printf/scanf family
Found in: Component config > Newlib
ESP32 ROM contains parts of newlib C library, including printf/scanf family of functions. These func-
tions have been compiled with so-called“nano”formatting option. This option doesn’t support 64-bit
integer formats and C99 features, such as positional arguments.
For more details about “nano”formatting option, please see newlib readme file, search for ‘–enable-
newlib-nano-formatted-io’: https://sourceware.org/newlib/README
If this option is enabled, build system will use functions available in ROM, reducing the application
binary size. Functions available in ROM run faster than functions which run from flash. Functions
available in ROM can also run when flash instruction cache is disabled.
If you need 64-bit integer formatting support or C99 features, keep this option disabled.
Default value:
• No (disabled)
NVS Contains:
• CONFIG_NVS_ENCRYPTION
• CONFIG_NVS_COMPATIBLE_PRE_V4_3_ENCRYPTION_FLAG
CONFIG_NVS_ENCRYPTION
Enable NVS encryption
Found in: Component config > NVS
This option enables encryption for NVS. When enabled, AES-XTS is used to encrypt the complete NVS
data, except the page headers. It requires XTS encryption keys to be stored in an encrypted partition.
This means enabling flash encryption is a pre-requisite for this feature.
Default value:
• Yes (enabled) if CONFIG_SECURE_FLASH_ENC_ENABLED
CONFIG_NVS_COMPATIBLE_PRE_V4_3_ENCRYPTION_FLAG
NVS partition encrypted flag compatible with ESP-IDF before v4.3
Found in: Component config > NVS
Enabling this will ignore “encrypted”flag for NVS partitions. NVS encryption scheme is different
than hardware flash encryption and hence it is not recommended to have “encrypted”flag for NVS
partitions. This was not being checked in pre v4.3 IDF. Hence, if you have any devices where this flag
is kept enabled in partition table then enabling this config will allow to have same behavior as pre v4.3
IDF.
OpenSSL Contains:
• CONFIG_OPENSSL_DEBUG
• CONFIG_OPENSSL_ERROR_STACK
• CONFIG_OPENSSL_LOWLEVEL_DEBUG
• CONFIG_OPENSSL_DEBUG_LEVEL
• CONFIG_OPENSSL_ASSERT
Espressif Systems 1211
Submit Document Feedback
Release v4.4