Chapter 2. Development environment
2.2.19 I found a"Brownout detector was triggered" failure on my ESP32. How to resolve
such issue?
• ESP32 has a built-in brownout detector which can detect if the voltage is lower than a specific value. If it
happens, the detector will reset the chip to prevent unintended behavior.
• This message may be reported in various scenarios, while the root cause should always be that the chip with
a power supply has momentarily or permanently dropped below the brownout threshold. Please try replacing
power supply, USB cable, or installing capacitor on power supply terminals of your module.
• Apart from the above solution, you can also try to configure the reset threshold value or disable the brownout
detector. For more information, please refer to config-esp32-brownout-det.
• For ESP32 power-up and reset timing descriptions, see
2.2.20 After imported the protocol_examples_common.h header file, how come it cannot
be found while compling?
CHIP: ESP32
• Please add "set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples
in CMakeLists.txt under the project.
• For more information, please refer to the
2.2.21 When using ESP8266 NonOS v3.0 SDK, the following error occurred. What could
be the reason?
E:M 536
E:M 1528
Any error logs beginning with E:M indicates insufficient memory.
2.3 Environment setup
2.3.1 When setting up ESP32-S2 environment using command idf.py set-target
esp32s2, an error occurred as "Error: No such command 'set-target' ". What
could be the reason?
• The ESP-IDF is adapted to ESP32-S2 from release/v4.2, thus setting up ESP32-S2 environment in previous
versions will cause errors. In this case, when using command idf.py set-target esp32s2, there will
be error as "Error: No such command 'set-target' ". It is recommended to perform tests and development
on ESP32-S2 using ESP-IDF release/v4.2 and later versions. For more information, please refer to
Get
Started.
• To check which ESP chips are supported by different ESP-IDF versions, please refer to
SoC
Compatibility.
Espressif Systems
ESP32 Series
Build system
documentation.
14
Submit Document Feedback
Datasheet.
ESP-IDF Release and
Release master
ESP32-S2
Need help?
Do you have a question about the ESP and is the answer not in the manual?