Fu Hanxi
b33e344484
ci: move config dir to .gitlab/ci
2021-02-10 14:48:51 +08:00
Fu Hanxi
7735d04f4f
ci(sonarqube): Modify code_quality_check since it's a MR pipeline now
2021-02-10 14:48:51 +08:00
Fu Hanxi
ffe0b7af32
ci: Move static code analysis related jobs to static-code-analysis.yml
2021-02-10 14:48:51 +08:00
Fu Hanxi
7dd7c6c072
ci(docs): Move doc related jobs to docs.yml
2021-02-10 14:48:51 +08: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
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
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
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +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
Sergei Silnov
99bf2ed61d
idf.py: remove mentions of idf_project.yml and update tests
2021-01-29 23:08:47 +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
Fu Hanxi
85d4bca81a
feat(tiny_test_fw): unify all junit report test case name
...
new format: <target>.<config>.<case_name>, the default value of
"config" is "default"
2021-01-28 12:25:14 +08:00
Fu Hanxi
7518393ee8
feat(ci): update known_failure_cases_repo before running tests
2021-01-28 12:25:14 +08:00
Fu Hanxi
d63069068f
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-01-28 12:25:14 +08:00
Fu Hanxi
be3d74efb2
fix(ci): scan_test missing build apps without tests
2021-01-27 12:35:49 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Cao Sen Miao
f3e79ca166
spi_flash(c3): add boya chip support for suspend feature
2021-01-25 11:14:06 +08:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
He Yin Ling
b036f6c06d
CI: add build ESP32C3 SSC jobs
2021-01-21 03:00:44 +00:00
Aditya Patwardhan
b77c85c1e1
ttfw/IDFDUT: i) Added option to erase_flash in the IDFDUT class
...
ii) Renamed the method dump_flush to dump_flash
2021-01-20 11:12:14 +00:00
Ivan Grokhotkov
654d4b8d72
Merge branch 'bugfix/ttfw_fix_detect_dut_failed' into 'master'
...
ttfw: fix get dut failed when dut port is set as env variable
See merge request espressif/esp-idf!11994
2021-01-20 07:43:01 +08:00
morris
9fb95b6fa5
ci: don't allow failure for submodule sync
2021-01-19 17:25:48 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
Renz Bagaporo
8d52b0b5e1
ci: exempt upstream libmbedtls mapping for sha256
2021-01-19 11:17:18 +08:00
Renz Bagaporo
32206d3a7d
ci: enabled ldgen mapping check in ci
2021-01-19 11:17:18 +08:00
Angus Gratton
5938b9a892
Merge branch 'feature/support_esp32c3_master_cmake_reset_reason' into 'master'
...
esp32c3: Add UTs for reset_reason
Closes IDF-2091
See merge request espressif/esp-idf!11546
2021-01-18 07:12:21 +08:00
Konstantin Kondrashov
d23c7690f2
esp32c3: Add UTs for reset_reason
2021-01-18 07:12:21 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
He Yin Ling
5befaac4be
ttfw: fix get dut failed when dut port is set as env variable
2021-01-14 17:22:11 +08:00
Fu Hanxi
4867b38c74
ci: sonarqube: use exit-code instead of extra job
2021-01-14 11:44:39 +08:00
Angus Gratton
6d3e06a9a3
ttfw: Move TestCaseFailed exception and handle differently to other exceptions
...
But also ensure the string form of this exception is never empty, if it ends up
somewhere else.
2021-01-12 11:42:03 +11:00
Angus Gratton
441d1306be
ci ttfw: Consistently handle unexpected exceptions in test cases
2021-01-12 11:42:03 +11:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
4e82540730
ttfw: save console log to file
2021-01-07 17:10:40 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
Angus Gratton
60ec13b122
Merge branch 'feature/make_uf2' into 'master'
...
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
See merge request espressif/esp-idf!11587
2021-01-05 07:17:27 +08:00
Marius Vikhammer
5f130ff909
CI: enable C3 template app
2020-12-31 15:20:05 +11:00
Marius Vikhammer
3458469204
newlib: Update esp32c3 ROM support, use single init function
2020-12-31 09:27:37 +11:00
Angus Gratton
ec75f923ef
Merge branch 'ci/raise_esptool_errors' into 'master'
...
ci: Don't swallow exception details from flashing process
See merge request espressif/esp-idf!11803
2020-12-30 11:22:57 +08:00
Marius Vikhammer
7fe16bae25
tools: merge C3 changes into master
2020-12-30 07:04:12 +08:00
Ivan Grokhotkov
de798541dc
tools: use riscv32-esp-elf toolchain for ESP32-S2 RISC-V ULP
...
riscv32-esp-elf toolchain (used for ESP32-C3) can also be used for
ESP32-S2 RISC-V ULP coprocessor.
This removes the riscv-none-embed-gcc toolchain which was originally
used for the ULP, and updates the docs and CMake files to use
riscv32-esp-elf.
Some flags are cleaned up and workarounds removed from CMake toolchain
file.
2020-12-29 19:19:18 +00:00
Roland Dobai
548ea1bdd5
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
...
@mmoskal This commit adds basic support for UF2 into ESP-IDF.
2020-12-29 18:14:47 +01:00
Anton Maklakov
286f06b274
Merge branch 'bugfix/ci_flasher_args_json_dict_items' into 'master'
...
ci: fix flasher_args.json parser (iterate over dictionary)
Closes IDFCI-347
See merge request espressif/esp-idf!11787
2020-12-29 21:15:12 +08:00
Angus Gratton
88d0d1fa02
ci: Don't swallow exception details from flashing process
...
If flashing fails, throw an exception that includes some information about the failure.
2020-12-29 15:41:22 +11:00
Angus Gratton
629b4270b4
Merge branch 'feature/c3_mbedtls_merge' into 'master'
...
mbedtls: merge changes from C3 to master
Closes IDF-2544 and IDF-2114
See merge request espressif/esp-idf!11718
2020-12-29 12:37:08 +08:00
Omar Chebib
fcbc706a66
ci: fix flasher_args.json parser (iterate over dictionary)
...
Closes IDFCI-347
2020-12-29 12:27:51 +08:00
Angus Gratton
6e006f0443
Merge branch 'bugfix/example_001a_missing_log' into 'master'
...
CI: bugfix: example_001A missing junit report
See merge request espressif/esp-idf!11706
2020-12-29 11:57:46 +08:00
Marius Vikhammer
1b6891c5d8
mbedtls: merge changes from C3
2020-12-29 10:56:13 +08:00
Ivan Grokhotkov
0b31f6a5fc
Merge branch 'feature/ci_flasher_args_json_encrypted_flag' into 'master'
...
ci: use "encrypted" information in flasher_args.json
Closes IDF-2231
See merge request espressif/esp-idf!11551
2020-12-28 06:37:05 +08:00
Angus Gratton
309d76e986
Merge branch 'feature/support_esp32c3_master_cmake_efuse_to_mater' into 'master'
...
efuse: Merge C3 efuse changes to master
Closes IDF-2548
See merge request espressif/esp-idf!11719
2020-12-24 11:43:00 +08:00
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
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
Fu Hanxi
046b054a96
CI: bugfix: example_001a missing junit report
2020-12-22 15:04:20 +08: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
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
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
8c0e5ecbea
ci: Remove tools/ci/utils.sh from executable list
2020-11-11 07:36:35 +00:00
Fu Hanxi
5fa935e5ea
CI: fix the bug returns wrong artifact path when app_name is a subset of a longer one
2020-11-11 12:31:39 +08:00
David Cermak
fb0f7e9077
ci: increase parallel job count for S2 unit tests
2020-11-09 21:41:51 +01:00
Ivan Grokhotkov
256333ca13
Merge branch 'ci/add_pre_commit_for_some_pre_check_jobs' into 'master'
...
CI: Add pre-commit for IDF project
See merge request espressif/esp-idf!10682
2020-11-06 20:16:27 +08:00
Ivan Grokhotkov
64c5b64996
Merge branch 'ci/renable_deploy_docs_production' into 'master'
...
CI: Renable deploy_docs_production
See merge request espressif/esp-idf!11075
2020-11-06 20:15:37 +08:00
Ivan Grokhotkov
e9e6d970f3
Merge branch 'feature/add-shell-autocompletion' into 'master'
...
idf.py: Enable autocompletion for command idf.py
Closes IDF-1540
See merge request espressif/esp-idf!10742
2020-11-06 20:14:38 +08:00
Anton Maklakov
85cad7c168
Merge branch 'bugfix/component_ut_variable_missing' into 'master'
...
CI: fix component ut variable missing error
See merge request espressif/esp-idf!11120
2020-11-06 17:26:45 +08:00
Ivan Grokhotkov
5dd16db1d6
Merge branch 'feature/esp_event_cxx' into 'master'
...
C++: ESP Event wrapper classes
Closes IDF-1048 and IDF-232
See merge request espressif/esp-idf!9602
2020-11-06 17:24:34 +08:00
Fu Hanxi
957e3b225a
CI: fix component ut variable missing error
2020-11-06 02:18:37 +00:00
Felipe Neves
93ffc009ef
vfs: restrict the fast seek for read-only files
...
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb
fat_vfs: added fast seek capable file operation
2020-11-05 17:01:50 -03:00
Ivan Grokhotkov
b178780d52
Merge branch 'bugfix/missing_assign_test_variable' into 'master'
...
CI: fix missing variables issue in assign_test
See merge request espressif/esp-idf!11111
2020-11-04 18:58:35 +08:00
Fu Hanxi
64fc8072b4
bugfix: variable missing in assign_test
2020-11-04 16:48:30 +08:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
Fu Hanxi
09c8777c22
Renable deploy_docs_production
2020-11-04 03:10:50 +00:00
martin.gano
346b002d9a
enable autocompletion for command idf.py
2020-11-03 23:27:58 +01:00
Ivan Grokhotkov
0f127fcb62
ci: don't fetch artifacts in push_to_github
2020-11-03 16:46:51 +01:00
Fu Hanxi
47a97d2b52
check_kconfigs and check_deprecated_kconfigs now use files arguments
2020-11-02 15:49:13 +08:00
Fu Hanxi
bcc8f2628c
CI: Add pre-commit for esp-idf project.
...
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Chen Yu Dong
9e8315d9b3
ci: limit switching branches for auto_test_script
2020-11-02 06:59:13 +00:00
Michael (XIAO Xufeng)
23584e094f
Merge branch 'feature/esp_flash_32b_addr' into 'master'
...
esp_flash: support high capacity flash chips (32-bit address)
See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
5341d20318
Merge branch 'bugfix/shell_test_script_missing_in_test_build_system_macos' into 'master'
...
Bugfix: missing `SHELL_TEST_SCRIPT` in job `test_build_system_cmake_macos`
See merge request espressif/esp-idf!11031
2020-10-30 03:20:39 +08:00
Fu Hanxi
09d4774a0a
CI: Temperaroily disable deploy_docs_production
since needs
has a bug which will be fixed in GitLab 13.4
2020-10-29 18:33:18 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
Anton Maklakov
54e8ec29b2
Merge branch 'test/ci_assign_test_regular' into 'master'
...
ci: add assign_test into regular test
See merge request espressif/esp-idf!10998
2020-10-29 16:13:32 +08:00
Angus Gratton
654a827d7b
Merge branch 'bugfix/docs_push_production_without_push_to_github' into 'master'
...
bugfix: Run `deploy_docs_production` in `post_deploy` stage after `push_to_github` successfully
See merge request espressif/esp-idf!11028
2020-10-29 15:18:01 +08:00
Fu Hanxi
6a9ff50610
Bugfix: missing SHELL_TEST_SCRIPT
in job test_build_system_cmake_macos
2020-10-29 10:44:50 +08:00
Fu Hanxi
78134907a2
bugfix: Run deploy_docs_production
in post_deploy
stage after push_to_github
successfully
2020-10-29 09:45:43 +08:00
Angus Gratton
8f3393afdf
Merge branch 'refactor/create_esp_hw_support' into 'master'
...
Create esp_hw_support
Closes IDF-2161
See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
bea280c948
ci: increase s2 test jobs
2020-10-28 22:38:50 +08:00
Renz Bagaporo
6b0a5af73e
soc: move implementations to esp_hw_support
2020-10-28 22:38:50 +08:00
Michael (XIAO Xufeng)
2ce058e100
ci: add assign_test into regular test
2020-10-28 16:32:54 +08:00
Anton Maklakov
b1d98e519d
Merge branch 'ci/refactor_ci_yaml' into 'master'
...
CI: Refactor CI rules into separate yaml file: rules.yml
See merge request espressif/esp-idf!10634
2020-10-28 11:09:01 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00
David Cermak
8d6e03a529
ci: increase parallel job count for S2 unit tests
2020-10-26 16:00:42 +00:00
Fu Hanxi
75ab9223f9
scan test when weekend test.
2020-10-26 10:25:21 +08:00
Fu Hanxi
3026d562ec
add README.md to explain how to add/modify jobs/rules/ifs
...
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00
Fu Hanxi
1b06cbe3ef
utils.sh
: add function info, warning, error. Turn retry_failed.sh
into a function
...
includes `utils.sh` everywhere
2020-10-26 10:25:21 +08:00
Fu Hanxi
d3e44d9483
add gitlab ssh key for geo nodes
2020-10-26 10:23:46 +08:00
Fu Hanxi
7951152f7b
CI: Refactor CI rules into rules.yml
.
...
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong
f38321a218
test: move auto_test_script to new repo
...
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
Jakob Hasse
f835bead45
C++: ESP Event wrapper classes
...
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
waiting for events
* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
suren.gabrielyan
637f5c0a68
CI: Add a test to pre-check fuzzer tests compilation before weekly run
2020-10-20 13:57:00 +00:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
Ivan Grokhotkov
cea3a052b1
Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
...
ci: Add FreeRTOS upstream files to the sonar exclude list
See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton
2e5ca433f9
Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project
See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
baffdb5fa0
ci: Add FreeRTOS upstream files to the sonar exclude list
...
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00
Angus Gratton
c90d6ae9af
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-14 19:30:30 +11:00
Angus Gratton
a1d3f2b291
Merge branch 'feature/freertos_upstream_plus_tlsf_allocator_preview' into 'master'
...
freertos/heap: Preview branch containing TLSF allocator and FreeRTOS 10 kernel
Closes IDF-1637 and IDFGH-3859
See merge request espressif/esp-idf!8414
2020-10-14 15:58:51 +08:00
Angus Gratton
cbb721c3ca
ci: Bump ESP32-S2 UT jobs
2020-10-14 16:11:49 +11:00
Felipe Neves
f3783ba258
app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
...
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov
2218ac91c2
tools/ci: fix import error when running ttfw tests locally
2020-10-13 18:09:22 +02:00
Fu Hanxi
31c03a95da
CI: Exclude list for sonarqube
2020-10-12 12:27:42 +08:00
Michael (XIAO Xufeng)
72a31a62c7
ci: add esp32s3 into template app build
2020-10-09 17:50:16 +08:00
Ivan Grokhotkov
2e0c716db7
Merge branch 'bugfix/ci_python3_compatibility' into 'master'
...
CI: fix Python 3 compatibility in example checker
See merge request espressif/esp-idf!10740
2020-10-08 18:10:09 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
80f993bf31
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci' into 'master'
...
CI: get git describe from annotated tags
Closes IDFCI-129 and IDFGH-721
See merge request espressif/esp-idf!10671
2020-10-07 10:43:01 +08:00
Angus Gratton
1612f84ab3
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 10:00:59 +11:00
Roland Dobai
6956603554
CI: fix Python 3 compatibility in example checker
2020-10-06 19:16:17 +02:00
He Yin Ling
0f8d1cbf1b
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:28:59 +08:00
Michael (XIAO Xufeng)
56403bd146
ci: define ESP_PLATFORM macro during public header check
2020-09-29 11:46:46 +02:00
Angus Gratton
afe1413c9c
Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
...
esp32-s3 (beta2) chip bringup
Closes IDF-958
See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov
2626f19500
Merge branch 'feature/add-command-idf-new-project' into 'master'
...
Add command for creating project and component with minimal required files
Closes IDF-1596
See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Anton Maklakov
a1d419da08
Merge branch 'bugfix/build_docs_pdf_job' into 'master'
...
docs: seperate build_docs html and pdf CI jobs
Closes IDF-2038
See merge request espressif/esp-idf!10438
2020-09-22 13:20:49 +08:00
martin.gano
b599f127b5
add new command to idf
2020-09-21 23:38:52 +02:00
Marius Vikhammer
06af651a51
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-21 10:48:04 +08:00
Ivan Grokhotkov
eebc71b16d
Merge branch 'feature/ci_submodule_fetch_mirror' into 'master'
...
ci: download submodules from mirror, if enabled
See merge request espressif/esp-idf!10477
2020-09-18 22:30:49 +08:00
Mahavir Jain
6d14bdf068
Merge branch 'feature/ota_example_test' into 'master'
...
Add OTA example test on Flash Encrypted runner
Closes IDFCI-73
See merge request espressif/esp-idf!9423
2020-09-17 12:39:41 +08:00
Ivan Grokhotkov
d17a3c76d0
ci: fetch submodules from mirror, if enabled
2020-09-16 21:22:26 +02:00
Ivan Grokhotkov
72aaf83747
Merge branch 'sonarqube/pylint_with_py3' into 'master'
...
CI: Sonarqube: Use Python version 3 and pylint 2.6
See merge request espressif/esp-idf!10243
2020-09-16 01:59:33 +08:00
Ivan Grokhotkov
f16d231197
Merge branch 'feature/improve_load_env_log' into 'master'
...
CI: Improve load env config log output
See merge request espressif/esp-idf!9587
2020-09-16 01:59:05 +08:00
Ivan Grokhotkov
8bc19ba893
Merge branch 'feature/free_components_iram' into 'master'
...
freertos: free IRAM space moving task functions into flash memory
See merge request espressif/esp-idf!5648
2020-09-15 23:14:31 +08:00
Alex Lisitsyn
eaa892bebf
freertos: optionally place selected freertos functions into flash memory instead of IRAM
...
correct generation.py script to be silent when file: function is not in the object list (just ignore placement)
correct linker.lf to place task functions into flash if CONFIG_FREERTOS_TASK_FUNCTIONS_INTO_FLASH is active otherwise into IRAM
update kconfig option to place functions into IRAM
update linker file after tests
fix spi_device_polling_end crash when xTaskGetTickCount() in flash
disable "yield from lower priority task, other CPU" test case when placing rtos functions into flash
upadate ut app config freertos_flash
combine spi_flash driver and freertos ut configs into one file
remove TEST_EXCLUDE_COMPONENTS
ci: fix ut job
remove functions that are called from ISR funcs
add port module functions to place into Flash
place snapshot funcs into Flash when ESP_PANIC_HANDLER_IRAM is not set
ci: add job with tags UT_T1_GPIO,ESP32_IDF
2020-09-15 23:14:31 +08:00
Shubham Kulkarni
b930f7a96d
simple_ota_example: Add example test with flash encryption enabled
2020-09-14 13:47:39 +00:00
Sergei Silnov
38dc0cc5f6
ci: Use git mirror for docker image
2020-09-11 16:27:20 +02:00
Ivan Grokhotkov
00072fe2e2
Merge branch 'ci/standalone_unit_test_app' into 'master'
...
CI: add standalone unit test app for esp_netif
See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
suren.gabrielyan
a43c06a592
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Fu Hanxi
edc7cc9c00
add component_ut in assign-test and target-test stage.
...
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
Fu Hanxi
e35328afd9
build component unit test apps
...
use idf_py_actions supported targets
2020-09-07 12:11:55 +08:00
Jakob Hasse
40d80b981a
Fixed unity fixture for ESP32/S2
...
* Created compile switch for UNITY_MAIN
since it was using exit() syscall leading to
abort() on ESP
2020-09-04 17:37:47 +08:00
Ivan Grokhotkov
52607063cb
ci: add script to check section references
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
6beefff725
Merge branch 'ci/not_show_error_when_checkout_ref' into 'master'
...
CI: Not showing stdout nor stderr when checkout ref
See merge request espressif/esp-idf!10258
2020-09-03 23:45:07 +08:00
Fu Hanxi
6f675925d8
CI: Not showing stdout nor stderr when checkout ref
2020-09-03 12:17:50 +08:00
Ivan Grokhotkov
c23a9d91d8
add code owners list
2020-09-02 18:04:27 +02:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Fu Hanxi
9ba194f78a
CI: Sonarqube: run python analysis with python 3
2020-09-02 14:42:07 +08:00
Anton Maklakov
587f97ab15
Merge branch 'ci/sonarqube_improvement' into 'master'
...
CI: Sonarqube: CI_MERGE_REQUEST_IID
See merge request espressif/esp-idf!10218
2020-09-02 10:23:44 +08:00
Fu Hanxi
6c4ab5938c
fix the bug that will cause sonarqube fail when got issue to report but can't get CI_MERGE_REQUEST_IID because it's not a MR pipeline
2020-09-01 16:37:17 +08:00
Michael (XIAO Xufeng)
5425ef4ee4
hal: extract hal component from soc component
2020-09-01 13:25:32 +08:00
Fu Hanxi
478017e367
clean up the detached pipeline
2020-08-31 15:04:29 +08:00
Fu Hanxi
aeb3c02746
Add sonarqube code static analysis for idf project
2020-08-24 14:39:15 +08:00
Jakob Hasse
52065ac44f
CI: Allow warning about python cryptgraphy
2020-08-20 18:00:35 +08:00
Anton Maklakov
b6a266e2ac
Merge branch 'test/ci_add_s2_pre_build' into 'master'
...
ci: build s2 template app in pre_build of pre_check stage
See merge request espressif/esp-idf!9640
2020-08-11 14:13:36 +08:00
Michael (XIAO Xufeng)
ad6609a561
ci: build s2 template app in pre_build of pre_check stage
...
This will fail pipeline earlier if template project of S2 cannot pass
the build.
The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
2020-08-10 18:00:39 +08:00
Andrei Gramakov
84aa1c0cc3
usb: cdc support, streams redirection; ci, examples upd
...
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists
IDF-578
2020-08-06 15:26:08 +02:00
Fu Hanxi
ef2813a068
CI: Improve load env config log output
2020-08-05 07:49:02 +00:00
Fu Hanxi
0478edc6ba
CI: download only required bin for unit-tests. Refactor AssignTest related code
2020-08-04 13:27:16 +08:00
Angus Gratton
18fded7abb
Merge branch 'feature/build_doc_ci_tests' into 'master'
...
docs: add CI tests
Closes IDF-1648
See merge request espressif/esp-idf!9110
2020-07-29 13:54:01 +08:00
Anton Maklakov
d7db6673f5
Merge branch 'revert-1ba7dc22' into 'master'
...
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
Michael (XIAO Xufeng)
6434c1e2bd
Merge branch 'feat/esp_flash_enable_s2_ut' into 'master'
...
esp_flash: fix several issues and enable unit test for ESP32-S2
Closes IDF-1409
See merge request espressif/esp-idf!8259
2020-07-28 18:15:41 +08:00
Marius Vikhammer
ba546a0d91
docs: Adds CI tests for the doc building process.
...
Adds test_sphinx_idf_extensions.py and test_docs.py for testing the documentation building process.
Both are run as a part of the host_test stage.
Closes IDF-1648
2020-07-28 17:48:19 +08:00
Ivan Grokhotkov
3e8833cda8
Merge branch 'feature/coredump_new_ci_tests' into 'master'
...
coredump: Add CI tests
See merge request espressif/esp-idf!8998
2020-07-28 17:22:43 +08:00
Michael (XIAO Xufeng)
2bfd725e66
Merge branch 'feature/i2c++' into 'master'
...
I2C C++ API
See merge request espressif/esp-idf!7812
2020-07-27 20:05:42 +08:00
Chen Jian Xing
56261ef9a2
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
...
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
Michael (XIAO Xufeng)
0a65911df2
esp_flash: enable unit tests for ESP32-S2 external flash
2020-07-27 12:27:04 +08:00
Marius Vikhammer
c54e9d9d5c
build_docs: fix incorrect arguments for linkcheck
2020-07-24 19:27:52 +08:00
Jakob Hasse
2d846414ce
Increased parallel for build_examples_cmake_esp32
2020-07-24 10:29:48 +08:00
He Yin Ling
4c32c71db9
Merge branch 'feature/support_python3_autotest' into 'master'
...
test: run IT jobs with python3
See merge request espressif/esp-idf!9673
2020-07-23 16:07:43 +08:00
Chen Yudong
4088702077
test: auto test script supports python3
2020-07-22 16:14:21 +08:00
Alexey Gerenkov
0e3c7918e4
examples: Fixes 'apptrace_to_host' to work with updated OpenOCD tracing command
2020-07-22 06:49:27 +00:00
Mahavir Jain
19711855e2
Merge branch 'bugfix/convert-string-to-bytes' into 'master'
...
bugfix: convert string to bytes to fix TypeError
Closes IDF-1922
See merge request espressif/esp-idf!9636
2020-07-22 02:47:36 +08:00
Ivan Grokhotkov
ba874ccb04
Merge branch 'feature/freemodbus_add_tcp_master_slave' into 'master'
...
freemodbus: add tcp master and slave support
Closes IDFGH-1147 and IDF-452
See merge request espressif/esp-idf!7506
2020-07-22 00:34:06 +08:00
Alex Lisitsyn
d0b9829eef
examples: freemodbus add tcp support for common master/slave iface
...
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files
Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452
2020-07-22 00:34:04 +08:00
Angus Gratton
9fb7d893c9
Merge branch 'test/sync_test_app_cases_to_jira' into 'master'
...
test: sync test app cases to Jira
See merge request espressif/esp-idf!9694
2020-07-21 19:30:24 +08:00
Angus Gratton
650e2cb47f
Merge branch 'ci/workaround_multiple_ci_failures' into 'master'
...
CI: workaround multiple ci failures
See merge request espressif/esp-idf!9658
2020-07-21 18:03:41 +08:00
Jiang Jiang Jian
1ba7dc22cb
Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
...
Bugfix/resume esp32s2 wifi unit test
See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
martin.gano
cb0bdb8bba
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
2020-07-21 10:18:53 +02:00
Fu Hanxi
6885421976
CI: add size info for binaries
2020-07-21 16:00:05 +08:00
He Yin Ling
fef621435d
test: sync test app cases to Jira
2020-07-20 20:09:19 +08:00
Anton Maklakov
34b677d03b
ci: use the retry script to download
2020-07-20 15:18:32 +07:00
Anton Maklakov
299caccc93
ci: add a helper for retrying shell command
2020-07-20 15:18:32 +07:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
He Yin Ling
ff6ef11603
CI: do not run cases likely to fail
2020-07-19 06:32:12 +00:00
He Yin Ling
cd478edeae
CI: disable cases with test env SSC_T5_1
2020-07-19 06:32:12 +00:00
He Yin Ling
1378337c52
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 06:32:12 +00:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
Angus Gratton
6fda77828f
ci: Allow test-management working dir to be missing on clone
2020-07-15 11:11:41 +00:00
David Cermak
48aa58268e
CI: Public header check defines CI_HEADER_CHECK macro
...
This flags compilation checking in the CI so headers can use the macro to ignore specific compilation issues
2020-07-11 00:00:51 +08:00
ChenJianxing
c0683d95cc
esp32s2: resume wifi unit test
2020-07-10 11:02:37 +08:00
Fu Hanxi
0b521d36ea
test if don't run build_test_apps in integration_test
2020-07-09 15:01:38 +08:00
Marius Vikhammer
e6ad766d68
CI: add script for checking links in example READMEs
...
Closes IDF-1846
2020-07-08 10:39:33 +08:00
Ivan Grokhotkov
ea75605aa7
Merge branch 'feature/scan_test_at_pre_check' into 'master'
...
ci: scan_tests at pre_check stage to determine build/artifact behavior for example_test and custom_test
Closes IDF-1376
See merge request espressif/esp-idf!8447
2020-07-07 23:43:03 +08:00
Fu Hanxi
744ec42e9f
scan test when run regular_test
2020-07-07 16:25:57 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
Fu Hanxi
34f459c1e1
remove this line. it will block pipelines without unit test
2020-07-06 19:05:44 +08:00
Fu Hanxi
4087152305
remove build_or_not attr.
2020-07-06 19:05:44 +08:00
Fu Hanxi
270e7dec38
update after MR reviews
2020-07-06 19:05:44 +08:00
Fu Hanxi
a882353c32
change scan result path
2020-07-06 19:05:44 +08:00
Fu Hanxi
010d7e9023
apply to make build system
2020-07-06 19:05:44 +08:00
Fu Hanxi
d7639d5cf8
add build-all flag and BUILD_ALL_APPS ci environment variable
2020-07-06 19:05:44 +08:00
Fu Hanxi
a238b266c2
fix after rebase
2020-07-06 19:05:44 +08:00
Fu Hanxi
53aacef29c
code clean up
2020-07-06 19:05:44 +08:00
Fu Hanxi
ef85a60756
skip check_build_warning for builditems whose build
is false
2020-07-06 19:05:44 +08:00
Fu Hanxi
007b35ed25
comment check_build_warnings.py to test CI
2020-07-06 19:05:44 +08:00
Fu Hanxi
2d57fd7fca
update the build_apps.py, now it can recognize build
and preserve
keys
2020-07-06 19:05:44 +08:00
Fu Hanxi
b26d42afe3
Now scan_tests will generate 'scan_<target>.json`
...
also updated CI yaml and shell scripts
2020-07-06 19:05:44 +08:00
Ivan Grokhotkov
a46484400c
ci: tweak detection warning/error messages
...
Prevents make builds failing because 'tinycbor/src/cborerrorstrings.d'
file name is printed.
2020-07-01 10:47:37 +02:00
Ivan Grokhotkov
1d55a3c430
Merge branch 'bugfix/idf_env_fpga_warning_make' into 'master'
...
cmake, make: fix remaining IDF_ENV_FPGA warnings
See merge request espressif/esp-idf!9344
2020-06-30 22:25:54 +08:00
Darian Leung
97721d469c
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-06-30 16:56:03 +08:00
Angus Gratton
002a13a71a
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-06-28 22:52:45 +00:00
Angus Gratton
7934df3a6f
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-06-28 22:52:45 +00:00
Ivan Grokhotkov
23dd439bc8
ci: be more strict when checking for errors/warnings in build logs
...
Look for "error|warning" anywhere in the line, not just at the start.
2020-06-26 11:37:50 +02:00
Ivan Grokhotkov
81ba01b9c5
ci: increase the number of unit test jobs
2020-06-25 19:24:46 +02:00
Angus Gratton
40d7ea68af
Merge branch 'bugfix/ci_softap_example_test' into 'master'
...
Set sleep time to allow wlan0 to connect to softap
See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis
76232fd263
ci: Set sleep time to allow wlan0 to connect to softap
2020-06-24 23:07:46 +05:30
Sylvio Alves
fb3c36b88d
coredump: Added CI tests
2020-06-24 10:51:06 -03:00
Roland Dobai
50e817fc77
CI: Ignore error if py_debug_backend not installed
2020-06-23 13:45:12 +02:00
morris
68955bb260
ci: increase test_jtag_arm parallel count
2020-06-23 11:32:34 +08:00
Ivan Grokhotkov
5aae08e6b4
Merge branch 'feature/pyc_clean' into 'master'
...
tools/idf.py: Clean Python bytecode files
Closes IDFGH-3368
See merge request espressif/esp-idf!8907
2020-06-22 15:53:41 +08:00
Ivan Grokhotkov
b3a76a9d83
Merge branch 'feature/idf_monitor_debug_ws' into 'master'
...
tools/idf_monitor: add WebSocket client for IDE integration
Closes IDF-1719
See merge request espressif/esp-idf!9032
2020-06-22 15:50:11 +08:00
Renz Bagaporo
3386316f81
docs: fix build issue requiring new location of cpu_start.c
2020-06-19 18:40:10 +10:00
Renz Bagaporo
fe12997a07
ci: update build system tests
2020-06-19 18:40:10 +10:00
Ivan Grokhotkov
cf155161c4
Merge branch 'feature/higher_level_com_gdb' into 'master'
...
CI: Use higher-level interaction with GDB in example tests and test apps
Closes IDF-1622
See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
Angus Gratton
b3ef89942f
Merge branch 'feature/cmake_overriding_components_new_features' into 'master'
...
CMake: useful features for overriding components
See merge request espressif/esp-idf!8220
2020-06-19 11:56:56 +08:00
Ivan Grokhotkov
d1bf7a8743
Merge branch 'feature/retry_download_if_CRC_check_failed' into 'master'
...
ci: retry download if catched IOError/EOFError
See merge request espressif/esp-idf!9134
2020-06-17 16:03:49 +08:00
Fu Hanxi
23822e2e3f
ci: retry download if catched IOError/EOFError
2020-06-17 16:03:49 +08:00
Renz Bagaporo
9950c7f21d
ci: add test for component override features
2020-06-16 20:42:47 +08:00
Anton Maklakov
77c951858f
Merge branch 'test/deploy_docs_previow_host_test' into 'master'
...
ci: fix the issue that build_docs label has to be used with regular_test
See merge request espressif/esp-idf!9120
2020-06-16 11:42:36 +08:00
Michael (XIAO Xufeng)
f9f617cd4f
ci: fix the issue that build_docs label has to be used with regular_test
...
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.
Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Ivan Grokhotkov
625bd5eb18
Merge branch 'feature/reassign_example_test_runners' into 'master'
...
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
2020-06-11 14:22:05 +08:00
Roland Dobai
e67314f646
tools/idf_monitor: add WebSocket client for IDE integration
2020-06-10 10:56:20 +00:00
Marius Vikhammer
11269df516
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-09 11:01:42 +08:00
Roland Dobai
493c852b73
CI: Use higher-level interaction with GDB in example tests and test apps
2020-06-05 14:58:34 +00:00
Roland Dobai
9930060ea8
tools/idf.py: Clean Python bytecode files
2020-06-03 12:29:25 +02:00
morris
d70961ad58
esp32s2: add more unit test for esp32s2
...
Most of the test cases are copied from esp32
add int_alloc test
add delay test
add random test
2020-06-03 13:16:13 +08:00
Ivan Grokhotkov
4f3624bbe9
Merge branch 'feat/add_multi_target_for_example_test' into 'master'
...
example test: Add multi target support
Closes IDF-1531 and IDF-807
See merge request espressif/esp-idf!8242
2020-06-02 10:36:44 +08:00
Fu Hanxi
b76df30915
don't overwrite special cases dut
2020-06-01 13:39:09 +08:00
Fu Hanxi
3b17b9e393
panic_test contains some reassign dut cases
2020-06-01 12:08:57 +08:00
Fu Hanxi
377d3eaaa5
Move local target detection to ttfw_idf
...
rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
2020-06-01 12:08:57 +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
Fu Hanxi
e99172fbac
make upper_list do not make str into list
2020-05-29 12:42:57 +08:00
Fu Hanxi
d06d2a2b9f
remove typing as a dependency.
...
return None if the input is None
2020-05-29 12:42:56 +08:00
Fu Hanxi
5c92d36078
Add list support for ttfw_idf test decorators. Only replicate supported keys
2020-05-29 12:42:56 +08:00
Fu Hanxi
e553092d62
move ci_target_check to ttfw_idf, move ci_target_filter to AssignTest
...
mark `supported_in_ci` for AssignTest filter.
2020-05-29 12:42:56 +08:00
Fu Hanxi
38c288bc0e
Add BOT_TARGET_FILTER
to _apply_bot_filter
...
fix the bug that will calculate twice if ci_target is a list.
2020-05-29 12:42:56 +08:00
Fu Hanxi
bc026133c5
add ci_target filter for target and local target check
2020-05-29 12:42:56 +08:00
Fu Hanxi
9f8b63da38
Pass current target to test_method **overwrite.
2020-05-29 12:42:56 +08:00
Fu Hanxi
6c98d7e4bd
Add multi target support for search examples
...
drop keyword `dut`, use `target` instead to assign`dut_class` to `Env`
2020-05-29 12:42:56 +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
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
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
morris
fef40fdb72
ci: do fetch submodules for 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
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
0f6308d69c
ci: test idf_build_process defaults set properly
2020-05-14 14:59:26 +00:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00: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
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
255dd63122
ci: add loadable ELF build system test
2020-05-04 19:15:43 +02: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
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
Ivan Grokhotkov
a55df7bcbf
Merge branch 'feature/set_target_chip_name' into 'master'
...
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
See merge request espressif/esp-idf!8256
2020-05-04 13:21:24 +08:00
Roland Dobai
58bbd99b9c
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
2020-04-30 18:23:21 +02:00
Fu Hanxi
c131a18059
load all yml files while assigning tests
2020-04-30 06:47:49 +00:00
Fu Hanxi
7709d4ccfd
Use IDF_TARGET to determine the build method and the output file name
2020-04-30 06:47:49 +00:00
Fu Hanxi
01ff4f621f
Add build_unit_test.sh to do find_apps and build_apps to unit_tests
...
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Fu Hanxi
04342a73f2
Fix some python bugs left before
2020-04-30 06:47:49 +00:00
Ivan Grokhotkov
79976e7370
Merge branch 'feature/storage_examples' into 'master'
...
examples: Add storage example tests and migrate "loadable elf" test to test_apps
Closes IDF-1150 and IDF-1586
See merge request espressif/esp-idf!8174
2020-04-30 14:34:34 +08:00
Roland Dobai
ab9f714248
Add build system support for programming ESP32-S2 using DFU utils
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
7b79b52062
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
...
by ignoring character case and hyphens in target name.
2020-04-29 23:42:18 +02:00
Jiang Jiang Jian
922a0fa485
Merge branch 'feature/esp-hid-component' into 'master'
...
ESP-HID Component
See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Fu Hanxi
d41c130b68
add some prefix for doc urls to make BOT recognize the preview doc url
2020-04-29 15:41:53 +08:00
Roland Dobai
2d709c6384
Migrate "loadable elf" test from hello_world example to test_apps
2020-04-29 09:17:28 +02:00
Roland Dobai
819f7a4e57
examples: Add storage example tests
2020-04-29 09:16:18 +02:00