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
Roland Dobai
f6c8c987fe
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-29 08:38:23 +01:00
Marius Vikhammer
5c64e5090e
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2020-10-26 07:02:29 +00:00
Chen Yu Dong
dcb5d956d3
test: move auto test script to new repo (backport)
...
+ known issue
2020-10-24 09:25:33 +08:00
Marius Vikhammer
b6cd033236
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:19:13 +08:00
Angus Gratton
0622073b78
cmake: Log the project sdkconfig path as part of normal CMake status output
...
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-16 10:12:03 +11:00
Angus Gratton
97c0204ab9
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-16 10:12:03 +11:00
Renz Bagaporo
49c4947a4c
cmake: fix getting component requirements
2020-10-13 12:27:43 +08:00
Renz Bagaporo
11a2b77cd4
cmake: fix C identifier generation from embedded file
2020-10-13 12:26:53 +08:00
Angus Gratton
893d74f6ef
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:55:53 +11:00
Angus Gratton
3350a108c3
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:55:53 +11:00
He Yin Ling
ac545ce97c
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:52 +08:00
Sergei Silnov
7c9f76db63
ci: Use git mirror for docker image
2020-09-14 12:50:04 +02:00
Roland Dobai
2e9561d252
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:46:46 +02:00
Jakob Hasse
90fdeb0955
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-09-08 19:30:06 +08:00
Anton Maklakov
7009d7bcfe
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-04 13:20:39 +07:00
Shivani Tipnis
4b63e016c4
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-27 11:38:56 +05:30
Angus Gratton
03abf3b209
Merge branch 'bugfix/idf_build_process_default_v4.0' into 'release/v4.0'
...
cmake: fix issue with setting defaults in idf_build_process (v4.0)
See merge request espressif/esp-idf!9713
2020-08-10 09:19:38 +08:00
Angus Gratton
2597e046c5
Merge branch 'bugfix/ci_retries_when_download_v4.0' into 'release/v4.0'
...
CI: retry shell commands when download (v4.0)
See merge request espressif/esp-idf!9890
2020-08-04 12:48:03 +08:00
Michael (XIAO Xufeng)
26d7fb7744
Merge branch 'ci/resume_esp_flash_tests_4.0' into 'release/v4.0'
...
ci: resume esp_flash unit tests (v4.0)
See merge request espressif/esp-idf!9793
2020-08-02 17:15:24 +08:00
Alexey Gerenkov
a7fe03dcb0
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-31 07:16:19 +00:00
Anton Maklakov
c2d261c88e
ci: use the retry script to download
2020-07-31 13:07:07 +07:00
Anton Maklakov
8ed6242e27
ci: add a helper for retrying shell command
2020-07-31 13:04:59 +07:00
Mahavir Jain
d3034e8172
Merge branch 'bugfix/convert-string-to-bytes_v4.0' into 'release/v4.0'
...
components: convert string to bytes to fix TypeError (backport v4.0)
See merge request espressif/esp-idf!9732
2020-07-30 16:11:02 +08:00
Roland Dobai
6bec17308c
Tools: Close temporary file before invoking external tools accessing it
2020-07-29 07:39:50 +02:00
Michael (XIAO Xufeng)
818a2f8768
ci: resume esp_flash unit tests
2020-07-29 10:00:23 +08:00
Angus Gratton
8cfc9f1609
Merge branch 'bugfix/prov_retry_failures_v4.0' into 'release/v4.0'
...
ci: Add retries for all provisioning methods, some refactors (v4.0)
See merge request espressif/esp-idf!9389
2020-07-23 13:17:21 +08:00