Alexey Gerenkov
fb4fc7ab48
idf_tools: Adds 'linux-armhf' platform support
2021-11-19 11:25:00 +03:00
Alexey Gerenkov
db501ea0f2
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-19 11:24:48 +03:00
Tian Sen Wen
8999626545
esp_eth: optimize dm9051 Tx throughput
2021-11-11 14:41:58 +08:00
Anton Maklakov
9102574a9d
tools: Fix missed DLLs in GDB for Windows
2021-11-10 17:08:05 +07:00
simon.chupin
49add90a1b
change --archive_details output
2021-11-09 14:43:26 +01:00
jingli
04ac2b319a
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-09 19:51:35 +08:00
Roland Dobai
c652c1de0c
tools: Create the ".espressif" directory on the first run on clean system
...
Closes https://github.com/espressif/esp-idf/issues/7848
2021-11-09 12:03:08 +01:00
Marius Vikhammer
b57a1d7f48
ci: update docs preview url
2021-11-04 02:41:56 +00:00
simon.chupin
d4ea7df9b5
tools: fix bug with idf_size argument archive_details
2021-11-02 14:17:23 +01:00
xiewenxiang
5ff15a3895
component/bt: check the ble ext conn parameter
2021-11-02 15:32:13 +08:00
Isha Pardikar
98d34e5f6d
Merge branch 'wifi_prov_mgr_fix_v4.3' into 'release/v4.3'
...
Wifi_prov_mgr: Fix for ios device needs to do forget device (v4.3)
See merge request espressif/esp-idf!15484
2021-10-29 06:30:25 +00:00
Zim Kalinowski
534ca101e4
Merge branch 'refactor/systimer_reset_alternative_v4.3' into 'release/v4.3'
...
Systimer reset alternative on S2 (and others) (v4.3)
See merge request espressif/esp-idf!15652
2021-10-28 08:00:29 +00:00
Konstantin Kondrashov
fa85714845
Systimer reset alternative on S2 (and others) (v4.3)
2021-10-28 08:00:28 +00:00
Dmitry
8cb6baac6c
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-27 11:03:35 +08:00
Anton Maklakov
798b52af1d
Update toolchains to esp-2021r2
...
Updated GDB to 9.2 version for xtensa chips
Fixed coredump work for xtensa chips
Fixed backtrace for xtensa chips
Fixed multilib for riscv32 chips
Fixed running GDB on some RaspberryPi configuration for riscv32 chip
Fixed support of fnmatch(), iconv() and some other posix functions in stdlib
Closes https://github.com/espressif/esp-idf/issues/6124
Closes https://github.com/espressif/esp-idf/issues/2484
Closes https://github.com/espressif/esp-idf/issues/3264
Closes https://github.com/espressif/crosstool-NG/issues/13
Closes https://github.com/espressif/crosstool-NG/pull/16
2021-10-25 20:19:55 +07:00
Anton Maklakov
c0e96ceb34
test_apps/panic: remove workaround for incorrect GDB backtrace
2021-10-25 20:19:55 +07:00
Anton Maklakov
6e48d5bd6b
coredump: update test data for toolchain 2021r2
2021-10-25 20:19:52 +07:00
Anton Maklakov
a3ff680dff
Merge branch 'bugfix/tools_fix_win_c3_gdb_v4.3' into 'release/v4.3'
...
tools: Update ESP32-C3 toolchain for Windows, added some missed DLLs for GDB (backport v4.3)
See merge request espressif/esp-idf!14298
2021-10-25 13:07:29 +00:00
isha pardikar
7a0a6879e3
Wifi_prov_mgr:Fix for ios device needs to do forget device
2021-10-21 10:11:58 +05:30
Ivan Grokhotkov
60ad592a23
Merge branch 'bugfix/retry_download_submodule_v4.3' into 'release/v4.3'
...
ci: retry download from Gitlab on error 500 (v4.3)
See merge request espressif/esp-idf!15532
2021-10-15 17:01:28 +00:00
Michael (XIAO Xufeng)
61bd1eb225
Merge branch 'bugfix/xmc_overerase_v4.3' into 'release/v4.3'
...
bootloader: add xmc spi_flash startup flow to improve reliability (v4.3)
See merge request espressif/esp-idf!14768
2021-10-15 16:52:25 +00:00
Michael (XIAO Xufeng)
9645d8d015
ci: increase the job number of ESP32 unit test
2021-10-15 17:21:41 +08:00
Ivan Grokhotkov
f7d023383b
ci: revert type annotations in gitlab_api.py to python2 compatible
2021-10-15 10:57:08 +02:00
Ivan Grokhotkov
81e1277559
ci: retry Gitlab operations on error 500
2021-10-15 09:32:24 +07:00
Fu Hanxi
39528b1783
ci: retry download artifacts
2021-10-15 09:32:11 +07:00
Roland Dobai
d5699b08cc
Merge branch 'backport/v4.3/dockerfile_multiarch' into 'release/v4.3'
...
Dockerfile working on x64/ARM (v4.3)
See merge request espressif/esp-idf!15521
2021-10-14 21:14:48 +00:00
Tomas Sebestik
e1353a1a0e
Dockerfile working on x64/ARM
2021-10-14 13:03:35 +02:00
Cao Sen Miao
ce9e615679
Merge branch 'feature/esp32c3_usbjtagserial_v4.3' into 'release/v4.3'
...
usb_serial_jtag: support usb_serial_jtag on esp32c3(backport v4.3)
See merge request espressif/esp-idf!15319
2021-10-14 10:38:02 +00:00
David Čermák
1cddcd010c
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp_v4.3' into 'release/v4.3'
...
dhcpserver: support cplusplus (backport v4.3)
See merge request espressif/esp-idf!15448
2021-10-14 09:12:02 +00:00
Roland Dobai
82927f768b
Merge branch 'feat/lock_ldgen_order' into 'release/v4.3'
...
feature: lock ldgen entries order
See merge request espressif/esp-idf!15137
2021-10-13 16:04:39 +00:00
Fu Hanxi
404ee09181
feat: ldgen generate ld files with fixed order of entries
...
the frozenset order inside could be different
2021-10-13 17:40:55 +08:00
yuanjm
72cbfbf26a
ci: Remove public headers check exceptions for dhcp
2021-10-12 14:25:38 +08:00
Juraj Michálek
157c27e8cf
tools: remove dependency on Windows installer - backport
2021-10-11 12:18:16 +02:00
Jeroen Domburg
d6cdb3e0ae
usb_serial_jtag: support usb_serial_jtag on esp32c3
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-10-11 17:34:24 +08:00
Konstantin Kondrashov
1e8c0b7956
Merge branch 'feature/esp32c3_eco3_default_v4.3' into 'release/v4.3'
...
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3) (v4.3)
See merge request espressif/esp-idf!15341
2021-09-30 05:20:27 +00:00
Roland Dobai
2ccc45dd11
Merge branch 'bugfix/idf_size_nan_in_json_v4.3' into 'release/v4.3'
...
Tools: fix appearing NaN value when calling idf_size.py --json (v4.3)
See merge request espressif/esp-idf!15352
2021-09-27 12:36:57 +00:00
simon.chupin
70c29f9575
Tools: fix appearing NaN value when calling idf_size.py --json
2021-09-24 18:09:10 +02:00
Juraj Sadel
6a125fbafa
tools/idf_tools.py: Changed default AppData seeder to seeder pip
2021-09-24 14:21:34 +02:00
KonstantinKondrashov
2a635b6c63
unit-test-app/configs(esp32c3): CI sill uses ECO2 for flash_encryption tests
2021-09-24 17:49:30 +08:00
KonstantinKondrashov
2cc8fc907c
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
2021-09-24 17:49:30 +08:00
simon.chupin
7249a022e5
Tools: make idf_size work with overflow
...
Closes https://github.com/espressif/esp-idf/issues/6914
closes https://github.com/espressif/esp-idf/issues/4234
2021-09-21 18:03:32 +02:00
morris
eaebc58e61
ci: bump up s2 ut parallels
2021-09-17 11:18:18 +08:00
Jiang Jiang Jian
3908360e46
Merge branch 'feature/support_bss_in_psram_for_esp32s2_v4.3' into 'release/v4.3'
...
[system] Allow .bss segment placed in external memory for ESP32-S2 ( backport v4.3)
See merge request espressif/esp-idf!14946
2021-09-15 08:09:42 +00:00
Wu Zheng Hui
4fd6d3deae
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-09-15 16:09:33 +08:00
Konstantin Kondrashov
0d16e61d96
efuse: Fix len of SOFT_DIS_JTAG for esp32c3(v4.3)
2021-09-14 13:22:08 +08:00
Jakob Hasse
a6371d2a97
[nvs] nvs page host runs in CI, fix build failure
...
* nvs host page unit test now runs in ci
* fixed nvs host page unit test build failure
2021-09-10 13:02:51 +08:00
Ivan Grokhotkov
746f2e2d49
Merge branch 'bugfix/newlib_dirent_decls_4.3' into 'release/v4.3'
...
newlib: add C++ guards to the platform-specific dirent.h (backport 4.3)
See merge request espressif/esp-idf!14621
2021-09-09 18:46:58 +00:00
Mahavir Jain
94667365d3
Merge branch 'esp32c3/override_assert_v4.3' into 'release/v4.3'
...
newlib: Override __assert and __assert_func (v4.3)
See merge request espressif/esp-idf!14685
2021-09-09 13:24:01 +00:00
Roland Dobai
d121672808
CI: Fix idf_tools.py tests with the updated openocd version
2021-09-08 20:53:42 +03:00
Alexey Gerenkov
fcbcdf32d8
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-08 20:51:41 +03:00
Roland Dobai
9032828325
Merge branch 'bugfix/idf_size_wrong_memory_calculations_v4.3' into 'release/v4.3'
...
Tools: Fix memory calculations of idf_size.py (v4.3)
See merge request espressif/esp-idf!14933
2021-09-08 09:11:57 +00:00
Marius Vikhammer
e741161b2e
Merge branch 'bugfix/renable_unit_tests_v4.3' into 'release/v4.3'
...
ci: enable previously disabled unit tests (v4.3)
See merge request espressif/esp-idf!13775
2021-09-08 09:03:32 +00:00
Roland Dobai
26315f1c84
Merge branch 'feature/installing_tools_for_IDF_TARGET_v4.3' into 'release/v4.3'
...
tools: Installing tools for given IDF_TARGET (v4.3)
See merge request espressif/esp-idf!14708
2021-09-08 08:52:42 +00:00
Roland Dobai
e493a4c30e
Merge branch 'bugfix/xtensa_extra_info_register_values_v4.3' into 'release/v4.3'
...
espcoredump.py: Parse EPS and EPC register values using register index (v4.3)
See merge request espressif/esp-idf!14563
2021-09-08 08:36:09 +00:00
Sachin Parekh
cc9d354ba8
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-09-08 16:32:09 +08:00
He Yin Ling
2e74914051
versions: Update version to 4.3.1
2021-09-02 17:15:36 +08:00
He Yin Ling
f2490688dc
ci: temp disable code_quality_report job
2021-09-02 17:15:36 +08:00
simon.chupin
34ab97f081
Tools: Fix memory calculations of idf_size.py
2021-09-01 16:36:48 +02:00
Michael (XIAO Xufeng)
7716134457
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-09-01 16:36:47 +02:00
Marek Fiala
5639b6888d
tools: Installing tools for given IDF_TARGET
...
Allow user to select specific ESP_TARGET while setting up ESD_IDF.
Only necessary tools for given target will be downloaded and installed.
Closes https://github.com/espressif/esp-idf/issues/5113
2021-08-16 16:16:31 +02:00
Mahavir Jain
f06307c08d
tools/unit_test_app: fixes to build this application with Make build
2021-08-12 08:43:35 +05:30
Ivan Grokhotkov
03109eb013
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-08-03 13:53:34 +08:00
Shubham Patil
68095b46c4
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-30 15:35:02 +08:00
Anton Maklakov
983e0c7fb2
Merge branch 'bugfix/ttfw_fix_flush_index_error_v4.3' into 'release/v4.3'
...
test: TTFW fix flush index error (v4.3)
See merge request espressif/esp-idf!14260
2021-07-30 06:36:20 +00:00
Marius Vikhammer
0b8ed8d76e
ci: enable previously disabled unit tests
2021-07-29 09:29:29 +08:00
Ivan Grokhotkov
5adb8bd0d7
Merge branch 'bugfix/missing_extern_c_4.3' into 'release/v4.3'
...
[test_utils]: added extern C decl to ccomp (backport 4.3)
See merge request espressif/esp-idf!14326
2021-07-28 11:21:42 +00:00
Roland Dobai
89486da74e
CI: Debug GDB issues
2021-07-27 20:03:57 +02:00
David Čermák
4fd1479dc6
Merge branch 'bugfix/remove_unstable_network_tests_v4.3' into 'release/v4.3'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests (v4.3)
See merge request espressif/esp-idf!14425
2021-07-26 17:02:51 +00:00
Roland Dobai
ecd2c51e64
Merge branch 'ci/rename_test_log_path_v4.3' into 'release/v4.3'
...
CI: rename log path of IT jobs (v4.3)
See merge request espressif/esp-idf!14452
2021-07-22 13:20:52 +00:00
David Cermak
965423d532
CI: Prepare mqtt app test for QEMU tests
...
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-07-21 11:48:27 +02:00
David Cermak
91c93611e1
CI: Enable publish tests only when started from weekend pipeline
2021-07-21 11:48:27 +02:00
David Cermak
4373a89237
CI: Removed weekend network tests
...
Temporarily, before getting reworked and stable for running in the CI
2021-07-21 11:48:27 +02:00
David Cermak
6adaf783aa
CI/mqtt: Execute mqtt weekend tests from test apps
2021-07-21 11:48:20 +02:00
Anton Maklakov
3d7666562b
Merge branch 'ci/reduce_checK_docs_gh_link_v4.3' into 'release/v4.3'
...
ci: only run check_docs_gh_links job once per pipeline (v4.3)
See merge request espressif/esp-idf!14200
2021-07-21 08:33:35 +00:00
Roland Dobai
be3b44c92d
Merge branch 'bugfix/idf_tools_not_found_issue_v4.3' into 'release/v4.3'
...
tools: Catch OSError which is raised when the tool is not available (v4.3)
See merge request espressif/esp-idf!14133
2021-07-21 06:40:11 +00:00
He Yin Ling
bd4d591b79
CI: rename log path of IT jobs
2021-07-21 10:17:45 +08:00
David Cermak
f7169ed063
mqtt: Moved weekend tests to test apps
2021-07-19 15:05:58 +02:00
Jakob Hasse
a2a7ea7012
[test_utils]: added extern C decl to ccomp
...
Closes https://github.com/espressif/esp-idf/issues/7121
2021-07-12 14:26:22 +08:00
Anton Maklakov
7443d7d274
tools: Update ESP32-C3 toolchain for Windows - add some missed DLLs for GDB
2021-07-08 13:00:55 +07:00
He Yin Ling
b8ca42400b
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-05 19:43:15 +08:00
He Yin Ling
ce279af00d
ttfw: full_stdout should not return data after pattern in expect
2021-07-05 19:43:14 +08:00
Marius Vikhammer
4de35f8e1e
ci: only run check_docs_gh_links job once per pipeline
...
Job simply walks all .rst files and check links. No need to
run for multiple targets/languages
2021-07-01 09:55:30 +08:00
Anton Maklakov
2365242391
tools: stop building if compiler is unsupported
2021-06-25 11:48:26 +07:00
Anton Maklakov
18e7da0285
ci: add debug artifacts for test_idf_tools
2021-06-25 11:48:26 +07:00
Anton Maklakov
b6c91daa68
Update toolchains to esp-2021r1
...
Adds ESP32-C3 support
Updates ESP32-S3 overlay
GDB 9.2 for ESP32-C3 with core dump support
Linker supports eh-frame-hdr for ESP32-C3
Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
Binutils 2.35.1
Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-25 11:48:25 +07:00
Anton Maklakov
39bf05467a
tools: fix parsing regex
2021-06-25 11:47:59 +07:00
Roland Dobai
f12d7c5835
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-24 09:14:50 +02:00
Ivan Grokhotkov
9175c9b706
Merge branch 'bugfix/idfpy_global_action_callbacks_order_v4.3' into 'release/v4.3'
...
idf.py: Run global_action_callbacks in predictable order (v4.3)
See merge request espressif/esp-idf!13681
2021-06-23 13:28:21 +00:00
Angus Gratton
b2d728075d
Merge branch 'bugfix/esp_partition_get_sha256_v4.3' into 'release/v4.3'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on (v4.3)
See merge request espressif/esp-idf!13665
2021-06-23 12:45:55 +00:00
Ivan Grokhotkov
b67e388281
Merge branch 'feature/prevent_unwind_code_linking_4.3' into 'release/v4.3'
...
[C++]: prevent unwind code linking (backport 4.3)
See merge request espressif/esp-idf!13800
2021-06-23 08:32:17 +00:00
Ivan Grokhotkov
a79a8e4215
Merge branch 'bugfix/failing_python_wheels_download_v4.3' into 'release/v4.3'
...
Tools: Remove dependency on idf-python and idf-python-wheels (v4.3)
See merge request espressif/esp-idf!13221
2021-06-23 08:12:18 +00:00
Ivan Grokhotkov
e080f43245
Merge branch 'bugfix/dfu_split_large_bins_v4.3' into 'release/v4.3'
...
tools: Split up large binaries into smaller chunks in the DFU binary (v4.3)
See merge request espressif/esp-idf!13793
2021-06-23 08:11:59 +00:00
Mahavir Jain
b007024c62
Merge branch 'bugfix/heap_tracing_build_issue_for_c3_v4.3' into 'release/v4.3'
...
heap: fix build issue with HEAP_TRACING config for C3 (v4.3)
See merge request espressif/esp-idf!14075
2021-06-23 03:45:39 +00:00
Anton Maklakov
6d708d50d9
Merge branch 'bugfix/ci_panic_test_timeout_v4.3' into 'release/v4.3'
...
ci panic test: Update the panic test timeout from 1s to 10s (v4.3)
See merge request espressif/esp-idf!14083
2021-06-22 02:50:47 +00:00
KonstantinKondrashov
2d439ba001
simple_ota_example: Adds sha256 check for app images
2021-06-22 08:30:43 +08:00
Angus Gratton
362c9234dc
Merge branch 'bugfix/fix_ld_relinking_on_modification_v4.3' into 'release/v4.3'
...
build: fix linker scripts edition not triggering a rebuild (backport v4.3)
See merge request espressif/esp-idf!13450
2021-06-22 00:29:11 +00:00
Angus Gratton
9f6e09d0d3
Merge branch 'bugfix/flash_rodata_any_alignement_v4.3' into 'release/v4.3'
...
build: Fix cache issue and add dedicated section for (Custom) App version info (backport v4.3)
See merge request espressif/esp-idf!13448
2021-06-22 00:23:49 +00:00
Angus Gratton
fafaeb195c
ci panic test: Update the panic test timeout from 3s to 10s
...
If it takes longer than 10s to respond, it's probably not because of the
runner...
2021-06-22 09:37:43 +10:00
Angus Gratton
c5fc90f579
ci: Extend timeout for initial gdbstub commands in panic tests
...
Theory is that on the runner, in rare cases, gdb may need more than
1 second to load and start responding to commands.
However it's possible these timeouts are due to some other problem
(like gdb failing)
2021-06-22 09:37:29 +10:00
Juraj Michálek
e55985335d
tools: remove dependency of idf-python and idf-python-wheels
...
Closes IDFGH-5097
Closes https://github.com/espressif/esp-idf/issues/6881
2021-06-21 11:29:17 +02:00
Mahavir Jain
1c0fb793b4
test_apps: add HEAP_TRACING configuration to build tests
2021-06-21 14:40:07 +05:30
Ivan Grokhotkov
84e4127f0c
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
...
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-06-18 14:38:43 +02:00
He Yin Ling
cb8d4585b2
Merge branch 'test/support_multiple_targets_for_iperf_example_test_v4.3' into 'release/v4.3'
...
test: support multiple targets for iperf example test (v4.3)
See merge request espressif/esp-idf!13617
2021-06-17 03:48:12 +00:00
He Yin Ling
850d8170f5
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v4.3' into 'release/v4.3'
...
ttfw: fix DUT exception not added to junit report (v4.3)
See merge request espressif/esp-idf!13611
2021-06-17 03:36:02 +00:00
Angus Gratton
f40f6b4bb1
Merge branch 'bugfix/ci_ble_wifi_example_test_v4.3' into 'release/v4.3'
...
Fix for ble and wifi example test (v4.3)
See merge request espressif/esp-idf!13802
2021-06-16 23:24:50 +00:00
Angus Gratton
fdec7348e2
Merge branch 'bugfix/override_cmake_python_v4.3' into 'release/v4.3'
...
cmake: Minor Python CMake build fixes (v4.3)
See merge request espressif/esp-idf!13191
2021-06-16 08:48:59 +00:00
Angus Gratton
d8966087b1
Merge branch 'ci/unify_all_target_test_artifacts_paths_v4.3' into 'release/v4.3'
...
ci: unify target test artifacts to all .log file and $LOG_PATH (v4.3)
See merge request espressif/esp-idf!13846
2021-06-16 04:25:36 +00:00
Krzysztof Budzynski
e660e32a6e
Merge branch 'bugfix/check_readme_links_no_exception_v4.3' into 'release/v4.3'
...
check_readme_links: remove throwing of exception before exit (v4.3)
See merge request espressif/esp-idf!13345
2021-06-16 02:59:28 +00:00
He Yin Ling
528d162da5
ttfw: fix DUT exception not added to junit report
2021-06-16 09:50:09 +08:00
He Yin Ling
6fe2da9f89
ci: save built binaries could be tested locally:
...
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-06-16 09:49:23 +08:00
Sergei Silnov
cde3860d21
Run global_action_callbacks in predictable order
2021-06-04 15:56:41 +00:00
Fu Hanxi
b53d874dac
ci: unify target test artifacts to all .log file and $LOG_PATH
2021-06-03 15:21:56 +08:00
Shivani Tipnis
1c875e5baa
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
...
(cherry picked from commit 2d22374460
)
2021-06-01 12:27:04 +05:30
Jakob Hasse
d376c161aa
[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 13:46:50 +08:00
Roland Dobai
b66b98a25f
tools: Split up large binaries into smaller chunks in the DFU binary
...
ROM will erase the region a partition is in as soon as it receives the
first bit of the data that is in the partition. For large partitions it
takes more than 5 seconds to erase which is a hard-coded limit in
dfu-utils.
This splits large binaries and adds them by chunks which should avoid
timing-out during flashing.
Closes https://github.com/espressif/esp-idf/issues/6999
2021-05-31 19:25:00 +02:00
Marius Vikhammer
8efb2bb1ed
ci: run Example_GENERIC for C3
...
Add support for running example_GENERIC tests for C3 on label.
Fix examples that fail.
2021-05-20 14:32:47 +10:00
Angus Gratton
acb05c21d9
Merge branch 'feature/installed_tool_failed_v4.3' into 'release/v4.3'
...
tools: Warning about tool being installed but failed to run. (v4.3)
See merge request espressif/esp-idf!13230
2021-05-14 01:43:37 +00:00
Angus Gratton
93aee41c29
Merge branch 'bugfix/setjmp_longjmp_4.3' into 'release/v4.3'
...
[system]: Made longjmp save for context switch (backport 4.3)
See merge request espressif/esp-idf!13489
2021-05-14 01:40:17 +00:00
Michael (XIAO Xufeng)
f00db86668
Merge branch 'bugfix/remove_spi_flash_qio_s2_cfg_v4.3' into 'release/v4.3'
...
ci: remove spi_flash_qio_s2 config (v4.3)
See merge request espressif/esp-idf!12991
2021-05-13 11:41:27 +00:00
Marius Vikhammer
36d7af5200
check_readme_links: remove throwing of exception before exit
...
Reraising the exception before exiting was intended to help troubleshoot,
but turned out to be more confusing than helpful as it might look like the script was failing
2021-05-13 12:40:00 +08:00
Jiang Jiang Jian
410a0a5f5a
Merge branch 'ci/wildcard_known_failure_cases_v4.3' into 'release/v4.3'
...
ci: allow wildcard in known failure cases (v4.3)
See merge request espressif/esp-idf!13303
2021-05-13 04:19:41 +00:00
Jiang Jiang Jian
7478d96228
Merge branch 'bugfix/gdbgui_v4.3' into 'release/v4.3'
...
tools: Add various fixes for idf.py gdbgui (v4.3)
See merge request espressif/esp-idf!13416
2021-05-13 04:18:51 +00:00
Jiang Jiang Jian
08c5b89096
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v4.3' into 'release/v4.3'
...
tools: handle exception in case of logging Unicode characters (v4.3)
See merge request espressif/esp-idf!13041
2021-05-13 04:14:40 +00:00
Marius Vikhammer
42657a7464
ci: remove spi_flash_qio_s2 config
...
This config is already run for all targets in spi_flash_qio config
2021-05-12 17:20:00 +08:00
Jakob Hasse
a37c20b417
[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-11 12:04:27 +08:00
Alexey Gerenkov
fd5d6db71e
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-10 16:51:05 +00:00
Fu Hanxi
229fab87a5
ci: allow wildcard in known failure cases
2021-05-07 08:41:43 +00:00
Omar Chebib
831d470a75
build: fix linker scripts edition not triggering a rebuild
...
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-05-06 12:19:01 +08:00
Omar Chebib
375f969d43
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-05-06 11:40:57 +08:00
Angus Gratton
6c9005e11b
ut: Exclude test_utils component from default_2_c3 config
...
Theory is that the large alignments in this test component are triggering linker
bug (to be fixed in next toolchain update). This component is already tested
in a dedicated config, so it doesn't need to be included in this config.
2021-05-05 16:39:58 +10:00
Angus Gratton
4c974574d7
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-04 07:51:04 +00:00
Angus Gratton
6ee835f6ea
cmake: Set IDFTOOL variable using the correct PYTHON interpreter variable
2021-05-04 07:51:04 +00:00
Angus Gratton
69b740dc5e
cmake: Fix passing PYTHON path via CMake variable if using IDF as library
...
Closes https://github.com/espressif/esp-idf/issues/6285
2021-05-04 07:51:04 +00:00
Roland Dobai
2ecc8fad50
tools: Add various fixes for idf.py gdbgui
...
Closes https://github.com/espressif/esp-idf/issues/5968
2021-05-03 11:41:39 +02:00
Cao Sen Miao
ba1ce2ebd0
I2C: enable all unit test for i2c on esp32c3
2021-04-27 17:13:47 +08:00
Marek Fiala
f89f5b7f75
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 14:03:17 +02:00
Mahavir Jain
26139daaf5
Merge branch 'feature/adds_ota_example_test_check_sign_on_update_v4.3' into 'release/v4.3'
...
simple_ota_example: Adds config to test on_update_no_secure_boot option (v4.3)
See merge request espressif/esp-idf!13222
2021-04-23 08:57:46 +00:00
Mahavir Jain
f9831301ce
Merge branch 'bugfix/bootloader_min_revision_c3_v4.3' into 'release/v4.3'
...
Fix bootloader minimum revision check and print for ESP32-C3 (v4.3)
See merge request espressif/esp-idf!13263
2021-04-23 08:56:24 +00:00
KonstantinKondrashov
6e06d323b1
simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA)
2021-04-22 07:27:08 +00:00
Mahavir Jain
b24671e935
test_apps: increase partition table offset to fix build errors
2021-04-21 10:16:46 +05:30
Fu Hanxi
7d7ad29d5a
fix(ci): return as failed when no test case result generated
2021-04-20 17:16:02 +08:00
Fu Hanxi
905293a6c9
ci: add helper info for tests with no config
2021-04-20 17:16:02 +08:00
Fu Hanxi
662b6bb48a
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:19:43 +08:00
Martin Gaňo
891a17ea62
Fixed automatic connection in idf_monitor
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-04-13 15:08:15 +02:00
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
KonstantinKondrashov
10cce6b74a
unit-test-app(config): esp32c3 uses eco0 for UTs
2021-04-09 00:02:40 +08:00
Juraj Michálek
3b8c7bdf0b
tools: handle exception in case of logging Unicode characters
2021-04-06 19:16:15 +02:00
Michael (XIAO Xufeng)
1790aa6bc6
Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue_4.3' into 'release/v4.3'
...
spi: spi slv dual boad test slv fail issue (4.3)
See merge request espressif/esp-idf!12958
2021-03-30 17:16:33 +00:00
Armando
60d5dcb000
spi_slave: enable spi slave dual board test on esp32c3
2021-03-30 17:16:16 +08:00
Jiang Jiang Jian
736b87db6d
Merge branch 'ci/ignore_check_link_result_v4.3' into 'release/v4.3'
...
CI: ignore result from check_doc_links (v4.3)
See merge request espressif/esp-idf!12782
2021-03-30 03:11:00 +00:00
Jiang Jiang Jian
c2eaa3d844
Merge branch 'bugfix/esp32c3_gdbinit_v4.3' into 'release/v4.3'
...
.gdbinit generation fix (ESP32C3) (v4.3)
See merge request espressif/esp-idf!12750
2021-03-30 03:10:22 +00:00
Roland Dobai
c93211db62
tools: Reinstall virtualenv if it is broken
...
Closes https://github.com/espressif/esp-idf/issues/6656
2021-03-29 15:05:42 +02:00
Martin Vychodil
974f345316
* fixed generation of .gdbinit file (esp32c3 dbg issue)
2021-03-24 11:39:30 +00:00
Jiang Jiang Jian
48890daab1
Merge branch 'bugfix/idf_size_total_size_without_bss_v4.3' into 'release/v4.3'
...
tools: Don't count BSS into the total image size (v4.3)
See merge request espressif/esp-idf!12575
2021-03-24 08:12:27 +00:00
Marius Vikhammer
f5f7d21c83
CI: ignore result from check_doc_links
...
check_doc_links will always fail due to:
* No rate limitation for requests
* Not being able to handle github links with anchors
2021-03-18 13:15:24 +08:00
Angus Gratton
4d80dd1238
Merge branch 'bugfix/c++_usage_esp_core_dump_h_v4.3' into 'release/v4.3'
...
Fixed c++ include usage for esp_core_dump.h (backport v4.3)
See merge request espressif/esp-idf!12677
2021-03-12 04:01:42 +00:00
0xFEEDC0DE64
22a8fe5b6f
Removed esp_core_dump.h from check_public_headers_exceptions.txt (as per @igrr 's request
2021-03-10 12:04:48 +08:00
Marius Vikhammer
fb82bdb9da
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-02 15:00:56 +08:00
Roland Dobai
f3be9976b9
tools: Don't count BSS into the total image size
2021-03-01 14:39:32 +01:00
Michael (XIAO Xufeng)
78314df2a5
Merge branch 'feature/enable_c3_ut_v4.3' into 'release/v4.3'
...
CI: run C3 unit test on protected branches
See merge request espressif/esp-idf!12416
2021-03-01 02:10:51 +00:00
Angus Gratton
5aabdd8abf
Merge branch 'bugfix/eclipse_make_decode_v4.3' into 'release/v4.3'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v4.3)
See merge request espressif/esp-idf!12357
2021-02-25 07:17:28 +00:00
Angus Gratton
8e187e7157
Merge branch 'bugfix/c3_unit_test_cleanup_v4.3' into 'release/v4.3'
...
System: C3 shared stack watchpoint & unit test cleanups (v4.3)
See merge request espressif/esp-idf!12418
2021-02-24 22:51:11 +00:00
Marius Vikhammer
360e7c4d51
system: enable shared stack watchpoint
...
Enable shared stack watchpoint for overflow detection
Enable unit tests:
* "test printf using shared buffer stack" for C3
* "Test vTaskDelayUntil" for S2
* "UART can do poll()" for C3
2021-02-19 16:59:29 +08:00
Marius Vikhammer
a7a1e4dfba
CI: run C3 unit test on protected branches
2021-02-19 16:47:00 +08:00
Roland Dobai
33892aadb9
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 18:49:21 +01:00
Patryk Krzywdziński
ad669801ae
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:48:44 +01:00
Anton Maklakov
0bbc721a63
Merge branch 'bugfix/known_failure_cases_read_file_error' into 'master'
...
ci: bugfix: known failure cases cannot read files
See merge request espressif/esp-idf!12340
2021-02-10 12:27:23 +08:00
Fu Hanxi
4ffd458ddd
ci: bugfix: known failure cases cannot read files
2021-02-09 15:33:49 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1289918204
Merge branch 'refactor/ldgen_generation_changes' into 'master'
...
ldgen: internal data structure change
See merge request espressif/esp-idf!11494
2021-02-09 11:03:09 +08:00
Michael (XIAO Xufeng)
747ac00f9b
Merge branch 'bugfix/flash_encyption_80Mflash_40Mram' into 'master'
...
flash_encryption/psram: fixed the issue that block when flash_encryption_write
See merge request espressif/esp-idf!12177
2021-02-05 22:00:26 +08:00
Cao Sen Miao
3294547d27
ci: move freerom/sdmmc repo to psram3 for saving ram
2021-02-05 20:10:55 +08:00
Cao Sen Miao
c1b41ece32
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-02-05 20:10:42 +08:00
Michael (XIAO Xufeng)
423a5458dc
Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
...
spi_flash: add external flash support on esp32c3
Closes IDF-2650, IDF-2651, and IDF-2399
See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Michael (XIAO Xufeng)
fb678dd772
ci: increase target test job num
2021-02-05 15:03:16 +08:00
Renz Bagaporo
23590374b5
ldgen: add test app for placement sanity check
2021-02-05 10:20:37 +08:00
Renz Bagaporo
7f18c948dc
ldgen: refactor generation tests and description addition
2021-02-05 10:20:37 +08:00
Ivan Grokhotkov
ffa8c22c39
Merge branch 'feature/ut_perf_tests_disable_on_fpga' into 'master'
...
ut: Disable all performance test comparisons when running on FPGA
See merge request espressif/esp-idf!11415
2021-02-05 09:56:20 +08:00
ChenJianxing
dc350a9c7c
esp_wifi: support esp32c3 rom eco3
2021-02-04 18:28:06 +08:00
Cao Sen Miao
8020c46da7
spi_flash: enable ext flash unit-test on esp32c3
2021-02-04 14:44:50 +08:00
Renz Bagaporo
0142676cbf
ldgen: additional tests for generation support classes
2021-02-03 19:50:36 +08:00
Renz Bagaporo
a41a56b5b0
ldgen: refactor generation internals
2021-02-03 19:44:28 +08:00
Ivan Grokhotkov
4edaf134bb
Merge branch 'feature/loadable_elf_c3' into 'master'
...
build-system: add loadable elf support for ESP32-S2 and C3
Closes IDF-2137
See merge request espressif/esp-idf!12217
2021-02-03 19:40:34 +08:00
Angus Gratton
d54f0e40ba
Merge branch 'bugfix/unaligned_poisoned_memory' into 'master'
...
heap: fix unaligned memory bug when poisoning is enabled.
Closes IDF-2653
See merge request espressif/esp-idf!12132
2021-02-03 13:52:57 +08:00
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +08:00
Marius Vikhammer
fa7aa656d3
build-system: add loadable elf support for ESP32-S2 and C3
2021-02-02 17:21:39 +08:00
Krzysztof Budzynski
d2e6793582
Merge branch 'docs/c3_get_started' into 'master'
...
docs: inital doc update for C3
Closes IDF-2312, IDF-2314, IDF-2551, IDF-2611, and IDF-2317
See merge request espressif/esp-idf!11884
2021-02-02 14:18:23 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
Omar Chebib
c4dc3acba9
heap: add light poisoning configuration to the tests.
...
Relates to IDF-2653
2021-02-01 11:58:42 +08:00
Angus Gratton
8dbb14b469
system: Log a warning when booting bootloader or app configured for FPGA use
...
Such a firmware may appear to work on normal chip, but not everything will function as expected.
2021-02-01 14:24:38 +11:00
Anton Maklakov
af9add8dca
Merge branch 'bugfix/win_inst_build' into 'master'
...
bugfix: revert command for invoking iscc
See merge request espressif/esp-idf!12164
2021-01-29 13:01:41 +08:00
Ivan Grokhotkov
8b96dcb5ff
Merge branch 'bugfix/gdb_panic_server_py2.7' into 'master'
...
tools/gdb_panic_server.py: fix compatibility with python 2.7
See merge request espressif/esp-idf!12128
2021-01-29 08:34:48 +08:00
Ivan Grokhotkov
3dea56d15c
Merge branch 'feature/esp32c3_supported_target' into 'master'
...
tools/idf.py: promote esp32c3 from preview to supported targets
See merge request espressif/esp-idf!12129
2021-01-29 07:01:50 +08:00
Ivan Grokhotkov
11a0e1d9fc
Merge branch 'fix/ninja_1.10.2' into 'master'
...
tools: ninja: update to 1.10.2
Closes IDF-2216
See merge request espressif/esp-idf!12043
2021-01-29 06:50:15 +08:00
Mahavir Jain
80b196a662
unit-test-app: disable encrypted flash read/write in psram config to fix build failure
2021-01-28 12:19:21 +00:00
Ivan Grokhotkov
f3cef33791
tools/gdb_panic_server: wrap b"" with bytes() for py2.7 compatibility
...
Fixes the exception while decoding the stack dump:
File "tools/gdb_panic_server.py", line 270, in _respond_mem
result += "{:02x}".format(stack_data[addr - stack_addr_min])
ValueError: Unknown format code 'x' for object of type 'str'
2021-01-28 11:20:32 +01:00
Ivan Grokhotkov
e70d534566
tools/idf.py: promote esp32c3 from preview to supported target
2021-01-28 11:12:56 +01:00
Ivan Grokhotkov
9a20283485
Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
...
ci: bugfix: scan_test missing build apps without tests
See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Ivan Grokhotkov
0134fb5cf9
Merge branch 'feature/skip_known_failure_cases' into 'master'
...
CI: Ignore Known Failure Cases Result
Closes IDFCI-135 and IDF-1992
See merge request espressif/esp-idf!10866
2021-01-28 17:47:57 +08:00
Mahavir Jain
719aeacb4e
Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
...
Enable app_update tests for ESP32-C3
Closes IDF-2495
See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00