Wykres commitów

2246 Commity (f0b0418ed412c94114f0ed9176494f3e2c19a9a9)

Autor SHA1 Wiadomość Data
Fu Hanxi 7951152f7b CI: Refactor CI rules into `rules.yml`.
- Add `utils.sh` for some widely used shell scripts
- Change `dependencies` into `needs` for strict dependency relationships
2020-10-26 10:23:46 +08:00
Chen Yu Dong f38321a218 test: move auto_test_script to new repo
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
suren.gabrielyan b3ad76537a ESP-OPENSSL-tests : Added new test-app to check esp-ssl connection 2020-10-23 11:43:59 +00:00
Renz Bagaporo 4c796850e9 ldgen: allow more chars in sections fragments 2020-10-23 10:40:30 +08:00
Ivan Grokhotkov 4883c04236 Merge branch 'bugfix/ldgen_unicode_path' into 'master'
tools/ldgen: Parse paths with Unicode characters in archives

Closes IDFGH-4129

See merge request espressif/esp-idf!10915
2020-10-23 00:55:42 +08:00
Jakob Hasse f835bead45 C++: ESP Event wrapper classes
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
  waiting for events

* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
Angus Gratton 8a70b1cdc9 ci freertos: Add test configs for some of the optional FreeRTOS 10 configurations
Also unit tests for the legacy hook functions.
2020-10-21 14:04:01 +11:00
suren.gabrielyan 637f5c0a68 CI: Add a test to pre-check fuzzer tests compilation before weekly run 2020-10-20 13:57:00 +00:00
Roland Dobai 792087dede tools/ldgen: Parse paths with Unicode characters in archives
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-20 12:09:50 +02:00
Alex Lisitsyn 8737584789 Bugfix/fix RS485 ut fail 2020-10-19 16:17:19 +08:00
Ivan Grokhotkov cea3a052b1 Merge branch 'ci/sonarqube_ignore_freertos' into 'master'
ci: Add FreeRTOS upstream files to the sonar exclude list

See merge request espressif/esp-idf!10846
2020-10-16 18:22:43 +08:00
Angus Gratton a9d07720a5 Merge branch 'bugfix/err_to_name_paths_windows' into 'master'
tools: fix path handling errors in gen_esp_err_to_name.py for Windows

See merge request espressif/esp-idf!10838
2020-10-16 11:27:23 +08:00
Angus Gratton 2e5ca433f9 Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project

See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Ivan Grokhotkov 0289d1cc81 Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
gdbstub: fix thread list generation, add tests

Closes IDF-2246

See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton baffdb5fa0 ci: Add FreeRTOS upstream files to the sonar exclude list
These files are mostly upstream code apart from some minor modifications.
There are a number of places that sonarqube reports issues because of
different code style/expectations.
2020-10-15 07:05:51 +00:00
Ivan Grokhotkov d9db49d9f7 tools: idf_tools.py: fix compatibility with Python <= 2.7.8
Multiple ssl-related features have been backported from Python 3.x
to Python 2.7.9. This adds a fallback so that idf_tools.py can work
on older versions.
2020-10-14 20:19:32 +02:00
Ivan Grokhotkov e43a4d51f2 tools: fix idf_tools.py compatibility regression with Python 2
In Python 2, cadata must be explicitly converted to unicode:
https://bugs.python.org/issue37079

Regression from 081ebcf1e7
2020-10-14 18:24:55 +02:00
Marius Vikhammer 3f42be1753 tools: fix path handling errors in gen_esp_err_to_name.py for Windows
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-14 20:03:15 +08:00
Ivan Grokhotkov fcb80c3cd6 Merge branch 'bugfix/idf_tools_letsencrypt_cert' into 'master'
add letsencrypt root cert into idf_tools.py

See merge request espressif/esp-idf!8829
2020-10-14 19:54:52 +08:00
Angus Gratton b351ffa557 cmake: Log the project sdkconfig path as part of normal CMake status output
As discussed in footnote to https://github.com/espressif/esp-idf/issues/5251#issuecomment-625563782
2020-10-14 19:30:30 +11:00
Angus Gratton c90d6ae9af examples: Move idf_as_lib sdkconfig file to the project directory
Also add some explanation about configuring the project in the README

Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00
Angus Gratton a1d3f2b291 Merge branch 'feature/freertos_upstream_plus_tlsf_allocator_preview' into 'master'
freertos/heap: Preview branch containing TLSF allocator and FreeRTOS 10 kernel

Closes IDF-1637 and IDFGH-3859

