Commit Graph

839 Commits

Author SHA1 Message Date
Roland Dobai
bcf14bca1e Merge branch 'bugfix/eclipse_make_decode_v3.3' into 'release/v3.3'
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v3.3)

See merge request espressif/esp-idf!12361
2021-07-13 15:34:50 +00:00
Ivan Grokhotkov
b82577168a 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:37:34 +02:00
Chen Yudong
62359f3442 ci: run target test with python3 2021-06-08 17:39:29 +08:00
Ivan Grokhotkov
c7add96e64 Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v3.3' into 'release/v3.3'
tools: handle exception in case of logging Unicode characters (v3.3)

See merge request espressif/esp-idf!13045
2021-05-31 17:24:06 +00:00
Patryk Krzywdziński
ea73e952a1 Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
Closes https://github.com/espressif/esp-idf/pull/6505
2021-05-21 20:59:28 +02:00
He Yin Ling
0c2fb10e0c ttfw: fix DUT exception not added to junit report 2021-05-20 16:53:52 +08:00
Fu Hanxi
6828b0fcc7 fix(ci): ci_fetch_submodule return full match name first 2021-04-19 20:24:27 +08:00
Juraj Michálek
0b0364c719 tools: handle exception in case of logging Unicode characters 2021-04-06 19:17:45 +02:00
Angus Gratton
08ce445ab6 Merge branch 'feature/twdt_prints_backtrace_v3.3' into 'release/v3.3'
Add Task Watchdog backtrace printing (v3.3)

See merge request espressif/esp-idf!12624
2021-03-31 05:17:23 +00:00
He Yin Ling
03810c4a06 versions: Update version to 3.3.5 2021-03-25 10:23:16 +08:00
Darian Leung
1786fc9ed2 esp32: Refactor backtrace and add esp_backtrace_print()
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.

A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
2021-03-04 19:01:48 +11:00
Angus Gratton
a85b97a6f5 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-03-04 09:25:44 +11:00
Angus Gratton
0aca88a6e9 ci: Log failure to close any DUT 2021-02-15 10:54:50 +11:00
He Yin Ling
a79c9402d6 ci: fix fetch submodule error on python3 2021-02-01 08:51:31 +00:00
He Yin Ling
6418be692a CI: build system do not check submodule for CI 2021-02-01 08:51:31 +00:00
He Yin Ling
729451ef60 CI: modify fetch submodule method:
download archive for submodules instead of clone
2021-02-01 08:51:31 +00:00
He Yin Ling
1b0a3f8924 CI: add utility gitlab_api 2021-02-01 08:51:31 +00:00
Juraj Michálek
8cef74c151 bugfix: correction of xtensa-esp32-elf version for Windows 2021-01-14 08:36:31 +01:00
Jiang Jiang Jian
29e69a12d3 Merge branch 'feature/oocd_ver_backport_v3.3' into 'release/v3.3'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v3.3)

See merge request espressif/esp-idf!9750
2020-12-28 11:50:57 +08:00
Anton Maklakov
5487864df9 tools: Add a script for switching to real submodules in forks 2020-12-23 17:41:33 +07:00
Anton Maklakov
d7d8857fc5 ci: Use relative submodule URLs over IDF. Correct CI accordindly
Clean up `before_script`s

    Update `check_submodule_sync`

    Remove tools/ci/mirror* stuff
2020-12-23 17:41:33 +07:00
Anton Maklakov
69cd53dbd9 ci: Remove unused IS_PRIVATE and IS_PUBLIC environment 2020-12-23 16:52:57 +07:00
Martin Stejskal
ace26dda76 tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.

Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-12-16 02:50:32 +00:00
daiziyan
228bec2371 add CN translation for adding python2 deprecation warning(MR 11115) 2020-12-10 14:04:57 +01:00
martin.gano
7af26fa6d6 Tools: add Python 2 deprecation warning 2020-12-10 00:12:09 +01:00
Shivani Tipnis
cbabe5bacc ci: Fix blecent example test
(cherry picked from commit fc146a98e4)
2020-11-30 22:49:31 +05:30
Angus Gratton
c823b14802 Merge branch 'bugfix/doc_remove_cmake_defconfig_v3.3' into 'release/v3.3'
Remove defconfig from idf.py (v3.3)

