Wykres commitów

857 Commity (3e533be8be4ae65eacb0a3bb9b6c45322a81ec5c)

Autor SHA1 Wiadomość Data
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