Commit Graph

78 Commits

Author SHA1 Message Date
Ryan Jarvis
fa7e37aa4c PEP8 imports (https://www.python.org/dev/peps/pep-0008/#imports). Remove unused import statements. 2017-09-17 12:22:03 -07:00
Angus Gratton
485f61b049 espefuse: Fix printing of the confirmation prompt on non-ttys (ie on mingw in mintty)
Otherwise if line buffering is disabled (due to non-tty) nothing is printed.
2017-08-22 11:17:46 +10:00
Angus Gratton
2284f65077 espefuse: PEP8 fix 2017-07-19 18:11:01 +10:00
Angus Gratton
596e96ab24 espefuse: Calculate efuse timeout in time units rather than number of retries 2017-07-19 18:02:29 +10:00
Miro Hrončok
476128901e Display usage information when no arguments are provided
Previously a traceback was shown instead.

Fixes https://github.com/espressif/esptool/issues/211
2017-06-22 11:54:55 +02:00
Angus Gratton
ed4cd3a48f espefuse.py: Fix burn_key command under Python 3
(Fixes #167, all other efuse commands work properly under Python 3.)
2017-06-13 17:09:29 +10:00
Angus Gratton
5760feda02 espefuse summary: Fix printing of base MAC address
Fixes #204
2017-06-13 16:43:15 +10:00
Angus Gratton
6e5d0d3722 Merge remote-tracking branch 'origin/esp32-d2wd_support' 2017-04-24 15:10:14 +10:00
Angus Gratton
1ff7ee801d especure & espefuse: Fix pyflakes future failures 2017-04-24 15:01:41 +10:00
Angus Gratton
9817cf1998 setup: Correctly install executable scripts on both posix & Windows
Closes #194
2017-04-24 15:01:41 +10:00
Angus Gratton
a9e3dfcd28 espefuse: Add SPI pin mapping logic for alt pin numbering 2017-04-12 11:01:56 +10:00
Angus Gratton
486c0e7e66 espefuse: Add efuse fields for CHIP_VERSION & CHIP_PACKAGE 2017-04-05 17:16:37 +10:00
M Hickford
d291846bb4 In setup.py specify console_scripts rather than scripts.
This is preferable cross-platform compatibility. See https://packaging.python.org/distributing/#scripts and https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation.

Fixes https://github.com/espressif/esptool/issues/181
2017-03-06 08:27:17 +00:00
Angus Gratton
bf58c88827 espefuse: Clarify comments around GPIO12 for flash voltage selection 2017-02-07 09:42:53 +11:00
Angus Gratton
7252b2a961 espefuse.py: Add 'set_flash_voltage' command to easily set flash voltage 2017-02-03 16:00:23 +11:00
Angus Gratton
7f4dda26b4 Update README for esptool.py v2.0 2017-01-09 17:59:58 +11:00
Angus Gratton
d2b304f181 Forward-port Python 3 compatibility to esptool v2.0
Merge commit 'cda4f2b5e5bc09571b55c4b5e6b1c9f5ec349514' into feature/esp32_v20_refactor
2017-01-09 12:27:30 +11:00
Angus Gratton
1b56d95280 Add options for resetting before/after esptool
Includes support for soft_reset aka "run user code" on ESP32.
2016-12-20 18:04:36 +11:00
Angus Gratton
20460465fb Flake8 fixes 2016-12-14 11:52:03 +11:00
Angus Gratton
adc914b91a espefuse.py: Update efuse descriptions 2016-12-01 23:18:07 -08:00
Angus Gratton
cd5688411c espsecure.py: Add generate_flash_encryption_key command 2016-11-24 15:47:19 +11:00
Angus Gratton
6cb0a3d342 espefuse.py: Add --do-not-confirm option 2016-11-24 15:46:21 +11:00
Angus Gratton
85b77f26ee espefuse.py: read_protect_efuse/write_protected_efuse: Confirm names of all efuses
One protection bit can conver multiple efuses.
2016-11-24 11:22:45 +11:00
Angus Gratton
f337fbd175 espsecure.py: Generate flash decryption to encrypt/decrypt routines 2016-11-23 18:49:18 +11:00
Angus Gratton
fb02da98dc espefuse.py: add DISABLE_SDIO_HOST 2016-11-08 18:26:50 +11:00
Angus Gratton
b1e00025fa espefuse.py: Fix DISABLE_DL_CACHE & KEY_STATUS masks 2016-11-08 18:03:08 +11:00
Angus Gratton
95dae1651e espefuse: Fix bugs with read/write protection, add read_protect_efuse / write_protect_efuse commands 2016-11-01 16:03:07 +11:00
Angus Gratton
6d92b30bcc Add complementary espefuse.py & espsecure.py command line tools
espefuse.py reads/writes ESP32 EFUSE data.
espsecure.py provides helpers for generating/validating secure boot data.
2016-11-01 12:20:22 +11:00