Roland Dobai
7a8c9d88e9
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-24 09:28:11 +02:00
Angus Gratton
1ea2b57b41
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj_v4.1' into 'release/v4.1'
...
ldgen: check mappings (v4.1)
See merge request espressif/esp-idf!14058
2021-06-22 23:34:31 +00:00
Ivan Grokhotkov
51ee6e482e
Merge branch 'feature/oocd_ver_backport_v4.1' into 'release/v4.1'
...
Feature/oocd ver backport v4.1
See merge request espressif/esp-idf!11379
2021-06-21 16:15:01 +00:00
Renz Bagaporo
bf341d966c
components: fix ldgen check errors
2021-06-21 09:52:03 +10:00
Renz Bagaporo
b9d288879d
ci: exempt upstream libmbedtls mapping for sha256
2021-06-21 09:45:23 +10:00
Renz Bagaporo
23aff378f4
ldgen: fix sections info parsing
...
Fixes an issure where the first part of an object file name is not
included, due to matching the rule for a section entry previously.
Reduce depedency on matching literal strings in sections which might
change depending on toolchain (ex. matching 'elf32-xtensa-le')
Make sure parsing rule succeeds for the entirety of the sections info
string by adding 'parseAll=True'.
Add test for sections info parsing.
2021-06-21 09:45:23 +10:00
Renz Bagaporo
ffefe603ae
ci: enabled ldgen mapping check in ci
2021-06-21 09:45:23 +10:00
Renz Bagaporo
8c6ec0bd48
ldgen: allow checking mappings
2021-06-21 09:36:26 +10:00
Ivan Grokhotkov
f9f318d666
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2021-06-18 15:29:53 +02:00
He Yin Ling
5438706922
Merge branch 'bugfix/example_test_socket_issue_4.1' into 'release/v4.1'
...
CI: example test socket issue (4.1)
See merge request espressif/esp-idf!13906
2021-06-15 08:48:27 +00:00
Anton Maklakov
d7612c14c9
Merge branch 'ci/unify_all_target_test_artifacts_paths_v4.1' into 'release/v4.1'
...
ci: unify target test artifacts to all .log file and $LOG_PATH (v4.1)
See merge request espressif/esp-idf!13850
2021-06-11 07:32:59 +00:00
He Yin Ling
069182853e
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:20:18 +08:00
Ivan Grokhotkov
935deb4082
Merge branch 'bugfix/idfpy_global_action_callbacks_order_v4.1' into 'release/v4.1'
...
idf.py: Run global_action_callbacks in predictable order (v4.1)
See merge request espressif/esp-idf!13683
2021-06-07 05:09:49 +00:00
Angus Gratton
3e664c8a80
Merge branch 'bugfix/override_cmake_python_v4.1' into 'release/v4.1'
...
cmake: Minor Python CMake build fixes (v4.1)
See merge request espressif/esp-idf!13196
2021-06-04 05:27:38 +00:00
Fu Hanxi
7b9f8c0e8c
ci: unify target test artifacts to all .log file and $LOG_PATH
2021-06-03 17:45:35 +08:00
Angus Gratton
e836297b55
Merge branch 'feature/idf_tools_github_mirror_v4.1' into 'release/v4.1'
...
Add GitHub mirror option for IDF tools installs (v4.1)
See merge request espressif/esp-idf!13766
2021-06-01 09:48:12 +00:00
Jakob Hasse
aba87df4f2
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-06-01 07:38:50 +00:00
Jakob Hasse
ba11976efb
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 14:51:15 +08:00
Ivan Grokhotkov
7c6ada7f86
Merge branch 'feature/installed_tool_failed_v4.1' into 'release/v4.1'
...
tools: Warning about tool being installed but failed to run. (v4.1)
See merge request espressif/esp-idf!13232
2021-05-31 17:25:24 +00:00
Anton Maklakov
fe3fd4d561
tools: windows installer: Modify IDF's archive mirror link
2021-05-31 11:06:19 +10:00
Ivan Grokhotkov
89568b73d6
tools: windows installer: add support for IDF_GITHUB_ASSETS
...
Adds a checkbox to download tools from dl.espressif.com mirror.
2021-05-31 11:06:19 +10:00
Angus Gratton
fd91bf4500
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2021-05-31 11:06:19 +10:00
Angus Gratton
f99c367e5d
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2021-05-31 11:06:19 +10:00
Sergei Silnov
83bda9f63e
Run global_action_callbacks in predictable order
2021-05-24 18:20:39 +02:00
He Yin Ling
f01bfeddb9
ttfw: fix DUT exception not added to junit report
2021-05-20 16:48:17 +08:00
Alexey Gerenkov
49e26e05e9
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:22:43 +00:00
Angus Gratton
3a0652602a
cmake: Improve the error message if the Python interpreter fails to run
...
RESULT_VARIABLE will return a string not a number in this case, so display it
for the user.
2021-05-10 03:40:50 +00:00
Angus Gratton
b79fc8271f
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-10 03:40:50 +00:00
Angus Gratton
b8afe13b3a
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-10 03:40:50 +00:00
Chen Yudong
9a29375f7d
ci: run target test with python3
2021-04-28 18:10:34 +08:00
Marek Fiala
2a82c353d9
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-26 13:55:45 +02:00
Ivan Grokhotkov
92f41b098b
Merge branch 'bugfix/broken_virtualenv_v4.1' into 'release/v4.1'
...
tools: Reinstall virtualenv if it is broken (v4.1)
See merge request espressif/esp-idf!12953
2021-04-20 23:34:20 +00:00
Ivan Grokhotkov
92aed6c759
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.1' into 'release/v4.1'
...
tools: handle exception in case of logging Unicode characters (v4.1)
See merge request espressif/esp-idf!13043
2021-04-20 23:33:38 +00:00
Fu Hanxi
97649c45eb
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:13 +08:00
Juraj Michálek
f60c8c8164
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:01 +02:00
Roland Dobai
7638d92400
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 19:25:59 +02:00
Cao Sen Miao
2333667cb5
ota: fix ota with flash encryption
2021-03-12 16:44:06 +08:00
Cao Sen Miao
63e4510e9e
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-03-11 14:11:01 +08:00
Angus Gratton
2c4f90dab2
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in fed98cd6adbe6576beda5076d0840eac0b4944e6
2021-03-04 09:27:26 +11:00
Angus Gratton
1f79b580f9
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.1' into 'release/v4.1'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.1)
See merge request espressif/esp-idf!12382
2021-02-28 23:57:04 +00:00
Ivan Grokhotkov
b1c383211c
Merge branch 'bugfix/eclipse_make_decode_v4.1' into 'release/v4.1'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.1)
See merge request espressif/esp-idf!12359
2021-02-19 15:55:47 +00:00
Angus Gratton
fed98cd6ad
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2021-02-15 10:48:30 +11:00
Angus Gratton
65fb2ead1a
ci: Log failure to close any DUT
2021-02-15 10:48:30 +11:00
Roland Dobai
52ecfeb337
tools: Prefer python3 during install and export
...
Install and export script should work on systems without "python"
executable.
Closes https://github.com/espressif/esp-idf/pull/6471
Closes https://github.com/espressif/esp-idf/issues/6532
Related to https://github.com/espressif/esp-idf/issues/6421 and
https://github.com/espressif/arduino-esp32/issues/4717
2021-02-14 19:46:28 +01:00
Angus Gratton
ba17e97665
Merge branch 'bugfix/get_component_requirements_v4.1' into 'release/v4.1'
...
cmake: fix getting component requirements (v4.1)
See merge request espressif/esp-idf!9714
2021-02-11 07:56:19 +08:00
Patryk Krzywdziński
85b96879f2
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:39 +01:00
Fu Hanxi
b91448aa03
Merge branch 'ci/increase_cmake_build_parallel_count_v4.1' into 'release/v4.1'
...
ci: Increase cmake build parallel count
See merge request espressif/esp-idf!12282
2021-02-05 10:46:57 +08:00
Ivan Grokhotkov
fb63cf75ad
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.1' into 'release/v4.1'
...
idf monitor: fix crash when monitor baudrate argument set (Backport 4.1)
See merge request espressif/esp-idf!9759
2021-02-05 10:08:13 +08:00
lly
a47f4ae9fe
ci: Increase cmake build parallel count
2021-02-04 20:48:22 +08:00
Anton Maklakov
62acc8734f
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path_v4.1' into 'release/v4.1'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one (v4.1)
See merge request espressif/esp-idf!12229
2021-02-03 11:34:42 +08:00