Wykres commitów

857 Commity (3e533be8be4ae65eacb0a3bb9b6c45322a81ec5c)

Autor SHA1 Wiadomość Data
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
Roland Dobai e1dc92b60b Add system example tests 2020-04-28 14:52:15 +02:00
Michael (XIAO Xufeng) ac63760ded ci: disable the UT for S2 when label is not used 2020-04-26 16:29:49 +08:00
Roland Dobai 14978aef70 CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci 2020-04-22 15:29:06 +02:00
He Yin Ling c2e068f0e4 Merge branch 'bugfix/ci_partition_table_detection' into 'master'
CI: Fix partition table detection if "partition" is in the project name

See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Ivan Grokhotkov 28b9acabe2 Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'
Fix cmake component management test on shell runners

See merge request espressif/esp-idf!8398
2020-04-20 18:23:42 +08:00
Sergei Silnov 44d77c7100 Fix cmake component management test on shell runners 2020-04-20 09:25:03 +02:00
Ivan Grokhotkov 8ee1ec1270 Merge branch 'bugfix/pyyaml_test_config_output_unicode' into 'master'
test_config: pyyaml will generate !!python/unicode in test_config

See merge request espressif/esp-idf!8288
2020-04-20 02:21:11 +08:00
Krzysztof Budzynski e45794d0cb Merge branch 'doc/pdf_generation' into 'master'
PDF generation for build doc

Closes IDF-1217 and IDF-1464

See merge request espressif/esp-idf!8110
2020-04-20 01:44:42 +08:00
Alex Lisitsyn b1fe4c4cc6 freemodbus: add extern c block into common header for cpp 2020-04-17 17:56:50 +08:00
Marius Vikhammer 8a3d806798 doc: update CI to build PDF 2020-04-15 17:14:27 +08:00
Marius Vikhammer 407275f681 doc: add latex and PDF generation to build_docs
Adds options for generating tex-files and PDFs when building documentation

Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
David Cermak 636621d1c5 pppos_client: Add a test application for pppos_client
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
Anton Maklakov e24da716f3 Merge branch 'bugfix/ci_public_header_debug' into 'master'
ci: public header check to display error messages if verbose is off

See merge request espressif/esp-idf!8283
2020-04-12 01:21:59 +08:00
David Cermak ce0c70770d ci: public header check to display error messages if verbose is off
Also added a command line option to reduce the analysis to a specific
directory only. This is useful for local execution for checking updated
headers with verbose flag set.
2020-04-09 07:44:55 +02:00
David Cermak 25803b9dc4 ci: run custom-test separately from example-tests 2020-04-08 14:41:05 +02:00
Fu Hanxi 76d118577e test_config: fix the bug that will generate !!python/unicode
As an example, [7964999 example_test_002_](https://gitlab.espressif.cn:6688/espressif/esp-idf/-/jobs/7964999/artifacts/file/examples/test_configs/example_test_002_.yml)
2020-04-08 11:19:13 +08:00
Ivan Grokhotkov 98185db8ad ci: use default Bash version in macOS test 2020-04-07 09:50:59 +02:00
Anton Maklakov fa3131b870 Merge branch 'bugfix/bash_bin_env' into 'master'
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs

Closes IDFGH-708

See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
David Cermak a463e80d43 ci: fix ttfw ignoring test failure if exception in print_debug_info 2020-04-05 20:07:27 +02:00
Ivan Grokhotkov b1f0ffffc3 ci: add UT job 2020-04-03 14:51:37 +02:00
Roland Dobai 512906fa32 CI: Fix partition table detection if "partition" is in the project name 2020-04-03 11:41:06 +02:00
Michael (XIAO Xufeng) 61ce037fc1 Merge branch 'feat/esp_flash_support_mxic' into 'master'
esp_flash: support MXIC flash chips

See merge request espressif/esp-idf!8037
2020-04-03 16:04:49 +08:00
Ivan Grokhotkov e94288da31 global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166):

find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +

Closes https://github.com/espressif/esp-idf/pull/3166.
2020-04-03 01:10:02 +02:00
David Cermak 09ca8a273c ci: raise number of parallel job count for S2 unit tests 2020-04-02 11:43:03 +02:00
Michael (XIAO Xufeng) 15026d1b84 Merge branch 'bugfix/fix_adc_driver_for_esp32s2' into 'master'
Bugfix/fix adc driver for esp32s2

Closes IDF-1448, IDF-1449, IDF-1450, IDF-1451, and IDF-1458

See merge request espressif/esp-idf!7776
2020-04-02 11:02:21 +08:00
Michael (XIAO Xufeng) 3b429766bc esp_flash: support MXIC flash chips
The default chip driver (chip_generic) use command 01H + 2 bytes to
clear the QE bit. However this will accidently change the configuration
register value of the MXIC chip.

MXIC chip driver is added to fix that.
2020-04-01 20:54:23 +08:00
Ivan Grokhotkov 168660aebf Merge branch 'feature/toolchain_2020r1-RC1' into 'master'
Toolchain 2020r1 support bringing (esp32, esp32s2)

