Wykres commitów

2124 Commity (af992c26bc91c0d197c285acc122f0e0f94a59ed)

Autor SHA1 Wiadomość Data
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
Ivan Grokhotkov c284927222 Merge branch 'bugfix/eclipse_make_py3' into 'master'
tools: Fix Python 3 incompatibility for building with Eclipse on Windows

See merge request espressif/esp-idf!10369
2020-09-10 00:34:11 +08:00
Roland Dobai 3c7954ea49 tools: Fix Python 3 incompatibility for building with Eclipse on Windows 2020-09-09 13:00:37 +02:00
Ivan Grokhotkov 26016534d8 bootloader: move rtc_retain_mem functions back into .iram_loader.text
Introduced 66a32c17 when bootloader_common was moved out of the loader
section.

Also add a test for this configuration.
2020-09-09 10:35:29 +02: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
Fu Hanxi 0d6f0e9bc3 remove dir with exclude file pattern 2020-09-04 16:07:44 +08:00
Fu Hanxi fd6a2e406a fix remove build directory path 2020-09-04 16:07:35 +08:00
Ivan Grokhotkov 9d3add538b Merge branch 'feature/toolchain_2020r3' into 'master'
Update toolchain to esp-2020r3

See merge request espressif/esp-idf!10250
2020-09-04 14:07:24 +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
Ivan Grokhotkov 277a902dec Merge branch 'bugfix/docker_gdb_python' into 'master'
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (Github PR)

See merge request espressif/esp-idf!10257
2020-09-03 20:35:56 +08:00
Anton Maklakov 439f4e4f70 Update toolchain to esp-2020r3
Fixup more for PSRAM issue;
    Allow GDB work correctly with Privileged Registers;
    Based on GCC 8.4.0;
    Update a fix of C++ exception crashs from the GCC mainline;
    Fixup strptime_l() and some locale in libc;

    Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-03 14:09:38 +07:00
Fu Hanxi 6f675925d8 CI: Not showing stdout nor stderr when checkout ref 2020-09-03 12:17:50 +08:00
Martin Stejskal be0372b1db tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.

Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-09-02 18:15:52 +02: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
Michael (XIAO Xufeng) ea63bd3de4 Merge branch 'feat/extract_hal_from_soc' into 'master'
hal: extract hal component from soc component

See merge request espressif/esp-idf!9992
2020-09-01 23:56:15 +08:00
Michael (XIAO Xufeng) 9d09f739da Merge branch 'refactor/unit_test_ref_clock' into 'master'
unit_test:refactor ref clock to use RMT carrier

See merge request espressif/esp-idf!10045
2020-09-01 22:13:03 +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
Anton Maklakov 5a9a42b079 Merge branch 'ci/sonarqube_improvement' into 'master'
CI: Sonarqube: do not use detached pipeline

See merge request espressif/esp-idf!10209
2020-08-31 23:54:44 +08:00
Fu Hanxi 478017e367 clean up the detached pipeline 2020-08-31 15:04:29 +08:00
David Cermak 6f1b8fe062 esp-modem: Remove esp-netif destroy from modem network glue code
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).

Closes https://github.com/espressif/esp-idf/issues/5486
2020-08-31 06:47:01 +00:00
morris 4dd649d533 unit_test:refactor ref clock to use RMT carrier 2020-08-31 14:25:23 +08:00
Ivan Grokhotkov dd8cef9f01 Merge branch 'bugfix/dev_tty_cu_darwin_only_pr5462' into 'master'
idf_monitor: only mangle /dev/tty.* on Darwin

Closes IDFGH-3507

See merge request espressif/esp-idf!10169
2020-08-28 17:39:57 +08:00
Ivan Grokhotkov f3cf90920e Merge branch 'feature/sonarqube_static_code_analysis' into 'master'
CI: sonarqube static code analysis

Closes IDF-1661

See merge request espressif/esp-idf!8673
2020-08-28 15:47:35 +08:00
Angus Gratton 96b3e7f405 Merge branch 'bugfix/idf_py_disable_cmake_warnings_default' into 'master'
idf.py: disable cmake uninitialized variable warnings by default

Closes IDF-2026 and IDFGH-3847

