Wykres commitów

2246 Commity (f0b0418ed412c94114f0ed9176494f3e2c19a9a9)

Autor SHA1 Wiadomość Data
jiangguangming 867255bbab efuse: Add support ESP32-C3
Updated:
- CSV eFuse table
- Kconfig
- efuse_table_gen.py
- UTs
- espefuse.py

efuse/c3: Fix the burn order of BLOCKs (MAX->0)

efuse/c3: Support efuse API with keys, protection, purpose bits

tool/ci: Adds test_efuse_table_on_host for esp32s3 and esp32c3
2020-12-23 18:39:18 +08:00
Omar Chebib 05f97542b8 ci: use "encrypted" information in flasher_args.json
Take into account the new field "encrypted" that is part of the
partition entries in flasher_args.json file
Closes IDF-2231
2020-12-23 18:16:17 +08:00
Angus Gratton 705d797b41 Merge branch 'feature/esp32c3_drivers' into 'master'
driver: Add esp32c3

Closes IDF-2363

See merge request espressif/esp-idf!11650
2020-12-23 08:43:31 +08:00
Angus Gratton bcf34cce09 Merge branch 'feature/esp32c3_idf_monitor_backtrace' into 'master'
tools: decode esp32c3 stack dumps in idf_monitor.py

See merge request espressif/esp-idf!11713
2020-12-23 07:51:26 +08:00
Angus Gratton 27a9cf861e driver: Add esp32c3 drivers (except ADC/DAC) and update tests
Some ESP32-C3 drivers are still pending.

Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Ivan Grokhotkov 8f3a3181e6 tools: decode esp32c3 stack dumps in idf_monitor.py
This follows a similar approach as UART core dump handling in
idf_monitor. Panic handler message is detected in the output,
collected into a file, and the file is passed to the decoding script.
In this case, the decoding script acts as a tiny GDB server, so we
can ask GDB to perform the backtrace.
2020-12-22 20:02:48 +11:00
Angus Gratton 772bb2a380 test_utils: Remove debug code, disable ccomp internal tests for C3 2020-12-22 19:57:27 +11:00
Marius Vikhammer 0a95151a75 unit_test: Refactor all performance tests that rely on cache compensated timer
There is no ccomp timer on C3, which means our performance tests will start
failing again due to variance caused by cache misses.

This MR adds TEST_PERFORMANCE_CCOMP_ macro that will only fail
performance test if CCOMP timer is supported on the target
2020-12-22 18:56:24 +11:00
Fu Hanxi 046b054a96 CI: bugfix: example_001a missing junit report 2020-12-22 15:04:20 +08:00
Mahavir Jain 8d7c9d9883
test_apps: add build test case for RTC GPIO descriptor configuration 2020-12-21 13:57:07 +05:30
Ivan Grokhotkov 84dea34550 Merge branch 'bugfix/fix_some_ut_test_result_not_uploaded_to_jira' into 'master'
test: fix some unit test results not uploaded to Jira:

Closes IDFCI-130

See merge request espressif/esp-idf!10678
2020-12-17 23:53:43 +08:00
Angus Gratton 289a643896 Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion' into 'master'
cmake: set IDF_VERSION_* variables at requirement expansion stage

Closes IDF-2509

See merge request espressif/esp-idf!11637
2020-12-17 12:19:36 +08:00
Ivan Grokhotkov 792dc6ebb8 Merge branch 'feature/linux_target' into 'master'
build system: Add Linux target

Closes IDF-2145

See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
He Yin Ling a4fab9c67f test: fix some unit test results not uploaded to Jira:
`UnitTestParser.py` will strip unit case config name when generate test
ID. But in `unit_test.py` we didn't do this. It makes the test ID in 2
stages are different. Now we will add this step to `unit_test.py`.
2020-12-15 21:36:27 +00:00
Ivan Grokhotkov 19498791a5 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.
2020-12-15 20:53:19 +01:00
Ivan Grokhotkov d4a6c911e4 Merge branch 'bugfix/menuconfig_module' into 'master'
tools: Invoke menuconfig as named module