See merge request espressif/esp-idf!7509
2020-04-01 18:17:28 +08:00
fuzhibo baa7898e35 driver(adc/dac): fix adc dac driver for esp32s2
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;

See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
David Cermak a2d55ddece ci: update static analysis rules to fail on any new issue zeroing out limits for number of warnings which are tolerated
closes IDF-973
2020-03-27 18:46:39 +01:00
Jeroen Domburg 419848549e Add fixes for gcc8 psram fix improvement 2020-03-27 20:04:47 +07:00
morris 39fd234576 tool: fix install.fish 2020-03-27 18:11:01 +08:00
morris 0c6e1b9482 remove dependency of timer_group_caps.h on soc.h 2020-03-26 17:15:19 +08:00
Anton Maklakov 8252611edc Merge branch 'feat/ci_decrease_ut_artifact_num' into 'master'
ci: temporarily remove some artifacts from UT build

See merge request espressif/esp-idf!8102
2020-03-25 17:26:46 +08:00
Michael (XIAO Xufeng) 322faa727f ci: temporarily remove some artifacts from UT build 2020-03-25 12:42:35 +08:00
David Cermak 39011c055a ci: fix rom header checker to validate *rom* on word boundaries 2020-03-23 12:19:38 +00:00
David Cermak a5a750ba48 examples: add socket stdin utils to common connect component 2020-03-23 12:19:38 +00:00
David Cermak 995ef85e85 socket examples: add tests for server and client applications 2020-03-23 12:19:38 +00:00
Ivan Grokhotkov 4f5d15ae93 ci: generate separate log files for each {example, test app} config
Otherwise the build log gets overwritten, and warnings in earlier
builds may be masked.
2020-03-20 00:01:16 +01:00
Ivan Grokhotkov 9b20b76ae6 Merge branch 'bugfix/s2_gcm_hw' into 'master'
aes: Fixed tag sometime being wrong for HW GCM

See merge request espressif/esp-idf!8009
2020-03-19 18:06:25 +08:00
Marius Vikhammer ffb9010cbe aes: Fixed tag sometime being wrong for HW GCM
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.

Added additional tests for AES and GCM

Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
Alexey Gerenkov d5cd131da4 apptrace: Adds support for multi-core traces in single file to SystemView processing scripts 2020-03-16 15:17:36 +03:00
Anton Maklakov 7355e550cc Merge branch 'feature/public_headers_check_objects' into 'master'
CI: public header check script in python

Closes IDF-1324

See merge request espressif/esp-idf!7923
2020-03-16 13:23:00 +08:00
Angus Gratton 1a2ddcb77a docs: deploy docs to production server from CI 2020-03-16 14:36:23 +11:00
Angus Gratton 416076665b docs: use new sphinx_idf_theme theme, add variables to allow theme to build version footer 2020-03-16 14:36:23 +11:00
David Cermak 8f6645667e CI: public header check script in python
Additional test compiling the header to produce assembly:
- checks if header really compiles (previously validated only by
preprocessor)
- checks that the header produced empty object, no inline code to be
present in public headers

Closes IDF-1324
2020-03-13 12:53:52 +01:00
Marius Vikhammer 3351376a11 AES: optimize AES-GCM
HW acceleration for GCM is now enabled by default

Closes IDF-1443
2020-03-12 10:20:24 +08:00
Roland Dobai 15884eccf2 Add multi-target support for performance tests 2020-03-09 13:41:56 +01:00
Anton Maklakov 96ecd5bb53 Merge branch 'ci/build_bootloader_configs' into 'master'
ci: Fix CI testing of bootloader configs

See merge request espressif/esp-idf!7911
2020-03-09 19:08:39 +08:00
Ivan Grokhotkov 95c275109b Merge branch 'refactor/add_target_name_for_parttool' into 'master'
parttool: don't print target name

See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
Michael (XIAO Xufeng) 81daaff050 Merge branch 'feature/usb_component' into 'master'
Feature/usb component

See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris 46ea7d815d parttool: don't print target name 2020-03-09 15:05:04 +08:00
Andrei Gramakov 9d059be165 usb: added a tinyusb component; ci; soc.
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
Angus Gratton a9e21060e1 Merge branch 'ci/fix_ut_s2_only' into 'master'
ci: fix the issue unit_test_s2 label cannot be used independently

See merge request espressif/esp-idf!7873
2020-03-09 13:35:23 +08:00
Angus Gratton 8de3ad8df1 ci: Build all bootloader configs when building the bootloader app
CI regression in 26efc5a6d0
2020-03-09 11:55:22 +11:00
Roland Dobai c35538ecee tools: fix idf.py to be able to select a generator for build 2020-03-06 10:41:09 +01:00
Angus Gratton b393203b27 Merge branch 'feature/x509_cert_management' into 'master'
X509 certificate management

Closes IDF-296

See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton 02e9e0621e Merge branch 'bugfix/display_partition_table_info' into 'master'
partition_table: output partition table info for partition_table target

See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Michael (XIAO Xufeng) 8e348dcdcd Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
bugfix(i2s): fix driver ut i2s

