Mahavir Jain
79aa9636b9
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-02-03 09:07:36 +00:00
Fu Hanxi
d9455d8587
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2021-02-02 11:14:06 +08:00
David Cermak
53fc156adb
esp-modem: Remove esp-netif destroy from modem network glue code
...
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).
Closes https://github.com/espressif/esp-idf/issues/5486
2021-01-15 11:48:26 +00:00
Marius Vikhammer
cf7bea6dff
idf monitor: fix crash when monitor baudrate argument set
...
Closes IDF-1902
2021-01-15 09:09:49 +00:00
lly
bd0f520a95
ci: Add 1 parallel count for building example
2021-01-13 16:21:15 +08:00
Ivan Grokhotkov
4360410107
Merge branch 'bugfix/tools_python_subprocess_capture_output_v4.2' into 'release/v4.2'
...
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility (v4.2)
See merge request espressif/esp-idf!11506
2020-12-28 07:45:51 +08:00
Anton Maklakov
ecc2dd4b23
Merge branch 'bugfix/ci_retries_when_download_v4.2' into 'release/v4.2'
...
CI: retry shell commands when download (v4.2)
See merge request espressif/esp-idf!9888
2020-12-24 16:20:12 +08:00
Ivan Grokhotkov
2b88ed8827
Merge branch 'bugfix/idf_gdb_no_openocd_crash_v4.2' into 'release/v4.2'
...
idf.py: Fixed gdb target to exit cleanly when no openocd watch task (v4.2)
See merge request espressif/esp-idf!10808
2020-12-17 18:40:31 +08:00
David Čermák
6a723ad1e7
Merge branch 'bugfix/lwip_netdb_cpp_guards_v4.2' into 'release/v4.2'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v4.2)
See merge request espressif/esp-idf!11089
2020-12-16 04:13:12 +08:00
Ivan Grokhotkov
a82d0cf9f1
Merge branch 'bugfix/panic_instr_fetch_prohibited_v4.2' into 'release/v4.2'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions (v4.2)
See merge request espressif/esp-idf!10293
2020-12-16 04:09:37 +08:00
Ivan Grokhotkov
e64934be6b
Merge branch 'bugfix/docker_gdb_python_v4.2' into 'release/v4.2'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v4.2)
See merge request espressif/esp-idf!10307
2020-12-16 04:07:40 +08:00
Anton Maklakov
9fb05897db
Merge branch 'bugfix/ci_py2_warnings_fix_v4.2' into 'release/v4.2'
...
ci: Python 2 warnings fix (v4.2)
See merge request espressif/esp-idf!11617
2020-12-15 19:06:33 +08:00
Michael (XIAO Xufeng)
97cd07007d
ci: define ESP_PLATFORM macro during public header check
2020-12-15 08:09:14 +00:00
Anton Maklakov
e1d62cda5f
Merge branch 'feature/ci_fix_docker_build_v4.2' into 'release/v4.2'
...
ci: Use git mirror for docker image (v4.2)
See merge request espressif/esp-idf!10445
2020-12-15 14:55:07 +08:00
Anton Maklakov
8c3526d91f
Merge branch 'bugfix/build_docs_pdf_job_v4.2' into 'release/v4.2'
...
docs: seperate build_docs html and pdf CI jobs (Backport v4.2)
See merge request espressif/esp-idf!10549
2020-12-15 14:54:00 +08:00
Anton Maklakov
3a5de540f1
ci: Ignore Python 2 deprecation warning
2020-12-15 13:16:03 +07:00
martin.gano
5bb0237860
Add checking if the build directory exists and move expression after docstring
2020-12-11 13:13:50 +01:00
daiziyan
81eb9f280f
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-11 09:16:18 +01:00
martin.gano
d0d7c53ee1
Tools: add Python 2 deprecation warning
2020-12-11 09:14:57 +01:00
lly
c3c0ca0aff
ci: Add 1 parallel count for building example
2020-12-10 13:59:36 +08:00
Angus Gratton
cf644d4de3
Merge branch 'bugfix/check_doc_links_no_deploy_v4.2' into 'release/v4.2'
...
CI: Only run check_doc_links if we actually deployed (v4.2)
See merge request espressif/esp-idf!10955
2020-12-08 09:08:03 +08:00
Angus Gratton
addabc392d
Merge branch 'bugfix/ldgen_unicode_path_v4.2' into 'release/v4.2'
...
tools/ldgen: Parse paths with Unicode characters in archives & fix parsing of section names on Windows (v4.2)
See merge request espressif/esp-idf!10964
2020-12-08 09:07:47 +08:00
Angus Gratton
1591141237
Merge branch 'bugfix/err_to_name_paths_windows_v4.2' into 'release/v4.2'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v4.2)
See merge request espressif/esp-idf!10895
2020-12-08 09:06:59 +08:00
Angus Gratton
244922a3e3
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility
...
In Python 3.5 and 3.6 the equivalent to capture_output=True is to set stdout
and stderr arguments to subprocess.PIPE
2020-12-08 09:44:31 +11:00
Shivani Tipnis
4c533a1e53
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4
)
2020-11-30 22:44:52 +05:30
Angus Gratton
19bc67e146
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:27:12 +11:00
Anton Maklakov
eae8933b85
ci: use the retry script to download
2020-11-16 11:30:47 +07:00
Roland Dobai
707dde46a8
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:46:03 +01:00
Roland Dobai
c09d3c6bac
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-29 08:46:03 +01:00
Chen Yu Dong
f12808533d
ci: move auto_test_script to new repo (backport 4.2)
2020-10-24 09:24:38 +08:00
Marius Vikhammer
e05164cb4f
CI: Only run check_doc_links if we actually deployed
...
Update the check_doc_links job run conditions to match
github/doc deploy as a lot of the links link to github files.
2020-10-22 18:26:46 +08:00
Marius Vikhammer
978b54796f
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:17:19 +08:00
Angus Gratton
a88c479160
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:11:39 +11:00
Angus Gratton
2a7dfb2320
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:11:39 +11:00
Angus Gratton
292e396846
Merge branch 'bugfix/spi_flash_yield_coredump_v4.2' into 'release/v4.2'
...
spi_flash: don't call vTaskDelay in non-os context (v4.2)
See merge request espressif/esp-idf!10297
2020-10-15 15:10:51 +08:00
Ivan Grokhotkov
7d8d2b982e
Merge branch 'feature/oocd_ver_backport_v4.2' into 'release/v4.2'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v4.2)
See merge request espressif/esp-idf!8971
2020-10-15 02:55:08 +08:00
Ivan Grokhotkov
4b5146a4ad
test_apps: add build test for !CONFIG_SPI_FLASH_YIELD_DURING_ERASE
2020-10-14 02:42:46 +00:00
Ivan Grokhotkov
7092be7422
test_apps: add coredump tests for int_wdt
2020-10-14 02:42:46 +00:00
Angus Gratton
805a4d9b3f
Merge branch 'bugfix/prov_retry_failures_v4.2' into 'release/v4.2'
...
ci: Add retries for all provisioning methods, some refactors (v4.2)
See merge request espressif/esp-idf!9387
2020-10-14 10:41:42 +08:00
Angus Gratton
8c7a8f146b
Merge branch 'bugfix/embed_file_symbol_names_v4.2' into 'release/v4.2'
...
cmake: fix C identifier generation from embedded file (v4.2)
See merge request espressif/esp-idf!10664
2020-10-14 10:41:12 +08:00
Martin Stejskal
304ed67982
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-10-13 16:12:21 +00:00
David Cermak
09714a4f11
ci: add job for unit tests
2020-10-12 16:25:17 +02:00
David Cermak
f871186da3
idf.py: Fixed gdb target to exit cleanly when no openocd watch task
...
When idf.py gdb starts, it expects openocd was started in the background
and creates a thread to watch for openocd errors. when gdb target exits,
the debug_ext.py aims to cleanup all threads and processes, but fails
with traceback if openocd-watch thread not available, which could happen
if openocd started separately.
2020-10-12 13:30:15 +02:00
Krzysztof
e5d252f7cf
Increase count of parallel jobs to get UT_001 run through CI
2020-10-12 15:13:28 +08:00
Angus Gratton
e849a77675
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.2' into 'release/v4.2'
...
CI: get git describe from annotated tags (v4.2)
See merge request espressif/esp-idf!10673
2020-10-08 16:44:55 +08:00
Angus Gratton
16ed6a4574
Merge branch 'feature/switch_from_external_to_interanl_ram_v4.2' into 'release/v4.2'
...
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack (v4.2)
See merge request espressif/esp-idf!9966
2020-10-08 11:22:55 +08:00
Angus Gratton
144f459c81
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:58:21 +11:00
Angus Gratton
2e469b52ae
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:58:21 +11:00
He Yin Ling
fcda778a11
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:32:25 +08:00
Renz Bagaporo
d41f856576
cmake: fix C identifier generation from embedded file
2020-09-28 21:08:56 +08:00
Michael (XIAO Xufeng)
847a697c93
Driver(dac): fix DAC-DMA driver and unit test
2020-09-28 19:35:07 +08:00
Angus Gratton
314960ae31
Merge branch 'bugfix/window_spill_a0_corruption_v4.2' into 'release/v4.2'
...
freertos: don't clobber a4 while spilling register windows (backport v4.2)
See merge request espressif/esp-idf!10305
2020-09-28 09:15:14 +08:00
Krzysztof Budzynski
81bbc8c88d
Merge branch 'doc/esp32s2_jtag_guide_v4.2' into 'release/v4.2'
...
docs: update JTAG debugging guide for ESP32-S2 (backport v4.2)
See merge request espressif/esp-idf!10311
2020-09-27 14:37:40 +08:00
Ivan Grokhotkov
60e4c02963
ci: add unit test job
2020-09-25 16:29:58 +00:00
Angus Gratton
e610df5870
Merge branch 'bugfix/esp32s2_panic_handler_iram_v4.2' into 'release/v4.2'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2 (v4.2)
See merge request espressif/esp-idf!10295
2020-09-25 07:40:06 +08:00
Angus Gratton
3b400767f3
Merge branch 'bugfix/idf_py_disable_cmake_warnings_default_v4.2' into 'release/v4.2'
...
idf.py: disable cmake uninitialized variable warnings by default (v4.2)
See merge request espressif/esp-idf!10201
2020-09-25 07:32:22 +08:00
Angus Gratton
4ffe6c096a
Merge branch 'bugfix/esp32s2_o2_op_v4.2' into 'release/v4.2'
...
freertos: fix build error at -O2 optimization level (v4.2)
See merge request espressif/esp-idf!10301
2020-09-25 07:31:58 +08:00
Angus Gratton
f536db1782
Merge branch 'feature/secure_boot_esp32s2_v4.2' into 'release/v4.2'
...
Feature/secure boot esp32s2 v4.2
See merge request espressif/esp-idf!9958
2020-09-25 07:31:45 +08:00
Angus Gratton
722d67ea36
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-09-24 05:20:33 +00:00
Marius Vikhammer
190f310ed1
docs: seperate build_docs html and pdf CI jobs
...
Due to eager_exclude, Sphinx jobs cannot use the doc cache (doctrees).
PDF and HTML building are now seperate CI jobs to avoid this issue.
PDF building will only be ran on deploy branches and when started
with build_docs tag to reduce CI load
2020-09-22 14:04:12 +08:00
Ivan Grokhotkov
8749c46284
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-09-18 15:35:48 +00:00
Anton Maklakov
88a62e8ae5
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;
2020-09-18 12:32:34 +07:00
Angus Gratton
83ec35f185
tool: Fix 'idf.py bootloader' error if Secure Boot is enabled
...
If Secure Boot is enabled, there's no bootloader flasher arguments in the
project (to encourage careful manual flashing), so this command would
fail with a KeyError.
2020-09-18 04:05:28 +05:30
Angus Gratton
d72350c0ce
ci: Add test apps for ESP32-S2 Secure Boot
2020-09-15 11:23:51 +05:30
Supreet Deshpande
e7b1640c77
Split unit test configs to fit into ESP32s2's memory
2020-09-15 11:23:51 +05:30
Sergei Silnov
ef0db6f034
ci: Use git mirror for docker image
2020-09-14 12:49:05 +02:00
Roland Dobai
d212c4673d
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:45:37 +02:00
Ivan Grokhotkov
964f041269
tools: idf.py: default to board/esp32s2-kaluga-1.cfg for ESP32-S2
...
NFC. Kaluga-1 config is same as devkitj + esp32s2.
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
acfe648367
ci: add startup test with -O2 optimization level
2020-09-04 21:33:49 +02:00
Ivan Grokhotkov
c3d2942675
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-09-04 20:45:38 +02:00
Shivani Tipnis
e42742891e
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:52:33 +05:30
KonstantinKondrashov
94597fc8e3
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-08-10 09:41:35 +00:00
Darian Leung
e6db25af9d
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-07-30 22:09:39 +08:00
Marius Vikhammer
b081292e8e
build_docs: fix incorrect arguments for linkcheck
2020-07-27 15:14:59 +08:00
Alexey Gerenkov
16eeb3b432
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-22 23:15:40 +03:00
martin.gano
5feeb744e1
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba
)
2020-07-22 11:23:12 +02:00
He Yin Ling
b3692aba5e
CI: do not run cases likely to fail
2020-07-19 14:52:57 +08:00
He Yin Ling
468bd6f854
CI: disable cases with test env SSC_T5_1
2020-07-19 14:52:57 +08:00
He Yin Ling
9d215de21d
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 14:52:56 +08:00
Fu Hanxi
a73b0c3eb6
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
2020-07-15 16:54:03 +08:00
Angus Gratton
89fa339732
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-07-09 04:56:44 +00:00
Angus Gratton
de17289461
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-07-09 04:56:44 +00:00
Angus Gratton
6d5dc5def3
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-07-09 04:56:44 +00:00
Angus Gratton
130c97ad69
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-09 04:56:44 +00:00
Angus Gratton
ae586deeeb
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-09 04:56:44 +00:00
Anton Maklakov
59541071fb
Merge branch 'bugfix/gen_crt_py3_utf_v4.2' into 'release/v4.2'
...
Fixes issues encoding issues python3 scripts for unicode chars (v4.2)
See merge request espressif/esp-idf!9174
2020-07-07 11:04:59 +08:00
Ivan Grokhotkov
9b21973363
Merge branch 'feature/msys2_env_update_v4.2' into 'release/v4.2'
...
windows: Update MSYS2 pre-compiled legacy build environment (v4.2)
See merge request espressif/esp-idf!9142
2020-07-06 15:14:45 +08:00
Ivan Grokhotkov
e8c8286387
Merge branch 'bugfix/check_python_deps_diagnostic_v4.2' into 'release/v4.2'
...
tools: fix diagnostic output in check_python_dependencies.py (backport v4.2)
See merge request espressif/esp-idf!9295
2020-06-26 21:16:55 +08:00
Angus Gratton
24d455f826
Merge branch 'feature/pyc_clean_v4.2' into 'release/v4.2'
...
tools/idf.py: Clean Python bytecode files (v4.2)
See merge request espressif/esp-idf!9262
2020-06-24 12:30:15 +08:00
Ivan Grokhotkov
387dfd977a
tools: fix diagnostic output in check_python_dependencies.py
...
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:
Traceback (most recent call last):
File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType
and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-23 16:32:47 +02:00
Roland Dobai
647d01dbc6
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-23 15:21:44 +02:00
Roland Dobai
1c49cf1a09
tools/idf.py: Clean Python bytecode files
2020-06-22 10:23:59 +02:00
Marius Vikhammer
1d1e4497ba
ci: fix find_build_apps.py failure with py3 due to non ascii chars
...
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-15 15:20:43 +08:00
Marius Vikhammer
1531f2db2a
ci: fix check_public_headers.py failure with python3 due to non ascii chars
...
check_public_headers.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
Also fixes error handling issues, as any uncaught exeception would cause the program
to run indefinitely.
2020-06-15 15:20:43 +08:00
Angus Gratton
9b62609499
msys2: Remove python version consideration in pacman commands
2020-06-12 10:20:03 +10:00
Angus Gratton
d15e9c0710
Merge branch 'bugfix/no_pyc_files' into 'master'
...
tools: Don't generate pyc files
See merge request espressif/esp-idf!8815
2020-05-29 14:07:24 +08:00
Angus Gratton
59f29cbca8
Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
...
Add RTC Fast Memory to Dynamic Memory Pool
See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +08:00
Angus Gratton
7cbdc3ea66
Merge branch 'bugfix/ci_push_to_github_on_label' into 'master'
...
ci: Don't push to Github or deploy docs on customized pipelines
See merge request espressif/esp-idf!8870
2020-05-29 12:43:00 +08:00
Ivan Grokhotkov
4e70efac64
Merge branch 'bugfix/missing_doc_preview_comment' into 'master'
...
add some prefix for doc urls to make BOT recognize the preview doc url
See merge request espressif/esp-idf!8554
2020-05-29 04:50:25 +08:00
Ivan Grokhotkov
ac686ccd00
Merge branch 'feature/make_support_in_find_build_apps' into 'master'
...
ci: make supported in find_apps/build_apps
Closes IDF-1587
See merge request espressif/esp-idf!8429
2020-05-29 04:48:30 +08:00
jiangguangming
92eae20bca
add new config items for spiflash ci unit-test
2020-05-26 15:23:38 +08:00
Angus Gratton
042a433678
Merge branch 'test/print_leak_delta' into 'master'
...
unit test: Always print the free memory delta after the test
See merge request espressif/esp-idf!8876
2020-05-25 15:25:52 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Anton Maklakov
aa25b169f7
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-05-25 10:27:05 +07:00
Fu Hanxi
da9ca49093
fix after rebase
2020-05-22 19:08:02 +08:00
Fu Hanxi
c35b010a3f
improve regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
961a8cf85e
remove artifact config in ci.
2020-05-22 19:08:02 +08:00
Fu Hanxi
701b496621
some filename includes "error". so update the regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e
make supported in find_apps/build_apps
2020-05-22 19:08:02 +08:00
Angus Gratton
eb4ac07c96
unit test: Always print the free memory delta after the test
...
Prevents situations where the leak threshold is low and the
value slowly creeps up to be close to it, without developer
noticing.
2020-05-22 18:39:43 +10:00
Angus Gratton
469b7bc4cf
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-22 15:04:39 +10:00
Roland Dobai
270d8b468a
tools: Don't generate pyc files
2020-05-20 12:07:51 +02:00
morris
fef40fdb72
ci: do fetch submodules for python lint
2020-05-20 10:50:10 +08:00
morris
d003f96a9d
gh_action: fix python lint
2020-05-20 10:50:10 +08:00
Roland Dobai
5f024e1cd4
Add protocol example tests
2020-05-19 12:17:32 +02:00
Angus Gratton
88d76d805a
Merge branch 'bugfix/idf_build_process_default' into 'master'
...
cmake: fix issue with setting defaults in idf_build_process
Closes IDFGH-3027
See merge request espressif/esp-idf!8537
2020-05-19 11:29:29 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
Ivan Grokhotkov
514596cb81
Merge branch 'feature/idf_py_replace_run_with_call' into 'master'
...
tools: idf.py: replace the "run" method of Task with the magic "__call__" method
See merge request espressif/esp-idf!8763
2020-05-18 15:22:04 +08:00
Ivan Grokhotkov
3a6b8bb6e3
Merge branch 'bugfix/idf_py_double_loading_of_idf_ext' into 'master'
...
tools: idf.py: Don't load idf_ext.py in project folder twice
See merge request espressif/esp-idf!8764
2020-05-18 15:21:53 +08:00
Angus Gratton
0e4cd93ee9
Merge branch 'bugfix/kconfig_hex_values' into 'master'
...
kconfig: Fix two cases of hex values being handled incorrectly
Closes VSC-292
See merge request espressif/esp-idf!8372
2020-05-18 14:57:46 +08:00
Brian Pugh
8ed7fe3e3d
tools/idf.py: replace the "run" method of Task with the magic "__call__" method
...
Merges https://github.com/espressif/esp-idf/pull/5279
2020-05-15 19:44:07 +02:00
Brian Pugh
fa3d9573ce
tools/idf.py: prevent reloading duplicate extension paths. Do not load cwd if IDF_EXTRA_ACTIONS_PATH is not set.
...
Merges https://github.com/espressif/esp-idf/pull/5278
2020-05-15 19:39:36 +02:00
Renz Christian Bagaporo
13cd832b0c
ci: pushd and cd in one go in idf_build_process defaults test
2020-05-14 14:59:26 +00:00
Renz Bagaporo
740819529b
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-05-14 14:59:26 +00:00
Renz Bagaporo
0f6308d69c
ci: test idf_build_process defaults set properly
2020-05-14 14:59:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
Angus Gratton
48399d3ce0
Merge branch 'bugfix/idf_py_actions_fix_spelling' into 'master'
...
tool: Fix spelling in core_ext.py
Closes IDFGH-3126
See merge request espressif/esp-idf!8718
2020-05-13 16:17:40 +08:00
Scott Shawcroft
8c4dc88d27
tool: Fix spelling in core_ext.py
...
Closes: https://github.com/espressif/esp-idf/pull/5145
2020-05-13 14:50:43 +08:00
Ivan Grokhotkov
418b68a197
test_apps: add panic test
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
a63f65dd6f
ci: don't run build system tests on unit_test or custom_test labels
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
3fe4adc98d
ttfw: allow relative imports in test scripts
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
7d74cc4255
ttfw_idf: IDFApp: convert partition offset to int
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
952830ab12
ttfw_idf: IDFApp: add method to get SHA256(elf file)
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
26f6136a7d
ttfw: only send relevant DUT kwargs to serial.serial_for_url
2020-05-12 22:27:06 +02:00
Krzysztof Budzynski
08bd8bff7e
Merge branch 'docs/mass_mfg_update' into 'master'
...
Fix a typo according to DOC-158
See merge request espressif/esp-idf!8704
2020-05-12 18:36:35 +08:00
Wang Ning
5a28cc6ae3
Fix a typo according to DOC-158
2020-05-12 15:56:14 +08:00
Fu Hanxi
195eb883b4
Add idf_as_lib/build.sh to build_system_test
2020-05-07 10:09:54 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Ivan Grokhotkov
d73470a8a6
Merge branch 'bugfix/loadable_elf_fixes' into 'master'
...
cmake: loadable elf fixes
See merge request espressif/esp-idf!8603
2020-05-05 17:02:48 +08:00
Ivan Grokhotkov
8a4cc99d90
test_apps: don't download partition table in loadable elf test
2020-05-05 09:45:51 +02:00
Angus Gratton
9b5f25ae2c
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Angus Gratton
16e14104f7
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Ivan Grokhotkov
255dd63122
ci: add loadable ELF build system test
2020-05-04 19:15:43 +02:00
Ivan Grokhotkov
5e95bc1d21
test_apps: make it possible to run gdb_loadable_elf app locally
2020-05-04 19:10:06 +02:00
Ivan Grokhotkov
1449496fb0
Merge branch 'bugfix/check_python_dependencies_diag' into 'master'
...
tools/check_python_dependencies: print diagnostic info on failure
See merge request espressif/esp-idf!8376
2020-05-04 23:30:23 +08:00
Ivan Grokhotkov
17d60faf17
Merge branch 'bugfix/ci_missed_deprecated_options' into 'master'
...
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
See merge request espressif/esp-idf!8585
2020-05-04 15:55:24 +08:00
Ivan Grokhotkov
70aa22615c
Merge branch 'feature/ut_parallel_build' into 'master'
...
unit_test: ut parallel build
Closes IDF-1570
See merge request espressif/esp-idf!8338
2020-05-04 15:52:59 +08:00
Ivan Grokhotkov
039e0dc603
Merge branch 'feature/idf_size_autodetect_chip' into 'master'
...
tools: Autodetect the target of MAP files in idf_size.py
Closes IDF-1566
See merge request espressif/esp-idf!8424
2020-05-04 15:51:28 +08:00
Angus Gratton
f9552baf97
Merge branch 'feature/dfu_build_flash_s2' into 'master'
...
Add build system support for programming ESP32-S2 using DFU utils
Closes IDF-579
See merge request espressif/esp-idf!8294
2020-05-04 14:57:51 +08:00