Wykres commitów

1887 Commity (20cec420ad5efe69e7331c07405fa8e8b2decee1)

Autor SHA1 Wiadomość Data
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 ba12a549bb update the find_apps.py, now it will generate `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 59f5e9af37 Merge branch 'bugfix/monitor_wait_reconnect' into 'master'
Fix IDF Monitor so it will wait for the device to reconnect

Closes IDF-1640

See merge request espressif/esp-idf!8632
2020-07-06 15:18:48 +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
Sergei Silnov 85de9d4f16 idf.py: Add help for options with envvar defaults 2020-06-30 12:04:35 +02: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
Roland Dobai b9eb7cb7f0 tools: Fix IDF Monitor so it will wait for the device to reconnect 2020-06-29 09:18:05 +02: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 ab55bea55a esp_prov: Extend the timeout for HTTP connection to SoftAP 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
Angus Gratton 5bdecb3db2 esp_prov: Refactor to use new 'wait_wifi_connected' function
Means all provisioning examples will have the same retry behaviour.
2020-06-28 22:52:45 +00:00
Angus Gratton e969a5e5ff ci provisioning: Use strings instead of "magic numbers" for connection state 2020-06-28 22:52:45 +00:00
Ivan Grokhotkov 1aacb6e2cf tools: build_apps: fix make warning due to unused TEST_GROUPS variable
TEST_GROUPS can be included in the unit-test-app config file, to
restrict the list of tests to be executed. However this option is not
used at build time, so adding it as a CMake variable along with
TEST_COMPONENTS and other options results in a CMake warning.
Fix by not passing this variable to CMake, and not including it in the
final sdkconfig file.
2020-06-26 12:17:02 +02: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 b736eebf90 cmake: also pass IDF_ENV_FPGA in config.env 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
Ivan Grokhotkov 0f3aa8f520 Merge branch 'feature/idfpy_serial_ext_formatting' into 'master'
Tools: Update formatting at serial_ext.py

See merge request espressif/esp-idf!8954
2020-06-25 17:40:06 +08: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
He Yin Ling 23801b3517 Merge branch 'bugfix/ci_debug_backend_import' into 'master'
CI: Ignore error if py_debug_backend is not installed

See merge request espressif/esp-idf!9269
2020-06-24 14:44:44 +08:00
Roland Dobai 50e817fc77 CI: Ignore error if py_debug_backend not installed 2020-06-23 13:45:12 +02:00
Roland Dobai 995676010e Tools: Mention ESPPORT and ESPBAUD in idf.py --help
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-23 13:40:19 +02:00
morris 68955bb260 ci: increase test_jtag_arm parallel count 2020-06-23 11:32:34 +08:00
Ivan Grokhotkov c140a66d3d Merge branch 'feature/coredump_pygdbmi' into 'master'
espcoredump: use pygdbmi for interaction with GDB

Closes IDF-48

See merge request espressif/esp-idf!8841
2020-06-23 01:44:45 +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
Ivan Grokhotkov 4e9e582134 Merge branch 'bugfix/check_missing_IDF_ENV_FPGA_environment' into 'master'
kconfig: fix IDF_ENV_FPGA not found

See merge request espressif/esp-idf!9200
2020-06-19 18:15:00 +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 23a679a7c5 tools: idf_monitor.py: show espcoredump.py error output on failure 2020-06-18 19:08:00 +02:00
Ivan Grokhotkov 50aabfa257 ci: update reference output of test_idf_monitor, minor cleanup 2020-06-18 19:08:00 +02:00
morris c963440a97 kconfig: fix IDF_ENV_FPGA not found 2020-06-17 21:39:22 +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
Angus Gratton b3e77c7ce9 Merge branch 'bugfix/embed_file_symbol_names' into 'master'
cmake: fix C identifier generation from embedded file

See merge request espressif/esp-idf!9078
2020-06-17 07:57:27 +08:00
Renz Bagaporo 9950c7f21d ci: add test for component override features 2020-06-16 20:42:47 +08:00
Renz Bagaporo bd55cdff02 cmake: allow calling get component property in early expansion 2020-06-16 20:42:00 +08:00
Renz Bagaporo ebf07d353d cmake: allow overriding kconfig, kconfig_projbuild on registration 2020-06-16 20:42:00 +08:00
Renz Bagaporo f8d0c5770b cmake: take note of component overriden dir 2020-06-16 20:42:00 +08:00
Renz Bagaporo 01a7db799f cmake: fix C identifier generation from embedded file 2020-06-16 17:05:46 +08:00
Angus Gratton 1a9509a47f Merge branch 'bugfix/parseexception_msg' into 'master'
ldgen: change exception message access

See merge request espressif/esp-idf!9121
2020-06-16 12:16:26 +08:00
Angus Gratton 61ab64439b Merge branch 'bugfix/spi_flash_yield_coredump' into 'master'
fixes for core dump regressions

See merge request espressif/esp-idf!8978
2020-06-16 12:15:50 +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
Ivan Grokhotkov 2db04d6e95 Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'
add esp32s3 preview target and rom symbol & header

Closes IDFGH-3474

See merge request espressif/esp-idf!9127
2020-06-16 06:38:43 +08:00
Angus Gratton 534114879c Merge branch 'bugfix/fix_extra_component_dirs_ordering' into 'master'
cmake: fix extra component dir ordering

See merge request espressif/esp-idf!7731
2020-06-15 12:16:52 +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
Angus Gratton eef0e178a0 Merge branch 'feature/msys2_env_update' into 'master'
windows: Update MSYS2 pre-compiled legacy build environment

Closes IDF-1289 and IDF-1526

See merge request espressif/esp-idf!9034
2020-06-12 07:26:09 +08:00
morris 067b1b91c2 global: add new target name: esp32-s3
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +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
Anton Maklakov bb5d07b23e Merge branch 'bugfix/gen_crt_py3_utf' into 'master'
Fixes issues encoding issues python3 scripts for unicode chars

See merge request espressif/esp-idf!9094
2020-06-11 10:40:54 +08:00
Renz Bagaporo ea07ce1a5a ldgen: change other accesses of exception message
Closes https://github.com/espressif/esp-idf/pull/5336
2020-06-11 08:19:02 +08:00
the-cat-that-codes 177c3d0f5a Changed ParseException message argument
The 'message' attribute seems to be not usable since python 3.0 (see PEP #352)
but 'msg' is a valid attribute for pyparsing.ParseException.
2020-06-10 23:16:01 +08:00
Roland Dobai e67314f646 tools/idf_monitor: add WebSocket client for IDE integration 2020-06-10 10:56:20 +00:00
Angus Gratton 9a21b7e397 Merge branch 'bugfix/allow_extra_component_in_unit_test' into 'master'
allow unit test of extra-components

Closes IDFGH-3369

See merge request espressif/esp-idf!8906
2020-06-10 16:10:07 +08:00
Marius Vikhammer c39b3730bf ci: fix find_build_apps.py failure with py3 due to non ascii chars
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-09 11:35:08 +08: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
Ivan Grokhotkov 1727306645 tools: fix diagnostic output in check_python_dependencies.py
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:

Traceback (most recent call last):
  File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
    if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType

and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-08 18:14:39 +02:00
Felipe Neves 674a070a0d idf_tools: adds .tgz as alowed extension 2020-06-08 10:34:05 -03:00
Ivan Grokhotkov 7283b99c97 Merge branch 'feature/dfu_select_device' into 'master'
Add ability to select a device for DFU flashing

Closes IDF-1652

See merge request espressif/esp-idf!8956
2020-06-08 15:55:04 +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
Angus Gratton 7270c921be Merge branch 'bugfix/idf_as_lib_not_in_top_level' into 'master'
CMake: Fix issue when `idf_build_process` is called from a subdirectory

Closes IDF-1651

See merge request espressif/esp-idf!8722
2020-06-04 16:51:55 +08:00
Angus Gratton 091ce8a124 msys2: Remove python version consideration in pacman commands 2020-06-04 18:42:52 +10: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 f4ea9d4cea freertos: increase configMINIMAL_STACK_SIZE when building with -O0
FreeRTOS scheduler uses additional stack space, as in some functions
variables are placed onto the stack instead of registers.

This issue resulted in occasional stack overflows in dport task, when
compiling at -O0 optimization level.

- Increase the configMINIMAL_STACK_SIZE to 1kB.
- Enable the watchpoint at the end of stack in CI startup test for
  this optimization level.
2020-06-02 18:51:16 +02:00
Ivan Grokhotkov c0ed9349b0 test_apps: add build test for !CONFIG_SPI_FLASH_YIELD_DURING_ERASE 2020-06-02 15:42:24 +02:00
Ivan Grokhotkov 8c09968adc test_apps: add coredump tests for int_wdt 2020-06-02 15:42:24 +02:00
Renz Christian Bagaporo 7f37fb81ca cmake: fix extra component dir ordering 2020-06-02 15:43:03 +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
Angus Gratton 8b156a9095 Merge branch 'feature/switch_from_external_to_interanl_ram' into 'master'
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack

Closes IDFGH-3086

See merge request espressif/esp-idf!8785
2020-06-01 14:39:22 +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 d15e9c0710 Merge branch 'bugfix/no_pyc_files' into 'master'
tools: Don't generate pyc files

See merge request espressif/esp-idf!8815
2020-05-29 14:07:24 +08:00
Angus Gratton 59f29cbca8 Merge branch 'feature/allow_rtc_memory_for_task_stacks' into 'master'
Add RTC Fast Memory to Dynamic Memory Pool

See merge request espressif/esp-idf!8390
2020-05-29 14:07:01 +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
Roland Dobai 0ff8ec66e4 Add ability to select a device for DFU flashing 2020-05-28 09:31:35 +02:00
jiangguangming 92eae20bca add new config items for spiflash ci unit-test 2020-05-26 15:23:38 +08:00