esp-idf/components/esptool_py
Roland Dobai 43deee5374 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-11 12:59:46 +01:00
..
esptool Tools: Fix esptool wrappers by avoiding importing the module 2022-11-11 12:59:46 +01:00
CMakeLists.txt
Kconfig.projbuild esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
LICENSE
flasher_args.json.in
get_port_args.cmake
project_include.cmake esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
run_serial_tool.cmake
sdkconfig.rename