ronghulin
e01b690e5b
feature: support multiple PHY init data
2023-07-06 15:30:15 +08:00
He Yin Ling
03fc307e21
versions: Update version to 4.0.3
2021-06-24 17:35:06 +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
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
Patryk Krzywdziński
b0f2091e63
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:52 +01:00
Krzysztof Budzynski
498aebe38f
Merge branch 'feature/self_hosted_v4.0' into 'release/v4.0'
...
docs: self host docs (v4.0)
See merge request espressif/esp-idf!11595
2021-02-08 14:21:01 +08:00
Marius Vikhammer
8e7e0973db
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2021-02-08 11:54:11 +08:00
Anton Maklakov
43127a5084
Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path_v4.0' into 'release/v4.0'
...
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one (v4.0)
See merge request espressif/esp-idf!12230
2021-02-03 11:34:30 +08:00
Fu Hanxi
f39d69b592
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:28 +08:00
Mahavir Jain
544a2a4f4e
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-01-29 11:45:51 +05:30
Angus Gratton
7c204c38dd
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.0' into 'release/v4.0'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.0)
See merge request espressif/esp-idf!10203
2021-01-19 14:21:50 +08:00
Martin Stejskal
c9427ea613
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-15 20:09:08 +00:00
Anton Maklakov
a987a8ade6
Merge branch 'bugfix/ci_py2_warnings_fix_v4.0' into 'release/v4.0'
...
ci: Python 2 warnings fix (v4.0)
See merge request espressif/esp-idf!11619
2020-12-15 19:06:33 +08:00
Anton Maklakov
9e780a5be9
Merge branch 'feature/ci_fix_docker_build_v4.0' into 'release/v4.0'
...
ci: Use git mirror for docker image (v4.0)
See merge request espressif/esp-idf!10447
2020-12-15 15:42:39 +08:00
Anton Maklakov
a10d115e84
ci: Ignore Python 2 deprecation warning
2020-12-15 13:32:30 +07:00
Angus Gratton
047480058c
idf.py: Disable CMake --warn-uninitialized option by default
...
Can still be enabled by passing --cmake-warn-uninitialized on the command line
Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.
The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.
(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )
Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-12-14 07:26:09 +00:00
Angus Gratton
7ae3bb3298
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.0' into 'release/v4.0'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.0)
See merge request espressif/esp-idf!9969
2020-12-14 15:24:40 +08:00
daiziyan
4c65e031ea
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-09 23:50:19 +01:00
KonstantinKondrashov
b902d6be39
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-12-08 16:55:50 +00:00
martin.gano
c05fcc6a1d
Tools: add Python 2 deprecation warning
2020-12-08 15:46:41 +01:00
Shivani Tipnis
70841722f1
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4
)
2020-11-30 16:29:54 +05:30
Angus Gratton
42ffc348a6
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:29:46 +11:00
Angus Gratton
c857045505
Merge branch 'bugfix/cmake_example_sdkconfig_path_v4.0' into 'release/v4.0'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project (v4.0)
See merge request espressif/esp-idf!10861
2020-11-16 12:13:44 +08:00
Angus Gratton
8a78522aad
Merge branch 'bugfix/ldgen_unicode_path_v4.0' into 'release/v4.0'
...
tools/ldgen: Parse paths with Unicode characters in archives & fix parsing of section names on Windows (v4.0)
See merge request espressif/esp-idf!10966
2020-11-11 10:50:55 +08:00
Angus Gratton
d690e3d1ab
Merge branch 'bugfix/get_component_requirements_v4.0' into 'release/v4.0'
...
cmake: fix getting component requirements (v4.0)
See merge request espressif/esp-idf!10661
2020-11-11 10:44:43 +08:00
Angus Gratton
74870e7e22
Merge branch 'bugfix/err_to_name_paths_windows_v4.0' into 'release/v4.0'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v4.0)
See merge request espressif/esp-idf!10897
2020-11-11 10:44:33 +08:00
Angus Gratton
d5ae1d10d9
Merge branch 'bugfix/embed_file_symbol_names_v4.0' into 'release/v4.0'
...
cmake: fix C identifier generation from embedded file (v4.0)
See merge request espressif/esp-idf!10666
2020-11-11 10:43:14 +08:00
Ivan Grokhotkov
31e0866561
Merge branch 'bugfix/ut_ext_win_open_file_v4.0' into 'release/v4.0'
...
Tools: Close temporary file before invoking external tools accessing it
See merge request espressif/esp-idf!9832
2020-11-09 17:16:25 +08:00
Ivan Grokhotkov
5738a833fa
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.0' into 'release/v4.0'
...
idf monitor: fix crash when monitor baudrate argument set (Backport v4.0)
See merge request espressif/esp-idf!9761
2020-11-09 16:47:08 +08:00
Ivan Grokhotkov
34f3403c3a
Merge branch 'feature/nvs_erase_check_init_4.0' into 'release/v4.0'
...
NVS Flash: prevent erasing initialized partition (backport v4.0)
See merge request espressif/esp-idf!10066
2020-11-09 16:44:31 +08:00
Ivan Grokhotkov
f9e85a78f6
Merge branch 'bugfix/mfg_tool_v4.0' into 'release/v4.0'
...
mfg_util: Update file handling to maintain line endings across various OS (backport v4.0)
See merge request espressif/esp-idf!10173
2020-11-09 16:42:23 +08:00
Ivan Grokhotkov
11f4a09ce2
Merge branch 'bugfix/eclipse_make_py3_v4.0' into 'release/v4.0'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v4.0)
See merge request espressif/esp-idf!10400
2020-11-09 16:40:30 +08:00
He Yin Ling
e5f754b26c
versions: Update version to 4.0.2
2020-11-05 09:38:34 +08:00
Roland Dobai
76ea4cb540
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:38:23 +01:00