esp-idf/components/esptool_py
Roland Dobai c93c6317f5 Tools: Fix esptool wrappers by avoiding importing the module
Importing esptool in wrappers could cause importing the wrapper itself.
Updating the PATH is not reliable. For example, os.path.realpath()
changes the Windows driver letter to uppercase therefore, misses the
right path for users with small device letters in their PATH. Removing
paths without considering cases could also lead to errors.

This fix invokes esptool scripts as modules without the need to
importing them.

Closes https://github.com/espressif/esp-idf/issues/9861

Closes https://github.com/espressif/vscode-esp-idf-extension/issues/791
2022-11-21 15:20:14 +01:00
..
esptool Tools: Fix esptool wrappers by avoiding importing the module 2022-11-21 15:20:14 +01:00
CMakeLists.txt crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc 2021-05-18 11:25:41 +08:00
flasher_args.json.in esptool: Add support for ESP32-S2 Secure Download Mode 2020-05-28 17:52:15 +10:00
get_port_args.cmake esptool_py: simplify serial tool script 2020-12-17 11:25:32 +08:00
Kconfig.projbuild esp32h2: disable no_stub option 2022-08-08 20:44:15 +08:00
LICENSE Initial public version 2016-08-17 23:08:22 +08:00
project_include.cmake esptool: (re)populate the secure boot signing key path 2022-10-01 15:05:29 +00:00
run_serial_tool.cmake tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
sdkconfig.rename Tools: Custom baud-rate setup is not possible for IDF Monitor from menuconfig anymore 2022-01-24 18:13:38 +01:00