Closes IDFGH-4417

See merge request espressif/esp-idf!11588
2020-12-16 00:33:35 +08:00
Ivan Grokhotkov e400a1f5b0 Merge branch 'feature/panic_test_multi_target_support' into 'master'
CI: Add multi-target support for panic test

See merge request espressif/esp-idf!11451
2020-12-16 00:01:11 +08:00
Fu Hanxi 0f96b70294 ci: add esp32s2 support for panic test 2020-12-15 17:57:21 +08:00
Ivan Grokhotkov e32885d699 tools/test_apps: run tests which don't need JTAG on Example_GENERIC 2020-12-15 17:56:53 +08:00
Fu Hanxi eda42035d2 scan test: bugfix: now can build multi target for one app 2020-12-15 17:56:53 +08:00
Fu Hanxi 3a88626ec3 search case: print target as well 2020-12-15 17:56:53 +08:00
Fu Hanxi 2547670477 Add esp32s2 support for panic test, run as default 2020-12-15 17:56:53 +08:00
Fu Hanxi a5bcaea9cc use "additional_duts" to overwrite dut class for different targets 2020-12-15 17:55:54 +08:00
Anton Maklakov cfcc18719d ci: Ignore Python 2 deprecation warning 2020-12-15 12:24:50 +07:00
Fu Hanxi fcabbe5f33 Add Linux support for find_apps and build_apps 2020-12-14 18:57:54 +08:00
Jakob Hasse c233ce0449 spi_flash: mocking should be possible now
The following three headers will be mockes:
* esp_flash.h
* esp_spi_flash.h
* esp_partition.h
* counter functions live in own header
* add spi_flash sim dir for esp_err.h to Unity
* modified gen_esp_err_to_name.py to ignore
  sim/ dir in spi_flash component

Add cmock .yaml config file
Add spi hal header until soc can mock the hal
  layer as well.
2020-12-14 18:53:14 +08:00
Jakob Hasse 52093fa4ef linux: added linux target
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
Jakob Hasse 901925ebc5 CMake: Fix issue in newer cmake versions
* Fixes following error:

  can not determine linker language
  for target: __idf_newlib
2020-12-14 18:53:14 +08:00
Ivan Grokhotkov 46cfc436ad Merge branch 'feature/idf_tools_github_mirror' into 'master'
Add GitHub mirror option for IDF tools installs

Closes IDF-2028

See merge request espressif/esp-idf!10616
2020-12-14 15:58:51 +08:00
Ivan Grokhotkov af43e34839 Merge branch 'bugfix/drop_make_support_when_esp32_not_supported' into 'master'
CI: drop make support when esp32 not supported

See merge request espressif/esp-idf!11510
2020-12-14 15:51:44 +08:00
Ivan Grokhotkov 17b9fca02f Merge branch 'bugfix/win_inst_defender_check' into 'master'
Tools: Windows Installer add pre-installation screen with System checks for Python and Windows Defender

Closes IDF-1819

See merge request espressif/esp-idf!11152
2020-12-14 15:43:10 +08:00
Roland Dobai 3587203495 tools: Invoke menuconfig as named module
Closes https://github.com/espressif/esp-idf/issues/6248
2020-12-13 08:07:00 +01:00
Krzysztof Budzynski 1f6d2b0257 Merge branch 'feature/doc_kconfig_default_and_range' into 'master'
tools: show defaults and ranges in generated kconfig documentation

Closes IDF-1816 and IDF-1679

See merge request espressif/esp-idf!10875
2020-12-11 16:40:11 +08:00
Fu Hanxi af2220f5f8 find_apps.py: app with no supported targets will be skipped correctly
- fix deprecated logging.warn()
2020-12-08 14:54:30 +08:00
Fu Hanxi 636f136296 bugfix: drop make support for tests have no esp32 support 2020-12-08 14:54:30 +08:00
Fu Hanxi 49fd495689 check_examples_cmake_make: now it can run not only under idf path 2020-12-08 14:54:30 +08:00
Angus Gratton 51d03aeced Merge branch 'bugfix/tools_python_subprocess_capture_output' into 'master'
tools: Avoid subprocess.run(capture_output) argument for Python <3.7 compatibility

See merge request espressif/esp-idf!11493
2020-12-08 06:43:07 +08:00
Juraj Michálek c247c7fe2f tools: add system check to verify Python versions and Windows Defender status 2020-12-07 14:44:56 +01:00
Anton Maklakov 7ad35fa5bb Merge branch 'bugfix/github_sync_artifacts' into 'master'
ci: don't fetch artifacts in push_to_github

See merge request espressif/esp-idf!11104
2020-12-07 16:20:01 +08:00
Angus Gratton 94fe736bc5 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-07 15:01:10 +11:00
Konstantin Kondrashov 4a487af43a efuse: Add new APIs for keys, purposes, wr/rd protection
- the batch mode can be called recursively
2020-12-04 10:42:57 +08:00
Anton Maklakov 3efc9f3a04 tools: windows installer: Modify IDF's archive mirror link 2020-12-03 17:50:42 +11:00
Ivan Grokhotkov 0e6d32cbfd tools: windows installer: add support for IDF_GITHUB_ASSETS
Adds a checkbox to download tools from dl.espressif.com mirror.
2020-12-03 17:50:42 +11:00
Angus Gratton 291af6e766 tools: Use GitHub download URLs for all files that can be downloaded from GitHub 2020-12-03 17:50:42 +11:00
Angus Gratton 4a738721f1 idf_tools: Add option to replace all GitHub tools download URLs with dl.espressif.com
Via new IDF_GITHUB_ASSETS environment variable.
2020-12-03 17:49:37 +11:00
martin.gano f4ea2dcb74 Tools: add Python 2 deprecation warning 2020-12-02 11:08:48 +01:00
Angus Gratton 0f8afff021 Merge branch 'test/enable_esp32s2_ut_by_default' into 'master'
CI: enable esp32s2 ut jobs by default

See merge request espressif/esp-idf!9237
2020-12-02 08:33:18 +08:00
Angus Gratton 38116853f4 Merge branch 'feature/esp32c3_small_changes' into 'master'
esp32c3: Merge small target support changes

Closes IDF-2361

See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton 5228d9f9ce esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
Ivan Grokhotkov 11d8df4704 Merge branch 'bugfix/kconfig_ref_sort_content' into 'master'
tools: Sort menu content in Kconfig option reference

Closes IDF-1711

See merge request espressif/esp-idf!10926
2020-12-01 07:36:20 +08:00
Anton Maklakov f9e5c590f7 Merge branch 'ci/add_more_need_relationship' into 'master'
CI: Add More "needs" relationship to build stage jobs

See merge request espressif/esp-idf!11182
2020-11-30 23:48:56 +08:00
Roland Dobai aaa46a93da tools: Sort menu content in Kconfig option reference 2020-11-30 09:52:20 +00:00
Roland Dobai c31dab51a0 Show defaults and ranges in generated kconfig documentation 2020-11-30 09:51:50 +00:00
Fu Hanxi 7281a5a0cc Split component_ut tests based on targets
- add more label in CIScanTest.py
- fix the bug that will cause labels not iterate correctly
2020-11-30 14:08:54 +08:00
Angus Gratton b782ccd1fb Merge branch 'bugfix/blecent_example_test' into 'master'
ci: Fix blecent example test

Closes IDFCI-93

See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
Fu Hanxi 6fd2d27bfd Make sure "unit_test" will trigger all labels
- keep labels name consist with the bot variable
2020-11-30 11:44:37 +08:00
He Yin Ling 6e545215c1 ci: enable ESP32S2 unit test by default 2020-11-30 11:34:51 +08:00
Fu Hanxi 4bd2130eab set dependencies to null to avoid missing artifacts issue 2020-11-27 19:11:59 +08:00
Fu Hanxi 22168a7910 remove all pre-stage artifacts in build stage jobs 2020-11-27 19:03:25 +08:00
Fu Hanxi 9e4f5dd01f CI: Add dependency "fast_template_app" to build jobs 2020-11-27 19:03:25 +08:00
Fu Hanxi 7c5eb76113 delete unused variable 2020-11-27 19:03:25 +08:00
Anton Maklakov 01d8782393 Merge branch 'bugfix/pppos_app_test_python3' into 'master'
CI: Fix python3 issue on PPPoS app test

Closes IDFCI-251

See merge request espressif/esp-idf!11344
2020-11-26 11:12:11 +08:00
Angus Gratton 190aed41ee Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open' into 'master'
ci: Fix CI issue if one example test fails, and if serial port returns some noise

Closes IDFCI-236

See merge request espressif/esp-idf!11273
2020-11-26 08:04:00 +08:00
David Cermak 8bd758b72a ci: Removed remaining binary size checks in app-tests
Also removes unused references to http-request app size in idf_performance.h
2020-11-25 21:22:18 +01:00
David Cermak 650dd607de ci: Fixed wrong socket operation in python3 2020-11-25 21:22:18 +01:00
Shivani Tipnis fc146a98e4 ci: Fix blecent example test 2020-11-25 22:37:24 +05:30
Ivan Grokhotkov a8983a72a1 Merge branch 'feature/idfpy_crtl_c_processing_4_win' into 'master'
tools: idf_exe: add Ctrl+C processing

See merge request espressif/esp-idf!11357
2020-11-25 21:24:00 +08:00
Dmitry Yakovlev 976cb8fd61 tools: idf_exe: add Ctrl+C processing 2020-11-25 21:23:55 +08:00
Angus Gratton 26fb74bc97 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
2020-11-24 18:32:47 +11:00
Angus Gratton 37838803db ci: Log failure to close any DUT 2020-11-24 18:32:47 +11:00
Fu Hanxi 10df5b3a7c CI: clarify file patterns in sonar_exclude_list.txt 2020-11-24 13:39:18 +08:00
Angus Gratton 403fdf8e9c Merge branch 'bugfix/fix_ttfw_idf_performance_check_not_work' into 'master'
ttfw: fix ttfw_idf performance check not work

See merge request espressif/esp-idf!10001
2020-11-23 14:50:18 +08:00
Angus Gratton 17fea25f45 Merge branch 'ci/fix_annotated_tag_check' into 'master'
ci: Fix annotated tag check

See merge request espressif/esp-idf!11324
2020-11-23 14:35:31 +08:00
Angus Gratton a47e207a7e ci: Fix annotated tag check
Regression in 1612f84
2020-11-23 10:23:24 +11:00
Chen Yu Dong 454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
Ivan Grokhotkov 7f9c84032e Merge branch 'ci/build_example_cmake_artifacts_always' into 'master'
bugfix: CI: build_example_cmake artifacts uploaded only when succeeded

See merge request espressif/esp-idf!11279
2020-11-18 21:18:17 +08:00
Fu Hanxi 27c23418ad bugfix: CI: build_example_cmake artifacts uploaded only when succeeded 2020-11-18 17:26:33 +08:00
Anton Maklakov e0c9260976 Merge branch 'ci/pre-commit_windows_improvements' into 'master'
pre-commit: recognize Windows excecutable files with git

See merge request espressif/esp-idf!11211
2020-11-18 16:15:18 +08:00
Angus Gratton 0444a0fe2a ci: Increase test job count 2020-11-17 18:19:35 +11:00
Angus Gratton c9fdc8a167 Merge branch 'bugfix/fix-autocomplete-tests' into 'master'
Add waiting for export script finish

Closes IDFCI-218

See merge request espressif/esp-idf!11216
2020-11-17 07:33:16 +08:00
Angus Gratton 6ce34a227e Merge branch 'feature/fatfs_fast_seek' into 'master'
feature/fatfs: enable the usage of fast-seek algorithm

See merge request espressif/esp-idf!9916
2020-11-17 07:17:31 +08:00
Anton Maklakov df2b949544 Merge branch 'bugfix/run_build_docs_preview_only_with_label' into 'master'
CI: run build_docs_preview only with the label

Closes IDFCI-208

See merge request espressif/esp-idf!11186
2020-11-16 12:10:09 +08:00
martin.gano 978b5308e8 Close files after writing. 2020-11-13 15:22:46 +01:00
Anton Maklakov b6efdf48d3 Merge branch 'bugfix/sonarqube_wrong_variable_name' into 'master'
CI: sonarqube: unmatched variable name always skip the job

See merge request espressif/esp-idf!11215
2020-11-13 20:16:17 +08:00
Angus Gratton 935e4b4d62 Merge branch 'feature/riscv_arch' into 'master'
Add RISC-V support

Closes IDF-2359

See merge request espressif/esp-idf!11140
2020-11-13 07:50:31 +08:00
Angus Gratton 53fa8da673 Merge branch 'bugfix/check_doc_links_no_deploy' into 'master'
CI: Only run check_doc_links if we actually deployed

Closes IDFCI-169

See merge request espressif/esp-idf!10939
2020-11-13 04:53:27 +08:00
Michael (XIAO Xufeng) b52c764bf3 idf_size.py: add support for esp32c3 and risc-v 2020-11-13 07:49:11 +11:00
Renz Bagaporo 4cc6b5571b esp_system: support riscv panic 2020-11-13 07:49:11 +11:00
Angus Gratton 420aef1ffe Updates for riscv support
* Target components pull in xtensa component directly
* Use CPU HAL where applicable
* Remove unnecessary xtensa headers
* Compilation changes necessary to support non-xtensa gcc types (ie int32_t/uint32_t is no
  longer signed/unsigned int).

Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Angus Gratton 87e13baaf1 freertos: Add RISC-V port
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Fu Hanxi 6e4d2503e9 CI: sonarqube: unmatched variable name always skip the job 2020-11-12 23:03:38 +08:00
martin.gano 1287056878 Temporary disable autocomplete test 2020-11-12 11:59:12 +01:00
Fu Hanxi 0a8a99c17b pre-commit: recognize Windows excecutable files with git 2020-11-12 17:52:31 +08:00
He Yin Ling e568daf213 ttfw: fix idf performance check doesn't work 2020-11-12 09:49:44 +00:00
Fu Hanxi c600a6d840 CI: run build_docs_preview only with the label 2020-11-12 06:44:38 +00:00
Marius Vikhammer 71b24f0518 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-11-12 06:32:10 +00:00
Mahavir Jain 0fb65d0bae Merge branch 'bugfix/ttfw_idf_find_artifacts_inaccurate_with_same_prefix_path' into 'master'
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one

Closes IDFCI-217

See merge request espressif/esp-idf!11187
2020-11-12 12:12:51 +08:00
Ivan Grokhotkov f5939c9e68 Merge branch 'bugfix/unset-temp-procedure-and-redirect-to-stderr' into 'master'
Tools: Avoid printing warnings in idf.py when autocompleting

Closes IDFCI-207

See merge request espressif/esp-idf!11159
2020-11-12 05:27:32 +08:00
martin.gano 304cff9f75 Redirect warning to stderr and unset temporary shell procedure 2020-11-11 15:12:58 +01:00
Shubham Kulkarni cda61a87da Update OTA example to demonstate anti_rollback feature
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00