Ivan Grokhotkov
0f3aa8f520
Merge branch 'feature/idfpy_serial_ext_formatting' into 'master'
...
Tools: Update formatting at serial_ext.py
See merge request espressif/esp-idf!8954
2020-06-25 17:40:06 +08:00
Roland Dobai
995676010e
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-23 13:40:19 +02:00
Ivan Grokhotkov
5aae08e6b4
Merge branch 'feature/pyc_clean' into 'master'
...
tools/idf.py: Clean Python bytecode files
Closes IDFGH-3368
See merge request espressif/esp-idf!8907
2020-06-22 15:53:41 +08:00
morris
067b1b91c2
global: add new target name: esp32-s3
...
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +08:00
Roland Dobai
9930060ea8
tools/idf.py: Clean Python bytecode files
2020-06-03 12:29:25 +02:00
Roland Dobai
0ff8ec66e4
Add ability to select a device for DFU flashing
2020-05-28 09:31:35 +02:00
sio13
76b9b3a11d
Update serial_ext.py
...
- replaced with oneliner
- removed default arguments
2020-05-22 12:00:00 +02:00
Scott Shawcroft
8c4dc88d27
tool: Fix spelling in core_ext.py
...
Closes: https://github.com/espressif/esp-idf/pull/5145
2020-05-13 14:50:43 +08:00
Angus Gratton
f9552baf97
Merge branch 'feature/dfu_build_flash_s2' into 'master'
...
Add build system support for programming ESP32-S2 using DFU utils
Closes IDF-579
See merge request espressif/esp-idf!8294
2020-05-04 14:57:51 +08:00
Ivan Grokhotkov
1ddfe0d465
Merge branch 'feature/gdbgui_gdbinit_arg' into 'master'
...
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
See merge request espressif/esp-idf!8370
2020-05-04 13:23:27 +08:00
Roland Dobai
ab9f714248
Add build system support for programming ESP32-S2 using DFU utils
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
7dad294061
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
...
Allows starting a debugging session with a custom set of init commands
2020-04-29 23:43:38 +02:00
Ivan Grokhotkov
7b79b52062
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
...
by ignoring character case and hyphens in target name.
2020-04-29 23:42:18 +02:00
David Cermak
2c2f909133
idf.py: debug ext prints detailed info/hint on common openocd issues
2020-04-15 09:07:17 +02:00
David Cermak
ec391ddfa1
idf.py: fix debug extenstion to work with unit tests
2020-04-09 14:54:10 +02:00
David Cermak
3b5c3d6521
idf.py: debug targets for easier execution of openocd, gdb, gdbui
...
Support for execution of asynchronous target, such as openocd, which
by default runs in the background, but if it's the only target idf.py
outputs the openocd in the console waiting for termination by user.
Supports also blocking commands gdb and gdbtui to start a debugging
session in an active console.
Supports running gdbgui running a UI debugging session in a browser
window, using the active console for other commands, such as openocd
or monitor.
Supports combining the debug targets in one action list, such as
idf.py openocd gdbgui monitor
2020-04-07 17:37:48 +02:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Roland Dobai
c35538ecee
tools: fix idf.py to be able to select a generator for build
2020-03-06 10:41:09 +01:00
Angus Gratton
2f1815f74e
Merge branch 'bugfix/cmake_issues' into 'master'
...
CMake bugfixes
See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Roland Dobai
2d97209475
tools: Force the order of cmake generators
2020-03-02 16:15:30 +01:00
Renz Christian Bagaporo
a5d49d4db5
tools: fix double builds with idf.py
2020-03-02 07:18:22 +05:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Angus Gratton
64654c0444
Merge branch 'fix/tools_py_environ_str' into 'master'
...
idf_py: fix the ESPPORT environ variable type issue
See merge request espressif/esp-idf!7433
2020-02-10 14:28:35 +08:00
Ivan Grokhotkov
9bff344ef5
idf.py: fail and show instructions on IDF_TARGET mismatch
...
Closes IDF-869
2020-01-31 11:08:22 +01:00
Ivan Grokhotkov
a1c1af72bf
idf.py: guess IDF_TARGET from sdkconfig if CMakeCache doesn't exist
...
This solves the issue that target is changed to the default one after
idf.py fullclean.
Also allow setting the default target using sdkconfig.defaults, e.g.
CONFIG_IDF_TARGET="esp32s2"
Closes IDF-1040
2020-01-30 19:09:37 +01:00
Angus Gratton
f8e7285591
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor' into 'master'
...
idf.py: add monitor-baud option to monitor command
Closes IDF-978
See merge request espressif/esp-idf!6613
2020-01-30 13:38:29 +08:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Michael (XIAO Xufeng)
cff1815177
idf_py: fix the ESPPORT environ variable type issue
...
Python 2 expect the environ variables are all of type 'str', but
sometimes wrong 'unicode' type is given.
Here we force all variables that are not str to become str.
2020-01-22 12:05:08 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
Renz Christian Bagaporo
7ddd39ec7d
idf.py: use underlying flash targets
2020-01-15 03:36:47 +00:00
Ivan Grokhotkov
c0d12988d3
Merge branch 'feature/component_manager' into 'master'
...
Component manager for IDF (preview)
See merge request espressif/esp-idf!6929
2019-12-20 21:06:12 +08:00
Sergei Silnov
dfafa98253
Use component manager if available as python package
2019-12-19 16:48:36 +01:00
Sergei Silnov
97f7b918c1
idf.py: add --list-targets option to list support targets
2019-12-18 16:50:49 +01:00
Sergei Silnov
767cde7b1c
idf.py: add monitor-baud option to monitor command
2019-12-13 21:40:21 +01:00
Roland Dobai
7ab43bffde
tools: Fix menuconfig for Python 3
2019-12-11 14:29:07 +01:00
Angus Gratton
f78b2158b1
Merge branch 'bugfix/menuconfig_argv_encoding' into 'master'
...
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
See merge request espressif/esp-idf!6910
2019-12-11 12:47:32 +08:00
morris
5efb1140ac
esptool: add chip and stub option
2019-12-09 09:48:16 +08:00
michael
3e55baea90
menuconfig: fix the MENUCONFIG_STYLE encoding issue and CLI env issue
...
1. Call cli with explicit argv
When using debugging tools like `pydbg.py --some_arg idf.py -G Ninga
build`, those tools usually call the python script with sys.argv
modified to correct value. But if the cli is called with argv blank, the
cli will get the argv again, and finally get the original command line,
which is incorrect for debugging.
2. Encode the style unicode string back to ascii in menuconfig cmd
On Windows MSYS python2.7, the unicode string set in os.environ will
cause the subprocess creating to fail. All os.environ values should be
strings.
2019-12-05 01:39:46 +08:00
Ivan Grokhotkov
562a3980b2
idf.py: fix fallback to build system target
2019-12-04 07:13:31 +00:00
Roland Dobai
bd2fc9f832
Make menuconfig colors configurable
...
Closes https://github.com/espressif/esp-idf/issues/4387
2019-11-26 10:40:34 +01:00
Angus Gratton
649f27c620
Merge branch 'bugfix/idfpy_cmake_cache_encoding' into 'master'
...
idf.py: add encoding option
Closes IDFGH-1905
See merge request espressif/esp-idf!6589
2019-11-26 11:50:15 +08:00
Sergei Silnov
dc4a5d06e3
idf.py: Fix error message for unknown target
2019-11-25 15:41:34 +01:00
Sergei Silnov
262ed0e72b
idf.py: Fix regression ignorance of --verbose flag
2019-11-25 11:47:55 +01:00
Sergei Silnov
18c594e250
idf.py: run build system target for unknown commands
2019-11-19 13:28:00 +01:00
H.Ogino
7e5d30cda4
idf.py: add encoding option
...
Merges https://github.com/espressif/esp-idf/pull/4106
Signed-off-by: Sergei Silnov <sergei.silnov@espressif.com>
2019-11-05 10:36:37 +01:00
tatsutaigu
e6ad82a0b2
idf.py: Add --before flag to esptool.py call
...
Merges https://github.com/espressif/esp-idf/pull/4125
2019-11-01 20:00:56 +01:00
Sergei Silnov
5e6aae3e04
Fix typo and naming format for extensions
2019-10-30 10:34:17 +01:00
Sergei Silnov
1c798393e2
Add idf.py extensions and move core actions to separate files
2019-10-30 10:34:17 +01:00