Commit Graph

2850 Commits

Author SHA1 Message Date
morris
2e0ffbd543 Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
bugfix/driver: fix and cleanup soc/ll stuffs

Closes IDF-3722

See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Mahavir Jain
f1c6c68f19 Merge branch 'feature/ttfw_esp32c3fpgadut' into 'master'
Automate flash encryption and secure boot tests on FPGA

See merge request espressif/esp-idf!12367
2021-08-30 10:24:24 +00:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
Mahavir Jain
f7d2f283b3 Merge branch 'bugfix/bugfix/esp32s2_memprot_no_logging_2' into 'master'
System/Security: ESP32S2 Memprot uses no abort() calls neither does logging

Closes IDF-3634

See merge request espressif/esp-idf!14852
2021-08-27 11:17:31 +00:00
Mahavir Jain
3850eba152 Merge branch 'feature/local_control_sec1' into 'master'
Added support for security1 in local control

See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Sachin Parekh
cfcb893289 ttfw_idf: Added ESP32-S3 FPGA support
Provision to burn and reset efuses of ESP32S3 on FPGA

test_app: Enabled automated test cases for ESP32S3
2021-08-27 10:41:31 +05:30
Sachin Parekh
3f7fed7872 test_app: Added automated test cases for secure_boot 2021-08-27 10:41:31 +05:30
Sachin Parekh
65db2d3d80 ttfw_idf: Added IDFFPGADUT class
Provision to burn and reset efuses of ESP32C3 chip on FPGA
2021-08-27 09:58:26 +05:30
Vikram Dattu
5691c9a8e8 Added support for security1 in local control
1. Added config options to chose from protocom security.
    It can be chosen 0/1 or custom.
    Possible to set POP as well

2. Added support in `esp_local_ctrl.py` test script for sec_ver selection

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Martin Vychodil
58aed7df98 ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
Jakob Hasse
376559d14c [cmake]: fixed FPGA setting during early build 2021-08-26 10:11:56 +08:00
David Cermak
0b3476fdd0 CI: mqtt test apps: removed unnecessary env.yml 2021-08-25 16:41:33 +08:00
Wu Zheng Hui
3128a2544b Adjust the variable name &
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
f65c8249af Merge branch 'feature/esp_docs' into 'master'
docs: update to use esp-docs

Closes IDF-3105

See merge request espressif/esp-idf!13333
2021-08-24 00:56:57 +00:00
Marius Vikhammer
7411321603 docs: update to use esp-docs 2021-08-24 08:56:48 +08:00
Mahavir Jain
b2c1f6c719 Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error

Closes IDFGH-5640

See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Jakob Hasse
1151fdf9ae [mocks]: fixed strippables patterns for CMock 2021-08-20 15:52:12 +08:00
morris
bb87fd8f08 Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
pcnt: soc update and hal refactor

See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
Jakob Hasse
c81d45280e Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
Added spi_flash mocks

See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
33ec53f431 Merge branch 'ci/clang_tidy_check_for_more_components' into 'master'
CI: clang-tidy check for more components

Closes IDF-2736

See merge request espressif/esp-idf!10443
2021-08-19 01:26:26 +00:00
Fu Hanxi
d66a407eb3 ci: enable clang-tidy check for more components
Use internal project clang-tidy-runner

Move sonarqube related configs to sonar-project.properties
2021-08-19 09:26:20 +08:00
Jakob Hasse
46e59e7194 [mocks]: moved already added spi_flash mocks
[nvs]: page test works with new overriden mock

[spi_flash]: Removed mocking code from CMake

* Renamed nvs test to be consistent with other
  host test
2021-08-18 11:05:51 +08:00
yuanjm
316cdd34e2 ci: Add disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS ci build file 2021-08-17 19:56:15 +08:00
Jakob Hasse
b3271a51af Merge branch 'bugfix/common_components_linux' into 'master'
[build system]: Fixed common requirement for Linux target

Closes IDF-3638

See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Cao Sen Miao
030da50762 i2c_app_test: Add i2c work together with wifi test 2021-08-17 14:46:06 +08:00
Omar Chebib
32067f9b6b Merge branch 'feature/freertos_snapshot_extraction' into 'master'
freertos: take tasks snapshot out of tasks.c source code

