EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1222 background imageLoading...
Page #1222 background image
Chapter 2. API Reference
CONFIG_NEWLIB_NANO_FORMAT
Enable nanoformatting 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-callednanoformatting option. This option doesnt support 64-bit
integer formats and C99 features, such as positional arguments.
For more details about nanoformatting 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 encryptedflag for NVS partitions. NVS encryption scheme is different
than hardware flash encryption and hence it is not recommended to have encryptedflag 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish