Commit Graph

776 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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