See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Michael (XIAO Xufeng) 27b194bdb9 ci: fix the issue unit_test_s2 label cannot be used independently 2020-03-05 11:10:49 +08:00
Renz Bagaporo b239070442 ci: add test for partition_table target 2020-03-05 11:04:09 +08:00
Marius Vikhammer 947e3e94ed Add ESP certificate bundle feature
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.

Default bundle includes all Mozilla root certificates

Closes IDF-296
2020-03-04 10:51:43 +08:00
Ivan Grokhotkov b97b9418f8 Merge branch 'bugfix/improve_component_manager_test_output' into 'master'
Improve message for component manager tests

See merge request espressif/esp-idf!7765
2020-03-03 19:02:31 +08:00
xiongyu b3ae9fa978 bugfix(i2s): Updated ESP32-S2 ADC DAC support
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
xiongyu faf898b659 bugfix(i2s): fix driver ut i2s
* Add test support for ESP32S2

* Add loop back test

* Support chip internal connection, no external wiring required.

* Delete the relevant codes of PDM of ESP32-S2 ll layer.

* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Angus Gratton c051eafa6a Merge branch 'feature/test_confgen' into 'master'
Tools: Add tests for confgen.py

Closes IDF-480

See merge request espressif/esp-idf!7774
2020-03-02 12:46:51 +08:00
Supreet Deshpande 2f62b3af4a Increase job count for heap tests 2020-02-27 17:54:09 +05:30
Mahavir Jain 5f897fd33c Merge branch 'feat/secure_boot_v2_v41' into 'master'
feat/secure_boot_v2: Adding secure boot v2 support to ESP32-ECO3

Closes IDF-799

See merge request espressif/esp-idf!6778
2020-02-27 18:54:08 +08:00
Angus Gratton d40c69375c bootloader: Add fault injection resistance to Secure Boot bootloader verification
Goal is that multiple faults would be required to bypass a boot-time signature check.

- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32

Add some additional checks for invalid sections:

- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-02-27 14:37:19 +05:30
Anton Maklakov 5ea4d7ba61 Merge branch 'ci/ut_esp32s2_allow_schedule' into 'master'
ci: allow esp32s2 unit tests run by scheduled pipeline

See merge request espressif/esp-idf!7796
2020-02-27 14:48:10 +08:00
Michael (XIAO Xufeng) 7f8c827326 Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master'
bugfix(pcnt): fix driver ut pcnt

See merge request espressif/esp-idf!6891
2020-02-27 11:29:28 +08:00
Michael (XIAO Xufeng) 9199207c67 ci: allow esp32s2 unit tests run by scheduled pipeline 2020-02-27 11:20:08 +08:00
Sachin Parekh 301dacfb33 Exception handlers for LoadStoreError and LoadStoreAlignmentError
Configurable option to use IRAM as byte accessible memory (in single core mode) using
load-store (non-word aligned and non-word size IRAM access specific) exception handlers.
This allows to use IRAM for use-cases where certain performance penalty
(upto 170 cpu cycles per load or store operation) is acceptable. Additional configuration
option has been provided to redirect mbedTLS specific in-out content length buffers to
IRAM (in single core mode), allows to save 20KB per TLS connection.
2020-02-26 20:21:59 +08:00
xiongyu 4d5c950770 bugfix(pcnt): fix driver ut pcnt
* Let `[ignore] case` return to freedom

  1) Because this test uses its own ISR, we need to release it with `esp_intr_free` instead of `pcnt_isr_service_uninstall`.

  2) `pcnt_evt_queue` needs to be created before the interrupt is registered and needs to be released at the end of each case.

* Add test support for ESP32S2

* Support chip internal connection, no external wiring required.
2020-02-26 16:52:53 +08:00
michael f8fae4c80c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
Roland Dobai c4421629c8 Tools: Add tests for confgen.py 2020-02-25 17:15:46 +01:00
Sergei Silnov 47bfd337d2 Improve message for component manager tests 2020-02-25 09:22:52 +01:00
Jakob Hasse c6deffb8a2 NVS Flash: prevent erasing initialized partition
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777

* nvs_flash_erase_partition() checks whether
  the parition in question is initialized
  already and will return an error if so
* reflect changes in the documentation
2020-02-19 18:16:04 +01:00
Jakob Hasse 31edd48b43 C++: Moved all C++ examples to own folder
* moved C++ examples to a new cxx folder in
  examples
* added experimental C++ component
* added ESPException class to the C++ experimental
  component
* added test cases for ESPException and
  corresponding test macros
2020-02-18 12:48:57 +08:00
Angus Gratton a0644bf8ae Merge branch 'test/resume_ut_esp32s2' into 'master'
ci: resume esp32s2 unit tests

See merge request espressif/esp-idf!7436
2020-02-18 10:58:14 +08:00
Anton Maklakov 8222ab7330 Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url' into 'master'
ci: no stage attempts variables,  no custom toolchain url

See merge request espressif/esp-idf!6689
2020-02-17 11:05:58 +08:00
michael 24b16b0b19 ci: resume esp32s2 unit tests 2020-02-15 18:28:24 +08:00