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
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
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
morris
50b93ce130
fix uninitialized variable EXTRA_COMPONENT_DIRS
2020-05-26 12:44:58 +08:00
redengin
6eb4bb16ec
allow unit test of extra-components
...
Merges https://github.com/espressif/esp-idf/pull/5345
2020-05-26 12:44:58 +08:00
Angus Gratton
042a433678
Merge branch 'test/print_leak_delta' into 'master'
...
unit test: Always print the free memory delta after the test
See merge request espressif/esp-idf!8876
2020-05-25 15:25:52 +08:00
Angus Gratton
084e170a8f
Merge branch 'refactor/esp_ipc' into 'master'
...
Split esp_ipc to a seaparate component
Closes IDF-1295
See merge request espressif/esp-idf!8520
2020-05-25 15:03:04 +08:00
Anton Maklakov
aa25b169f7
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-05-25 10:27:05 +07:00
Fu Hanxi
da9ca49093
fix after rebase
2020-05-22 19:08:02 +08:00
Fu Hanxi
c35b010a3f
improve regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
961a8cf85e
remove artifact config in ci.
2020-05-22 19:08:02 +08:00
Fu Hanxi
701b496621
some filename includes "error". so update the regex
2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e
make supported in find_apps/build_apps
2020-05-22 19:08:02 +08:00
sio13
76b9b3a11d
Update serial_ext.py
...
- replaced with oneliner
- removed default arguments
2020-05-22 12:00:00 +02:00
Angus Gratton
eb4ac07c96
unit test: Always print the free memory delta after the test
...
Prevents situations where the leak threshold is low and the
value slowly creeps up to be close to it, without developer
noticing.
2020-05-22 18:39:43 +10:00
KonstantinKondrashov
4275056423
esp32: Switch SPIRAM stack in esp_restart_noos() to internal stack
...
If esp_restart_noos() is run and the stack address points to external memory (SPIRAM)
then Cache_Read_Disable() raises up the error "Cache disabled but cached memory region accessed"
to fix this we switch stack to internal RAM before disable cache.
Added unit tests.
Closes: https://github.com/espressif/esp-idf/issues/5107
2020-05-22 16:23:53 +08:00
Angus Gratton
469b7bc4cf
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-22 15:04:39 +10:00
Roland Dobai
270d8b468a
tools: Don't generate pyc files
2020-05-20 12:07:51 +02:00
morris
fef40fdb72
ci: do fetch submodules for python lint
2020-05-20 10:50:10 +08:00
morris
d003f96a9d
gh_action: fix python lint
2020-05-20 10:50:10 +08:00
Roland Dobai
5f024e1cd4
Add protocol example tests
2020-05-19 12:17:32 +02:00
Angus Gratton
88d76d805a
Merge branch 'bugfix/idf_build_process_default' into 'master'
...
cmake: fix issue with setting defaults in idf_build_process
Closes IDFGH-3027
See merge request espressif/esp-idf!8537
2020-05-19 11:29:29 +08:00
Darian Leung
11d96b39d0
esp_ipc: Move to new component
...
This commit moves esp_ipc into a separate component.
2020-05-18 16:51:45 +08:00
Renz Christian Bagaporo
ba579d66ba
cmake: add comment that IDF build target must be global
2020-05-18 16:38:07 +08:00
Ivan Grokhotkov
514596cb81
Merge branch 'feature/idf_py_replace_run_with_call' into 'master'
...
tools: idf.py: replace the "run" method of Task with the magic "__call__" method
See merge request espressif/esp-idf!8763
2020-05-18 15:22:04 +08:00
Ivan Grokhotkov
3a6b8bb6e3
Merge branch 'bugfix/idf_py_double_loading_of_idf_ext' into 'master'
...
tools: idf.py: Don't load idf_ext.py in project folder twice
See merge request espressif/esp-idf!8764
2020-05-18 15:21:53 +08:00
Angus Gratton
0e4cd93ee9
Merge branch 'bugfix/kconfig_hex_values' into 'master'
...
kconfig: Fix two cases of hex values being handled incorrectly
Closes VSC-292
See merge request espressif/esp-idf!8372
2020-05-18 14:57:46 +08:00
Brian Pugh
8ed7fe3e3d
tools/idf.py: replace the "run" method of Task with the magic "__call__" method
...
Merges https://github.com/espressif/esp-idf/pull/5279
2020-05-15 19:44:07 +02:00
Brian Pugh
fa3d9573ce
tools/idf.py: prevent reloading duplicate extension paths. Do not load cwd if IDF_EXTRA_ACTIONS_PATH is not set.
...
Merges https://github.com/espressif/esp-idf/pull/5278
2020-05-15 19:39:36 +02:00
Renz Christian Bagaporo
13cd832b0c
ci: pushd and cd in one go in idf_build_process defaults test
2020-05-14 14:59:26 +00:00
Renz Bagaporo
740819529b
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-05-14 14:59:26 +00:00
Renz Bagaporo
0f6308d69c
ci: test idf_build_process defaults set properly
2020-05-14 14:59:26 +00:00
Mahavir Jain
18c1838587
esp32s2: add config option to place RTC data in fast RAM
2020-05-14 13:12:26 +00:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
Angus Gratton
48399d3ce0
Merge branch 'bugfix/idf_py_actions_fix_spelling' into 'master'
...
tool: Fix spelling in core_ext.py
Closes IDFGH-3126
See merge request espressif/esp-idf!8718
2020-05-13 16:17:40 +08:00
Renz Bagaporo
a0f3f1e0cb
cmake: make __idf_build_target global
2020-05-13 15:38:20 +08:00
Scott Shawcroft
8c4dc88d27
tool: Fix spelling in core_ext.py
...
Closes: https://github.com/espressif/esp-idf/pull/5145
2020-05-13 14:50:43 +08:00
Ivan Grokhotkov
418b68a197
test_apps: add panic test
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
a63f65dd6f
ci: don't run build system tests on unit_test or custom_test labels
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
3fe4adc98d
ttfw: allow relative imports in test scripts
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
7d74cc4255
ttfw_idf: IDFApp: convert partition offset to int
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
952830ab12
ttfw_idf: IDFApp: add method to get SHA256(elf file)
2020-05-12 22:27:06 +02:00
Ivan Grokhotkov
26f6136a7d
ttfw: only send relevant DUT kwargs to serial.serial_for_url
2020-05-12 22:27:06 +02:00
Krzysztof Budzynski
08bd8bff7e
Merge branch 'docs/mass_mfg_update' into 'master'
...
Fix a typo according to DOC-158
See merge request espressif/esp-idf!8704
2020-05-12 18:36:35 +08:00
Wang Ning
5a28cc6ae3
Fix a typo according to DOC-158
2020-05-12 15:56:14 +08:00
Fu Hanxi
195eb883b4
Add idf_as_lib/build.sh to build_system_test
2020-05-07 10:09:54 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Ivan Grokhotkov
d73470a8a6
Merge branch 'bugfix/loadable_elf_fixes' into 'master'
...
cmake: loadable elf fixes
See merge request espressif/esp-idf!8603
2020-05-05 17:02:48 +08:00
Ivan Grokhotkov
8a4cc99d90
test_apps: don't download partition table in loadable elf test
2020-05-05 09:45:51 +02:00
Angus Gratton
9b5f25ae2c
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Angus Gratton
16e14104f7
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-05 13:15:54 +10:00
Ivan Grokhotkov
255dd63122
ci: add loadable ELF build system test
2020-05-04 19:15:43 +02:00
Ivan Grokhotkov
5e95bc1d21
test_apps: make it possible to run gdb_loadable_elf app locally
2020-05-04 19:10:06 +02:00
Ivan Grokhotkov
1449496fb0
Merge branch 'bugfix/check_python_dependencies_diag' into 'master'
...
tools/check_python_dependencies: print diagnostic info on failure
See merge request espressif/esp-idf!8376
2020-05-04 23:30:23 +08:00
Ivan Grokhotkov
17d60faf17
Merge branch 'bugfix/ci_missed_deprecated_options' into 'master'
...
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
See merge request espressif/esp-idf!8585
2020-05-04 15:55:24 +08:00
Ivan Grokhotkov
70aa22615c
Merge branch 'feature/ut_parallel_build' into 'master'
...
unit_test: ut parallel build
Closes IDF-1570
See merge request espressif/esp-idf!8338
2020-05-04 15:52:59 +08:00
Ivan Grokhotkov
039e0dc603
Merge branch 'feature/idf_size_autodetect_chip' into 'master'
...
tools: Autodetect the target of MAP files in idf_size.py
Closes IDF-1566
See merge request espressif/esp-idf!8424
2020-05-04 15:51:28 +08:00
Angus Gratton
f9552baf97
Merge branch 'feature/dfu_build_flash_s2' into 'master'
...
Add build system support for programming ESP32-S2 using DFU utils
Closes IDF-579
See merge request espressif/esp-idf!8294
2020-05-04 14:57:51 +08:00
Ivan Grokhotkov
ec2e666a6e
Merge branch 'feature/ldgen_output_determinism' into 'master'
...
ldgen: determinism in mapping rule order
See merge request espressif/esp-idf!8475
2020-05-04 14:53:26 +08:00
Ivan Grokhotkov
1ddfe0d465
Merge branch 'feature/gdbgui_gdbinit_arg' into 'master'
...
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
See merge request espressif/esp-idf!8370
2020-05-04 13:23:27 +08:00
Ivan Grokhotkov
a55df7bcbf
Merge branch 'feature/set_target_chip_name' into 'master'
...
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
See merge request espressif/esp-idf!8256
2020-05-04 13:21:24 +08:00
Roland Dobai
58bbd99b9c
Fix missed deprecated Kconfig option caused by tabs in sdkconfig.rename
2020-04-30 18:23:21 +02:00
Renz Bagaporo
89a255f5eb
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-04-30 18:20:00 +08:00
Fu Hanxi
18e79f4865
correct the app_update config for s2 chip
2020-04-30 06:47:49 +00:00
Fu Hanxi
c131a18059
load all yml files while assigning tests
2020-04-30 06:47:49 +00:00
Fu Hanxi
7709d4ccfd
Use IDF_TARGET to determine the build method and the output file name
2020-04-30 06:47:49 +00:00
Fu Hanxi
01ff4f621f
Add build_unit_test.sh to do find_apps and build_apps to unit_tests
...
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Fu Hanxi
04342a73f2
Fix some python bugs left before
2020-04-30 06:47:49 +00:00
Ivan Grokhotkov
79976e7370
Merge branch 'feature/storage_examples' into 'master'
...
examples: Add storage example tests and migrate "loadable elf" test to test_apps
Closes IDF-1150 and IDF-1586
See merge request espressif/esp-idf!8174
2020-04-30 14:34:34 +08:00
Roland Dobai
ab9f714248
Add build system support for programming ESP32-S2 using DFU utils
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
2aaab7eeef
tools: add script to generate DFU binaries for ESP32-S2
2020-04-30 07:59:18 +02:00
Ivan Grokhotkov
7dad294061
tools/idf.py: add --gdbinit argument to gdb, gdbgui, gdbtui
...
Allows starting a debugging session with a custom set of init commands
2020-04-29 23:43:38 +02:00
Ivan Grokhotkov
7b79b52062
tools: allow alternative spellings of target name (ESP32-S2, ESP32S2)
...
by ignoring character case and hyphens in target name.
2020-04-29 23:42:18 +02:00
Krzysztof Budzynski
613a12a056
Merge branch 'docs/update_mass_mfg' into 'master'
...
docs: Include links to tools for flash operations
See merge request espressif/esp-idf!8518
2020-04-29 20:27:18 +08:00
Jiang Jiang Jian
922a0fa485
Merge branch 'feature/esp-hid-component' into 'master'
...
ESP-HID Component
See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Fu Hanxi
d41c130b68
add some prefix for doc urls to make BOT recognize the preview doc url
2020-04-29 15:41:53 +08:00
Roland Dobai
2d709c6384
Migrate "loadable elf" test from hello_world example to test_apps
2020-04-29 09:17:28 +02:00
Roland Dobai
819f7a4e57
examples: Add storage example tests
2020-04-29 09:16:18 +02:00
Shivani Tipnis
3f6e7a553b
docs: Include links to tools for flash operations
2020-04-29 11:19:02 +05:30
Angus Gratton
6dc6aa0063
Merge branch 'feature/system_example_tests' into 'master'
...
Add system example tests
Closes IDF-1148
See merge request espressif/esp-idf!8438
2020-04-29 13:43:45 +08:00
Renz Bagaporo
aed204ce6f
cmake: allow embedding to depend on a target
2020-04-29 12:34:25 +08:00
Roland Dobai
e1dc92b60b
Add system example tests
2020-04-28 14:52:15 +02:00
Roland Dobai
4f8e2699db
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-27 16:15:52 +02:00
Anton Maklakov
3029ab343b
Merge branch 'test/ci_disable_ut_s2_wo_label' into 'master'
...
ci: disable the UT for S2 when label is not used
See merge request espressif/esp-idf!8480
2020-04-27 16:35:45 +08:00
Angus Gratton
3845b002b8
Merge branch 'bugfix/esp32s2_iram_dram_disable_tests' into 'master'
...
esp32s2: disable memprot for all CI tests (temporary)
See merge request espressif/esp-idf!8484
2020-04-27 13:16:44 +08:00
Michael (XIAO Xufeng)
9d98111652
Merge branch 'bugfix/spi_bus_lock_missing_semphrstatic' into 'master'
...
spi: fix config break and reduce overhead of the bus lock on SPI1
Closes IDFGH-3017
See merge request espressif/esp-idf!8221
2020-04-27 12:57:19 +08:00
Martin Vychodil
c9d2ad0ce5
esp32s2: disable memprot for all CI tests (temporary)
2020-04-26 22:38:53 +02:00
Michael (XIAO Xufeng)
ac63760ded
ci: disable the UT for S2 when label is not used
2020-04-26 16:29:49 +08:00
Ivan Grokhotkov
8a007dcbc2
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults' into 'master'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
See merge request espressif/esp-idf!8437
2020-04-23 22:49:18 +08:00
David Čermák
3d868ec05d
Merge branch 'bugfix/ppp_test_check_netif' into 'master'
...
ppp-test: addressing stability of PPP test
See merge request espressif/esp-idf!8373
2020-04-23 21:47:40 +08:00
Angus Gratton
8a349d7102
Merge branch 'fix/ci_example_test_prov' into 'master'
...
CI: Fix prov example test exception handle
See merge request espressif/esp-idf!8413
2020-04-23 17:00:10 +08:00
David Cermak
a245f5047a
ppp-test: wait for graceful disconnect when PPP shutdowns
2020-04-23 05:55:17 +00:00
David Cermak
b3749e38f9
ppp-test: check if ppp interface is active and IP address correct before starting the test
...
Addressing stability of pppos test:
* listing active network interfaces for presence of "ppp0" interface
* fixed IPv6 address regex to prevent ttfw accept partial address only
(less than 8 octets)
* workaround crash after exiting app_main()
2020-04-23 05:55:17 +00:00
Ivan Grokhotkov
28efe511f4
Merge branch 'bugfix/semihosting_write' into 'master'
...
Semihosting fixes for write and the semihost example
See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
Shivani Tipnis
745e979283
CI: Fix prov example test cryptography package version exception handling
2020-04-23 00:27:40 +05:30
Roland Dobai
14978aef70
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-22 15:29:06 +02:00
Roland Dobai
511135989c
tools: Autodetect the target of MAP files in idf_size.py
2020-04-22 13:12:56 +02:00
michael
fdf983e0c4
spi: fix config break and reduce overhead of the bus lock on SPI1
...
The SPI bus lock on SPI1 introduces two side effects:
1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.
2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.
This commit:
1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.
2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.
3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.
introduced in 49a48644e4
.
Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
He Yin Ling
c2e068f0e4
Merge branch 'bugfix/ci_partition_table_detection' into 'master'
...
CI: Fix partition table detection if "partition" is in the project name
See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Alexey Gerenkov
c0610a49b4
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200420'
2020-04-21 19:43:58 +03:00
Ivan Grokhotkov
28b9acabe2
Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'
...
Fix cmake component management test on shell runners
See merge request espressif/esp-idf!8398
2020-04-20 18:23:42 +08:00
Sergei Silnov
44d77c7100
Fix cmake component management test on shell runners
2020-04-20 09:25:03 +02:00
Ivan Grokhotkov
8ee1ec1270
Merge branch 'bugfix/pyyaml_test_config_output_unicode' into 'master'
...
test_config: pyyaml will generate !!python/unicode in test_config
See merge request espressif/esp-idf!8288
2020-04-20 02:21:11 +08:00
Krzysztof Budzynski
e45794d0cb
Merge branch 'doc/pdf_generation' into 'master'
...
PDF generation for build doc
Closes IDF-1217 and IDF-1464
See merge request espressif/esp-idf!8110
2020-04-20 01:44:42 +08:00
Alex Lisitsyn
b1fe4c4cc6
freemodbus: add extern c block into common header for cpp
2020-04-17 17:56:50 +08:00
Ivan Grokhotkov
46e9aef6c9
tools/check_python_dependencies: print diagnostic info on failure
...
Helps collect more data for cases such as:
https://github.com/espressif/esp-idf/issues/5133
2020-04-16 11:58:16 +02:00
Marius Vikhammer
8a3d806798
doc: update CI to build PDF
2020-04-15 17:14:27 +08:00
Marius Vikhammer
407275f681
doc: add latex and PDF generation to build_docs
...
Adds options for generating tex-files and PDFs when building documentation
Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
David Cermak
2c2f909133
idf.py: debug ext prints detailed info/hint on common openocd issues
2020-04-15 09:07:17 +02:00
David Čermák
e7b80f2b71
Merge branch 'feature/pppos_client_test' into 'master'
...
PPPoS client test
Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732
See merge request espressif/esp-idf!7794
2020-04-15 13:57:36 +08:00
Angus Gratton
e02f5fbbed
Merge branch 'bugfix/get_component_requirements' into 'master'
...
cmake: fix getting component requirements
See merge request espressif/esp-idf!8171
2020-04-15 13:52:49 +08:00
David Cermak
636621d1c5
pppos_client: Add a test application for pppos_client
...
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
Mahavir Jain
d85d3d969f
Merge branch 'bugfix/remove_libsodium_s2_config' into 'master'
...
unit_test_app: remove libsodium config for esp32s2
See merge request espressif/esp-idf!8341
2020-04-14 20:19:48 +08:00
Ivan Grokhotkov
5cf8c68881
Merge branch 'bugfix/idf_py_ext_debug_ut_coex' into 'master'
...
idf.py: fix debug extenstion to work with unit tests
See merge request espressif/esp-idf!8306
2020-04-14 17:30:59 +08:00
Mahavir Jain
b83c3bbb66
unit_test_app: remove libsodium config for esp32s2
...
This configuration overflows DRAM size for esp32s2 and hence
resulting in CI failure. Removing this config as it does not
add any value in esp32s2 context.
2020-04-14 12:35:19 +05:30
Anton Maklakov
e24da716f3
Merge branch 'bugfix/ci_public_header_debug' into 'master'
...
ci: public header check to display error messages if verbose is off
See merge request espressif/esp-idf!8283
2020-04-12 01:21:59 +08:00
David Cermak
ec391ddfa1
idf.py: fix debug extenstion to work with unit tests
2020-04-09 14:54:10 +02:00
Ivan Grokhotkov
a521921788
Merge branch 'feature/build_app_readable_multi_target' into 'master'
...
build_app: make multi target support readable
See merge request espressif/esp-idf!8275
2020-04-09 16:40:57 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Anton Maklakov
445e847274
Merge branch 'bugfix/ci_app_test_dependency' into 'master'
...
CI: correct example vs. custom tests dependency
See merge request espressif/esp-idf!8258
2020-04-09 14:02:13 +08:00
David Cermak
ce0c70770d
ci: public header check to display error messages if verbose is off
...
Also added a command line option to reduce the analysis to a specific
directory only. This is useful for local execution for checking updated
headers with verbose flag set.
2020-04-09 07:44:55 +02:00
Ivan Grokhotkov
2e14149bff
Merge branch 'feat/monitor_remake_with_serial_arg' into 'master'
...
idf_monitor: support to re-flash with the using port
Closes IDFGH-2479 and IDF-836
See merge request espressif/esp-idf!6373
2020-04-09 05:43:32 +08:00
David Cermak
6d07bcd611
mqtt-tests: rename tests to match the actual group
2020-04-08 14:41:05 +02:00
David Cermak
25803b9dc4
ci: run custom-test separately from example-tests
2020-04-08 14:41:05 +02:00
Angus Gratton
8ded54a65d
Merge branch 'feature/easy_debug' into 'master'
...
idf.py: add debug related targets
Closes IDF-890
See merge request espressif/esp-idf!5602
2020-04-08 16:08:10 +08:00
Renz Bagaporo
bd8f616f82
cmake: fix getting component requirements
2020-04-08 05:42:15 +00:00
Angus Gratton
73825cfd8a
Merge branch 'bugfix/elf_dir' into 'master'
...
cmake: add elf dir information
See merge request espressif/esp-idf!8264
2020-04-08 12:41:23 +08:00