Closes IDF-3334

See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
Zim Kalinowski
1c690aa5d2 Merge branch 'feature/bootloader_components_kconfig_in_menuconfig' into 'master'
bootloader: Kconfig files in bootloader_components is now part of menuconfig

Closes IDF-3696

See merge request espressif/esp-idf!14740
2021-08-16 06:01:50 +00:00
Jakob Hasse
f78c8f90c0 Merge branch 'feature/esp_timer_mock' into 'master'
[esp_timer]: created mock override component

See merge request espressif/esp-idf!14526
2021-08-13 11:01:53 +00:00
Jakob Hasse
7029f0537e [build system]: Fixed common requirement for Linux 2021-08-13 16:50:29 +08:00
Jakob Hasse
ca12c92877 [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
Jakob Hasse
dd3f43ca2d [build system]: add ruby check before mocking 2021-08-13 14:31:44 +08:00
Roland Dobai
26bc4971ac Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
Tools: Fix memory calculations of idf_size.py

Closes IDF-3246 and IDF-2434

See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Jakob Hasse
1282f0e528 [tools]: add mocks dir to pattern check exclude 2021-08-12 11:02:43 +08:00
Omar Chebib
339454ff19 bootloader: Kconfig files in bootloader_components is now part of menuconfig
It is now possible to configure the options (Kconfig) of bootloader components
directly from the menuconfig
2021-08-12 10:43:00 +08:00
simon.chupin
294f9783fc Tools: Fix memory calculations of idf_size.py 2021-08-11 17:51:51 +02:00
Michael (XIAO Xufeng)
064f12cb90 idf_size.py: fixed diram counted twice issue, and improve display
Currently static RAM usage are listed under corresponding physical
memory.

ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Tomas Rezucha
57b243a699 Update Ubuntu to v20.04 2021-08-11 20:34:02 +08:00
morris
56760c9669 pcnt: refactor hal driver 2021-08-10 17:19:21 +08:00
Jakob Hasse
88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
Ivan Grokhotkov
95699a9260 Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
libsodium: fix build issues with GNU Make

Closes IDF-3673

See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Alexey Gerenkov
bf0431f026 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'

See merge request espressif/esp-idf!14514
2021-08-06 11:55:00 +00:00
Alexey Gerenkov
58ca48313f tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' 2021-08-05 21:54:49 +03:00
Sachin Parekh
6582f7070e Update tests for assert and abort
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-08-05 11:09:22 +05:30
Mahavir Jain
603e915d55 tools/unit_test_app: fixes to build this application with Make build 2021-08-05 12:28:09 +08:00
Zim Kalinowski
1fd56e0b87 Merge branch 'feature/systimer_generate_rtos_tick' into 'master'
freertos(esp32s3): SysTick uses systimer

Closes IDF-2613

See merge request espressif/esp-idf!12246
2021-08-04 12:33:52 +00:00
Konstantin Kondrashov
29f581fc70 freertos(esp32s3): SysTick uses systimer 2021-08-04 20:33:44 +08:00
Jakob Hasse
847e3d7e46 Merge branch 'feature/gpio_cxx' into 'master'
CXX GPIO classes

See merge request espressif/esp-idf!13989
2021-08-04 02:45:57 +00:00
Jakob Hasse
06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Martin Gaňo
2452dc57f0 Tools: extracted functionality out of idf_monitor 2021-08-03 19:18:17 +08:00
Angus Gratton
dea52a92b9 make: Fix COMPONENT_OWNBUILDTARGET
Add build system test to match

Partial fix for https://github.com/espressif/esp-idf/issues/3664
2021-08-03 10:40:39 +08:00
Marius Vikhammer
a0c548ccd4 Merge branch 'bugfix/coredump_elf_py_section' into 'master'
coredump: fix section name parsing in python utility

See merge request espressif/esp-idf!14597
2021-08-02 07:26:47 +00:00
Marius Vikhammer
8b259d15f6 coredump: fix section name parsing in python utility
elf.py assumed every section header name had its own string in
shstrtab, but multiple sections may reuse the same substring with
different offsets.
2021-08-02 13:15:30 +08:00
Cao Sen Miao
247866261f Merge branch 'feature/flash_support_on_esp32s3' into 'master'
esp_flash: bringup ext flash chip on ESP32-S3

Closes IDF-2021 and IDF-3230

See merge request espressif/esp-idf!14523
2021-08-02 03:59:14 +00:00
Armando (Dou Yiwen)
0dad76329f Merge branch 'feature/support_noinit_section_in_psram_on_esp32' into 'master'
memory: support noinit section in psram on esp32

Closes IDFGH-2621

See merge request espressif/esp-idf!14088
2021-07-31 09:58:59 +00:00
Cao Sen Miao
992de2750e spi_flash: add support for ext flash 2021-07-31 14:11:35 +08:00
Armando
f2bfdec20f ci: enable external bss and external noinit test cases 2021-07-31 11:02:13 +08:00
Fu Hanxi
1eb35eda77 ci: bypass wpa_supplicant upstream codes 2021-07-29 13:04:48 +08:00
Jakob Hasse
e8082ed6c7 [cmake]: fix idf_component_mock requirement macro 2021-07-28 18:50:43 +08:00
Martin Gaňo
f25ed8bbdf Tools: Fixed typo in idf_tools.py 2021-07-28 16:43:02 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
Roland Dobai
6b8760784d Merge branch 'bugfix/ci_debug_gdb_issues' into 'master'
CI: Wait for the GDB process to start and print more debugging information

Closes IDFCI-510

See merge request espressif/esp-idf!14485
2021-07-27 17:49:26 +00:00
Ivan Grokhotkov
da871e3dad Merge branch 'bugfix/tools_tests' into 'master'
tools: fix failing idf_tools tests

See merge request espressif/esp-idf!14532
2021-07-27 15:32:17 +00:00
Shubham Patil
3e84e5e668 Merge branch 'bugfix/xtensa_extra_info_register_values' into 'master'
espcoredump.py: Parse EPS and EPC register values using register index

See merge request espressif/esp-idf!14448
2021-07-27 10:22:41 +00:00
Ivan Grokhotkov
100a80556f tools: test_idf_tools: fix failing tests and improve readability
* fix failing tests: expect s2 binutils to be installed on s3,
  expect risc-v toolchain to be installed on s2 and s3.
* improve readability by adding assert_tool_installed and
  assert_tool_not_installed functions, instead of using an optional
  assertIn argument
* rename "RISC" to "RISCV_ELF" as ULP is arguably very much "R" as in
  "RISC"!
2021-07-27 12:19:16 +02:00
Ivan Grokhotkov
d9f3b1fa8e tools: install esp32s2 ULP binutils for esp32s3 as well
ESP32-S3 uses same ULP coprocessor as ESP32-S2, so the same binutils
package is used.
2021-07-27 12:15:03 +02:00
Roland Dobai
d3b67971a4 Merge branch 'bugfix/tools_fix_cmake_url' into 'master'
tools: fix cmake url

See merge request espressif/esp-idf!14521
2021-07-27 09:52:49 +00:00
Jiang Jiang Jian
4d7f356f04 Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
wpa_supplicant: bypass sonar checks for upstream code

See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Anton Maklakov
5b484835d7 tools: fix cmake url 2021-07-27 13:05:32 +07:00
Ivan Grokhotkov
b23201b6c9 Merge branch 'bugfix/tools_json_s2_ulp_toolchain' into 'master'
tools: install riscv32-esp-elf for ESP32-S2 and ESP32-S3 as well

See merge request espressif/esp-idf!14509
2021-07-27 05:46:33 +00:00
Ivan Grokhotkov
3fa8e8d1e3 Merge branch 'feature/windows_installer_moved_to_github' into 'master'
tools: Windows Installer project moved to github.com/espressif/idf-installer

Closes IDF-3147

See merge request espressif/esp-idf!14120
2021-07-26 21:41:38 +00:00
Martina
1e5a2f92c3 feature/update_cmake: Update of outdated CMake version 3.16.4->3.20.3 and CCache version 3.7->4.3 in tools.json
Closes https://github.com/espressif/esp-idf/issues/7083
2021-07-26 21:30:59 +08:00
Ivan Grokhotkov
8940f0ff2c tools: install riscv32-esp-elf for ESP32-S2 as well
riscv32-esp-elf-gcc is used for RISC-V ULP programming.
2021-07-26 09:58:48 +02:00
Roland Dobai
1ecdab3a70 CI: Debug GDB issues 2021-07-23 02:00:00 +08:00
Roland Dobai
e1c978a03b Merge branch 'feature/use_lin_bin_on_freebsd' into 'master'
Tools: Use Linux i386/AMD64 binaries on FreeBSD

Closes IDFGH-5492

See merge request espressif/esp-idf!14442
2021-07-22 14:31:20 +00:00
He Yin Ling
35f8caf1cb Merge branch 'bugfix/ttfw_fix_flush_index_error' into 'master'
test: TTFW fix flush index error

See merge request espressif/esp-idf!14217
2021-07-22 12:55:27 +00:00
Roland Dobai
0ac685d094 Merge branch 'bugfix/monitor_reset_start' into 'master'
Tools: Fix chip reset on IDF Monitor connection

Closes IDFGH-5451, IDFCI-690, IDF-3455, and IDF-287

See merge request espressif/esp-idf!14349
2021-07-22 12:19:25 +00:00
Juraj Michálek
76544b053a tools: Windows Installer project moved to github.com/espressif/idf-installer 2021-07-22 12:13:38 +02:00
Kapil Gupta
e667d1af2e wpa_supplicant: bypass sonar checks for upstream code 2021-07-22 14:12:22 +08:00
Fu Hanxi
69650e0c18 Merge branch 'feature/espcoredump_test_refactor' into 'master'
Feature: espcoredump test refactor

See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Fu Hanxi
a6068ef259 Merge branch 'feature/pass_idf_version_to_component_manager' into 'master'
feat: pass idf version to component manager

See merge request espressif/esp-idf!14343
2021-07-22 04:04:19 +00:00
Fu Hanxi
12f0b55ca9 test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +08:00
Ivan Grokhotkov
2f811b7975 cmake: sort lists obtained from file(GLOB)
CMake sorts result of file(GLOB) command since version 3.6.0:
https://gitlab.kitware.com/cmake/cmake/-/commit/edcccde7d

Since ESP-IDF sets cmake_minimum_required version to 3.5, and version
3.5.1 is used in CI, sort file lists obtained from file(GLOB)
manually.

This helps obtain reproducible order of libraries passed to the linker
and to ldgen.
2021-07-22 10:14:33 +08:00
Shubham Patil
df12f22e37 espcoredump.py: Parse EPS and EPC register values using register index 2021-07-21 20:24:47 +05:30
morris
fd568ce2c0 Merge branch 'bugfix/add_requires_to_mock_register' into 'master'
[cmake]: Fixed mock register function

See merge request espressif/esp-idf!14396
2021-07-21 06:54:20 +00:00
Roland Dobai
31f45f7200 Tools: Fix chip reset on IDF Monitor connection
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Dmitry
dbf5c6fd58 Tools: Fix chip reset on IDF Monitor connection
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Anton Maklakov
be8ef09a59 Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
[cxx]: Activate emergency exception memory pool test in CI

Closes IDF-1610

See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Roland Dobai
7c3a4bc26b Merge branch 'feature/installing_tools_for_IDF_TARGET' into 'master'
tools: Installing tools for given IDF_TARGET

Closes IDF-814 and IDFGH-3092

See merge request espressif/esp-idf!13351
2021-07-19 06:53:01 +00:00
Jakob Hasse
366ede3ffb [cmake]: Fixed mock register function
* REQUIRES was missing from multi value args
2021-07-19 13:57:19 +08:00
Michael (XIAO Xufeng)
59195b6fb3 Merge branch 'bugfix/update_gdma_soc' into 'master'
gdma: alignment setting for PSRAM transfer

Closes IDF-1524

See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
Marek Fiala
f6c2198a21 tools: Installing tools for given IDF_TARGET
Allow user to select specific ESP_TARGET while setting up ESD_IDF.
Only necessary tools for given target will be downloaded and installed.

Closes https://github.com/espressif/esp-idf/issues/5113
2021-07-16 15:03:19 +02:00
Angus Gratton
f9d958a65d ut configs: Replace target component with esp_hw_support
No tests remaining in the target components.

Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
1e628c0f30 esp32h2: Build unit test app 2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7 tests gen_digital_signature_tests: Fix mypy issues 2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823 esp32: move app linker scripts 2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c esp32: cleanup build script 2021-07-16 20:14:27 +08:00
Renz Bagaporo
702e41e1c8 esp32s2: move crypto related functions 2021-07-16 20:14:26 +08:00
morris
d9819bc7ae gdma: set transfer ability 2021-07-16 14:47:09 +08:00
Fu Hanxi
b26b6d7dc9 feat: set IDF_VERSION to environment variable 2021-07-16 12:01:57 +08:00
Mahavir Jain
f45b60b28b Merge branch 'bugfix/esp_prov_default_pop' into 'master'
Change default PoP argument of esp_prov.get_security from None to string

Closes IDFGH-5381 and IDFGH-5380

See merge request espressif/esp-idf!14353
2021-07-15 18:00:03 +00:00
Marius Vikhammer
126c6405f1 Merge branch 'feature/s3_default_2_config' into 'master'
CI: add S3 default_2 unit test config

See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Alex Henrie
5ed53c272b Change default PoP argument of esp_prov.get_security from None to string
Signed-off-by: Shivani Tipnis <shivani@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7130
Closes IDFGH-5380
2021-07-15 13:06:53 +05:30
Ivan Grokhotkov
afe14a5ed2 Merge branch 'bugfix/newlib_dirent_decls' into 'master'
newlib: add C++ guards to the platform-specific dirent.h

Closes IDFGH-5465

See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Ivan Grokhotkov
da3038cd7a Merge branch 'bugfix/tools_fix_win_c3_gdb' into 'master'
tools: Update ESP32-C3 toolchain for Windows, added some missed DLLs for GDB

Closes IDFGH-5410

See merge request espressif/esp-idf!14276
2021-07-14 23:57:05 +00:00
morris
3e2d98500f Merge branch 'refactor/common_rom_rtc_apis' into 'master'
soc: define reset reasons in soc component

Closes IDF-1993

See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2 Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification

See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770 Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
bootloader: Add configurable pin level for factory reset (PR)

Closes IDFGH-5337

See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
He Yin Ling
1708febe48 ttfw: fix incorrect length when flush data cache after expect:
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-13 13:07:08 +08:00
He Yin Ling
b79778d273 ttfw: full_stdout should not return data after pattern in expect 2021-07-13 13:07:08 +08:00
Angus Gratton
e92c4106b9 ci: Enable ESP32-S2 and later support for Secure Boot test app 2021-07-13 14:03:45 +10:00
Angus Gratton
4502a6a5ae Merge branch 'ci/test_apps_codeowners' into 'master'
ci: Add codeowners for test_apps categories

See merge request espressif/esp-idf!14312
2021-07-13 03:56:02 +00:00
morris
1560d6f1ba soc: add reset reasons in soc component 2021-07-13 10:45:38 +08:00
Simon
0b9afa509f tools: Add docs subcommand docs which opens browser with documentation for current version of idf and model of your target
Add docs subcommand with options:
--no-browser - Prints url for current documentation instead of opens browser with documentation
--language - Select documentation language
--starting-page - Choice section of documentation to open
--version - Choice version of esp-idf
--target - Choice model of your target
2021-07-12 10:56:37 +02:00
Angus Gratton
a06929cf29 ci: Fix example Python matching, update ordering check
For matches like **/*.py we need to place the wildcard last, so that
it can override previous directory matches (otherwise the directory
matches override the wildcard). Relax the check_codeowners.py order
check to allow this.
2021-07-12 11:30:11 +10:00
Ivan Grokhotkov
cbf207bfb8 newlib: add C++ guards to the platform-specific dirent.h
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.

Since da418955f5,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.

This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.

The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.

Closes https://github.com/espressif/esp-idf/issues/7204
2021-07-08 15:53:58 +02:00
Marius Vikhammer
80acc1a002 CI: add S3 default_2 unit test config 2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592 [cxx]: Activated emergency pool test to CI 2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200 secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
David Čermák
cd47ba03bc Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
mdns: Clean the main mdns module from lwip dependencies

See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Anton Maklakov
2b81fce227 tools: Update ESP32-C3 toolchain for Windows - add some missed DLLs for GDB 2021-07-06 16:26:47 +07:00
Angus Gratton
bfb602d0fc ci: Fix error message if insufficient jobs for test case tag 2021-07-05 12:08:36 +08:00
Tomasz 'CeDeROM' CEDRO
05f0fa6ebd Use Linux i386/AMD64 binaries on FreeBSD.
FreeBSD can natively emulate Linux ELF binaries.
This commit allows automated Linux tools deployment on FreeBSD.

Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2021-07-02 16:08:49 +02:00
David Cermak
0a878f0e85 CI: esp_err_t check: Ignore esp32_mock.h per mdns mock update 2021-07-01 15:45:17 +02:00
Shu Chen
75bd02bd46 esp32h2: add some more fixes and TODOs 2021-07-01 20:36:39 +08:00
Shu Chen
15a907da48 esp32h2: enable fast template app CI 2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9 esp32h2: code clean up 2021-07-01 19:53:50 +08:00
Shu Chen
2b9e8fed71 esp32h2: add esp32h2 build target
Add esp32h2 support in the following components:
 * Kconfig
 * components/esptool_py
 * components/riscv
 * components/xtensa
 * tools
2021-07-01 19:51:33 +08:00
Ivan Grokhotkov
969904cba6 unit-test-app: increase timer task size
FreeRTOS timer tests use quite a lot of stack, close to the limit on
the ESP32. ESP32-S3 has larger coprocessor save area, so there is less
space left for the actual stack, and the tests fail with a stack
overflow. Increase the stack size to make the tests work reliably.
2021-06-29 16:56:35 +02:00
Anton Maklakov
f01002d2fc tools: stop building if compiler is unsupported 2021-06-28 23:36:15 +08:00
Martin Gaňo
5874fceb0d Moved coredump utils out of idf_monitor 2021-06-28 13:56:39 +02:00
Michael (XIAO Xufeng)
afc2bc94b3 Merge branch 'feature/add_opi_flash_psram_support' into 'master'
spi flash: opi flash psram support and spi timing tuning  support on 727

Closes IDF-3097

See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5 Merge branch 'feature/driver_mock' into 'master'
[driver]: added mocking of spi master and gpio

See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77 Merge branch 'feature/ulp_riscv_delay' into 'master'
riscv-ulp: Add DS18B20 1wire RISCV-ULP example

Closes IDF-1746 and IDF-3456

See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
David Cermak
07de534191 examples: Move non-block socket examples to a single app
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f examples: Added non blocking sockets example tests
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
Armando
1962574cd8 spi_flash: make spi_flash_private.h ci check fail known issue 2021-06-25 19:41:57 +08:00
Marius Vikhammer
386739595f RISCV-ULP: Add DS18B20 1wire RISCV-ULP example 2021-06-25 11:26:39 +08:00
Jakob Hasse
79b0256d63 [driver]: partial mocking of driver component
* added mocking of spi master and gpio
* mock registering in one function in
  component.cmake
2021-06-24 10:10:29 +08:00
Roland Dobai
a71a74cd9d tools: Catch OSError which is raised when the tool is not available
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-23 11:48:45 +02:00
Mahavir Jain
e31049eacc Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
heap: fix build issue with HEAP_TRACING config for C3

See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Roland Dobai
b22fcbef96 Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions

Closes IDF-1676

See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a Merge branch 'feature/hal_assert' into 'master'
hal: added platform port layer

Closes IDF-1341

See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
Mahavir Jain
d5cc79db48 test_apps: add HEAP_TRACING configuration to build tests 2021-06-22 14:14:10 +08:00
Ivan Grokhotkov
bdb01b8285 Merge branch 'bugfix/longjmp_s3' into 'master'
[esp_rom]: fixed S3 longjmp patch

Closes IDF-3391

See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
Michael (XIAO Xufeng)
b727dca308 Merge branch 'ci/sdmmc_performance_log' into 'master'
ci: add log output for the sdmmc performance test

See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Angus Gratton
d127a1fa75 ci panic test: Update the panic test timeout from 3s to 10s
If it takes longer than 10s to respond, it's probably not because of the
runner...
2021-06-21 17:08:02 +10:00
He Yin Ling
0f2052ca36 Merge branch 'bugfix/ttfw_dut_check_function_called_after_case_finished' into 'master'
ttfw: fix DUT check functions are called after case finished:

Closes IDFCI-672

See merge request espressif/esp-idf!13990
2021-06-21 02:54:39 +00:00
Michael (XIAO Xufeng)
dbd9bfb280 test_utils: allow printint multiple argument in the performance log 2021-06-19 14:19:50 +08:00
Ivan Grokhotkov
ae0657083b Merge branch 'feature/move-filters-from-idf-monitor' into 'master'
Moved GDB utils and logging utils out of idf_monitor.py

See merge request espressif/esp-idf!13555
2021-06-18 10:27:14 +00:00
Jakob Hasse
e32831033a [esp_rom]: fixed S3 longjmp patch
* On S3, the placement of ROM functions is
  ECO-dependent. Hence, we don't jump into
  the middle of the longjmp function in ROM
  on S3 anymore.
  Instead, the whole longjump function is used
  in the patch.

* Also properly excluded the patch from
  bootloader build with Makefiles

Closes IDF-3391
2021-06-18 15:47:41 +08:00
Konstantin Kondrashov
4c0cf40a39 efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
He Yin Ling
31773b8ed2 ttfw: fix DUT check functions are called after case finished:
DUT check functions are executed in receive thread. If we put data to
data cache before execute the check functions, the main thread could
handle the data cache first and mark test case finished. We will execute
check functions first to make sure it's executed before case finished.
2021-06-18 09:58:19 +08:00
Martin Gaňo
252036567c Moved filters out of idf_monitor.py 2021-06-17 21:38:38 +02:00
David Čermák
4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Angus Gratton
059353b0c2 Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
secure_boot/flash_encryption: Refactoring

Closes IDF-2582 and IDF-2035

See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
David Cermak
49ee304161 CI: Prepare mqtt app test for QEMU tests
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-06-16 14:30:20 +02:00
Angus Gratton
e7f3099541 Merge branch 'bugfix/missing_extern_c' into 'master'
[test_utils]: added extern C decl to ccomp

See merge request espressif/esp-idf!13919
2021-06-16 01:47:27 +00:00
Michael (XIAO Xufeng)
69e26fbcd7 Merge branch 'feature/s3_ci_enable' into 'master'
CI: Enable unit tests for S3

See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
Marius Vikhammer
d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08:00
Roland Dobai
483f51cdd0 tools: Some additions to IDF Monitor's timestamps
Additions to https://github.com/espressif/esp-idf/pull/7021
2021-06-13 12:13:39 +02:00
David Cermak
74fd8d7af8 CI: Enable publish tests only when started from weekend pipeline 2021-06-11 16:52:43 +02:00
Andrey Starodubtsev
f91bde97c1 Add timestamps for idf_monitor.py
Closes https://github.com/espressif/esp-idf/pull/7021
2021-06-11 16:46:52 +02:00
Anton Maklakov
6d9740bc5d Merge branch 'ci/retry_downlad_for_artifacts' into 'master'
ci: retry download artifacts

See merge request espressif/esp-idf!13517
2021-06-11 09:46:29 +00:00
David Cermak
badcbe0fcb mqtt: Moved weekend tests to test apps 2021-06-10 09:09:14 +02:00
Jakob Hasse
468b7ac6eb [test_utils]: added extern C decl to ccomp
Closes https://github.com/espressif/esp-idf/issues/7121
2021-06-09 15:37:21 +08:00
Angus Gratton
bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Fu Hanxi
a624d3bf32 ci: retry download artifacts 2021-06-08 15:04:06 +08:00
Anton Maklakov
3b60c2e131 ci: add debug artifacts for test_idf_tools 2021-06-07 18:48:38 +07:00
Anton Maklakov
f6a91bff87 Update toolchains to esp-2021r1
Adds ESP32-C3 support
    Updates ESP32-S3 overlay
    GDB 9.2 for ESP32-C3 with core dump support
    Linker supports eh-frame-hdr for ESP32-C3
    Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
    Binutils 2.35.1

    Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
Anton Maklakov
0ed7af2c4c tools: promote ESP32-S3 from preview to supported target 2021-06-07 12:52:28 +07:00
Anton Maklakov
4bb09900ab tools: fix parsing regex 2021-06-07 12:35:55 +07:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Anton Maklakov
37b058dfcf Merge branch 'tools/update_mypy_rules' into 'master'
Change logic for MYPY checker

See merge request espressif/esp-idf!13509
2021-06-02 10:16:05 +00:00
Ivan Grokhotkov
0e68c222ac Merge branch 'bugfix/dfu_split_large_bins' into 'master'
tools: Split up large binaries into smaller chunks in the DFU binary

Closes IDFGH-5227

See merge request espressif/esp-idf!13556
2021-05-31 17:19:28 +00:00
Shivani Tipnis
2d22374460 ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests 2021-05-28 19:50:28 +05:30
He Yin Ling
201018da43 Merge branch 'ci/shorter_performance_test_log' into 'master'
ci: optimize performance test log

See merge request espressif/esp-idf!13607
2021-05-21 06:48:16 +00:00
He Yin Ling
79cd45fdee Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
test: support multiple targets for iperf example test

Closes TCI-656

See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
He Yin Ling
016a37c8ad ci: save built binaries could be tested locally:
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-05-20 16:58:39 +08:00
He Yin Ling
8434c0c731 ttfw: fix DUT exception not added to junit report 2021-05-20 16:28:20 +08:00
Fu Hanxi
bccaab7e6c fix(ci): fix missing [Performance] prefix in junit report 2021-05-20 14:13:54 +08:00
Fu Hanxi
4304866780 ci: shorter performance test log 2021-05-20 14:13:54 +08:00
Roland Dobai
6b75bad2b1 tools: Split up large binaries into smaller chunks in the DFU binary
ROM will erase the region a partition is in as soon as it receives the
first bit of the data that is in the partition. For large partitions it
takes more than 5 seconds to erase which is a hard-coded limit in
dfu-utils.

This splits large binaries and adds them by chunks which should avoid
timing-out during flashing.

Closes https://github.com/espressif/esp-idf/issues/6999
2021-05-19 15:15:50 +02:00
Ivan Grokhotkov
38d902f544 Merge branch 'feature/gdbstubs_rt' into 'master'
Extension of GDBStub component for handling GDB by serial port at runtime.

See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Angus Gratton
0fc9253ed9 lwip: Update public port-layer headers with c++ guards, sdkconfig include
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Dmitry
00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Angus Gratton
3ce98690e6 Merge branch 'bugfix/stdatomic_64bit' into 'master'
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs

Closes IDFGH-703

See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Dmitry
a16ae6c737 IDF monitor update 2021-05-11 16:08:44 +03:00
Dmitry
c6e3eb0922 idf.py.exe changes to handle Ctrl+C in correct way.
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Tomas Sebestik
396acc5b31 Change logic for MYPY checker 2021-05-11 08:45:14 +02:00
Ivan Grokhotkov
2c6f9c4d50 Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'

See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov
1fb58684a2 unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups 2021-05-10 18:13:35 +02:00
Angus Gratton
84f2f2932d Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on

Closes IDFGH-5089

See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
Ivan Grokhotkov
acd06daf39 Merge branch 'bugfix/spiram_h_header_guards' into 'master'
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)

Closes IDFGH-4861

See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Michael (XIAO Xufeng)
3f2f80effc Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
soc/hal/tinyusb: add tinyusb support esp32s3

Closes IDF-2692

See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98 soc/hal: add tinyusb support esp32s3
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00