Mahavir Jain
e2fe2bf152
Merge branch 'fix/xts_aes_register_prefix_discrepency' into 'master'
...
fix: xts aes register prefix discrepancy
Closes DOC-5136 and DOC-5140
See merge request espressif/esp-idf!23900
2023-05-25 16:40:13 +08:00
Zim Kalinowski
c74c18520e
Merge branch 'bugfix/improve-git-describe-handling' into 'master'
...
build system: more accurate error information for git_describe
Closes IDFGH-7504
See merge request espressif/esp-idf!23891
2023-05-25 16:21:40 +08:00
harshal.patil
0058fb3a05
esp32c3: xts-aes register prefix discrepency
2023-05-25 11:27:10 +05:30
Fu Hanxi
d29b3ee584
Merge branch 'test/idf-build-apps-1.0.0' into 'master'
...
CI: make master pipeline compatible with idf-build-apps 1.0.0 release
See merge request espressif/esp-idf!23892
2023-05-25 13:51:21 +08:00
Fu Hanxi
1f851fd405
ci: fix breaking change in idf-build-apps 1.0.0
2023-05-25 08:36:44 +08:00
Chen Yu Dong
2da7873096
Merge branch 'bugfix/case_tester__multi_dev_cases' into 'master'
...
CI: fix multi dev case tester
See merge request espressif/esp-idf!23869
2023-05-24 16:26:02 +08:00
Roland Dobai
5e6beade2d
Merge branch 'feature/rewrite_build_sys_tests_v4' into 'master'
...
Tools: Rewrite build system unit tests to python - idf.py sdkconfig, bootloader, components
Closes IDF-7164
See merge request espressif/esp-idf!22325
2023-05-24 14:19:35 +08:00
Zim Kalinowski
369d8a0f8a
build system: more accurate error information for git_describe
...
Closes https://github.com/espressif/esp-idf/issues/9071
See merge request espressif/esp-idf!23891
2023-05-23 18:30:01 +02:00
Marek Fiala
fb0dc46183
Tools: Rewrite build system unit tests to python - sdkconfig, bootloader, components
2023-05-23 09:47:39 +00:00
jiangguangming
0d0fa7bda2
esp_rom: fix rom layout issues
2023-05-23 17:04:10 +08:00
Laukik Hase
a06118012e
docs: Update nvs_flash
docs for the HMAC-based NVS encr-keys protection scheme
...
- Also updated the `nvs_partition_generator` and `mass_mfg` tools
documentation
2023-05-23 13:55:57 +05:30
Laukik Hase
9ac87fcc8b
nvs_partition_gen/mass_mfg: Support for HMAC-based scheme for generating NVS encr-keys
2023-05-23 13:55:55 +05:30
Laukik Hase
c1bed366ba
nvs_flash: Add support for HMAC-based NVS encryption keys protection scheme
...
- This features allows the NVS encryption keys to be derived and protected using
the HMAC peripheral. Since the encryption keys are derived at runtime, they
are not stored anywhere in the flash and hence this feature does not require
a separate `nvs_keys` partition.
2023-05-23 13:55:52 +05:30
Alexey Lapshin
072b70bed9
Merge branch 'fix/hints-print-control-characters' into 'master'
...
tools: fix control characters print if hints enabled
Closes IDFGH-10075
See merge request espressif/esp-idf!23872
2023-05-23 14:19:16 +08:00
Alexey Lapshin
59206e39a0
tools: fix control characters print if hints enabled
...
Closes https://github.com/espressif/esp-idf/issues/11351
2023-05-22 20:18:02 +08:00
Chen Yudong
1ca937c520
CI: fix multi dev case tester
2023-05-22 19:49:21 +08:00
Alexey Lapshin
a77f723962
Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
...
esp_gdbstub: implement runtime gdbstub for riscv
Closes IDF-5621
See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
Alexey Lapshin
9220eea4e4
test: gdbstub_runtime: initial commit
2023-05-19 20:15:58 +08:00
Alexey Lapshin
96768d7596
test: panic: use gdb-no-python to have ability to send signals
2023-05-19 20:15:58 +08:00
Roland Dobai
20a7aa9315
Tools: Update the certificate of idf_tools.py
2023-05-19 13:51:37 +02:00
Chip Weinberger
3824eba04d
feat(httpd): add support for asynchronous request handling
...
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.
Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.
An example have been added to demonstrate the usage of these new functions.
Closes https://github.com/espressif/esp-idf/issues/10594
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
C.S.M
50b4d5c6be
Merge branch 'ci/move_timer_into_unity' into 'master'
...
spi_flash: migrate spi_flash UT to pytest component test app
Closes IDF-6730
See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Roland Dobai
4c9fcce027
Merge branch 'bug/interactive_hints' into 'master'
...
tools: fix hints processing in interactive mode
Closes IDF-7314
See merge request espressif/esp-idf!23647
2023-05-15 21:50:10 +08:00
Zim Kalinowski
bd1ac6a566
Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
...
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes IDFGH-7206 and IDFGH-7573
See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Cao Sen Miao
36aace3f47
spi_flash: Move most tests in unit-test to pytest
2023-05-15 14:58:51 +08:00
Cao Sen Miao
0f83970368
ci: Delete ccomp_timer in IDF(witch has been moved to component manager)
2023-05-15 14:58:51 +08:00
Alexey Lapshin
2327c5cd00
Merge branch 'feature/remove_coredump_tests' into 'master'
...
coredump: remove tests (moved to esp-coredump repo)
See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
C.S.M
12190809f9
Merge branch 'feature/flash_suspend_support' into 'master'
...
spi_flash: One more step for supporting flash suspend. 1. Support more esp chips 2. Improve real-time performance 3. Make timing more stable
See merge request espressif/esp-idf!22755
2023-05-12 14:16:11 +08:00
Cao Sen Miao
ed96dadd06
spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents
2023-05-11 20:10:30 +08:00
Jakob Hasse
c8791f30c0
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
Alexey Lapshin
0b078f5cd3
coredump: remove tests (moved to esp-coredump repo)
2023-05-11 12:13:52 +08:00
Roland Dobai
983987d158
Merge branch 'feat/install_script_help' into 'master'
...
feat: Install script help
Closes IDFGH-9936 and IDF-6764
See merge request espressif/esp-idf!23506
2023-05-10 21:44:28 +08:00
KonstantinKondrashov
69838403f9
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
...
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Alexey Lapshin
e634137a03
Merge branch 'feature/libstd++-use-posix-pthread' into 'master'
...
tools: enable libstd++ to use idf posix-semaphores
Closes GCC-305 and IDFGH-9209
See merge request espressif/esp-idf!23588
2023-05-10 20:06:16 +08:00
Jakob Hasse
bc7a7e8451
Merge branch 'bugfix/cmake_cxx_language_standard' into 'master'
...
cmake: Corrected setting of C++ language standard
See merge request espressif/esp-idf!23520
2023-05-10 10:28:43 +08:00
Zim Kalinowski
a495f4729b
Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
...
ci: fix invalid kconfig options in system test apps
See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
Frantisek Hrbata
a5d3c2d443
tools: fix hints processing in interactive mode
...
Currently hints are processed only once the process is finished and
exits with non-error exit code. In interactive mode, e.g. for monitor,
we want to process ouput lines for hints right away.
This adds a simple buffer, which keeps the last line and once EOL is
reached, it is processed for hints.
Since the original hints processing was file based, a new helper
function was added to allow processing hints in string.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-05-09 14:35:04 +02:00
Zim Kalinowski
3947688d54
Merge branch 'bugfix/make_clean_files' into 'master'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
Closes IDF-2444
See merge request espressif/esp-idf!23628
2023-05-09 16:53:18 +08:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
Jakob Hasse
0244c24c8d
cmake: Corrected setting of C++ language standard
...
* reverted old faulty mechanism to set different
standard according to the toolchain
* Using -std=gnu++2b now for both gcc and clang
* Added a build test app to check the C++ standard in IDF
* Updated english docs to reflect the change to C++23
2023-05-09 10:09:19 +08:00
Darian Leung
66499f17a5
freertos: Refactor component structure
...
This commit refactors the "freertos" component's structure as follows:
- "FreeRTOSConfig.h" related files moved to "./config" directory
- Refactored CMakeLists.txt file in preparation for v10.5.1 upgrade
- Grouped list appends based on component organization
- Removed some unecessarily public "include_dirs"
- Removed FreeRTOS-openocd.c
- uxTopUsedPriority has been added back to tasks.c since v10.4.2
- Thus the workaround in FreeRTOS-openocd.c is no longer needed and can
be removed.
2023-05-08 18:40:03 +08:00
Marius Vikhammer
d17248ecdf
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Alexey Lapshin
f51b55dabb
tools: enable libstd++ to use idf posix-semaphores
...
Closes https://github.com/espressif/esp-idf/issues/10598
2023-05-05 13:37:49 +08:00
radim.karnis
9e035894cd
feat: Install script help
...
Closes https://github.com/espressif/esp-idf/issues/11231
2023-05-04 13:47:05 +02:00
Erhan Kurubas
4ebe052263
Merge branch 'feature/update-OpenOCD-to-v0.12.0-esp32-20230419' into 'master'
...
tools: update OpenOCD version to v0.12.0-esp32-20230419
See merge request espressif/esp-idf!23297
2023-05-04 18:43:12 +08:00
Jakob Hasse
0a3cfce671
Merge branch 'contrib/github_pr_10895' into 'master'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR)
Closes IDFGH-9541
See merge request espressif/esp-idf!23429
2023-05-04 10:41:46 +08:00
Alexey Gerenkov
644e339ed2
tools: update OpenOCD version to v0.12.0-esp32-20230419
2023-05-02 16:51:11 +00:00
Jakob Hasse
9f4236f825
ci: increased freertos SMP linux target test timeout
2023-04-28 17:49:37 +08:00
Marius Vikhammer
68088c6371
Merge branch 'ci/fix_overwrite_pytest_configs' into 'master'
...
ci: fixed test apps overriding idf_build_apps configs
See merge request espressif/esp-idf!23387
2023-04-27 14:32:18 +08:00
Marius Vikhammer
6fae679124
ci: cleanup, combine and remove old ttfw unit test app configs
2023-04-27 09:33:13 +08:00
Laukik Hase
56123c52aa
Merge branch 'ci/migrate_nvs_flash_to_component_test_apps' into 'master'
...
nvs_flash: Migrate UTs to component test-apps
Closes IDF-5596
See merge request espressif/esp-idf!23411
2023-04-26 20:23:25 +08:00
Roland Dobai
782acb10e9
Merge branch 'feat/idf_flash_msg_improvement' into 'master'
...
Tools: Improve the flashing instructions printed after "idf.py build"
Closes IDFGH-9856
See merge request espressif/esp-idf!23326
2023-04-26 19:51:28 +08:00
Jakob Hasse
ca44fc3847
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
Laukik Hase
4ac95a33fd
nvs_flash: Migrate UTs to component test-apps
2023-04-26 10:21:03 +05:30
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Martin Vychodil
668521dfe7
Merge branch 'feature/vfs_test_app' into 'master'
...
VFS: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!23145
2023-04-26 09:23:28 +08:00
Zim Kalinowski
98bf5a71c5
Merge branch 'refactor/optimize_test_app_builds' into 'master'
...
tools: setting components to main to reduce build time
See merge request espressif/esp-idf!23253
2023-04-25 22:40:05 +08:00
Jakob Hasse
af2d326a95
Merge branch 'feature/freertos_plus_posix_SMP' into 'master'
...
[FreeRTOS/Linux] POSIX/Linux and SMP
Closes IDF-6087
See merge request espressif/esp-idf!21818
2023-04-25 20:21:26 +08:00
Sonika Rathi
d83c681078
VFS: move tests from unit-test-app to a component test app
2023-04-25 17:24:20 +05:30
Jakob Hasse
620cc586a2
tools: setting components to main to reduce build time
2023-04-25 15:42:22 +08:00
Radek Tandler
d8f2c0e715
Merge branch 'feature/storage_host_test_ffs' into 'master'
...
fatfs: host test migrated to CMake and esp_partition emulation for linux
See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
C.S.M
7d9d27a060
Merge branch 'refactor/driver_ut_to_test_app' into 'master'
...
CI: Move all UT in driver to test_app
See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
Jakob Hasse
d6fe302904
freertos: Added partial unit tests for Linux simulator
...
* The unit tests are derived from the FreeRTOS test app
in components/freertos/test_apps/freertos. They are
quite incompatible with the main test application, which
is why they have been placed under
tools/test_apps/linux_compatible/linux_freertos for now.
2023-04-25 13:58:57 +08:00
Cao Sen Miao
8882ba2ba1
CI: Move all UT in driver to test_app
2023-04-25 10:40:32 +08:00
Marius Vikhammer
edb2994da9
ci: disable test_dram_reg2_execute_violation on esp32s2
2023-04-25 09:57:23 +08:00
Fu Hanxi
8be8a1cd22
Merge branch 'ci/fix_no_test_script_corner_case' into 'master'
...
ci: fix build script when no test script found
See merge request espressif/esp-idf!23361
2023-04-25 08:46:06 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Ondrej Kosta
22caec278f
Merge branch 'feature/emac_hal_cleanup' into 'master'
...
wrapped emac_ll functions to emac_hal
Closes IDFGH-8474
See merge request espressif/esp-idf!23078
2023-04-24 15:47:29 +08:00
Ivan Grokhotkov
39580dd08c
version: update to v5.2.0
...
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
Fu Hanxi
55870f379d
ci: fix build script when no test script found
2023-04-23 14:53:58 +08:00
Roland Dobai
1bf382a3e1
Merge branch 'monitor_win_color' into 'master'
...
bug(idf_monitor, hints): fix monitor colors on windows with hints
Closes IDF-5863
See merge request espressif/esp-idf!22070
2023-04-21 20:15:38 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
Fu Hanxi
fc329fa80f
ci: remove unknown target, add H4 for check back
2023-04-21 14:43:31 +08:00
Fu Hanxi
3554c6e571
ci: run readme check when constants.py or check script updated
2023-04-21 14:43:21 +08:00
Roland Dobai
d75b7a7470
Tools: Improve the flashing instructions printed after "idf.py build"
...
Closes https://github.com/espressif/esp-idf/issues/11181
2023-04-20 15:30:34 +02:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
laokaiyao
1f84f6c6ed
esp32h4: remove esp32h4 target from ci
2023-04-20 15:19:47 +08:00
Ondrej Kosta
c231c79fc8
HAL: wrapped emac_ll functions to emac_hal
...
Closes #9934
2023-04-19 12:46:45 +00:00
Jakob Hasse
d82eb6942c
Merge branch 'contrib/github_pr_11025' into 'master'
...
Enable support for C++23 in esp-idf (GitHub PR)
Closes IDFGH-9684
See merge request espressif/esp-idf!23144
2023-04-19 15:53:46 +08:00
Darian
0bb3342491
Merge branch 'refactor/xtensa_move_common_source_files' into 'master'
...
Xtensa: Separate files according to Xtensa RTOS porting layer
See merge request espressif/esp-idf!21672
2023-04-19 15:15:21 +08:00
Ivan Grokhotkov
9adafb0f26
Merge branch 'feature/newlib_fsync_without_vfs' into 'master'
...
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
See merge request espressif/esp-idf!21390
2023-04-19 02:47:53 +08:00
Roland Dobai
a05b306782
Merge branch 'esptool_extra' into 'master'
...
feat(esptool): allow to force flash chip
Closes IDF-6838 and IDF-5381
See merge request espressif/esp-idf!23097
2023-04-18 19:35:32 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
...
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Darian Leung
9509c14510
build: Add --longcalls option to clang builds of xtensa targets
...
This commit adds the --longcalls option to UNIQ_CMAKE_ASM_FLAGS for clang
builds of xtensa targets to prevent "dangerous relocation" errors.
2023-04-18 15:51:38 +08:00
Peter Dragun
faa82b060c
feat(esptool): allow to set force for write_flash
2023-04-17 12:53:01 +02:00
Peter Dragun
bebd2cec4a
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-17 11:18:42 +02:00
Jakob Hasse
8f7a076619
cmake: C++23 only when not using clang
2023-04-14 17:57:01 +08:00
wanlei
c34ea9cef6
ci: pytest automation script increase timeout time
2023-04-14 12:03:38 +08:00
Ivan Grokhotkov
79a9615022
ci: add build test for CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
80c9ef7b89
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-04-12 11:07:56 +02:00
Ondrej Kosta
eb17a9d6e0
network_examples: added LwIP bridge test
2023-04-12 09:14:12 +02:00
Alexey Lapshin
e7d28e4277
Merge branch 'feature/esp32c6_esp32h2_enable_panic_tests' into 'master'
...
tests: panic: esp32c6/esp32h2 enable
Closes IDF-5662, IDF-6863, IDF-6865, IDF-6866, and IDF-6868
See merge request espressif/esp-idf!22943
2023-04-12 10:20:05 +08:00
Roland Dobai
f57e8eed78
Merge branch 'feature/hfp_ag_hints' into 'master'
...
tools: Update idf-py hints with Bluedriod HFP AG info
Closes IDF-5671
See merge request espressif/esp-idf!23089
2023-04-11 13:48:15 +08:00
Alexey Lapshin
2b6de209c8
tests: panic: add esp32c6 esp32h2
2023-04-10 17:49:51 +08:00
Marius Vikhammer
03c2c8db77
Merge branch 'feature/esp_sys_iram_cleanup' into 'master'
...
esp-system: move uncessary IRAM functions to flash
Closes IDF-7138 and IDF-7148
See merge request espressif/esp-idf!23121
2023-04-10 17:24:14 +08:00
Marius Vikhammer
7108ff093d
Merge branch 'feature/sram1_iram' into 'master'
...
system: add kconfig option for using parts of SRAM1 for IRAM
Closes IDFGH-8351 and IDF-942
See merge request espressif/esp-idf!21214
2023-04-10 13:58:40 +08:00
Marius Vikhammer
db059b155a
esp-system: move uncessary IRAM functions to flash
2023-04-10 11:10:28 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Marius Vikhammer
ff7fce9739
ci: fixed custom partition table subtype test not compiling for linux
2023-04-07 12:29:30 +08:00
Fu Hanxi
9153f9c927
ci: don't run idf-size for linux target
2023-04-07 12:29:30 +08:00
Fu Hanxi
01fd87bd05
ci: remove ttfw related info in tools/test_apps
2023-04-07 12:29:30 +08:00
Fu Hanxi
0f2a0058a3
ci: fix pytest build system
2023-04-07 10:42:12 +08:00
Wan Lei
b6d57a26ca
Merge branch 'feature/spi_flash_enable_counters_on_esp_flash_driver' into 'master'
...
spi_flash: support SPI_FLASH_ENABLE_COUNTERS on esp_flash driver and test this feature
Closes IDF-5623
See merge request espressif/esp-idf!19554
2023-04-06 15:48:42 +08:00
Roland Dobai
05a8d0b58a
Merge branch 'bugfix/asyncio_progress_term_width' into 'master'
...
tools: fix progress output in asyncio.run with zero terminal width
Closes IDF-6646
See merge request espressif/esp-idf!22986
2023-04-06 15:23:39 +08:00
Roland Dobai
7d4835e817
Merge branch 'feature/rewrite_build_sys_tests_v3' into 'master'
...
Rewrite build system unit tests to python v3
Closes IDF-6842
See merge request espressif/esp-idf!22280
2023-04-06 15:21:32 +08:00
liqigan
fcc6ea1336
tools: Update idf-py hints with Bluedroid HFP AG info
2023-04-06 14:18:27 +08:00
gaoxu
542a61b6cb
support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx
2023-04-06 11:40:40 +08:00
David Cermak
7d6241e761
esp_netif: Make esp_netif_receive() return value configurable
2023-04-05 12:18:21 +02:00
Zim Kalinowski
ab5d8d0008
Merge branch 'refactor/esp_partition_host_test_build_dir' into 'master'
...
esp_partition: partition_linux.c does not use hard-coded file anymore
Closes IDF-6644
See merge request espressif/esp-idf!22759
2023-04-04 18:35:24 +08:00
Roland Dobai
b3a54cf643
Merge branch 'bugfix/sdkconfig_abspath' into 'master'
...
ci: add build test for sdkconfig specified with abspath
Closes IDF-764
See merge request espressif/esp-idf!23020
2023-04-03 16:33:47 +08:00
Roland Dobai
775f8e7a49
Merge branch 'bugfix/set_target_with_stale_config' into 'master'
...
tools: fix set-target if IDF_TARGET env is set and stale sdkconfig exists
Closes IDF-7154
See merge request espressif/esp-idf!22950
2023-03-31 17:31:59 +08:00
Frantisek Hrbata
f6af455f57
ci: add build test for sdkconfig specified with abspath
...
On Windows, when path is specified as absolute for cmdl argument, cmake can
interpret parts of the path as invalid escape chars. For example "C:\Users\..."
will result in "Invalid character escape '\U'." Externally specified
paths should be converted into cmake's representation, which uses '/'.
This can be done e.g. by using 'get_filename_component()'. Currently
there doesn't seem to be any problem with this, but let's add a test for
this.
Suggested-by: Ivan Grokhotkov <ivan@espressif.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-31 09:55:25 +02:00
Fu Hanxi
9295aef934
ci: remove linux build dir workaround
2023-03-31 15:07:07 +08:00
Rocha Euripedes
610d5ea0ae
Merge branch 'ci/mqtt_test_app' into 'master'
...
ci: Migrate unit test for mqtt test to unit test app
Closes IDF-5594
See merge request espressif/esp-idf!22814
2023-03-30 15:33:07 +08:00
Frantisek Hrbata
84deb34035
tools: fix progress output in asyncio.run with zero terminal width
...
Currently the forced progress in RunTool is trying to fit the output
line into a terminal width, but it doesn't take into an account a
situation when the terminal width is reported as zero. This manifests
when running in docker image with redirected output and can be seen
in the github workflow output for esp-idf-ci-action.
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())'
os.terminal_size(columns=238, lines=59) True
vs
docker run --rm -t my_ubuntu_esp python3 -c 'import os,sys; print(os.get_terminal_size(), sys.stdout.isatty())' | tee
os.terminal_size(columns=0, lines=0) True
Since the output is reported as tty and the terminal width as 0, the
fit_text_in_terminal() function returns empty string. I also verified this
by running idf.py build inside a testing docker image.
This fix adjusts the fit_text_in_terminal() function to return original
line if the terminal width is zero.
Also simplify the progress print and use same approach as ninja
https://github.com/ninja-build/ninja/blob/master/src/line_printer.cc#L66
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-29 17:12:36 +02:00
Roland Dobai
83469ddbac
Merge branch 'feature/update_ccache_to_4.8' into 'master'
...
Tools: update ccache 4.6.2 -> 4.8
Closes IDF-6749
See merge request espressif/esp-idf!22881
2023-03-29 22:18:16 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Mahavir Jain
8894fae432
Merge branch 'feature/update_secure_boot_test_app_to_pytest' into 'master'
...
secure_boot_test_app: Update the test_app to use pytest framework
Closes IDFCI-1135
See merge request espressif/esp-idf!17967
2023-03-29 14:26:35 +08:00
KonstantinKondrashov
444c27e4e6
test_apps: Test multicore app can be run by unicore bootloader
2023-03-29 03:47:55 +08:00
Rocha Euripedes
98b75727ba
Merge branch 'feature/socks_transport' into 'master'
...
tcp_transport: Adds SOCKS4 proxy transport
See merge request espressif/esp-idf!20479
2023-03-28 20:33:28 +08:00
Aditya Patwardhan
780f7f2669
secure_boot_test_app: Update the test_app to use pytest framework
...
* Added custom class IdfFpgaDut in pytest from ttfw_idf.IDFFPGADUT
2023-03-28 16:10:00 +05:30
Marek Fiala
b4446e1748
Tools: Rewrite build system unit tests to python - cmake libraries and Kconfig
2023-03-28 11:20:42 +02:00
Frantisek Hrbata
9b731e5e35
tools: fix set-target if IDF_TARGET env is set and stale sdkconfig exists
...
Currently if the IDF_TARGET env is set, and old sdkconfig exists with
different target value in CONFIG_IDF_TARGET, the set-target action fails
complaining about the IDF_TARGET env and value in sdkconfig being different.
We should ignore IDF_TARGET value from sdkconfig, because we are
actually setting new target and the old sdkconfig is renamed in cmake.
This can be easily reproduced with
---8<---
$ IDF_TARGET=esp32 idf.py set-target esp32
$ IDF_TARGET=esp32s3 idf.py set-target esp32s3
Project sdkconfig '/home/fhrbata/work/hello_world/sdkconfig' was generated
for target 'esp32s3', but environment variable IDF_TARGET is set to 'esp32'.
Run 'idf.py set-target esp32' to generate new sdkconfig file for target esp32.
---8<---
This also adds test for this use case to test_non_default_target.py.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-28 11:18:04 +02:00
Roland Dobai
51772f4fb5
Merge branch 'feature/update_rom_elfs' into 'master'
...
tools: update esp-rom-elf to version 20230320
See merge request espressif/esp-idf!22838
2023-03-28 17:10:44 +08:00
Djordje Nedic
3e0f612a7e
tools: Move out idf_size.py in favour of using the esp-idf-size package
...
This commit removes all idf_size.py files and references to them and adds esp-idf-size as a dependency and adequate wrappers to avoid breaking changes.
2023-03-27 19:40:33 +02:00
Euripedes Rocha
d6db90a3cd
[tcp_transport] - Adds Socks4 proxy transport
...
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
Euripedes Rocha
1acfc9b5e0
ci: Migrateunit test for mqtt test to unit test app
...
- Split mqtt and mqtt5 tests
- Move common test code to a common component
- Add necessary python scripts
2023-03-24 10:32:43 +01:00
Wan Lei
896f046ac2
Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
...
spi_slave: support spi slave hd append mode on chips other than s2
Closes IDF-2943
See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
Mahavir Jain
786851bfbd
Merge branch 'feature/esp32c6_esp32h2_supported' into 'master'
...
tools: idf.py: remove esp32c6 and esp32h2 from preview targets list, update chip/version support table
See merge request espressif/esp-idf!22868
2023-03-23 12:25:57 +08:00
Mahavir Jain
86b6f87d68
Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
...
Fix flash mmap data integrity issue for RAM loadable ELF case
See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
Marek Fiala
b65500fd63
Tools: update ccache 4.6.2 -> 4.8
2023-03-22 16:26:21 +01:00
Darian
c71025d6d6
Merge branch 'refactor/freertos_config_files' into 'master'
...
FreeRTOS: Combine FreeRTOSConfig.h
Closes IDF-6082
See merge request espressif/esp-idf!22815
2023-03-22 22:01:37 +08:00
Jakob Hasse
2b895ef9d8
Merge branch 'feature/rmt_mock' into 'master'
...
Mocks: added RMT mock
See merge request espressif/esp-idf!22060
2023-03-22 20:18:46 +08:00
Tomas Rezucha
f3de7e574d
Merge branch 'bugfix/usb_reg_header_definition_upd' into 'master'
...
USB: usb_reg.h update missing register bitfield description
See merge request espressif/esp-idf!22766
2023-03-22 17:43:43 +08:00
Darian Leung
05bda6595d
freertos: Move FreeRTOSConfig_arch.h
...
This commit moves the FreeRTOSConfig_arc.h to the "esp_additions" directory
so that they can also be used for SMP FreeRTOS builds.
2023-03-22 16:32:29 +08:00
Ivan Grokhotkov
77541faa14
tools: idf.py: remove esp32c6 and esp32h2 from preview targets list
2023-03-21 20:41:44 +01:00
Roland Dobai
a0eb55e81a
Merge branch 'add_win64_oocd_bins' into 'master'
...
tools: Add missed OpenOCD v0.12.0-esp32-20230313 binaries for win64 platform
See merge request espressif/esp-idf!22856
2023-03-22 01:01:04 +08:00
Ondrej Kosta
531e23c802
Merge branch 'bugfix/dm9051_rcv_mcast' into 'master'
...
esp_eth: allowed DM9051 to receive multicast packets
See merge request espressif/esp-idf!22768
2023-03-21 22:55:44 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
Alexey Gerenkov
d2c02c901a
tools: Add OpenOCD v0.12.0-esp32-20230313 binaries for win64 platform
2023-03-21 15:44:53 +03:00
Armando (Dou Yiwen)
75fc5a2512
Merge branch 'bugfix/mspi_timing_tuning_ll_assertion_disable_build_fail_issue' into 'master'
...
mspi: fix build failure under assertion disable
Closes IDF-7077
See merge request espressif/esp-idf!22835
2023-03-21 12:37:21 +08:00
wanlei
66ca403bc6
spi_slave: support spi slave hd append mode on chips other than s2
2023-03-21 11:30:17 +08:00
Armando
eee34bcf70
mspi: fix build failure under assertion disable
2023-03-21 10:14:59 +08:00
Roland Dobai
288332d6a9
Merge branch 'feature/update-OpenOCD-to-v0.12.0-esp32-20230313' into 'master'
...
tools: update OpenOCD version to 'v0.12.0-esp32-20230313'
See merge request espressif/esp-idf!22744
2023-03-21 06:17:35 +08:00
0xFEEDC0DE64
a96f5bd5b0
Enable support for C++23 in esp-idf
2023-03-20 17:01:40 +01:00
Alexey Lapshin
12ab3625ca
tools: update esp-rom-elf to version 20230320
2023-03-20 19:20:34 +08:00
Roland Dobai
c1ce05e244
Merge branch 'feature/test_check_python_dependencies' into 'master'
...
ci: add dep check_python_dependencies.pyt test
Closes IDF-4961
See merge request espressif/esp-idf!22790
2023-03-20 16:21:56 +08:00
Mahavir Jain
d0c8b01956
test_apps: add test case for flash mmap data integrity in ram loadable app
2023-03-20 11:12:11 +05:30
Jakob Hasse
7dbe9687f9
Merge branch 'bugfix/esp_shared_stack_watchpoint_setting' into 'master'
...
bugfix(esp_system): made watchpoint setting configuration-dependent
Closes IDFGH-9003
See merge request espressif/esp-idf!21738
2023-03-20 10:19:05 +08:00
Frantisek Hrbata
53a8742680
ci: add dep check_python_dependencies.pyt test
...
Two new tests are added.
1) test_check_python_dependencies
The test prepares artificial constraints file containing packages from
requirements.core.txt, which are also reported in pip-freeze output
for virtual env. The constraints file requires package versions higher
than currently installed in venv, so check_python_dependencies
should fail for all of them.
2) test_check_required_packages_only
Test for espressif/esp-idf/-/merge_requests/17917. After installing
core requirements, install additional foopackage, which is embedded.
Add version requirement for foopackage, which cannot be satisfied,
to constraints file. Since foopackage is not a direct requirement,
check-python-dependencies should not fail.
This also fixes existing TestCustomPythonPathInstall test, which sets
IDF_PYTHON_ENV_PATH, but does not restore it. Unittest seems to be
running tests in order based on class/test name. Meaning this test runs
before TestPythonInstall and all tests in TestPythonInstall are using
the latest tmpdir from TestCustomPythonPathInstall as IDF_PYTHON_ENV_PATH.
IOW TestPythonInstall is actually testing custom python env path, same as
TestCustomPythonPathInstall. This fixes it by restoring the
IDF_PYTHON_ENV_PATH. Note that since the actual IDF_PYTHON_ENV_PATH
was different(tmpdir) from PYTHON_DIR, the default PYTHON_DIR was never used,
so the tests were running with old python env(no
shutil.rmtree(PYTHON_DIR).
Since TestCustomPythonPathInstall is inheriting from TestPythonInstall
it also runs test_opt_argument and test_no_constraints for the second
time. This seems unnecessary, so this patch also skips these two tests
in TestCustomPythonPathInstall.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-17 15:22:33 +01:00
Jiang Jiang Jian
2658fb7623
Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
...
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452 and IDF-6332
See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Jakob Hasse
f679218cb6
feat(driver): added RMT mock
2023-03-17 14:54:48 +08:00
Wan Lei
3b62bf59c4
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
...
mspi: turn down freq to fix crash when sleep
Closes IDF-6881
See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
wanlei
a48d1a85c1
mspi: add test_app measuring time cost of mspi APIs
...
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Gustavo Henrique Nihei
50145ed179
esp_rom: Remove STATUS struct in favor of ETS_STATUS
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Roland Dobai
4bf12081e2
Merge branch 'bugfix/non_default_sdkconfig' into 'master'
...
tools: fix usage of sdkconfig with custom path or name
Closes IDF-1369
See merge request espressif/esp-idf!22520
2023-03-15 20:53:38 +08:00
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target
2023-03-15 13:16:26 +05:30
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Ondrej
2ec7fc8f10
esp_eth: allowed DM9051 to receive multicast packets
...
Removed extra PHY status link checks from DM9051 MAC layer
2023-03-14 13:59:27 +00:00
Roman Leonov
0b08570ae2
usb: usb_reg.h update missing register description
2023-03-14 13:29:20 +01:00
Alexey Gerenkov
5013e6588c
tools: update OpenOCD version to 'v0.12.0-esp32-20230313'
2023-03-13 15:29:19 +00:00
Jakob Hasse
0769298b3b
Merge branch 'contrib/github_pr_8987' into 'master'
...
pthread: avoid heap alloc in pthread_cond_timedwait if possible (GitHub PR)
Closes IDFGH-7409
See merge request espressif/esp-idf!22702
2023-03-13 19:34:21 +08:00
Jakob Hasse
03bc6488de
bugfix(esp_system): made watchpoint setting configuration-dependent
...
esp_execute_shared_stack_function always restored the stack watchpoint
regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead
to an abondoned but active watchpoint on a former stack once the task
calling esp_execute_shared_stack_function is deleted, if
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive.
This has been fixed now.
Closes https://github.com/espressif/esp-idf/issues/10414
2023-03-13 14:24:15 +08:00
Jiang Jiang Jian
d5f53fb415
Merge branch 'feature/nan_datapath' into 'master'
...
NAN Datapath support and console example
Closes WIFI-1223
See merge request espressif/esp-idf!13593
2023-03-11 04:50:10 +08:00
MacDue
75066bde5a
ci: remove components/pthread/pthread_cond_var.c from ignore list
2023-03-10 15:52:27 +08:00
Nachiket Kukade
4c76af3f68
esp_wifi: Add support for NAN Discovery and Datapath
...
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's
In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management
Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30
Mahavir Jain
00f30bb199
Merge branch 'esp32c6/fix_pmp_config' into 'master'
...
esp32c6: Fix incorrect PMP configuration
Closes IDF-6927
See merge request espressif/esp-idf!22435
2023-03-10 12:21:30 +08:00
jingli
b6580ea4ac
example: refactor deep sleep example to make codes more structured
2023-03-09 15:23:56 +08:00
Sachin Parekh
ed0a1f7b52
esp32c6: Fix incorrect PMP configuration
...
- Enable pytest memprot tests for C6
2023-03-09 11:37:29 +05:30
Frantisek Hrbata
a558ad506e
tools: fix custom sdkconfig renaming in set-target
...
Currently the set-target has sdkconfig file name hardcoded to the
default one and doesn't honor custom config paths or names.
IMHO the only place where we can really now the config file name
is in cmake. But also the config should be really renamed only if
the set-target action is running.
This moves the config file renaming into cmake and it's performed only
when _IDF_PY_SET_TARGET_ACTION env. var. is set to 'ON'. This should
hopefully guarantee that it's really renamed only while set-target is
running.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:45:55 +01:00
Frantisek Hrbata
1ca9e63e79
tools: add target consistency checks to cmake
...
Extend target checks in cmake, in case it's run directly and not via
idf.py or if idf.py misses something. This may happen
for example if cmake variables are set in project's CMakeLists.txt.
Some clean-ups are included along with the new checks and tests.
1. __target_check() function is removed. IIUC it should never fail,
because the selected target is explicitly passed as environmental
variable to kconfgen. Meaning the IDF_TARGET from environment variable may
not be actually used in kconfgen if IDF_TARGET is already set it cmake cache.
Note that the IDF_TARGET environment variable used for kconfgen is not
based on the actual IDF_TARGET environment variable set for idf.py, but
rather on the value set in __target_init() with
set(IDF_TARGET ${env_idf_target} CACHE STRING "IDF Build Target")
My understanding is that the original check was introduced to handle
situation, where IDF_TARGET was already set in cmake's cache and
the IDF_TARGET from environment variable was different. Since
the kconfgen would use the original environment variable(not
explicitly passed as it is now) the IDF_TARGET in cmake and in
sdkconfig could differ. IOW I think the original check was introduced
to cope with the following cmake behaviour
set(VARIABLE "value1" CACHE STRING "test variable")
set(VARIABLE "value2" CACHE STRING "test variable")
message("Variable value: ${VARIABLE}")
output: Variable value: value1
2. I scratched by head how it is possible that the following code
in __target_check()
if(NOT ${IDF_TARGET} STREQUAL ${env_idf_target})
could fail if IDF_TARGET is not set. For example in clean project
IDF_TARGET=esp32 idf.py reconfigure
Here env_idf_target==esp32 and IDF_TARGET is not set, so I would
expect that cmake will fail with error message that the cache
and env target do not match. The thing is that the variable
evaluation is done before the if command, so it actually
sees this
if(NOT STREQUAL esp32)
which is false and the error is not printed. It can be seen
with 'cmake --trace-expand' command. I don't know if this
was used on purpose or it worked just as a coincidence, but
I find it very confusing, so I added explicit check if the
IDF_TARGET is defined before the actual check. Same for
CMAKE_TOOLCHAIN_FILE.
3. Error messages are not formated(line-wrapped) by cmake's markup
so it's easier to check the output in tests.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:45:47 +01:00
Frantisek Hrbata
8e912faad1
tools: add target consistency checks for target specified with -D option
...
Extend existing target consistency checks for the two following cases.
1. Target does not match currently used toolchain
$ IDF_TARGET=esp32s2 idf.py reconfigure
$ idf.py -DIDF_TARGET=esp32c3 build
2. Target is ambiguous, because it's specified also as env. var.
IDF_TARGET=esp32s3 idf.py set-target esp32c2
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:43:42 +01:00
Frantisek Hrbata
0d859f2786
tools: move target guessing into cmake
...
The _guess_or_check_idf_target() function has sdkconfig and sdkconfig.defaults
file names hardcoded. Since config file names may be specified with SDKCONFIG
or SDKCONFIG_DEFAULTS cmake vars, directly in CMakeLists.txt or passed in with
the -D cmake option, they are not respected.
Problem is when SDKCONFIG or SDKCONFIG_DEFAULTS is set in
CMakeLists.txt. While idf can detect cmake vars passed through it
to cmake via the -D option, detecting SDKCONFIG and SDKCONFIG_DEFAULTS
vars settings in CMakeLists.txt would require to parse it. This seems
like error prone approach. Also if the vars defined by the -D option
are passed directly to cmake, not via idf, they will not be visible to idf.
It seems reasonable to move the logic into cmake, where we know the correct
SDKCONFIG and SDKCONFIG_DEFAULTS values. So the IDF_TARGET detection/guessing
is moved into targets.cmake, where the IDF_TARGET is actually set. The target
is guessed based on the following precendence.
1) $ENV{IDF_TARGET}
2) IDF_TARGET
3) SDKCONFIG
4) sdkconfig
5) SDKCONFIG_DEFAULTS if non-empty or
$ENV{SDKCONFIG_DEFAULTS} if non-empty or
sdkconfig.defaults
6) esp32
All config files referred in $ENV{SDKCONFIG_DEFAULTS} and SDKCONFIG_DEFAULTS
are searched, compared to the current behaviour. First target found in the
above chain is used.
The original _guess_or_check_idf_target() is renamed to _check_idf_target() and
used for the target consistency checks only.
The get_sdkconfig_filename() helper is now used to get the sdkconfig file
for consistency checks. It looks in SDKCONFIG specified with the -D
option and project_description.json.
With this change config full paths are reported in messages, so it's clear
e.g. from which config the target was guessed from or which config has
consistency problem. test_non_default_target.py was adjusted to this
change and also new test for testing the IDF_TARGET guessing was added.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:37:58 +01:00
Frantisek Hrbata
a8a4d7c66d
tools: add get_sdkconfig_filename() helper
...
Get project's current sdkconfig file name. It looks in SDKCONFIG cmake var
defined by the -D option and project_description.json. If not found return
default sdkconfig.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:37:58 +01:00
Frantisek Hrbata
e89f980193
tools: add _parse_cmdl_cmakecache() helper
...
This parses cmakes cache vars defined on command line with -D options
into dictionary. It allows to simplify the check for new cache entries
and also can be re-used for other checks.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-03-08 16:37:58 +01:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
Li Shuai
1a10eabe41
Power Management: refactor the configuration of each module in sleep mode
2023-03-04 00:17:40 +08:00
Roland Dobai
140e6bea72
Merge branch 'contrib/github_pr_10772' into 'master'
...
tools: Docker: install build-essential apt package (GitHub PR)
Closes IDFGH-9402
See merge request espressif/esp-idf!22463
2023-03-02 22:26:51 +08:00
Marius Vikhammer
7a0b9f65c9
esp-system: migrate test app cases to pytest
2023-03-01 03:21:39 +00:00
Peter Dragun
16d033a919
tools: Docker: add build-essentials needed for linux targets
...
Closes https://github.com/espressif/esp-idf/pull/10772
2023-02-28 11:27:25 +01:00
Jiang Jiang Jian
146a5c4de4
Merge branch 'feature/sae_softAP' into 'master'
...
esp_wifi: WPA3-SAE support for softAP
Closes IDFGH-4771
See merge request espressif/esp-idf!15690
2023-02-28 12:25:05 +08:00
Shreyas Sheth
2b8e40e760
esp_wifi: WPA3-SAE support for softAP
2023-02-28 12:25:05 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
liuning
7817c23623
esp_coex: correct Kconfig name
2023-02-26 06:58:18 +00:00
liuning
38316b38b5
esp_wifi: move coex part from esp_wifi to esp_coex
2023-02-26 06:58:18 +00:00
Fu Hanxi
481e221e69
Merge branch 'ci/set_manifest_root_path' into 'master'
...
ci: use IDF_PATH as the manifest root path
Closes RDT-272
See merge request espressif/esp-idf!22426
2023-02-23 14:02:08 +08:00
Armando (Dou Yiwen)
aeaf119338
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
Closes IDF-5219
See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Alexey Lapshin
0da15a7a19
build: add option COMPILER_DISABLE_GCC12_WARNINGS
2023-02-22 05:33:03 +00:00
Alexey Lapshin
2ef6215621
tools: change esp32h2 march to rv32imac_zicsr_zifencei
2023-02-22 05:33:03 +00:00
Alexey Lapshin
61a7342acd
tools: add riscv zicsr/zifencei because they were separated from i
...
https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4
2023-02-22 05:33:03 +00:00
Alexey Lapshin
c5ae3c67f1
Revert "tools: bypass atomic instruction variant for esp32c6 temporarily"
...
This reverts commit 08f05420c0
.
2023-02-22 05:33:03 +00:00
Alexey Lapshin
5389ac4e04
tools: cmake: ignore linker RWX segment warnings
2023-02-22 05:33:03 +00:00
Alexey Lapshin
d867b11022
tools: update toolchain version to 'esp-12.2.0_20230208'
...
Closes https://github.com/espressif/esp-idf/issues/5308
2023-02-22 05:33:03 +00:00
Alexey Lapshin
4e411d9e3b
tools: add triplet i686-linux-gnu for distributions
2023-02-22 05:33:03 +00:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
Fu Hanxi
38c292c7bf
ci: fix: pexpect.buffer can't be kept between processes
2023-02-21 16:09:19 +08:00
Fu Hanxi
b661d64811
Merge branch 'bugfix/fix_case_tester_wait_case_running_too_short' into 'master'
...
case_tester: use process instead of thread
See merge request espressif/esp-idf!21847
2023-02-20 20:24:01 +08:00
Marius Vikhammer
89190fab02
Merge branch 'bugfix/allow_coredump_gdb_simu' into 'master'
...
coredump: allow coredump at panic even if gdbstub is used.
Closes IDFGH-8567
See merge request espressif/esp-idf!22103
2023-02-20 16:07:57 +08:00
Marius Vikhammer
eb40fc913a
Merge branch 'bugfix/linux_target_driver_mock' into 'master'
...
linux-target: fixed driver mock being broken due to changes in driver folder structure
Closes IDFGH-9375
See merge request espressif/esp-idf!22375
2023-02-20 15:38:38 +08:00
Fu Hanxi
a0c025cc47
ci: use IDF_PATH as the manifest root path
...
this would remove the restriction that tools/ci/ci_build_apps.py could
only be run in IDF_PATH.
2023-02-20 14:55:04 +08:00
Fu Hanxi
b04e5d070a
case_tester: use multi-processing instead of threads
...
Pros:
- Using thread would face GIL issue and turns out very slow when running
with poor hardware.
Cons:
- Does not support windows anymore. For testing purpose, it's fine.
2023-02-20 11:18:14 +08:00
Omar Chebib
d55060d184
Merge branch 'staging/rename_twdt_config_examples' into 'master'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests
See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Marius Vikhammer
ec57895db9
coredump: allow coredump at panic even if gdbstub is used.
...
Closes https://github.com/espressif/esp-idf/issues/10017
2023-02-17 15:15:36 +08:00
Laukik Hase
f0132be83e
Merge branch 'feature/memprot_test_app' into 'master'
...
esp_system: Add test_app for `memprot` peripheral
Closes IDF-6819
See merge request espressif/esp-idf!21829
2023-02-17 13:59:44 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Martin Vychodil
c58a84f893
Merge branch 'feature/fatfs_format_api' into 'master'
...
fatfs: added APIs to format a FAT filesystem
Closes IDF-6046
See merge request espressif/esp-idf!21845
2023-02-16 19:59:31 +08:00
Laukik Hase
6e0e7e34ea
test_app: Extend panic
app to include memprot
-related tests
...
- Add support for esp32s2, esp32c3 and esp32c2 for the `memprot`-related tests
- Preliminary support for esp32s3 has also been added,
the test app will be enabled for esp32s3 later when
the memprot-related issues are fixed.
- Override panic handler to dump the violation intr status
- Dump the `memprot` violation registers before calling the
real panic handler
- Handle `Illegal Instruction` exception in case of memprot permission violation
* In esp32c3 with `memprot` enabled, if we try to execute arbitrary code
from RTC_FAST_MEM we get an `Illegal Instruction` exception from the panic
handler rather than a `Memory Protection Fault`.
* This is because the Illegal Instruction interrupt occurs earlier than the
memory protection interrupt due to a higher interrupt latency.
2023-02-16 17:13:56 +05:30
Laukik Hase
fa27795048
test_app: Split panic
test app into separate source files
...
- Added minor improvements to `panic` test app
* Replaced existing API to disable flash cache which did not disabled cache always
(`esp_flash_default_chip->os_func->start(esp_flash_default_chip->os_func_data)`)
with `spi_flash_enable_interrupts_caches_and_other_cpu`
* Included some required headers explicitly (`esp_memory_utils.h` and `esp_heap_caps.h`)
2023-02-16 15:26:47 +05:30
Armando
d59fd3e529
fatfs: deprecate esp_vfs_fat_sdmmc_unmount
...
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Fu Hanxi
610102ace1
Merge branch 'ci/move_stdout_print_to_stderr_logging' into 'master'
...
ci: move stdout print to stderr logging in gitlab api
See merge request espressif/esp-idf!22387
2023-02-16 13:45:55 +08:00
Erhan Kurubas
a3df4d5386
Merge branch 'apptrace_pytest' into 'master'
...
Generic apptrace example with pytest support
Closes IDF-5620
See merge request espressif/esp-idf!22195
2023-02-16 03:41:19 +08:00
Roland Dobai
2237847967
Merge branch 'fix/idf_tools_python_dir_change' into 'master'
...
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
Closes IDFGH-9085
See merge request espressif/esp-idf!22372
2023-02-15 19:07:52 +08:00
Erhan Kurubas
db10697b74
example/system: remove app_trace_to_host example. Instead use app_trace_basic
2023-02-15 10:30:32 +01:00
Roland Dobai
beb1c08d25
Merge branch 'feature/rewrite_build_sys_tests_v2' into 'master'
...
Rewrite build system unit tests to python v2
Closes IDF-6778
See merge request espressif/esp-idf!22180
2023-02-15 17:04:59 +08:00
Fu Hanxi
8d0dda23b0
ci: move stdout print to stderr logging in gitlab api
2023-02-15 15:34:10 +08:00
Marius Vikhammer
b68b0ea714
linux-target: fixed driver mock being broken due to changes in driver folder structure
...
Closes https://github.com/espressif/esp-idf/issues/10749
2023-02-15 11:16:51 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Roland Dobai
afe554c753
Tools: Allow custom Python installation path with IDF_PYTHON_ENV_PATH
...
IDF_PYTHON_ENV_PATH is the path where the Python environment is created
and used. By default it is inside IDF_TOOLS_PATH. IDF_PYTHON_ENV_PATH
was exported by idf_tools.py but was not imported back. This fixes the
issue and ESP-IDF will honor the value of IDF_PYTHON_ENV_PATH.
Closes https://github.com/espressif/esp-idf/issues/10489
2023-02-14 17:26:04 +01:00
Erhan Kurubas
69b1d1786c
docs: JTAG debugging update for ESP32-H2
2023-02-13 22:49:00 +01:00
Jiang Jiang Jian
254efe402e
Merge branch 'feature/wifi_kconfig_merge' into 'master'
...
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
Closes WIFI-4541 and IDF-1830
See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
2023-02-11 07:38:45 +08:00
Roland Dobai
648b1a41c6
Merge branch 'bugfix/dbg_target_hints' into 'master'
...
tools: enable hints for debug targets
Closes IDF-5795
See merge request espressif/esp-idf!22198
2023-02-10 17:25:27 +08:00
Roland Dobai
1dc3d5ef22
Merge branch 'feature/introduce_spdx_licenseref' into 'master'
...
tools: allow to use LicenseRef-[idstring] in SPDX-License-Identifier
Closes IDF-4486
See merge request espressif/esp-idf!22132
2023-02-10 17:08:01 +08:00
Marek Fiala
165c0d852b
Tools: Rewrite build system unit tests to python - other target tests
2023-02-09 16:08:04 +01:00
Frantisek Hrbata
08c9a7b520
tools: add new outdated option for idf_tools.py list
...
This adds a new outdated option, which only lists outdated
packages installed in IDF_TOOLS_PATH. It searches for the
latest installed tool version in the IDF_TOOLS_PATH/tools path and
compares it against the latest available version in the tools.json
file. If the latest version of a tool installed in IDF_TOOLS_PATH/tools
is smaller, it's reported as outdated. Nothing is reported if the tool
is up to date.
Two new tests are added. First just checks if nothing is reported in
case there is no update available. The second artificially generates
new tools.json file called tools.outdated.json and sets XTENSA_ESP32_ELF
version to 'zzzzzz'. It then checks if the XTENSA_ESP32_ELF tool
is reported as outdated by the 'zzzzzz' version.
Description of the new outdated option is addedd to docs as well.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-09 10:25:45 +01:00
Armando
34e77d6ccd
test_panic: add CONFIG_HAL_ASSERTION_DISABLE to coredump_flash_bin_crc config
...
Without this commit, under this config, the static D/IRAM usage is 97%
2023-02-07 20:23:52 +08:00
Armando
293f6ed34a
ci: add assertion disable config to reduce test_utils_psram size
...
Added CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y in
test_utils_psram configs to reduce size
2023-02-07 20:23:52 +08:00
Armando
4564f6cc4b
g1: add esp_mm to g1 list
2023-02-07 20:23:52 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Armando
af15b6d885
mmu: simplify mmu vaddr region macro on esp32c2
...
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Roland Dobai
4bd5ebb4a1
Merge branch 'tools/monitor_move' into 'master'
...
Tools(idf_monitor): Move idf_monitor to separate repo
Closes IDF-4109
See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Marek Fiala
a7a401eb28
Tools: dfu-util upgrade 0.9 -> 0.11
...
Closes https://github.com/espressif/esp-idf/issues/10558
2023-02-03 15:34:23 +01:00
Frantisek Hrbata
dc580bdc97
tools: add hints for openocd
...
This moves one hint, which was hardcoded in debug_ext.py to
hints.yml and adds a new one when openocd process does not have
permissions to the USB JTAG/serial device.
Also hint replacing the original 'Please check JTAG connection!'
hardcoded message is added.
Suggested-by: Alexey Lapshin <alexey.lapshin@espressif.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-03 14:56:14 +01:00
Peter Dragun
3e3533f918
feat(idf_monitor): move idf_monitor to separate repo
2023-02-03 11:20:15 +01:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00
morris
753eab91ee
Merge branch 'feature/usj_support_h2' into 'master'
...
USJ console support on esp32h2
Closes IDF-6239
See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Anton Maklakov
e5c14a9789
Merge branch 'bugfix/public_header_check_cosmetic' into 'master'
...
ci: Fix false positive err-logs on static-assert check
See merge request espressif/esp-idf!22194
2023-02-02 14:56:30 +08:00
David Čermák
5ada761a7b
Merge branch 'update/esp_netif_test_cleanup' into 'master'
...
esp_netif/tests: Consolidate test_apps/unit_test
Closes IDF-5579 and IDF-5047
See merge request espressif/esp-idf!21929
2023-02-02 13:49:43 +08:00
David Cermak
cbff23cfdb
ci: Fix false positive err-logs on static-assert check
2023-02-02 04:14:34 +00:00
Jiang Jiang Jian
25a56d13d7
Merge branch 'bugfix/fix_potential_null_pointer_dereference' into 'master'
...
Fix potential null pointer dereference
Closes IDF-6493
See merge request espressif/esp-idf!21662
2023-02-02 11:22:17 +08:00
Wu Zheng Hui
04987ac201
Merge branch 'feature/add_ram_loadable_app_support' into 'master'
...
feature: add ram loadable app support
See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
Frantisek Hrbata
4ee00623a3
tools: allow to use hints for debug targets
...
The debug targets are currently not utilizing hints, because they
are not using RunTool() helper from tools.py to spawn sub-processes.
Adjusting debug targets to use RunTool() would require some significant
changes to debug targets and RunTool() as well. Since debug targets
are already storing their output in logs, we can use these and process
them for hints.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-02-01 15:06:39 +01:00
David Cermak
7ae58e223d
esp_netif/tests: Consolidate test_apps/unit_test
...
* Remove duplicated test cases
* Migrated remaining unit tests to test_apps
2023-02-01 14:17:09 +01:00
Rahul Tank
9916eb688a
Merge branch 'bugfix/add_return_type_nimble_port_init' into 'master'
...
Nimble: Added return value (success / failure ) to nimble_port_init / nimble_port_deinit
See merge request espressif/esp-idf!21718
2023-02-01 19:45:44 +08:00
wuzhenghui
772d32fd77
ci: add ci workaround for gdb_loadable_elf
...
since flash config parameters are no longer generated when APP_BUILD_TYPE_RAM is enabled, this will cause load_ram in pytest_embedded_idf to fail
2023-02-01 17:57:28 +08:00
wuzhenghui
3256e4279d
ci: add pytests for ram_loadable_app
2023-02-01 17:57:28 +08:00
wuzhenghui
151c3b335b
example: add example for ram loadable app
2023-02-01 17:57:28 +08:00
wuzhenghui
0cbb4227b2
feature: add build framework support
2023-02-01 17:57:25 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
gauri patankar
d14d001e44
wpa_supplicant:Fix potential null pointer dereference
2023-01-31 21:54:43 +05:30
Li Shuai
9b99fc9033
cpu retention: software cpu retention support for esp32c6
...
cpu retention: add riscv core sleep critical and non-critical register layout structure definition
cpu retention: add assembly subroutine for cpu critical register backup and restore
cpu retention: add cpu core critical register context backup and restore support
cpu retention: add cpu core non-critical register context backup and restore support
cpu retention: add interrupt priority register context backup and restore support
cpu retention: add cache config register context backup and restore support
cpu retention: add plic interrupt register context backup and restore support
cpu retention: add clint interrupt register context backup and restore support
cpu retention: wait icache state idle before pmu enter sleep
2023-01-31 22:12:54 +08:00
David Čermák
dba0718f47
Merge branch 'feature/lwip_linux' into 'master'
...
lwip: Add support for linux target
Closes IDF-5707, IDF-5647, and IDF-6003
See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Ondrej Kosta
5da702bab3
Merge branch 'feature/iperf_pytest_migration' into 'master'
...
iperf pytest migration
Closes IDFCI-1143
See merge request espressif/esp-idf!21726
2023-01-31 18:04:59 +08:00
Mahavir Jain
d193521eb8
Merge branch 'example/remove_cbor_example' into 'master'
...
example: remove CBOR example from IDF.
See merge request espressif/esp-idf!22164
2023-01-31 17:16:23 +08:00
David Cermak
fa97004faf
lwip: Support for linux target
...
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08:00
Roland Dobai
733aadd6dc
Merge branch 'feature/rewrite_build_sys_tests_v1' into 'master'
...
Rewrite build system unit tests to python v1
Closes IDF-6736
See merge request espressif/esp-idf!21639
2023-01-30 19:41:51 +08:00
Harshit Malpani
928c5e84d9
example: remove CBOR example from IDF.
...
CBOR example has been moved to https://github.com/espressif/idf-extra-components/tree/master/cbor/examples/cbor
2023-01-30 16:58:32 +05:30
Jakob Hasse
a8b830ca92
Merge branch 'contrib/github_pr_10509' into 'master'
...
Make macro defined event base variables immutable (GitHub PR)
Closes IDFGH-9106
See merge request espressif/esp-idf!22032
2023-01-29 17:04:04 +08:00
Marius Vikhammer
43c899b2bd
Merge branch 'bugfix/remove_undefined_rom_funcs' into 'master'
...
esp_rom: cleanup unsupported functions
See merge request espressif/esp-idf!22041
2023-01-29 11:47:39 +08:00
Alexey Lapshin
236fa5e669
Merge branch 'feature/upgrade-systemview-to-3_32' into 'master'
...
app_trace: sys_view: upgrade to version 3.42
Closes IDF-4646
See merge request espressif/esp-idf!21306
2023-01-28 11:24:13 +08:00
Alexey Lapshin
18e5627a86
sys_view: upgrade to version 3.42
2023-01-27 22:22:33 +07:00
Marek Fiala
9beb663f1a
Tools: Rewrite build system unit tests to python - rebuild tests
2023-01-27 09:55:52 +00:00
Roland Dobai
d063e48c41
Merge branch 'feature/add-esp32c6-esp32h2-to-roms_json' into 'master'
...
tools: add esp32c6, esp32h2 to roms.json
Closes IDF-6734
See merge request espressif/esp-idf!22111
2023-01-27 17:01:29 +08:00
Roland Dobai
fda3cf5607
Merge branch 'bugfix/ctrlc_port_detection' into 'master'
...
tools: allow to interrupt port detection
Closes IDF-6656
See merge request espressif/esp-idf!22062
2023-01-27 16:51:26 +08:00
Frantisek Hrbata
b8fdff2008
examples/zigbee: use LicenseRef-Included as SPDX-License-Identifier
...
Examples for zigbee are using custom license, which is not present
on the SPDX license list. This was discussed on !16205 and a decision
was made that the examples will be put on check-copyright's ignore list.
SPDX has LicenseRef-[idstring] identifier for such cases, so let's try
to use it. In this particular case the LicenseRef-Included is used to
express that the full license text is included in the source file.
Note that the LicenseRef-Included is not part of SPDX. It's just
something I used. No change is needed on the check-copyright side.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-27 08:24:27 +01:00
Mahavir Jain
0e64ef61e5
Merge branch 'feature/http_server_example_url_decode' into 'master'
...
example/protocols: Added URI encoding/decoding feature
Closes IDFGH-9057 and IDFGH-9170
See merge request espressif/esp-idf!22031
2023-01-27 12:31:34 +08:00
Laukik Hase
167618d6a4
examples/protocols: Added URI encoding/decoding feature
...
- http_server/simple: Decoding received query
- esp_http_client: Sending encoded query
2023-01-25 17:47:14 +05:30
Zim Kalinowski
3574fc1918
cxx: removed cxx experimental components
2023-01-25 12:34:58 +01:00
Alexey Lapshin
dd40877ab2
sys_view: upgrade to version 3.32
2023-01-24 00:26:58 +07:00
Roland Dobai
2c794ea9c4
Merge branch 'bugfix/gdbinit_target_hoookpost' into 'master'
...
tools: fix idf.py gdb memory access before remote target is connected
Closes IDF-6723
See merge request espressif/esp-idf!22106
2023-01-23 23:47:17 +08:00
Alexey Lapshin
dd503eab24
tools: add esp32c6, esp32h2 to roms.json
2023-01-23 12:30:51 +07:00
Frantisek Hrbata
9d1c62becb
tools: fix idf.py gdb memory access before remote target is connected
...
Currently loading of esp32s3 ROM ELF symbols fails with
"Cannot access memory at address 0x3ff194ad". Let's perform
add-symbol-file after connection to the target.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-20 11:02:26 +01:00
Roland Dobai
1731007e6a
Merge branch 'bugfix/fix_idf_size_csv_diff_display' into 'master'
...
Fix idf_size.py archives diff display when using the CSV output mode
Closes IDF-6324
See merge request espressif/esp-idf!22037
2023-01-20 17:08:12 +08:00
Ondrej Kosta
46c00b2478
Merge branch 'contrib/github_pr_10554' into 'master'
...
Verify w5500 chip properly (GitHub PR)
Closes IDFGH-9158
See merge request espressif/esp-idf!22073
2023-01-20 15:41:50 +08:00
Martin Vychodil
a2b0068478
Merge branch 'bugfix/linux_build_errors' into 'master'
...
fix(linux): fix build errors without --skip-setting-flags
See merge request espressif/esp-idf!22063
2023-01-20 14:46:36 +08:00
Marius Vikhammer
e2d3f7c54c
Merge branch 'feature/c6_wdt' into 'master'
...
wdt: add support for WDTs on C6
Closes IDF-5935 and IDF-5340
See merge request espressif/esp-idf!21038
2023-01-20 10:36:42 +08:00
Alexey Lapshin
6c674f12fa
Merge branch 'fix/idf-gdb-remove-ROM-access-workaround' into 'master'
...
tools: remove obsolete workaround for reading ROM data from flash
See merge request espressif/esp-idf!21944
2023-01-19 23:58:35 +08:00
Ondrej
5fdb49698a
esp_eth: fixed copyright for W5500
2023-01-19 07:56:22 +00:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Marius Vikhammer
0eda9b9215
esp-rom: remove unsupported ROM functions
2023-01-19 10:09:09 +08:00
Erhan Kurubas
9d6383340f
Merge branch 'doc_update_esp32c6_jtag' into 'master'
...
docs: JTAG debugging update for ESP32C6
Closes IDF-6033
See merge request espressif/esp-idf!22028
2023-01-19 03:44:43 +08:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
Erhan Kurubas
7cb79db71e
docs: JTAG debugging update for ESP32C6
2023-01-18 15:17:23 +01:00
David Čermák
2f1d30d155
Merge branch 'bugfix/lwip_core_locking' into 'master'
...
esp_netif/lwip: Fix core-locking config
Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063
See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00
Armando (Dou Yiwen)
9f3fd2802f
Merge branch 'feature/sdio_slave_c6' into 'master'
...
sdio: c6 support
Closes IDF-5809
See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Roland Dobai
abf5022f9e
Merge branch 'bugfix/fix_windows_path_case_sensitivity' into 'master'
...
bugfix: Fix windows path case sensitivity
Closes IDFGH-8858
See merge request espressif/esp-idf!21775
2023-01-18 15:48:07 +08:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Ivan Grokhotkov
cef0744299
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
...
multiple fixes for linux target
Closes IDF-6641
See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Armando
f1de9faa71
sdio: c6 support
2023-01-18 02:34:46 +00:00
Jakob Hasse
9991862a10
fix(linux): fix build errors and warnings, remove ignore file
2023-01-18 09:24:28 +08:00
Djordje Nedic
17d1e9ae36
bugfix: Fix windows path case sensitivity
...
This commit fixes an issue where paths on Windows are case insensitive, for instance when setting the build folder its name would be converted to lowercase.
The culprit is our realpath() function, that was calling os.path.normcase() internally, since we are removing that call it makes sense to just remove the function entirely and call os.path.realpath() wherever necessary.
Closes https://github.com/espressif/esp-idf/issues/10282
2023-01-17 20:51:46 +01:00
David Cermak
a71fa82177
esp_netif/lwip: Fix core-locking config
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
Frantisek Hrbata
92565a259f
tools: allow to interrupt port detection
...
The main idf.py process has a handler for SIGINT, which actually just
ignores it. The get_default_serial_port() function is called within the
idf.py context to detect port for several tools(monitor,flash) and it's
not possible to terminate it because of this. Let's ignore SIGINT only
while running idf_monitor, which uses it to spawn gdb.
Fixes: c6e3eb0922
("idf.py.exe changes to handle Ctrl+C in correct way. H..")
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-17 13:13:54 +01:00
morris
d9825f5165
Merge branch 'feature/add_clk_tree_get_frequency_api' into 'master'
...
clk_tree: Stage 4 - Add a general API to get the frequency of different clocks
Closes IDF-6569
See merge request espressif/esp-idf!21830
2023-01-17 17:08:23 +08:00
Song Ruo Jing
2c9aa4559c
clk_tree: Add a general API to get the frequency of different clocks
...
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Ondrej Kosta
7aa4462d0b
Ethernet & WiFi iperf test migration to pytest
2023-01-16 15:45:56 +01:00
Fu Hanxi
51adb9ab27
test: temp workaround for linux test apps
2023-01-16 10:25:55 +08:00
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08:00
Fu Hanxi
74794c64f5
ci: fix ci_build_apps.py for linux target
2023-01-16 08:33:25 +08:00
Djordje Nedic
7cf3e284f5
Fix idf_size.py archives diff display when using the CSV output mode
...
This commit fixes two issues:
1. Part of the header containing annotations for curr, reference and diff values for archive diffs wasn't formatted correctly
2. Only one third of the values in the table were displayed because of the wrong line format
2023-01-13 23:04:40 +01:00
Alexey Lapshin
30cc5e9da9
tools: upgrade rom elfs to version 20230113
2023-01-13 14:44:57 +07:00
Ivan Grokhotkov
98d1f7de4b
tools: fix idf_monitor.py not working on macOS for Linux target
...
Since the introduction of PCAddressMatcher, the executable produced
by the build system is passed to elftools.elf.elffile.ELFFile.
However on macOS, native executables are not ELF files, so the
ELFFile class raises a rather unhelpful AssertionError exception.
Given that the rest of the idf_monitor.py doesn't have assumptions
that the "elf_file" argument is an ELF file (rather than just an
executable), check if the file is a real ELF file inside
PCAddressMatcher.
2023-01-13 08:14:55 +01:00
Jakob Hasse
01b4c7d8b1
fix(esp_event): removed header from pre-commit ignore list
2023-01-13 11:16:50 +08:00
Frantisek Hrbata
8934233b0b
tools: fix unnecessary port detection for multiple targets
...
When multiple targets are specified, e.g. idf.py flash monitor, the
automatic port detection is performed twice. Keep the port value in
args.port and avoid multiple calls to get_default_serial_port().
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-01-11 16:13:28 +01:00
Darian
20f0afd684
Merge branch 'feature/esp_pm_unit_test_migration' into 'master'
...
esp_pm: Migrate unit tests to test app
Closes IDF-5581
See merge request espressif/esp-idf!21229
2023-01-10 21:35:43 +08:00
Darian Leung
412b09abf4
esp_pm: Migrate unit tests to test app
...
This commit migrates the esp_pm unit tests from the legacy unit test to a
stand alone test app. The following CI configurations are provided
- Default: Automatic light sleep with mostly default configurations
- Options: Enables all of the optional esp_pm features
- Limits: Limit tests esp_pm
2023-01-10 15:43:33 +08:00
Ivan Grokhotkov
10e3b8edef
Merge branch 'feature/esp32h2_backtrace' into 'master'
...
tools: gdb_panic_server: add esp32h2
See merge request espressif/esp-idf!21901
2023-01-09 22:06:57 +08:00
Chen Yu Dong
e72905ee35
Merge branch 'ci/enable_more_wifi_tests' into 'master'
...
CI: enable more wifi cases
See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Alexey Lapshin
a0bac6d309
tools: remove obsolete workaround for reading ROM data from flash
2023-01-09 11:36:11 +07:00
Guillaume Souchere
9b2f6f01d6
tools: Fix esp32c2_data_info.yaml memory values to match documentation
2023-01-06 09:30:36 +00:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
Roland Dobai
ec0466e0e5
Merge branch 'fix/idf_monitor_pc_addr_intervals' into 'master'
...
Tools: IDF Monitor: Determine possible instruction addresses based on ELF segments
Closes IDF-6174
See merge request espressif/esp-idf!21393
2023-01-05 14:44:19 +08:00
Ivan Grokhotkov
38d36530f2
tools: gdb_panic_server: add esp32h2
2023-01-04 17:00:16 +01:00
Ivan Grokhotkov
8020407d3d
Merge branch 'test/panic_add_riscv' into 'master'
...
tests: panic: add esp32s3, esp32c3, esp32c2 support
Closes IDF-5692
See merge request espressif/esp-idf!21349
2023-01-04 18:29:01 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
Guillaume Souchere
8fe13d53b1
Merge branch 'feature/re-enable-newlib-test-c2' into 'master'
...
newlib: Remove tests using RTC related features from the esp32c2 test set
Closes IDF-5057
See merge request espressif/esp-idf!21858
2023-01-04 14:46:58 +08:00
Fu Hanxi
bcf19a275c
Merge branch 'ci/use_same_build_flags' into 'master'
...
CI: use same build flags in ci_build_apps.py
Closes IDFCI-1564
See merge request espressif/esp-idf!21868
2023-01-04 10:33:40 +08:00
Fu Hanxi
59304efa9a
test: add test to make sure the build flags are the same as the CI ones
2023-01-04 09:12:47 +08:00
Fu Hanxi
3ae9ec5faf
ci: use ci build flags in ci_build_apps.py
2023-01-04 09:12:23 +08:00
Roland Dobai
fa0db2c329
Tools: Improve idf.py error message when the argument value collides with the environment variable
...
Closes https://github.com/espressif/esp-idf/issues/10475
2023-01-03 18:56:50 +01:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
Ivan Grokhotkov
6495810c5d
test: panic: run tests on esp32s3, esp32c3, esp32c2
2023-01-03 15:29:58 +01:00
Roland Dobai
17286337ea
Tools: IDF Monitor: Determine possible instruction addresses based on ELF segments
2023-01-03 13:22:26 +01:00
Guillaume Souchere
ec34a0f5f5
newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
...
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:
- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:33:38 +01:00
Fu Hanxi
a92dce463f
Merge branch 'ci/remove_debug_backend' into 'master'
...
ci: remove debug_backend dependency
See merge request espressif/esp-idf!21811
2023-01-03 10:30:12 +08:00
Ivan Grokhotkov
e48b8eecff
Merge branch 'bugfix/tools_json_riscv_gdb_targets' into 'master'
...
tools: fix RISC-V GDB not being installed for C2, C6, H2
See merge request espressif/esp-idf!21763
2023-01-02 16:55:04 +08:00
Ivan Grokhotkov
9368096123
Merge branch 'bugfix/test_build_system_fixtures' into 'master'
...
build system tests: fix issues with idf_copy and get_idf_build_env
See merge request espressif/esp-idf!21754
2023-01-02 16:14:38 +08:00
Shu Chen
2ce330bd34
Merge branch 'feature/add_openthread_and_i154_lib_for_c6' into 'master'
...
openthread: add 802.15.4 and Thread support for ESP32-C6
See merge request espressif/esp-idf!21780
2022-12-30 09:41:39 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
Cao Sen Miao
4e67332b74
ESP32H2: Add small CI test for ESP32H2
2022-12-29 11:00:42 +08:00
Guillaume Souchere
a74ae7fba7
Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
...
heap_trace: improvements to formatting, code, comments of heap trace standalone
Closes IDFGH-8699
See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
wuzhenghui
a898c3ddc6
soc: regenerate modem header with regtool
2022-12-27 21:31:21 +08:00
Roland Dobai
a5b4e3bb3e
Merge branch 'tools/add_idf_size_c6_support' into 'master'
...
tools: Add tests for idf_size.py esp32c6 output
Closes IDF-6173
See merge request espressif/esp-idf!21644
2022-12-27 21:20:35 +08:00
Fu Hanxi
0da5cf8cd7
ci: remove debug_backend dependency
2022-12-27 17:34:11 +08:00
Omar Chebib
5eb8defb30
Merge branch 'staging/coredump_extram_support' into 'master'
...
coredump: enable support for stacks in external RAM
Closes IDF-5497 and IDF-2391
See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
Darian Leung
c318c89453
freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS
...
This commit removes the dependency on portUSING_MPU_WRAPPERS on the Xtensa port
of IDF FreeRTOS. This dependency was added due to a hack implemented in the
upstream port that required the usage of the "xMPUSettings" member of the TCB.
The "xMPUSettings" would be used as a pointer to the task's coprocessor save
area on the stack, even though FreeRTOS MPU support was not available.
The hack has now been removed, and the CPSA pointer is now calculated using
a combination of constant offsets values and the pxEndOfStack member of the
TCB.
Note: This impelemtation was copied from the Xtensa port of Amazon SMP FreeRTOS.
2022-12-23 15:29:17 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
Omar Chebib
835263e50a
Coredump: add a test to check that coredump supports stacks in SPIRAM
2022-12-22 12:47:22 +01:00
Ivan Grokhotkov
2a1e5e1939
tools: fix RISC-V GDB not being installed for C2, C6, H2
2022-12-22 10:11:48 +01:00
Ivan Grokhotkov
6020bb0f90
Merge branch 'feature/gdbstub_esp32c2' into 'master'
...
gdb stub: re-enable for ESP32-C2
Closes IDF-4135 and IDF-4245
See merge request espressif/esp-idf!21386
2022-12-22 16:00:01 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
Djordje Nedic
370bc8a59d
tools: Add tests for idf_size.py esp32c6 output
...
This MR adds tests for idf_size.py support for the esp32c6 chip.
2022-12-21 20:11:08 +01:00
Mahavir Jain
9c99080841
Merge branch 'fix/wifi_prov_scan_method' into 'master'
...
Changed wifi provisioning scan method
See merge request espressif/esp-idf!20408
2022-12-22 01:20:25 +08:00
Ivan Grokhotkov
03c542ecf7
test_build_system: fix incomplete env returned by get_idf_build_env
...
Previously get_idf_build_env didn't include the default environment
(os.environ) in its output, so the environment only contained the
variables returned by "idf_tools.py export".
If PATH already contains all the right paths, "idf_tools.py export"
doesn't return the PATH variable.
Therefore the environment returned by get_idf_build_env was usually
incomplete. Fix by combining the output of "idf_tools.py export" with
os.environ.
2022-12-21 17:22:55 +01:00
Ivan Grokhotkov
5d2f900bef
test_build_system: fix idf_copy fixture not changing IDF_PATH
2022-12-21 17:22:50 +01:00
Suren Gabrielyan
e5926d1b1b
Merge branch 'examples/mqtt_tests_migration_pytest' into 'master'
...
Examples: migration mqtt examples to pytest
See merge request espressif/esp-idf!20957
2022-12-21 21:23:14 +08:00
Jakob Hasse
102b501b10
Merge branch 'contrib/github_pr_9962' into 'master'
...
[Panic] add user configurable reboot delay in seconds (GitHub PR)
Closes IDFGH-8506
See merge request espressif/esp-idf!21305
2022-12-21 21:12:21 +08:00
Ivan Grokhotkov
e3a4d47fd9
gdb stub: re-enable for ESP32-C2
2022-12-21 13:21:41 +01:00
Fu Hanxi
b7a2d77e59
ci: remove ttfw print_heap_size
since it's migrated to pytest
2022-12-21 10:25:33 +08:00
Suren Gabrielyan
b68203bfb5
Examples: migration mqtt examples to pytest
2022-12-20 17:48:48 +04:00
Jiang Jiang Jian
8cd0571cc9
Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue' into 'master'
...
esp_phy: add country code 01 to country code map type table
Closes IDFCI-1299
See merge request espressif/esp-idf!21656
2022-12-20 21:31:24 +08:00
sanket.wadekar
bd6a74fcac
Changed wifi provisioning scan method
...
Signed-off-by: sanket.wadekar <sanket.wadekar@espressif.com>
2022-12-20 17:04:30 +05:30
Jakob Hasse
cb9786d35e
refactor(esp_system): reboot delay: added docs, protected by watchdog
2022-12-20 15:51:00 +08:00
Chen Yu Dong
e5b318ab71
Merge branch 'ci/fix_socket_ipv6_test' into 'master'
...
CI: Migrate socket example tests to pytest
See merge request espressif/esp-idf!21596
2022-12-20 11:13:09 +08:00
Ivan Grokhotkov
32754865da
Merge branch 'feature/spiflash_override_cmake_function' into 'master'
...
build system: Add spi_flash_add_link_dependency function for spi_flash custom driver
Closes IDF-3167
See merge request espressif/esp-idf!14186
2022-12-19 22:21:40 +08:00
Jiang Jiang Jian
066dc196af
Merge branch 'feature/esp32c6_wifi_bt_common_dependcy_support' into 'master'
...
esp32c6: support esp32c6 phy
Closes IDF-5680
See merge request espressif/esp-idf!21576
2022-12-19 12:16:11 +08:00
muhaidong
d912bbbcb0
esp_phy: add country code 01 to country code map type table
2022-12-18 14:25:17 +08:00
Angus Gratton
d89652b382
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding
2022-12-16 16:26:44 +01:00
David Čermák
a3dd334081
Merge branch 'bugfix/netif_test_rules' into 'master'
...
esp_netif various fixes: dependency cleanup, default flags, CI rules
Closes IDF-5550, IDFGH-7023, IDF-1261, and IDF-2155
See merge request espressif/esp-idf!20301
2022-12-16 21:26:05 +08:00
wuzhenghui
5822cdf93b
esp_phy: enable for esp32c6
2022-12-16 15:47:56 +08:00
Ivan Grokhotkov
75c92a8811
ci: use latest esp-clang for code analysis
2022-12-15 19:32:42 +01:00
Island
7283a406e4
Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples' into 'master'
...
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
See merge request espressif/esp-idf!21523
2022-12-15 17:54:30 +08:00
David Cermak
38dec0be48
esp-netif: Support non-lwip mode, add test
...
It is required to define a mandatory dependency on lwip, so we
introduced esp_netif_stack component and made it require lwip, instead
of directly depending on lwip.
This enables building w-out lwip and support other TCP/IP stacks.
2022-12-14 14:12:50 +00:00
Fu Hanxi
dabb16c6ad
Merge branch 'feature/component_manager_custom_lock_file' into 'master'
...
component manager: add variable `DEPENDENCIES_LOCK`
Closes PACMAN-407 and IDFGH-7867
See merge request espressif/esp-idf!19878
2022-12-14 22:03:48 +08:00
Jiang Guang Ming
947c112233
Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
...
esp_rom: update rom gpio.h
Closes IDFGH-8773
See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
Martin Vychodil
00f721f746
Merge branch 'refactor/nvs_allocatable_objects' into 'master'
...
refactor(nvs): custom allocator for all objects allocated in NVS
Closes IDF-6308
See merge request espressif/esp-idf!21239
2022-12-14 17:35:13 +08:00
Chen Yudong
df92048180
CI: fix ipv6 test failed on some runners
2022-12-14 15:58:49 +08:00
jiangguangming
7c0c5481c8
esp_rom: update rom gpio.h
...
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Fu Hanxi
17224f3254
component manager: add build property DEPENDENCIES_LOCK
...
closes https://github.com/espressif/esp-idf/issues/9394
2022-12-13 15:25:19 +08:00
wangjialiang
2fd57ba418
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
2022-12-13 11:16:26 +08:00
Roland Dobai
0b4ded7043
Tools: gdbgui is not supported on Python 3.11
...
This is a follow-up of a816dfbfc3
with
additional check.
Related to https://github.com/espressif/esp-idf/issues/10116
2022-12-12 19:31:01 +01:00
Jakob Hasse
b36c0e823f
Merge branch 'feature/linux_esp_hw_support' into 'master'
...
linux target: add support for building esp_hw_support, soc and hal components for linux target
See merge request espressif/esp-idf!21502
2022-12-12 09:59:31 +08:00
Marius Vikhammer
4ddbaa4166
linux target: add support for building esp_hw_support, soc and hal components for linux target
2022-12-09 13:59:39 +08:00
Fu Hanxi
259580f33e
Merge branch 'ci/pytest_gdb_loadable_elf' into 'master'
...
ci: migrate ttfw jtag related test to pytest
Closes RDT-241, IDFCI-1149, and IDFCI-1337
See merge request espressif/esp-idf!20918
2022-12-09 10:16:02 +08:00
Chip Weinberger
9afc386dd2
[Heap Trace Standalone] improvements to formatting, code, comments
2022-12-08 00:47:02 -08:00
Song Ruo Jing
6f4d1ea436
Merge branch 'feature/esp32c6_ledc_support' into 'master'
...
ledc: Add basic support for esp32c6
Closes IDF-5328
See merge request espressif/esp-idf!21387
2022-12-08 16:07:46 +08:00
Fu Hanxi
1148980383
test: pytest_gdb.py avoid LIBUSB_ERROR_BUSY
...
- stop using `shell=True`
- use `terminate()`
2022-12-08 14:25:02 +08:00
Fu Hanxi
dc3c630919
ci: move more openocd scripts into pytest-embedded
2022-12-08 14:25:02 +08:00
Fu Hanxi
09a32437b3
ci: migrate ttfw gdb_loadable_elf test to pytest
2022-12-08 14:25:02 +08:00
Fu Hanxi
ea5a08468c
ci: install pytest-embedded-jtag for --enable-pytest
2022-12-08 14:25:01 +08:00
Darian
f7d6f83c41
Merge branch 'refactor/freertos_startup_and_common_functions' into 'master'
...
FreeRTOS: Refactor app startup and port common functions
See merge request espressif/esp-idf!21240
2022-12-08 13:40:28 +08:00
Fu Hanxi
67cd264535
pytest: check duplicates test case/script names
2022-12-08 09:49:12 +08:00
Fu Hanxi
08e68c192a
ci(pytest): differentiate temp_skip
and temp_skip_ci
markers
2022-12-08 09:49:12 +08:00
Fu Hanxi
a6164dc14c
ci: make get_pytest_apps 90% faster
2022-12-08 09:48:25 +08:00
Fu Hanxi
9a666c8ba0
ci: ci_build_apps.py supports filter_expr
2022-12-08 09:48:25 +08:00
Darian Leung
09690906e7
freertos: Refactor OS startup functions
...
This commit refactors the OS startup functions as follows:
- Moved the OS/app startup functions listed below to "app_startup.c". Their
implementations are now common to all ports (RISC-V and Xtensa) of all
FreeRTOS implementations (IDF and Amazon SMP).
- esp_startup_start_app()
- esp_startup_start_app_other_cores()
- Removed esp_startup_start_app_common() as app startup functions are now
already common to all ports.
- Added extra logs to "main_task" to help with user debugging
Note: Increased startup delay on "unity_task". The "unity_run_menu()" is non
blocking, thus if the main task or other startup tasks have not been freed
by the time "unity_run_menu()" is run, those tasks will be freed the next time
"unity_task" blocks. This could cause some tests to have a memory leak, thus
the "unity_task" startup delay has increased.
2022-12-08 01:57:30 +08:00
Alexey Gerenkov
9ac90acd9e
Merge branch 'feature/add_newlib_nano_build_support_for_clang' into 'master'
...
Newlib nano build support for clang
See merge request espressif/esp-idf!21056
2022-12-07 20:24:58 +08:00
Andrei Safronov
2c5a9494fe
Merge branch 'bugfix/fix_gnu_asm_struct' into 'master'
...
xtensa: remove asm struct expressions in header files
See merge request espressif/esp-idf!18836
2022-12-07 20:21:31 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Marius Vikhammer
2f348d93c7
Merge branch 'feature/linux_heap' into 'master'
...
heap: add linux target support
Closes IDF-6000
See merge request espressif/esp-idf!21401
2022-12-07 09:28:36 +08:00
Alexey Gerenkov
2710749f21
riscv: Remove asm struct expressions in header files
2022-12-06 13:35:27 +03:00
Alexey Gerenkov
989cb33fe4
tools: Updates esp-clang version to 'esp-15.0.0-20221201'
2022-12-06 12:33:09 +03:00
Marius Vikhammer
b1b25ad7df
hints: add a more complete description for component not found errors
2022-12-06 10:54:44 +08:00
Marius Vikhammer
36cb08c379
heap: add linux target support
...
Add wrappers for public heap API for the linux target.
2022-12-06 10:49:59 +08:00
Jakob Hasse
91f04aa877
refactor(nvs): custom allocator for all objects allocated in NVS
2022-12-05 18:59:33 +01:00
Island
7e9a239b9c
Merge branch 'feature/seperate_ble_wifi_test_environment' into 'master'
...
seperate ble wifi environment and support ci esp32c2
See merge request espressif/esp-idf!18970
2022-12-02 11:12:01 +08:00
Chen Sheng
fe39b922ca
seperate ble wifi environment and support ci esp32c2
2022-12-02 11:12:00 +08:00
Konstantin Kondrashov
7bc15f78a5
Merge branch 'feature/efuse_remove_warnings_for_memcpy' into 'master'
...
all: Remove warnings for memcpy/memset
Closes IDF-6298
See merge request espressif/esp-idf!21164
2022-12-01 16:03:29 +08:00
Cao Sen Miao
283e2c8e5f
ESP32H2: Add ROM linker file and support
2022-12-01 10:31:17 +08:00
KonstantinKondrashov
9fd8f3786a
all: Replaces memset/memcpy with hal_mem.. funcs where were used -Wstringop-overread, -Wstringop-overflow, -Warray-bounds
...
hal: Adds hal_memcpy and hal_memset
2022-11-30 19:22:41 +08:00
Ondrej Kosta
d849f290d1
Merge branch 'feature/eth_test_all_chips' into 'master'
...
Ethernet related tests improvements
Closes IDF-5387
See merge request espressif/esp-idf!20982
2022-11-30 17:53:48 +08:00
Song Ruo Jing
56302544f6
Merge branch 'ci/enable_esp32c6_target_test_stage' into 'master'
...
CI: Enable esp32c6 target test stage
Closes IDF-5830 and IDF-5831
See merge request espressif/esp-idf!21010
2022-11-29 19:54:05 +08:00
Roland Dobai
2eabf60291
Merge branch 'bugfix/fix_esp32s3_diram_calculation' into 'master'
...
Tools: Fix diram size calculation
Closes IDFGH-8504
See merge request espressif/esp-idf!21243
2022-11-29 18:52:14 +08:00
Roland Dobai
e5de9755ac
Merge branch 'fix/gdbgui' into 'master'
...
Tools: gdbgui is not supported on Python 3.11
See merge request espressif/esp-idf!21277
2022-11-29 18:07:48 +08:00
Ondrej
2bf7255285
Ethernet related tests improvements
...
esp_eth: tests migrated to pytest and added support of multiple Ethernet devices
esp_netif: l2tap test migrated to pytest
2022-11-28 11:34:34 +00:00
Djordje Nedic
0810dd20e8
idf_size.py: Fix issue where diram size was halved in cases where iram was not fully filled with cache
...
This fixes an attempted fix for diram size calculation where it was counted twice, however the fix did not account for cases where iram was not fully filled with cache and therefore was of non 0 size.
Now the calculation should be correct regardless of the cache size.
Closes https://github.com/espressif/esp-idf/issues/9960
2022-11-28 10:47:32 +01:00
Song Ruo Jing
1575b9e43a
ci: Disable all currently failed target tests for esp32c6
2022-11-28 12:09:08 +08:00
Song Ruo Jing
5a6cb0dad7
ci: Add extra_default_build_targets logic to check_build_test_rules.py
2022-11-28 11:58:30 +08:00
Song Ruo Jing
c17b134711
ci: Add ut configs for esp32c6
2022-11-28 11:58:21 +08:00
Song Ruo Jing
8efca13905
ci: Enable target tests for esp32c6
2022-11-28 11:32:44 +08:00
Marius Vikhammer
6a450c4113
Merge branch 'feature/esp_hw_support_pytest' into 'master'
...
esp_hw_support: migrate to pytest
See merge request espressif/esp-idf!20938
2022-11-28 10:38:54 +08:00
Roland Dobai
a816dfbfc3
Tools: gdbgui is not supported on Python 3.11
...
Closes https://github.com/espressif/esp-idf/issues/10116
2022-11-25 16:40:28 +01:00
Roland Dobai
6b1d0f99d7
Merge branch 'bugfix/tool_removal_offer_macOS' into 'master'
...
Tools: bugfix Export script offers cmake & ninja for removal on macOS
Closes IDF-4733
See merge request espressif/esp-idf!20701
2022-11-25 18:09:56 +08:00
Jakob Hasse
7504755c4a
Merge branch 'bugfix/serial_reader_linux_writes_correctly' into 'master'
...
bugfix(tools): idf.py monitor now reads correctly on Linux
Closes IDF-6317
See merge request espressif/esp-idf!21241
2022-11-25 16:43:48 +08:00
Marius Vikhammer
59e40fafba
esp_hw_support: move test to pytest
2022-11-25 16:21:35 +08:00
Guillaume Souchere
1d16ca6a26
Merge branch 'feature/lower-iram-utilization-of-heap-component' into 'master'
...
heap: lower the utilization of IRAM by the heap component binary
Closes IDF-2282 and IDFGH-6233
See merge request espressif/esp-idf!20926
2022-11-25 15:22:05 +08:00
Jakob Hasse
6d9d23702f
bugfix(tools): idf.py monitor now reads correctly on Linux
...
A missing flush in the serial reader implementation for
Linux target was causing input to idf.py monitor to not
be forwarded to the application. This is fixed now.
2022-11-24 15:57:47 +01:00
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Guillaume Souchere
ab1bd08ab9
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-11-24 10:31:14 +01:00
Alexey Gerenkov
8c2ae2f9bd
Merge branch 'feature/universal_clang_toolchain_support' into 'master'
...
build: Adds support for universal Clang toolchain
Closes LLVM-79
See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Zim Kalinowski
40ffc48ff7
Merge branch 'feature/migrate-esp-common-tests-to-pytest' into 'master'
...
esp_common: migrate unit tests to pytest test app
Closes IDF-5572
See merge request espressif/esp-idf!20194
2022-11-23 19:39:50 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
morris
560ea9b754
systimer: support etm event
2022-11-23 15:32:34 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
Zim Kalinowski
95cc3e5b6c
esp_common: migrate tests to pytest
2022-11-22 22:15:08 +01:00
Alexey Gerenkov
55bd4a74cd
tools: Replace 'xtensa-clang' with 'esp-clang'
2022-11-22 17:30:14 +03:00
Omar Chebib
d965b7fdec
Merge branch 'staging/esp_static_assert' into 'master'
...
C/Cxx: Static assertions are now unified
Closes IDFGH-8479
See merge request espressif/esp-idf!20569
2022-11-22 17:04:02 +08:00
C.S.M
54d9da987a
Merge branch 'bugfix/flash_large_memory_size' into 'master'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory
Closes IDFGH-8063
See merge request espressif/esp-idf!20738
2022-11-22 16:07:17 +08:00
Jiang Jiang Jian
d89a51299d
Merge branch 'bugfix/modify_wifi_max_conn_num' into 'master'
...
esp_wifi: modify wifi max conn num
Closes IDFGH-7960, WIFI-4176, IDFGH-8431, and WIFI-5004
See merge request espressif/esp-idf!19367
2022-11-22 15:51:08 +08:00
Ivan Grokhotkov
7a298f98ae
cmake: fix the linker type check for --whole-archive option
...
Checking that the host is macOS is not sufficient here, since the
linker is still a GNU linker when cross-compiling for a chip.
Instead, use the linker_type variable introduced in the previous
commit.
2022-11-21 13:08:05 +01:00
Ivan Grokhotkov
b47155a70b
cmake: fix the map file not generated when compiling with Clang
...
When compiling for a chip target with Clang,
CMAKE_C_COMPILER_ID="Clang" but the linker is still a GNU linker.
Therefore we can still generate the map file.
2022-11-21 13:06:17 +01:00
Omar Chebib
43c03d95a4
CI: check_public_headers script will detect the use of static asserts in headers
...
When a public header contains _Static_assert or static_assert, check_public_headers.py script will detect it and report it as an issue.
Indeed, public headers shall now use ESP_STATIC_ASSERT.
2022-11-21 16:18:13 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
morris
5bd99deb48
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
Marek Fiala
22f1a87891
Tools: bugfix Export script offers cmake & ninja for removal on macOS
2022-11-18 17:31:49 +01:00
zhangyanjiao
d11ee31bf1
Modify maximum softap conn num and espnow encryption peer num
2022-11-17 15:02:34 +08:00
Radek Tandler
aad600c9ca
Merge branch 'feature/storage_host_test_nvs' into 'master'
...
nvs_flash: Migrate host tests to CMake build system, use Linux partition API
Closes IDF-4697
See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319
Merge branch 'feature/esp_system_linux' into 'master'
...
esp_system partially buildable on Linux
Closes IDF-5983
See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b
nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
...
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
Fu Hanxi
fbef416c36
Merge branch 'bugfix/env_var_SDKCONFIG_DEFAULTS_fail_with_bootloader_subproject' into 'master'
...
build_system: stop looking for env var `SDKCONFIG_DEFAULTS` in bootloader subproject
See merge request espressif/esp-idf!21091
2022-11-16 19:14:11 +08:00
Roland Dobai
670fda877d
Merge branch 'tools/move_kconfig_out' into 'master'
...
tools: Move out kconfig_new in favour of using the esp-idf-kconfig package
Closes IDF-5802
See merge request espressif/esp-idf!20419
2022-11-16 18:08:39 +08:00
Jakob Hasse
cce1f9dee4
Merge branch 'feature/freertos_task_notification_configurable' into 'master'
...
freertos: make num of task notifications configurable
Closes IDFGH-7819
See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Fu Hanxi
b5d9df8b6f
build_system: stop looking for sdkconfig file specified by env var SDKCONFIG_DEFAULTS
in bootloader subproject
2022-11-16 16:52:54 +08:00
Jakob Hasse
5b3a645813
feat(esp_system): Partially buildable on Linux now
2022-11-16 09:03:09 +01:00
Djordje Nedic
ebb6c2e77b
tools: Move out kconfig_new in favour of using the esp-idf-kconfig package
...
This commit removes all kconfig_new files and references to them and adds esp-idf-kconfig as a dependency and adequate wrappers to avoid breaking changes.
2022-11-15 21:19:51 +01:00
Jakob Hasse
73d9d83a2f
feat(freertos): make num of task notifications configurable
...
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
morris
7758c0c65b
Merge branch 'gcc/tmp_hack_toolchain_libatomic' into 'master'
...
tools: bypass atomic instruction variant for esp32c6 temporarily
See merge request espressif/esp-idf!21087
2022-11-15 11:19:32 +08:00
Chen Yu Dong
37f2339dfe
Merge branch 'tools/idf_tools_use_mirror_url' into 'master'
...
tools: espidf constraints also supports mirror url
See merge request espressif/esp-idf!21020
2022-11-15 10:51:36 +08:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
Zim Kalinowski
04595966f3
Merge branch 'doc/api_guides_cplusplus' into 'master'
...
docs: add C++ support chapter to the API guides
See merge request espressif/esp-idf!20182
2022-11-14 20:20:31 +08:00
morris
08f05420c0
tools: bypass atomic instruction variant for esp32c6 temporarily
...
Current riscv32-esp-elf-gcc can't provide the atomic intrinsic
functions.
Bypass it for now. Will revert this commit when a new toolchain is
ready.
2022-11-14 19:44:03 +08:00
Armando
3dc36f622c
spi_slave: add a private API to reset transaction queue
2022-11-14 16:01:48 +08:00
Song Ruo Jing
d0a7dc3e9f
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
Chen Yu Dong
a05e8996ab
Merge branch 'ci/migrate_wifi_unit_test_app' into 'master'
...
CI: Migrate wifi unit tests to componment_ut
Closes IDF-5586
See merge request espressif/esp-idf!20787
2022-11-11 16:24:49 +08:00
Wan Lei
c09322430a
Merge branch 'test/move_gpspi_to_pytest_app' into 'master'
...
spi: move spi related unit test into itself pytest app
Closes IDF-5499 and IDFCI-1377
See merge request espressif/esp-idf!19341
2022-11-11 12:18:26 +08:00
Chen Yudong
e82ea9f1be
tools: idf extra wheels url can be set by environment variables
2022-11-11 12:00:56 +08:00
Chen Yudong
97205ed0bd
tools: support download espidf constraints files from mirror url
2022-11-11 10:18:55 +08:00
Chen Yudong
a78d492091
pytest: use case_tester for multi-device tests
2022-11-10 22:29:05 +08:00
wanlei
f31ecbb42b
test: move spi related unit-test into pytest app
2022-11-10 16:02:03 +08:00
wanlei
312bc6cb3a
test: make 'test_common_spi' as a components named 'test_utils_spi'
2022-11-10 15:51:29 +08:00
morris
797c7163c6
tool: skip test folder when generating esp_err_t table
2022-11-10 10:37:59 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Zim Kalinowski
d2d0294714
Merge branch 'bugfix/idf_ci_build_is_not_set' into 'master'
...
ci: Fix environment variable IDF_CI_BUILD is not set
See merge request espressif/esp-idf!20944
2022-11-09 00:47:50 +08:00
KonstantinKondrashov
1a9ca94ac6
ci: Fix environment variable IDF_CI_BUILD is not set
2022-11-08 18:23:39 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
Zim Kalinowski
9d93585f8e
Merge branch 'feature/esp_timer_migrate_from_ut_app_to_test_app' into 'master'
...
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
Closes IDF-5585
See merge request espressif/esp-idf!20760
2022-11-07 16:27:50 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
KonstantinKondrashov
9f41525d99
esp_timer: Migrate esp_timer unit tests from unit-test-app to component test app
2022-11-05 22:53:38 +08:00
Ivan Grokhotkov
80d3dc9ac5
docs: add C++ support chapter to the API guides
2022-11-04 18:37:03 +01:00
Kevin (Lao Kaiyao)
48b23b7c46
Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
...
i2s: support 4 line pdm rx on esp32s3
Closes IDF-6120
See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
Zim Kalinowski
8184f03115
Merge branch 'bugfix/esp_rom_const_correctness' into 'master'
...
esp_rom: Fixed writable string issue on Linux implementation
Closes IDF-6187
See merge request espressif/esp-idf!20925
2022-11-04 18:16:33 +08:00
morris
a83165fea0
twai: add initial version of driver component test
2022-11-04 17:40:29 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
morris
f02facbe28
twai: describe peripheral info
...
Describe peripheral informations in the twai_peirph.c, including:
Interrupt number, GPIO matrix signal ID, etc
2022-11-04 17:40:29 +08:00
Michael (XIAO Xufeng)
c546de8d82
Merge branch 'feature/apply_new_version_logic' into 'master'
...
all: Apply new version logic (major * 100 + minor)
Closes IDF-4932 and IDF-4939
See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
Ivan Grokhotkov
b14116ff95
Merge branch 'feature/partition_api_new_component_2' into 'master'
...
Storage: Partition APIs moved to the new component 'esp_partition'
Closes IDF-1234
See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
Roland Dobai
ba60c550c0
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.11.0-esp32-20221026'
See merge request espressif/esp-idf!20841
2022-11-04 02:51:41 +08:00
Jakob Hasse
44aa3c3a7f
bugfix(esp_rom): Fixed writable string issue on Linux implementation
2022-11-03 11:45:19 +01:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Alexey Lapshin
80d395848f
tools: update gdb version to '12.1_20221002'
2022-11-02 18:46:38 +00:00
Sudeep Mohanty
54d0d870a6
Merge branch 'feature/remove_pthread_tls_cleanup_dependency_on_freertos' into 'master'
...
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
Closes IDF-4955
See merge request espressif/esp-idf!20869
2022-11-02 21:00:50 +08:00
Alexey Gerenkov
6dde0b217b
tools: Updates OpenOCD version to 'v0.11.0-esp32-20221026'
2022-11-02 10:22:29 +00:00
Sudeep Mohanty
b3755b751e
pthread: Remove pthread TLS cleanup dependency on FreeRTOS Static Task Cleanup Hook
...
This commit removes the need to define the vTaskCleanupTCB hook in
pthread to cleanup the thread-specific data before a thread is deleted.
2022-11-02 09:52:28 +01:00
Tomas Rezucha
94a00bda0f
tinyusb: Use TinyUSB from component registry
2022-11-02 08:24:43 +01:00
Fu Hanxi
7bb4aea90e
ci: use .txt files instead of .log file for better preview
2022-11-02 10:15:00 +08:00
harshal.patil
e7a4062a30
docs: added documentation for wifi_ctrl endpoint and updated esp_prov readme
2022-11-01 14:19:01 +05:30
harshal.patil
b7de443aaa
wifi_provisioning: added wifi-ctrl reprov endpoint
2022-11-01 14:19:01 +05:30
harshal.patil
dacf44dd1d
wifi_provisioning: added wifi-ctrl reset endpoint
2022-11-01 14:19:01 +05:30
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Fu Hanxi
0b47e173e6
ci: bypass test script check for bringup targets
2022-11-01 11:13:50 +08:00
morris
9cb53256a0
Merge branch 'refactor/twai_example_pytest' into 'master'
...
twai: migrate example test to pytest
See merge request espressif/esp-idf!20857
2022-11-01 11:05:01 +08:00
Anton Maklakov
e2a20e1631
tools: Docker: add QEMU with xtensa chip support
...
Closes https://github.com/espressif/esp-idf-ci-action/issues/22
2022-11-01 09:07:04 +07:00
morris
43d99f8364
twai: migrate example test to pytest
2022-10-31 21:44:08 +08:00
Cao Sen Miao
b4964279d4
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory,
...
Closes https://github.com/espressif/esp-idf/pull/9566
2022-10-31 11:05:36 +08:00
Aleksei Apaseev
89d2c22544
Merge branch 'feat/added_subcommand_esp_coredump' into 'master'
...
tools: added idf.py coredump sub-command
Closes IDF-4959
See merge request espressif/esp-idf!20289
2022-10-28 13:03:23 +08:00
Aleksei Apaseev
06ac2166d6
tools: added idf.py coredump sub-command
2022-10-28 03:01:56 +00:00
harshal.patil
779aef401e
esp_prov: added support for session cookie in SoftAP mode
2022-10-27 18:17:38 +05:30
Zim Kalinowski
0954c5e5d0
Merge branch 'refactor/nvs_define_ns_name_len' into 'master'
...
refactor(nvs): using define for namespace len instead of magic number
Closes IDFGH-8174
See merge request espressif/esp-idf!20353
2022-10-27 14:53:30 +08:00
KonstantinKondrashov
3b4f384b69
configs: Removes leftover of CONFIG_MEMMAP_SMP
2022-10-26 19:45:42 +08:00
Konstantin Kondrashov
554f3bdc38
Merge branch 'feature/efuse_migrate_from_ut_app_to_test_app' into 'master'
...
efuse: Migrate efuse unit tests from unit-test-app to component test app
Closes IDF-5570
See merge request espressif/esp-idf!20756
2022-10-26 18:25:20 +08:00
Jiang Jiang Jian
f191b2f034
Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
...
esp32/rtc: fix xtal unstable in some cases when sleep
Closes ESPCS-869
See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00
KonstantinKondrashov
beba771031
efuse: Migrate efuse unit tests from unit-test-app to component test app
2022-10-26 15:41:48 +08:00
Zim Kalinowski
e0077e67d7
Merge branch 'feature/freertos_unit_test_migration' into 'master'
...
FreeRTOS: Migrate unit tests to test app
Closes IDF-5589
See merge request espressif/esp-idf!20625
2022-10-26 03:01:22 +08:00
laokaiyao
8ef9fd4623
dac: optimize the dma stratege
2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb
dac: update unit-test docs and examples for driver-NG
2022-10-25 17:00:41 +08:00
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00
Darian Leung
c36e06c45c
freertos: Add test app sdkconfig
...
This commit adds the sdkconfig files for the FreeRTOS test app. These
configurations were dervied from the various legacy unit test app's
config files that included the FreeRTOS component.
This commit tries to keep a 1 to 1 config parity with the legacy test app.
Meaning, if FreeRTOS test were run on a particular target with a particular
config, that config will be represented in one of the test app's
sdkconfig.ci.XXX files.
However, the following configurations were removed for FreeRTOS tests:
- The "freertos_flash" option was removed due to redudancy (already tested in
freertos_options)
2022-10-23 20:02:14 +08:00
morris
4176cb68de
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-22 18:20:07 +08:00
Jakob Hasse
674fa9377f
refactor(nvs): using define for namespace len instead of magic number
...
Closes https://github.com/espressif/esp-idf/issues/9671
2022-10-21 18:12:24 +02:00
harshal.patil
9f6e433bb5
ci: Migrate app_update unit tests from unit-test-app to component-test-app
2022-10-21 07:37:37 +00:00
Kevin (Lao Kaiyao)
81375c5d82
Merge branch 'feature/support_multi_dev_unity_signal_transportation' into 'master'
...
test: add a script for supporting multi-dev and multi-stage cases
Closes IDFCI-1377 and IDF-5989
See merge request espressif/esp-idf!20302
2022-10-21 10:29:51 +08:00
Fu Hanxi
c756e0f477
ci: fix import path
2022-10-20 20:34:51 +08:00
laokaiyao
cf528deeb1
test: add a script for supporting multi-dev and multi-stage case
2022-10-20 18:35:51 +08:00
Roland Dobai
818a1866e6
Merge branch 'fix/detect_diff_cmake_python' into 'master'
...
Tools: Detect if the project is configured for a different Python
Closes IDFGH-8540
See merge request espressif/esp-idf!20672
2022-10-19 22:28:21 +08:00
Xue Yun Fei
c941691711
Merge branch 'Bugfix/increase_ping_task_stack_size' into 'master'
...
lwip:bugfix for increase ping task stack size
Closes WIFI-4903
See merge request espressif/esp-idf!20664
2022-10-19 19:19:25 +08:00
Song Ruo Jing
c8c9ce0a8b
Merge branch 'feature/esp32c6_gpio_support' into 'master'
...
gpio: bringup driver on esp32c6 FPGA
Closes IDF-5870 and IDF-5937
See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
xueyunfei
8c17b04cef
lwip:bugfix for increase ping task stack size
2022-10-19 10:49:13 +08:00
Marius Vikhammer
978c03c0c3
Merge branch 'feature/test_apps_def_config' into 'master'
...
CI: add common debug helper sdkconfig that can be used in test apps
See merge request espressif/esp-idf!20213
2022-10-19 10:37:48 +08:00
Roland Dobai
2083e4d359
Tools: Detect if the project is configured for a different Python
...
Closes https://github.com/espressif/esp-idf/issues/9993
2022-10-18 15:56:43 +02:00
morris
ab20e3e5d5
Merge branch 'bugfix/2nd_bootloader_uart1_baudrate_issues' into 'master'
...
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
See merge request espressif/esp-idf!20630
2022-10-18 17:18:08 +08:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +08:00
Marius Vikhammer
439455b440
Merge branch 'feature/esp_event_pytest' into 'master'
...
esp_event: move tests to pytest framework
Closes IDF-5574
See merge request espressif/esp-idf!20533
2022-10-18 11:18:18 +08:00
Jiang Jiang Jian
e08e2f071f
Merge branch 'bugfix/fix_part_of_modem_not_reset_when_power_on' into 'master'
...
Coexistence: fix part of modem module not reset when power up
See merge request espressif/esp-idf!19849
2022-10-18 11:13:10 +08:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
Marius Vikhammer
afd7f1e9b7
idf.py hints: add hint IRAM overflow
2022-10-18 02:24:51 +00:00
Aleksei Apaseev
0da9d9ffea
tools: fixed the coredump package's suppressed print
2022-10-17 16:34:58 +08:00
Laukik Hase
aff551c4ee
esp_prov: Update deprecated APIs
...
- Updated deprecated APIs for bleak module
- Updated README and troubleshooting reference for
BLE transport
2022-10-14 16:53:40 +05:30
Marius Vikhammer
d73e1d9754
esp_event: move tests to pytest framework
2022-10-14 11:07:58 +08:00
Ivan Grokhotkov
659460525f
Merge branch 'test/spiffs_component_test_app' into 'master'
...
spiffs: move tests from unit-test-app to a component test app
Closes IDF-5602
See merge request espressif/esp-idf!20485
2022-10-13 20:01:39 +08:00
Ivan Grokhotkov
8a45ff0957
Merge branch 'bugfix/reenable_ut_c2_fatfs_vfs_spi_flash' into 'master'
...
vfs, spi_flash: re-enable unit tests for C2
Closes IDF-5137 and IDF-5139
See merge request espressif/esp-idf!20444
2022-10-13 05:40:12 +08:00
David Čermák
950800be9e
Merge branch 'update/lwip_sntp_comment_i32_timestamp' into 'master'
...
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
Closes IDF-5956 and IDF-5592
See merge request espressif/esp-idf!20283
2022-10-12 20:06:42 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00
Ivan Grokhotkov
0a352a6ff2
vfs, spi_flash: re-enable unit tests for C2
2022-10-12 11:09:36 +02:00
David Čermák
0b6bc7045e
Merge branch 'feat/network_hints' into 'master'
...
tools: Update idf-py hints with networking component info
Closes IDF-5672
See merge request espressif/esp-idf!20471
2022-10-12 16:27:11 +08:00
Marius Vikhammer
23b5e54974
CI: add common debug helper sdkconfig that can be used in test apps
2022-10-12 11:47:04 +08:00
Chen Yu Dong
fa5d0a3513
Merge branch 'feature/pytest_timeout_per_case' into 'master'
...
pytest: set default timeout for each case
See merge request espressif/esp-idf!20455
2022-10-12 00:47:02 +08:00
Sudeep Mohanty
952ba77edb
Merge branch 'tests/migrate_esp_ringbuf_tests_to_pytest' into 'master'
...
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
Closes IDF-5582
See merge request espressif/esp-idf!20476
2022-10-11 23:12:03 +08:00
Roland Dobai
cd8f4c75cd
Merge branch 'fix/idf_tools_venv_check' into 'master'
...
Tools: Check venv the same way how it will be used later
See merge request espressif/esp-idf!20525
2022-10-11 22:20:37 +08:00
Sudeep Mohanty
6feab513e4
esp_ringbuf: migrated esp_ringbuf component tests to pytest framework
...
This commit migrates the esp_ringbuf tests to the pytest framework.
2022-10-11 11:31:04 +02:00
David Cermak
ca709e7dc5
tools: Update idf-py hints with networking component info
2022-10-11 05:56:51 +00:00
Ivan Grokhotkov
5f6f4ef3ac
Merge branch 'bugfix/build_rules_check_ignore' into 'master'
...
ci: ignore build_test_app when checking build_test_rules
See merge request espressif/esp-idf!20517
2022-10-10 22:28:53 +08:00
Fu Hanxi
1a95860559
Merge branch 'ci/improve_ci_build_apps' into 'master'
...
Ci/improve ci build apps
See merge request espressif/esp-idf!20503
2022-10-10 18:43:14 +08:00
Roland Dobai
404612b130
Tools: Check venv the same way how it will be used later
...
It is possible that import of venv passes but it still cannot be
started. This can happen with the embedded Python deployed by the
ESP-IDF installer.
2022-10-10 12:31:23 +02:00
Fu Hanxi
2d27e09b4f
ci: make bringup process for check_build_test_rules.py more friendly
2022-10-10 16:58:11 +08:00
Fu Hanxi
27e199605a
ci: remove unused rules
2022-10-10 16:58:11 +08:00
Marius Vikhammer
6f5beb70e4
ci: ignore build_test_app when checking build_test_rules
2022-10-10 16:23:03 +08:00
Roland Dobai
40b48a5393
Merge branch 'tools/idf_py_size_output_file_opt' into 'master'
...
tools: Add --output-file argument to idf.py size commands
Closes IDF-5954
See merge request espressif/esp-idf!20354
2022-10-10 15:54:00 +08:00
Roland Dobai
e2d275a382
Merge branch 'fix/export_without_constraint_download' into 'master'
...
Tools: The Python dependency checker should not update the constraint file
Closes IDF-6010
See merge request espressif/esp-idf!20460
2022-10-10 15:39:09 +08:00
jingli
0a44d09f4f
esp32/rtc: fix xtal unstable in some cases when sleep
...
1. add xtal buf wait to fix high temperature restart issue
2. add min sleep value to fix xtal stop due to too short sleep time issue
2022-10-09 19:58:58 +08:00
Chen Yudong
aa822339aa
pytest: set default timeout for each case
2022-10-08 04:47:35 +00:00
Martin Vychodil
1abd4eac2c
Merge branch 'test/fatfs_component_test_apps' into 'master'
...
fatfs: migrate unit tests to component test app, re-enable test for C2
Closes IDF-5588 and IDF-5136
See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Roland Dobai
a6792c2673
Merge branch 'feature/use_tools_json_to_check_toolchain_ver' into 'master'
...
Tools: use tools.json to double-check toolchain version when building
See merge request espressif/esp-idf!19894
2022-10-06 16:22:41 +08:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2
2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
39319c0750
test_apps: move PanicTestDut from conftest into a separate module
...
pytest_panic used to do 'from conftest import PanicTestDut'. This
stopped working when another conftest.py file was added in
tools/test_build_system/conftest.py.
In this case we can't rename conftest.py since both are necessary
for pytest to install the hooks in the respective test cases.
Fix by moving PanicTestDut into a separate module, then importing
it from there.
2022-10-03 21:44:28 +02:00
Ivan Grokhotkov
104f2da4c6
Merge branch 'feature/pytest_build_system' into 'master'
...
build system: add initial version of pytest-based build system tests
See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Roland Dobai
d50f574a31
Tools: The Python dependency checker should not update the constraint file
...
The Python dependency checker called from the export scripts and before
build remains offline, i.e. it will use the previously downloaded
constraint file but won't download a newer version.
Related to https://github.com/espressif/esp-idf/pull/9328
2022-10-03 11:39:28 +02:00
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
David Čermák
bea755605e
Merge branch 'ci/fix_mqtt5_broker_not_available' into 'master'
...
ci: Fix mqtt broker is not available
Closes IDFCI-1476
See merge request espressif/esp-idf!20434
2022-09-30 19:42:52 +08:00
yuanjianmin
a839121285
ci: Fix mqtt broker is not available
2022-09-30 10:07:19 +08:00
Martin Gaňo
41742c2369
fatfs: enabled reading sector size and sectors count from boot sector in rawflash
2022-09-29 16:16:36 +02:00
Jakob Hasse
f33ac0a037
Merge branch 'feature/freertos_sim' into 'master'
...
FreeRTOS Single Core Simulator PoC
See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Jakob Hasse
bfbbd9d790
feat(freertos): Added FreeRTOS POSIX/Linux Simulator
...
* Added port layer from the FreeRTOS POSIX port, added
additional port code for ESP-IDF.
* Created another hello world example using that POSIX
port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
Djordje Nedic
09e61e8a23
tools: Add --output-file argument to idf.py size commands
...
This commit ads the corresponding --output-file option from idf_size.py to idf.py.
This is needed because piping the idf.py size output to a file would result in CMake output being present in the file as well.
2022-09-27 15:41:36 +02:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
morris
88c0053172
Merge branch 'feature/esp32c6_bringup' into 'master'
...
ESP32C6: Introduce new chip target esp32c6
Closes IDF-5247
See merge request espressif/esp-idf!19286
2022-09-27 13:23:21 +08:00
Zim Kalinowski
04ecfacbdd
Merge branch 'feature/migrate-console-tests-to-pytest' into 'master'
...
console: move unit tests to pytest
Closes IDF-5568
See merge request espressif/esp-idf!20192
2022-09-27 00:44:52 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Zim Kalinowski
c37ccfb84e
console: migrate console tests to pytest
2022-09-26 12:02:38 +02:00
Roland Dobai
02605f1a31
Merge branch 'fix/idf_tools_download_issues' into 'master'
...
Tools: Improve download error messages coming from idf_tools.py
Closes IDFGH-8120
See merge request espressif/esp-idf!20325
2022-09-26 16:55:48 +08:00
Roland Dobai
d08898aabc
Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
...
tools: fixed elf symbols load if gdbinit specified
Closes IDF-4991 and GCC-246
See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Roland Dobai
e2c66520db
Tools: Improve download error messages coming from idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/9618
2022-09-23 14:00:31 +02:00
Guillaume Souchere
bf18a05a5f
unit-tests: Move the leak related tests from the heap component to test_utils
2022-09-23 09:49:09 +02:00
Guillaume Souchere
405c26da6d
heap: migrate unit tests to pytest
2022-09-23 09:49:07 +02:00
Roland Dobai
a1eee69e8f
Merge branch 'fix/openocd-prints-old-logs' into 'master'
...
tools: fix openocd old logs print
See merge request espressif/esp-idf!20176
2022-09-22 15:21:07 +08:00
jingli
cce2af9193
wifi/bt: fix part of modem module not reset when power up
2022-09-22 11:45:20 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
Alexey Lapshin
4539020dac
tools: fix openocd old logs print
2022-09-21 22:41:16 +04:00
Alexey Lapshin
c17a7f446c
tools: move cmake executable check into function uses it
...
Before this change idf.py could exit with reason cmake does not exist in PATH
even cmake will not be executed by idf.py (e.g., 'idf.py gdb').
2022-09-21 22:39:03 +04:00
Alexey Lapshin
0fd4b09a46
tools: add test for ROM symbols in GDB
2022-09-21 22:39:03 +04:00
Alexey Lapshin
b9ed89228d
test_apps: fix monitor_ide_integration test
2022-09-21 22:39:03 +04:00
Alexey Lapshin
29655fe22a
tools: fixed elf symbols load if gdbinit specified
...
ROM and bootloader symbols add to use in GDB (via 'idf.py gdb')
2022-09-21 22:39:03 +04:00
Alexey Lapshin
fd2846c95e
tools: add esp-rom-elfs version '20220823'
2022-09-21 22:39:03 +04:00
David Cermak
9e31c5077d
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
2022-09-21 17:38:37 +02:00
Rocha Euripedes
819dae8008
Merge branch 'feature/mqtt_cmakefile_cleanup' into 'master'
...
Mqtt: Cmakelists.txt file simplification.
See merge request espressif/esp-idf!19966
2022-09-21 15:21:07 +08:00
Gao Xu
1005c3b9d5
Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
...
system: add an example showing moving Flash content to PSRAM feature
Closes IDF-5156
See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Ivan Grokhotkov
4a69a3f7ef
Merge branch 'feature/cmake_use_new_features' into 'master'
...
cmake: use features introduced between 3.5 and 3.16
Closes IDF-5955
See merge request espressif/esp-idf!19819
2022-09-21 11:05:06 +08:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
Marius Vikhammer
0b0a541c7d
Merge branch 'feature/pthread_pytest' into 'master'
...
pthread: migrate unit tests to pytest test app
Closes IDF-5600
See merge request espressif/esp-idf!20188
2022-09-20 17:58:20 +08:00
Ivan Grokhotkov
adcf07b3b8
cmake: strip -D prefix from COMPILE_DEFINITIONS property values
2022-09-20 11:35:46 +02:00
Ivan Grokhotkov
66554aa215
cmake: remove unused defines from several host test apps
...
These macros are seemingly only used in the NVS host test, and are not
necessary in the other host test apps.
2022-09-20 11:35:45 +02:00
Ivan Grokhotkov
c392c06216
cmake: remove -D prefix from COMPILE_DEFINITIONS property
...
Unlike COMPILE_OPTIONS, COMPILE_DEFINITIONS CMake property assumes
values without the -D prefix, such as NAME or NAME=VAL.
Previously, IDF build system was passing COMPILE_DEFINITIONS build
property to CMake COMPILE_OPTIONS property, so -D prefix was not
a problem.
Now that COMPILE_DEFINITIONS CMake property is used, -D prefix has
to be removed.
(Note that this doesn't affect 'target_compile_definitions' function,
which strips -D prefix before adding the definition to the property.)
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
49dedb77ac
cmake: use add_compile_definitions supported since 3.12
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
2022-09-20 11:08:02 +02:00
Ivan Grokhotkov
237b2ce40c
cmake: use target_link_options and _directories supported since 3.13
...
Now that the supported CMake version is >=3.16, this code can be
simplified.
The code to deduplicate the directories can be removed since this is
handled by target_link_directories.
2022-09-20 11:08:02 +02:00
Roland Dobai
c658d09a98
Merge branch 'bugfix/writable_idf_tools_path' into 'master'
...
Tools: Support ESP-IDF installed in system-wide shared directory for all users
Closes IDFGH-7790 and IDFGH-7791
See merge request espressif/esp-idf!19479
2022-09-19 22:14:33 +08:00
Roland Dobai
d9d646f20e
Merge branch 'bugfix/idf_py_size_default_format' into 'master'
...
tools: default to text output format in 'idf.py size'
Closes IDF-5952
See merge request espressif/esp-idf!20088
2022-09-19 17:46:34 +08:00
Marius Vikhammer
46c092c04a
pthread: migrate unit tests to pytest test app
2022-09-19 17:43:33 +08:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Euripedes Rocha
dd441ef713
Makes COMPONENT_LIB available for mock components
...
- COMPONENT_LIB wasn't available for parent scope
2022-09-19 09:11:15 +00:00
gaoxu
47c02efa72
system: add an example and pytest to showing moving Flash content to PSRAM feature.
2022-09-19 12:25:30 +08:00
harshal.patil
68a7da3f0b
test_utils: reset critical lwip leap level
...
Test cases calling test_case_uses_tcpip() set critical lwip leak level to 4095, but do not reset it to default.
Hence, 4095 used to get added while calculating the critical threshold for the testcases following them.
2022-09-17 14:31:36 +05:30
harshal.patil
317eeddce4
fix: memory leaks check added
2022-09-17 14:31:36 +05:30
harshal.patil
146f101289
ci: Migrate mbedtls unit tests from unit-test-app to component-test-app
2022-09-17 14:31:36 +05:30
Darian
03b25c6a0d
Merge branch 'bugfix/riscv_interrupt_function_naming' into 'master'
...
riscv: Fix interrupt function naming and redundancy
See merge request espressif/esp-idf!19251
2022-09-17 00:33:33 +08:00
Jiang Jiang Jian
40d13002d0
Merge branch 'ci/optimize_ats_ci_flow' into 'master'
...
CI: optimize ATS ci flow
See merge request espressif/esp-idf!20131
2022-09-16 20:34:03 +08:00
Zim Kalinowski
d9df69e815
Merge branch 'feature/bootloader_pytest' into 'master'
...
bootloader support: move unit tests to pytest
Closes IDF-5566
See merge request espressif/esp-idf!20157
2022-09-16 17:35:06 +08:00
Darian Leung
0c97fbd5ba
riscv: Remove redundant riscv_interrupts.h header
...
This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:
- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
"rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
placed in rv_utils.h
2022-09-16 16:45:43 +08:00
Marek Fiala
c63ec6cf08
Tools: Support ESP-IDF installed in system-wide shared directory for all users
...
Closes: https://github.com/espressif/esp-idf/issues/9329
Closes: https://github.com/espressif/esp-idf/pull/9328
2022-09-16 09:15:19 +02:00
Mahavir Jain
961bdde289
Merge branch 'ci/migrate_esp-tls_unit_test_app' into 'master'
...
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
Closes IDF-5571
See merge request espressif/esp-idf!20099
2022-09-16 14:34:44 +08:00
Ivan Grokhotkov
0503cb52eb
build system: add the initial set of pytest-based build system tests
2022-09-16 00:07:55 +02:00
Ivan Grokhotkov
bfc17ce35a
tools: default to text output format in 'idf.py size'
2022-09-15 16:44:21 +02:00
Marius Vikhammer
7cef82e0df
bootloader support: move unit tests to pytest
2022-09-15 15:19:42 +08:00
Omar Chebib
53c7dd4efc
WDT: implement interrupt wdt and task wdt for ESP32-C2
...
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
harshal.patil
aaf8b5d98e
ci: Migrate esp-tls unit tests from unit-test-app to component-test-app
2022-09-14 12:03:49 +05:30
Chen Yudong
bfa96bc597
CI: optimize ATS ci flow
2022-09-14 13:39:12 +08:00
Wan Lei
f7748beb4d
Merge branch 'bugfix/spi2_add_device_cs_more_than_3' into 'master'
...
spi_master: fix error when use `spi_bus_add_device` add more than 3 devices
Closes IDFGH-7288
See merge request espressif/esp-idf!19798
2022-09-14 10:33:37 +08:00
Ivan Grokhotkov
16dbb8f249
Merge branch 'feature/ulp_binutils_multi_target' into 'master'
...
ulp: support the new multi-target ULP-FSM binutils
Closes IDFGH-4618
See merge request espressif/esp-idf!19818
2022-09-13 21:35:53 +08:00
Roland Dobai
7c4096486d
Merge branch 'fix/python_dbus_linux' into 'master'
...
Tools: Install dbus-python on Linux only
See merge request espressif/esp-idf!20109
2022-09-13 20:54:16 +08:00
Alexey Lapshin
a9bd454529
tools: update esp32ulp-elf to v2.35_20220830
...
Closes https://github.com/espressif/esp-idf/issues/6432
Closes https://github.com/espressif/binutils-esp32ulp/issues/23
2022-09-13 12:55:48 +04:00
Aditya Patwardhan
ce32183749
tcp_transport: Add support of setting the common name fot the TLS
...
context
2022-09-13 05:31:43 +00:00
Roland Dobai
0c41149b9b
Tools: Install dbus-python on Linux only
2022-09-12 16:17:20 +02:00
Ivan Grokhotkov
5aa688ad4a
tools: update bundled root certificate in idf_tools.py
...
dl.espressif.com is now using the same root certificate as github.com.
This commit replaces the previously-used ISRG X1 root certificate
with the DigiCert Root CA certificate.
As a result, even if the certificates are not installed (as it happens
on macOS with python.org installers, if the user forgets to run
'Install Certificates.command'), the download is successful.
Related to https://github.com/espressif/esp-idf/issues/4081
2022-09-09 17:33:33 +02:00
Tomas Rezucha
cf59a8a2bd
Merge branch 'feature/usb_v5_qol' into 'master'
...
usb: USB IDF v5 update
Closes IDF-4690 and IDF-5767
See merge request espressif/esp-idf!19875
2022-09-08 19:50:22 +08:00
Roland Dobai
67506f9a3f
Tools: Increase the delay before producing exception in the Monitor IDE test app
2022-09-07 11:27:10 +02:00
Mahavir Jain
fb9c931538
Merge branch 'ci/remove_redundant_component_from_unit_test_config' into 'master'
...
unit_test: remove redundant component from unit test app config
See merge request espressif/esp-idf!19983
2022-09-06 22:12:58 +08:00
Roland Dobai
f27a426013
Merge branch 'bugfix/fix_hints_templates' into 'master'
...
tools: Fix hint regular expression syntax
See merge request espressif/esp-idf!19965
2022-09-06 21:36:13 +08:00
Harshit Malpani
61fb0c1d2d
unit_test: remove redundant component from unit test app config
2022-09-06 14:07:52 +05:30
Fu Hanxi
24c31bd7fb
Merge branch 'ci/run_build_test_check_when_soc_updated' into 'master'
...
CI: run build test check when soc caps updated
See merge request espressif/esp-idf!19940
2022-09-06 09:33:01 +08:00
Tomas Rezucha
c6fbefcd84
usb_host: Remove custom test_app
2022-09-05 20:14:56 +02:00
Denys Almazov
53d62d2e60
tools: hints.yml fix
2022-09-05 21:03:19 +08:00