See merge request espressif/esp-idf!8414
2020-10-14 15:58:51 +08:00
Angus Gratton cbb721c3ca ci: Bump ESP32-S2 UT jobs 2020-10-14 16:11:49 +11:00
Felipe Neves 3057b76a7e tests: re-add all disabled tests and all disabled configurations 2020-10-14 16:11:49 +11:00
Felipe Neves f3783ba258 app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Felipe Neves a3c90bf59a freertos: merged freertos 10 kernel files into IDF
freertos/port: update the port files and split into xtensa and riscv ports

freertos: separated cpu files from rest of the kernel sources

freertos/port_xtensa: separated private include files into a folder

freertos/tasks: added task create pinned to core function do not break current IDF API

freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.

freertos: freertos component now compiling

freertos: freertos component now building

freertos: moved critical sections outside from FR kernel section to portable section

portmacro_xtensa: add void indentifier on functions that take no arguments

freertos: fix critical sections implementation to match with their function prototype

freertos: add cmake changes of freertos into make

freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.

freertos: fix conflicitng types of vApplicationSleep function

license: update the license of freertos

freertos: Doxygen comments refactored to render them correctly on docs

freertos: added new functions of freertos into the documentation

freertos: added message buffers and stream buffers to documentation

sysview: update freertos system view to the compatible with version 10

freertos: fixed event group  documentation rendering

freertos:  update static task structure to match the actual tcb size

freertos: removed backported test functions

freertos/smp: brought SMP code to  FreeRTOS 10 port

freertos/portmacro: added missing crosscore interrupt for yielding tasks

freertos: replaced soft-critical sections with hard-critical sections used by SMP

freertos: placed muxes inside of kernel objects

freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections

freertos: moved xtensa port files to a separated folder

freertos: added multiple instance of global variables required to SMP

freertos: added SMP modifications on specific tasks module functions

freertos: added TLS deletion function to task module

freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete

freertos: modified vTaskDelete to do not erase current task that runs on other core

freertos: reverted taskhandle and timerhandle as void* type

freertos: fixed de-referencing void pointer to get run time counter

freertos: fix system view trace enter macro arguments

freertos: Replaced soft critical sections with spinlocks on event_groups

freertos: fixed tick function to avoid calling tick hooks twice

freertos: Nofity give checking per CPU if schedule is suspended

freertos: added mpu release on TCB deletion

freertos: Added SMP changes when deleting a TCB on idle task

freertos/license: update freertos license in COPYRIGHT.rst

freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0

freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly

freertos/xtensa:  update xtensa specific files used in master branch

newlib/locks: revert the preemption checking in lock acquisition and release

ref_clock: fix initial state of ref_clock interrupt handler

freertos: added missing critical sections and yielding checkings

freertos: remove magic numbers in vTaskDelete

freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov 2218ac91c2 tools/ci: fix import error when running ttfw tests locally 2020-10-13 18:09:22 +02:00
Ivan Grokhotkov b1d64d1a61 test/panic: add gdbstub test configuration 2020-10-13 18:09:22 +02:00
Fu Hanxi 31c03a95da CI: Exclude list for sonarqube 2020-10-12 12:27:42 +08:00
Michael (XIAO Xufeng) 72a31a62c7 ci: add esp32s3 into template app build 2020-10-09 17:50:16 +08:00
Ivan Grokhotkov 2e0c716db7 Merge branch 'bugfix/ci_python3_compatibility' into 'master'
CI: fix Python 3 compatibility in example checker

See merge request espressif/esp-idf!10740
2020-10-08 18:10:09 +08:00
Martin Vychodil 497b730e8f * memprot support for RTC_SLOW
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton 80f993bf31 Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci' into 'master'
CI: get git describe from annotated tags

Closes IDFCI-129 and IDFGH-721

See merge request espressif/esp-idf!10671
2020-10-07 10:43:01 +08:00
Angus Gratton 1612f84ab3 ci: Check version tags are always annotated
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 10:00:59 +11:00
Angus Gratton 261363855c build system: Also get IDF version from annotated tags only
Builds on previous commit.

Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 09:36:40 +11:00
Roland Dobai 6956603554 CI: fix Python 3 compatibility in example checker 2020-10-06 19:16:17 +02:00
Angus Gratton 26a0df0423 Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
bootloader_support: fix issue in memory mapping for getting app descriptor

Closes IDFGH-4038

See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
David Čermák f1eb4b827e Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code

Closes IDFGH-4027