See merge request espressif/esp-idf!10086
2020-11-11 10:44:17 +08:00
Angus Gratton
7a08ec735f Merge branch 'bugfix/ci_use_local_mirror_for_getting_submodules_v3.3' into 'release/v3.3'
ci: Use local git mirror for getting submodules v3.3

See merge request espressif/esp-idf!10383
2020-11-11 08:05:52 +08:00
Anton Maklakov
d429fd7031 ci: Use a local mirror for getting submodules 2020-11-04 10:19:57 +07:00
Anton Maklakov
81da2bae2a Update toolchain to 1.22.0-97-gc752ad5
Revert a part of PSRAM workaround because of regression
    Add a C++ locale fix for multithreading
2020-11-04 10:07:58 +07:00
Angus Gratton
71af965514 Merge branch 'bugfix/err_to_name_paths_windows_v3.3' into 'release/v3.3'
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v3.3)

See merge request espressif/esp-idf!10898
2020-10-30 15:12:42 +08:00
Roland Dobai
3280f45259 tools/ldgen: Fix parsing of sections names on Windows 2020-10-29 08:34:57 +01:00
Chen Yu Dong
312f100551 bugfix: import error in example tests
relative import error in lib_ble_client
import Queue error in blehr_test
import http server error in ota tests
2020-10-28 14:19:30 +08:00
Angus Gratton
c1b49c419d Merge branch 'bugfix/ldgen_unicode_path_v3.3' into 'release/v3.3'
tools/ldgen: Parse paths with Unicode characters in archives (v3.3)

See merge request espressif/esp-idf!10967
2020-10-26 12:08:28 +08:00
Chen Yu Dong
632530ef3c test: move auto test script to new repo (backport)
known issues +
2020-10-24 09:26:08 +08:00
Roland Dobai
ef43198018 tools/ldgen: Parse paths with Unicode characters in archives
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-23 13:46:19 +02:00
Marius Vikhammer
a1c57aa022 tools: fix path handling errors in gen_esp_err_to_name.py for Windows
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-19 14:44:33 +08:00
Renz Bagaporo
b94c309fd9 cmake: fix C identifier generation from embedded file 2020-10-15 21:29:24 +08:00
Alexey Gerenkov
495ffcc899 tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' 2020-10-14 19:03:06 +00:00
Angus Gratton
6c2bffe53c build system: Also get IDF version from annotated tags only
Builds on previous commit.

Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:53:45 +11:00
He Yin Ling
936c803ccb CI: get git describe from annotated tags:
we should only parse IDF version from annotated tags
2020-09-30 11:34:28 +08:00
Angus Gratton
34961db9c1 Merge branch 'release/v3.3' into update/release_v3.3.4 2020-09-18 19:44:26 +10:00
Angus Gratton
b64b375234 version: Update to v3.3.4 2020-09-18 19:42:21 +10:00
Angus Gratton
1d8bf5356b Merge branch 'bugfix/eclipse_make_py3_v3.3' into 'release/v3.3'
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v3.3)

See merge request espressif/esp-idf!10401
2020-09-15 15:06:54 +08:00
Angus Gratton
d7ea1b0a08 Merge branch 'bugfix/ut_ext_win_open_file_v3.3' into 'release/v3.3'
Tools: Close temporary file before invoking external tools accessing it (v3.3)

See merge request espressif/esp-idf!9858
2020-09-15 14:27:34 +08:00
Roland Dobai
518e1da637 tools: Fix Python 3 incompatibility for building with Eclipse on Windows 2020-09-10 09:47:29 +02:00
Angus Gratton
f043a3da97 Merge branch 'update/release_v3.3.3' into 'release/v3.3'
version: Update to v3.3.3

See merge request espressif/esp-idf!10180
2020-08-27 19:38:21 +08:00
Angus Gratton
95c7b26cdd version: Update to v3.3.3 2020-08-27 18:21:03 +10:00
Sergei Silnov
01a2ab9329 Remove mention of idf.py defconfig
Closes https://github.com/espressif/esp-idf/issues/5075
2020-08-18 16:07:46 +02:00
Roland Dobai
62fea80a01 Tools: Close temporary file before invoking external tools accessing it 2020-07-29 20:24:30 +02:00