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