mirror of
https://github.com/espressif/esptool.git
synced 2025-10-17 16:01:18 +08:00
19 lines
574 B
Python
Executable File
19 lines
574 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton,
|
|
# Espressif Systems (Shanghai) CO LTD, other contributors as noted.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# This executable script is a thin wrapper around the main functionality
|
|
# in the espsecure Python package
|
|
#
|
|
# If esptool (with espefuse and espsecure) is installed via setup.py or pip
|
|
# then this file is not used at all,
|
|
# it's compatibility for the older "run from source dir" espsecure approach.
|
|
|
|
import espsecure
|
|
|
|
if __name__ == "__main__":
|
|
espsecure._main()
|