Roland Dobai
33a2927dab
Merge branch 'feature/oocd_ver_upgrade_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' (v4.0)
See merge request espressif/esp-idf!14696
2021-08-10 14:16:10 +00:00
Fu Hanxi
367aae5069
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-08-10 10:29:48 +08:00
Alexey Gerenkov
080bc2080c
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
2021-08-06 21:40:52 +03:00
Anton Maklakov
0f304fe08d
Merge branch 'bugfix/ttfw_fix_flush_index_error_v4.0' into 'release/v4.0'
...
test: TTFW fix flush index error (v4.0)
See merge request espressif/esp-idf!14263
2021-07-30 06:36:59 +00:00
Shivani Tipnis
9b5595983b
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
...
(cherry picked from commit 2d223744
)
2021-07-28 17:33:09 +05:30
Roland Dobai
4235c8c990
Merge branch 'ci/rename_test_log_path_v4.0' into 'release/v4.0'
...
CI: rename log path of IT jobs (v4.0)
See merge request espressif/esp-idf!14455
2021-07-22 13:56:38 +00:00
Zim Kalinowski
bfd99d8241
Merge branch 'feature/idf_tools_darwin_arm64_v4.0' into 'release/v4.0'
...
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64 (v4.0)
See merge request espressif/esp-idf!14074
2021-07-21 07:30:48 +00:00
He Yin Ling
a419e0c18c
CI: rename log path of IT jobs
2021-07-21 10:31:55 +08:00
Angus Gratton
12704ae528
Merge branch 'origin/feature/prevent_unwind_code_linking_4.0' into 'release/v4.0'
...
[C++]: prevent unwind code linking (backport 4.0)
See merge request espressif/esp-idf!13806
2021-07-15 11:44:19 +00:00
He Yin Ling
27db9f7e4e
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-14 11:58:34 +08:00
Renz Bagaporo
8de50b5655
components: fix ldgen check errors
2021-07-13 18:52:40 +10:00
Renz Bagaporo
74eb5590b2
ci: exempt upstream libmbedtls mapping for sha256
2021-07-13 18:52:40 +10:00
Renz Bagaporo
bd6caa524c
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-07-13 18:52:40 +10:00
Renz Bagaporo
e27315e63d
ci: enabled ldgen mapping check in ci
2021-07-13 18:52:40 +10:00
Renz Bagaporo
04f6830b09
ldgen: allow checking mappings
2021-07-13 18:52:40 +10:00
Angus Gratton
fa7126b628
Merge branch 'feature/idf_tools_github_mirror_v4.0' into 'release/v4.0'
...
Add GitHub mirror option for IDF tools installs (v4.0)
See merge request espressif/esp-idf!13767
2021-07-13 03:52:29 +00:00
Angus Gratton
80f5b1cee1
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion_v4.0' into 'release/v4.0'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage (v4.0)
See merge request espressif/esp-idf!14046
2021-07-06 07:52:03 +00:00
Anton Maklakov
4bddbb2ddf
tools: windows installer: Modify IDF's archive mirror link
2021-07-06 09:30:05 +10:00
Angus Gratton
a480803469
tools: Use GitHub download URLs for all files that can be downloaded from GitHub
2021-07-06 09:30:05 +10:00
Angus Gratton
c41d706134
idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
...
Via new IDF_GITHUB_ASSETS environment variable.
2021-07-06 09:28:07 +10:00
He Yin Ling
c43bc330e1
Merge branch 'bugfix/example_test_socket_issue_4.0' into 'release/v4.0'
...
CI: example test socket issue (4.0)
See merge request espressif/esp-idf!13907
2021-07-02 13:08:11 +00:00
Ivan Grokhotkov
9a7de332f4
Merge branch 'bugfix/override_cmake_python_v4.0' into 'release/v4.0'
...
cmake: Minor Python CMake build fixes (v4.0)
See merge request espressif/esp-idf!13197
2021-07-02 12:32:46 +00:00
Ivan Grokhotkov
7a9ee2c8ac
tools: idf_tools.py: allow macOS x86_64 tools to be installed on arm64
...
Until arm64 tool binaries are available, we can run existing x86_64
ones under emulation.
Suggested in https://github.com/espressif/esp-idf/issues/6113 .
2021-07-02 14:22:18 +02:00
Ivan Grokhotkov
69f43e4668
Merge branch 'bugfix/idf_tools_not_found_issue_v4.0' into 'release/v4.0'
...
tools: Catch OSError which is raised when the tool is not available (v4.0)
See merge request espressif/esp-idf!14136
2021-07-02 12:18:41 +00:00
Roland Dobai
d5d0c624d0
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-24 12:04:08 +02:00
He Yin Ling
03fc307e21
versions: Update version to 4.0.3
2021-06-24 17:35:06 +08:00
Ivan Grokhotkov
93ee9aab3b
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:32:40 +02:00
He Yin Ling
7be1a8d689
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:25:33 +08:00
Jakob Hasse
1d8ca35eec
[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 15:00:23 +08:00
He Yin Ling
091681faec
ttfw: fix DUT exception not added to junit report
2021-05-20 16:57:06 +08:00
Angus Gratton
51623fd4ce
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
Feature/oocd ver backport v4.0
See merge request espressif/esp-idf!11378
2021-05-19 07:57:38 +00:00
Angus Gratton
0242438e9d
Merge branch 'bugfix/setjmp_longjmp_4.0' into 'release/v4.0'
...
[system]: Made longjmp save for context switch (backport v4.0)
See merge request espressif/esp-idf!13503
2021-05-19 01:39:51 +00:00
Angus Gratton
0425b2e7b5
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-12 00:35:15 +00:00
Angus Gratton
262323e740
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-12 00:35:15 +00:00
Angus Gratton
632796887e
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-12 00:35:15 +00:00
Alexey Gerenkov
0d99d2a1a1
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:23:48 +00:00
Jakob Hasse
19eab31660
[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-05-10 19:21:56 +08:00
Chen Yudong
ef1f74174a
ci: run target test with python3
2021-04-28 19:32:59 +08:00
Marek Fiala
ebbe25ec73
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:48:56 +02:00
Ivan Grokhotkov
33c4e7f953
Merge branch 'bugfix/broken_virtualenv_v4.0' into 'release/v4.0'
...
tools: Reinstall virtualenv if it is broken (v4.0)
See merge request espressif/esp-idf!12954
2021-04-20 23:34:19 +00:00
Ivan Grokhotkov
4ff13dfd7e
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.0' into 'release/v4.0'
...
tools: handle exception in case of logging Unicode characters (v4.0)
See merge request espressif/esp-idf!13044
2021-04-20 23:34:02 +00:00
Fu Hanxi
3636d44aa9
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:20 +08:00
Juraj Michálek
3d83ce6d7a
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:23 +02:00
Roland Dobai
5ca77d9d2c
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 19:28:29 +02:00
Angus Gratton
f0b32f0b79
ci: Fix missing sys.stdout.encoding in python2 runners
...
Regression in dad0230776
2021-03-04 09:28:02 +11:00
Angus Gratton
4db922612a
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v4.0' into 'release/v4.0'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v4.0)
See merge request espressif/esp-idf!12383
2021-02-28 23:57:08 +00:00
Ivan Grokhotkov
7987f7ccae
Merge branch 'bugfix/eclipse_make_decode_v4.0' into 'release/v4.0'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.0)
See merge request espressif/esp-idf!12360
2021-02-19 15:55:52 +00:00
Angus Gratton
dad0230776
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:44 +11:00
Angus Gratton
2f196cface
ci: Log failure to close any DUT
2021-02-15 10:48:44 +11:00
Roland Dobai
b086a41569
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:47:14 +01:00