See merge request espressif/esp-idf!10149
2020-08-26 16:46:21 +08:00
Angus Gratton ad295037a8 idf.py: Disable CMake --warn-uninitialized option by default
Can still be enabled by passing --cmake-warn-uninitialized on the command line

Prevents CMake warnings printed by default if IDF_PATH is underneath the CMake
project directory.

The reason for this is that CMake --warn-uninitialized only enables checks
inside the project directory (ie top-level CMakeLists.txt directory and
subdirectories), it doesn't enable for files included from other directories.

(The only way to enable warnings in other directories is to pass
--check-system-dirs and this looks like it's only useful for CMake's own
developers as it prints a lot of warnings from inside CMake otherwise - see
https://gitlab.kitware.com/cmake/cmake/-/issues/19645 )

Plan to follow up with a later commit to clean up most of the warnings (which
aren't problems for CMake execution), but we'll also disable this option by
default to avoid this unexpected triggering of IDF warnings.
2020-08-26 09:53:56 +10:00
Angus Gratton dde6222cdc Merge branch 'bugfix/idf_py_bootloader_secure_boot' into 'master'
tool: Fix 'idf.py bootloader' error if Secure Boot is enabled

See merge request espressif/esp-idf!9752
2020-08-25 14:53:40 +08:00
Angus Gratton bc5c508211 Merge branch 'feature/support_rsource_mconf' into 'master'
Support rsource in old kconfig

See merge request espressif/esp-idf!9982
2020-08-24 15:53:22 +08:00
Fu Hanxi aeb3c02746 Add sonarqube code static analysis for idf project 2020-08-24 14:39:15 +08:00
Shivani Tipnis 810622017f mfg_util: Update file handling to maintain line endings across various OS
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-24 06:37:56 +00:00
Jakob Hasse 52065ac44f CI: Allow warning about python cryptgraphy 2020-08-20 18:00:35 +08:00
Renz Bagaporo f77eeb34d5 ci: add rsource test app 2020-08-17 20:50:36 +08:00
Renz Bagaporo 86d3b962d2 tools: support rsource in MSYS config 2020-08-17 20:46:39 +08:00
Renz Bagaporo 0db3edd490 esp32: move sleep test to esp_system 2020-08-17 19:09:24 +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) e97e7281b2 Merge branch 'feature/tinyusb_cdc' into 'master'
Feature/tinyusb cdc

See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +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
Ivan Grokhotkov 7acda7b8eb Merge branch 'bugfix/panic_instr_fetch_prohibited' into 'master'
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions

See merge request espressif/esp-idf!9851
2020-08-07 21:43:35 +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
Ivan Grokhotkov 20cbdeab65 Merge branch 'feature/download_only_required_ut_bin' into 'master'
CI: Download only required bin for unit tests

Closes IDF-1608

See merge request espressif/esp-idf!9266
2020-08-06 10:50:59 +08:00
Ivan Grokhotkov 600665a563 Merge branch 'bugfix/esp32s2_o2_op' into 'master'
freertos: fix build error at -O2 optimization level

Closes IDFGH-3581

See merge request espressif/esp-idf!9444
2020-08-05 22:03:00 +08:00
Ivan Grokhotkov 481409ec05 panic: allow running specific test cases from command line
Small quality-of-life improvement, make it easier to run specific
test cases, when debugging the tests locally.
Take the optional list of test cases to run from the command line.
2020-08-05 12:00:50 +02:00
Ivan Grokhotkov 709730317b panic: fix checks for corrupted backtrace in the test cases
"CORRUPTED" needs to be checked before ELF SHA256. Use
expect_backtrace in every test (which checks for it), remove extra
check for CORRUPTED.
2020-08-05 12:00:50 +02:00
Ivan Grokhotkov 5ff9cd495e panic: skip over the first invalid PC in case of InstrFetchProhibited
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.

Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-08-05 12:00:50 +02:00
Fu Hanxi ef2813a068 CI: Improve load env config log output 2020-08-05 07:49:02 +00:00
Angus Gratton a9dd9e3017 Merge branch 'feature/embed_generated_files' into 'master'
cmake: allow embedding files to be dependent on a target

See merge request espressif/esp-idf!8535
2020-08-04 14:39:49 +08:00
Fu Hanxi 19ad15a1b4 modify example tests. delete unused arguments 2020-08-04 13:27:16 +08: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 e7b89e6ddc Merge branch 'bugfix/esp32s2_panic_handler_iram' into 'master'
esp_common: allow placing panic handler into IRAM on ESP32-S2

Closes IDF-1639

See merge request espressif/esp-idf!9749
2020-07-29 13:54:19 +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
Angus Gratton a2dc60b254 Merge branch 'feature/secure_boot_esp32s2' into 'master'
Feature/secure boot esp32s2

See merge request espressif/esp-idf!8254
2020-07-28 16:39:34 +08:00
Ivan Grokhotkov 16c73edc67 Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
esp_rom: extract common ets apis into esp_rom_sys.h

See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
Angus Gratton 9222f5473f Merge branch 'bugfix/stack_check_error' into 'master'
esp_system: restore deleted no stack check flag

See merge request espressif/esp-idf!9721
2020-07-28 07:43:41 +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
Ivan Grokhotkov 580fe804a8 Merge branch 'doc/esp32s2_jtag_guide' into 'master'
docs: update JTAG debugging guide for ESP32-S2

Closes FCS-469

See merge request espressif/esp-idf!9473
2020-07-27 19:17:46 +08:00
Angus Gratton cc2b5b4e13 tool: Fix 'idf.py bootloader' error if Secure Boot is enabled
If Secure Boot is enabled, there's no bootloader flasher arguments in the
project (to encourage careful manual flashing), so this command would
fail with a KeyError.
2020-07-27 07:27:07 +00:00
morris 2917651478 esp_rom: extract common ets apis into esp_rom_sys.h 2020-07-27 15:27:01 +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
Anton Maklakov 5593eae8cd Merge branch 'bugfix/build_docs_check_link' into 'master'
build_docs: fix incorrect arguments for linkcheck

Closes IDFCI-65

See merge request espressif/esp-idf!9772
2020-07-27 11:09:21 +08:00
Angus Gratton b9a1d82ea3 ci: Add test apps for ESP32-S2 Secure Boot 2020-07-27 00:01:10 +00:00
Supreet Deshpande f3b914d0c5 Split unit test configs to fit into ESP32s2's memory 2020-07-27 00:01:10 +00:00
Ivan Grokhotkov 6467f5dd54 tools: idf.py: default to board/esp32s2-kaluga-1.cfg for ESP32-S2
NFC. Kaluga-1 config is same as devkitj + esp32s2.
2020-07-24 15:54:47 +02:00
Ivan Grokhotkov ba717a298f Merge branch 'bugfix/verify-directory-exists' into 'master'
Bugfix: add check for existence build directory

Closes IDF-984

See merge request espressif/esp-idf!9695
2020-07-24 19:53:27 +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
Jakob Hasse 25424477f2 C++: I2C API 2020-07-24 08:36:16 +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
Angus Gratton f24a132f67 Merge branch 'bugfix/unit_test_cases_missing' into 'master'
CI: fix unit test case output yaml file

See merge request espressif/esp-idf!9729
2020-07-23 11:01:57 +08:00
Ivan Grokhotkov 24e9d6b26a esp_common: allow placing panic handler into IRAM on ESP32-S2 2020-07-22 21:57:58 +02: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
Alexey Gerenkov f857ab85c3 tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' 2020-07-22 06:49:27 +00:00
Fu Hanxi b490262e68 CI: fix search unit test build output path 2020-07-22 11:57:38 +08:00
Renz Bagaporo 837052c86f esp_system: restore deleted no stack check flag
Restores the change of startup refactor changes removed the no stack
check protection flag when compiling the source file that contains
execution of constructors - which contains function to setup stack
guard. Restore that and update the source file, since this is in the 2nd
stage of the startup now.

Closes https://github.com/espressif/esp-idf/issues/5617
2020-07-22 11:57:18 +08: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
Ivan Grokhotkov ba5aa21720 Merge branch 'bugfix/idf_monitor_baudrate_arg_crash' into 'master'
idf monitor: fix crash when monitor baudrate argument set

Closes IDF-1902

See merge request espressif/esp-idf!9546
2020-07-21 22:07:04 +08:00
Ivan Grokhotkov 7f977094bd Merge branch 'feature/idfpy_add_help_subcommand' into 'master'
idf.py: Add help and build-system-targets subcommands

Closes IDF-1884

See merge request espressif/esp-idf!9615
2020-07-21 22:06:14 +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
martin.gano 25b4b977d0 Add checking if the build directory exists and move expression after docstring 2020-07-21 13:18:50 +02: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
Ivan Grokhotkov 8739282a1d Merge branch 'feature/size_info_artifacts_for_apps' into 'master'
CI: add size info for binaries

Closes IDF-1709

See merge request espressif/esp-idf!8962
2020-07-21 16:00:07 +08:00
Fu Hanxi 6885421976 CI: add size info for binaries 2020-07-21 16:00:05 +08:00
Angus Gratton 442736c5d6 Merge branch 'refactor/common_rom_uart_apis' into 'master'
esp_rom: extract common uart apis into esp_rom_uart.h

See merge request espressif/esp-idf!9313
2020-07-21 15:24:21 +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 eb77e1b11a Merge branch 'bugfix/startup_secure_options' into 'master'
esp_system: fix compilation error when security features are enabled

See merge request espressif/esp-idf!9678
2020-07-20 15:08:17 +08:00
Angus Gratton f092054f3d Merge branch 'feature/hidden_link_as_a_group' into 'master'
cmake: add hidden option to link components as group

See merge request espressif/esp-idf!9617
2020-07-20 08:42:03 +08: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
Ivan Grokhotkov c627a1b6a0 ci: add build test for CONFIG_SECURE_FLASH_ENCRYPTION_MODE_RELEASE 2020-07-17 21:04:08 +02:00
Ivan Grokhotkov 096ec3e88c Merge branch 'feature/idfpy_envvar_help' into 'master'
idf.py: Add help for all options with environment variables

See merge request espressif/esp-idf!9356
2020-07-17 21:30:45 +08:00
morris 345606e7f3 esp_rom: extract common uart apis into esp_rom_uart.h 2020-07-17 16:00:59 +08:00
Felipe Neves b6dba84323 ulp: added support to building code for riscv ULP coprocessor 2020-07-15 15:28:49 -03:00
Sergei Silnov 140c5800dd idf.py: Add command to list build system targets 2020-07-15 16:43:17 +02:00
Ivan Grokhotkov 6e9b480679 ci: add startup test with -O2 optimization level 2020-07-15 12:50:51 +00:00
Angus Gratton 6fda77828f ci: Allow test-management working dir to be missing on clone 2020-07-15 11:11:41 +00:00
Angus Gratton eb43872361 version: Update to v4.3.0
v4.3.0-dev is tagged where the branches diverged, catching up with the
remaining metadata here.
2020-07-15 13:56:05 +10:00
Renz Bagaporo 7b9ab1e597 cmake: add hidden option to link components as group
Adds a hidden option to link components in projects as one big group for
debugging purposes. Makes it easy to single out if symbols are not
really defined or some requirements are missing for components leading
to undefined link errors.
2020-07-15 08:05:33 +08:00
Sergei Silnov 435c5564f4 idf.py: Add help subcommand 2020-07-14 17:07:32 +02: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
Angus Gratton f5b1f43a2b Merge branch 'bugfix/cmake_error_on_windows' into 'master'
cmake: remove cmake ver specification for early exp script

See merge request espressif/esp-idf!9288
2020-07-10 12:58:48 +08:00
ChenJianxing c0683d95cc esp32s2: resume wifi unit test 2020-07-10 11:02:37 +08:00
Marius Vikhammer 30f075f0bb idf monitor: fix crash when monitor baudrate argument set
Closes IDF-1902
2020-07-10 10:29:48 +08:00
Fu Hanxi 0b521d36ea test if don't run build_test_apps in integration_test 2020-07-09 15:01:38 +08:00
Renz Bagaporo 565dc4ba4b cmake: convert python path to cmake path 2020-07-09 12:07:45 +08:00
Renz Bagaporo c957482d6d cmake: remove cmake ver specification for early exp script 2020-07-09 12:07:45 +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 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
Sylvio Alves fb3c36b88d coredump: Added CI tests 2020-06-24 10:51:06 -03:00
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
Kiril Zyapkov e64bc76495 idf_monitor: only mangle /dev/tty.* on Darwin 2020-06-17 11:52:30 +03: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