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 #1092 background imageLoading...
Page #1092 background image
Chapter 2. API Reference
CONFIG_PARTITION_TABLE_OFFSET
Offset of partition table
Found in: Partition Table
The address of partition table (by default 0x8000). Allows you to move the partition table, it gives more
space for the bootloader. Note that the bootloader and app will both need to be compiled with the same
PARTITION_TABLE_OFFSET value.
This number should be a multiple of 0x1000.
Note that partition offsets in the partition table CSV file may need to be changed if this value is set to a
higher value. To have each partition offset adapt to the configured partition table offset, leave all partition
offsets blank in the CSV file.
Default value:
0x8000
CONFIG_PARTITION_TABLE_MD5
Generate an MD5 checksum for the partition table
Found in: Partition Table
Generate an MD5 checksum for the partition table for protecting the integrity of the table. The gen-
eration should be turned off for legacy bootloaders which cannot recognize the MD5 checksum in the
partition table.
Default value:
Yes (enabled) if ESP32_COMPATIBLE_PRE_V3_1_BOOTLOADERS
Compiler options
Contains:
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT
CONFIG_COMPILER_DISABLE_GCC8_WARNINGS
CONFIG_COMPILER_DUMP_RTL_FILES
CONFIG_COMPILER_WARN_WRITE_STRINGS
CONFIG_COMPILER_CXX_EXCEPTIONS
CONFIG_COMPILER_CXX_RTTI
CONFIG_COMPILER_OPTIMIZATION
CONFIG_COMPILER_HIDE_PATHS_MACROS
CONFIG_COMPILER_STACK_CHECK_MODE
CONFIG_COMPILER_OPTIMIZATION
Optimization Level
Found in: Compiler options
This option sets compiler optimization level (gcc -O argument) for the app.
The Defaultsetting will add the -0g flag to CFLAGS.
The Sizesetting will add the -0s flag to CFLAGS.
The Performancesetting will add the -O2 flag to CFLAGS.
The Nonesetting will add the -O0 flag to CFLAGS.
The Sizesetting cause the compiled code to be smaller and faster, but may lead to difficulties of
correlating code addresses to source file lines when debugging.
Espressif Systems 1081
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