See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
Mahavir Jain 20af94ff53 Coredump config option rename throughout IDF 2020-09-30 20:22:27 +05:30
Mahavir Jain e08a3e1d63 test_apps: add anti rollback configuration for bootloader build 2020-09-30 12:21:24 +05:30
He Yin Ling 0f8d1cbf1b CI: get git describe from annotated tags:
we should only parse IDF version from annotated tags
2020-09-30 11:28:59 +08:00
Michael (XIAO Xufeng) 56403bd146 ci: define ESP_PLATFORM macro during public header check 2020-09-29 11:46:46 +02:00
Renz Bagaporo f33f49331f ci: update configs to include/exclude esp_pm in unit test 2020-09-25 05:24:10 +00:00
Angus Gratton 50e79e6763 Merge branch 'feature/switch_to_kconfiglib_package' into 'master'
tools: Use kconfiglib from package

Closes IDF-989

See merge request espressif/esp-idf!10535
2020-09-24 12:27:31 +08:00
Angus Gratton afe1413c9c Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
esp32-s3 (beta2) chip bringup

Closes IDF-958

See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov 2626f19500 Merge branch 'feature/add-command-idf-new-project' into 'master'
Add command for creating project and component with minimal required files

Closes IDF-1596

See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
Roland Dobai 883cbc416e tools: Use kconfiglib from package 2020-09-22 11:29:30 +02:00
morris 9fa06719fa global: enable build uinit test for esp32-s3 2020-09-22 15:15:03 +08:00
morris 75a372a9f0 unit_test: support reference clock, test delay function 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
Michael (XIAO Xufeng) 4e287a09fe spi_flash: add unit tests for qio mode 2020-09-20 01:57:14 +08:00
Ivan Grokhotkov 081ebcf1e7 tools: add dl.espressif.com root cert into idf_tools.py
Closes https://github.com/espressif/esp-idf/issues/5842
2020-09-18 17:39:53 +02: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
David Cermak 3b3409fb20 idf.py: Fixed gdb target to exit cleanly when no openocd watch task
When idf.py gdb starts, it expects openocd was started in the background
and creates a thread to watch for openocd errors. when gdb target exits,
the debug_ext.py aims to cleanup all threads and processes, but fails
with traceback if openocd-watch thread not available, which could happen
if openocd started separately.
2020-09-18 08:30:21 +02: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 f4296b947e Merge branch 'bugfix/fatfs_alloc_extram_first' into 'master'
fatfs: fix SPIRAM allocation not used due to Kconfig option name error

Closes IDFGH-3850

See merge request espressif/esp-idf!10381
2020-09-17 03:41:34 +08:00
Ivan Grokhotkov d17a3c76d0 ci: fetch submodules from mirror, if enabled 2020-09-16 21:22:26 +02:00
Ivan Grokhotkov deb7ca8bac Merge branch 'bugfix/codeowners_patterns' into 'master'
fix CODEOWNERS file patterns

See merge request espressif/esp-idf!10455
2020-09-16 02:56:28 +08:00
Ivan Grokhotkov 96db25c861 Merge branch 'feature/nvs_encryption_s2' into 'master'
NVS: using esp_partition API

Closes IDF-1340 and IDF-858

See merge request espressif/esp-idf!8683
2020-09-16 02:12:54 +08: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 37eb5066ca Merge branch 'bugfix/delete_useless_built_binaries_failed' into 'master'
CI: fix the bug that will cause non-preserve app binaries won't get removed

See merge request espressif/esp-idf!9767
2020-09-16 01:58:10 +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
Ivan Grokhotkov 00c3e0e8ec codeowners: fix directory patterns
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.

Regarding codeowners.py:

'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.

Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254.
2020-09-15 11:10:36 +02:00
Angus Gratton 2b8bacafc4 Merge branch 'bugfix/mfg_tool' into 'master'
mfg_util: Maintain format for line endings across various OS

Closes IDFGH-2827

See merge request espressif/esp-idf!8923
2020-09-15 14:30:44 +08:00
Ivan Grokhotkov c330def25a fatfs: fix SPIRAM allocation not used due to Kconfig option name error
Closes https://github.com/espressif/esp-idf/issues/5756
2020-09-14 18:30:31 +02:00
Shubham Kulkarni b930f7a96d simple_ota_example: Add example test with flash encryption enabled 2020-09-14 13:47:39 +00:00
Jakob Hasse aca9ec28b3 NVS: using esp_partition API
* partition api changed from spi_flash* API to
  esp_partition* API and is abstracted as a C++
  interface.
* The old nvs encryption is still possible
* changed default unit test app partition table
* Partitions coming from esp_partition API are
  checked for generic flash encryption. If yes,
  an error is returned since generic flash
  encryption isn't compatible with nvs
  encryption
* esp32, esp32s2 tests don't require nvs_flash
  but mbedtls now

Closes IDF-1340
Closes IDF-858
2020-09-14 10:34:34 +08: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
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