I own an ESP32 board (Lilygo TTGO T-Display).
Id like to burn the internal efuses that select the interval voltage so I akways have a 3.3v regulator.
This is explained here :
Note about GPIO12
https://github.com/espressif/esp-idf/tree/release/v3.2/examples/storage/sd_card#note-about-gpio12
I have downlaoded and installed everything.
When I run the command :
components/esptool_py/esptool/espefuse.py set_flash_voltage 3.3V
I get :
components/esptool_py/esptool/espefuse.py: line 7: import: command not found
components/esptool_py/esptool/espefuse.py: line 8: import: command not found
components/esptool_py/esptool/espefuse.py: line 11: syntax error near unexpected token subprocess.run' components/esptool_py/esptool/espefuse.py: line 11:
sys.exit(subprocess.run([sys.executable, ‘-m’, ‘espefuse’] + sys.argv[1:]).returncode)’
Here’s the espefuse.py file :
#
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
#
# SPDX-License-Identifier: Apache-2.0
#
import subprocess
import sys
if __name__ == '__main__':
sys.exit(subprocess.run([sys.executable, '-m', 'espefuse'] + sys.argv[1:]).returncode)
Any idea?
I have read the documentations three times, downloaded and installed everything needed
I am expecting the efuse to be burnt after this command but I get an error.