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 specic 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 congure the reset threshold value or disable the brownout
detector. For more information, please refer to cong-esp32-brownout-det.
• For ESP32 power-up and reset timing descriptions, see ESP32 Series Datasheet.
2.2.20 After imported the protocol_examples_common.h header le, how come it cannot
be found while compling?
CHIP: ESP32
• Please add“set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)”
in CMakeLists.txt under the project.
• For more information, please refer to the Build system documentation.
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 insucient 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 ESP32-S2
Get Started.
• To check which ESP chips are supported by dierent ESP-IDF versions, please refer to ESP-IDF Release and
SoC Compatibility.
Espressif Systems 14
Submit Document Feedback
Release master