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
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
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
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
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
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
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
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
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
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
Jakob Hasse
01b4c7d8b1
fix(esp_event): removed header from pre-commit ignore list
2023-01-13 11:16:50 +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
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
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +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
Fu Hanxi
0da5cf8cd7
ci: remove debug_backend dependency
2022-12-27 17:34:11 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08: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
Fu Hanxi
b7a2d77e59
ci: remove ttfw print_heap_size
since it's migrated to pytest
2022-12-21 10:25:33 +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
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
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
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
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
wangjialiang
2fd57ba418
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples
2022-12-13 11:16:26 +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
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
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
Alexey Gerenkov
2710749f21
riscv: Remove asm struct expressions in header files
2022-12-06 13:35:27 +03: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
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
8efca13905
ci: Enable target tests for esp32c6
2022-11-28 11:32:44 +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
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +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
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
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
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
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
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
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
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
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
laokaiyao
cf528deeb1
test: add a script for supporting multi-dev and multi-stage case
2022-10-20 18:35:51 +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
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
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
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
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
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
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
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04: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
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
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +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
jingli
cce2af9193
wifi/bt: fix part of modem module not reset when power up
2022-09-22 11:45:20 +08:00
David Cermak
9e31c5077d
lwip: Document 32 bit NTP timestamp converstion to 64b time_t
2022-09-21 17:38:37 +02: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
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
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
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
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
Aditya Patwardhan
ce32183749
tcp_transport: Add support of setting the common name fot the TLS
...
context
2022-09-13 05:31:43 +00:00
wanlei
96aa2792f8
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-05 12:10:22 +08:00
Fu Hanxi
7d9dd41cbf
ci: run build check for all apps when soc header changed
2022-09-05 11:17:02 +08:00
Fu Hanxi
74619b04e1
ci: add esp32c6 target
2022-09-05 10:30:04 +08:00
simon.chupin
92ef2a4c83
Tools: Add unit tests for idf.py hints
2022-09-01 17:09:46 +02:00
wuzhenghui
1d299a8976
esp32c6: add hal support
2022-09-01 12:37:51 +08:00
songruojing
9d515185d0
esp32c6: clean up existing soc files and header file inclusion in IDF to be compatible with the new chip
2022-09-01 12:28:06 +08:00
Ivan Grokhotkov
4d9018e925
Merge branch 'feature/ulp_cmake_cleanups' into 'master'
...
ulp: CMake and python cleanups
See merge request espressif/esp-idf!19817
2022-08-31 17:59:05 +08:00
wuzhenghui
c31aaeda2a
ll: add reset interface to rtc_cntl_ll
2022-08-31 01:59:36 +00:00
Aditya Patwardhan
6c7fd1edc0
mqtt/ssl_ds: Remove unwanted references to configure_ds.py, Also updated
...
the DS documentation
2022-08-30 10:54:15 +05:30
Ivan Grokhotkov
2916bf9b6c
ulp: esp32ulp_mapgen: remove the special case for RISC-V, cleanup
...
There are multiple changes in this commit:
1. Unify the RISC-V and ULP-FSM code paths in esp32ulp_mapgen.py.
It seems that these were originally introduced because `nm` output
for the RISC-V case contained symbol sizes, while for the ULP-FSM
no symbol sizes were reported. This makes sense, because the
ULP-FSM object files are produced from assembly source, symbol
sizes have to be added manually using the .size directive.
In the case of RISC-V, the object files are built from C sources
and the sizes are automatically added by the compiler.
Now 'posix' output format is used for both RISC-V and ULP-FSM.
2. Move BASE_ADDR out of esp32ulp_mapgen.py. This now has to be passed
from CMake, which should make it easier to modify if a new chip
with a different RTC RAM base address is added.
3. Add C++ guards to the generated header file.
4. Switch from optparse to argparse for similarity with other IDF
tools.
5. Add type annotations.
2022-08-30 02:34:28 +02:00
Fu Hanxi
4f3610f957
Merge branch 'ci/upload_elf_map_to_minio' into 'master'
...
ci: upload elf map file to s3 server to reduce artifacts size
Closes IDFCI-1385
See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Fu Hanxi
2484e00a94
ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh
2022-08-29 16:57:31 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
morris
ebd3081d97
Merge branch 'bugfix/fix_rtc_gpio_hold' into 'master'
...
gpio: Fix missing set hold bit in rtc gpio register
Closes IDFGH-2489
See merge request espressif/esp-idf!19760
2022-08-26 18:13:14 +08:00
Ondrej Kosta
9c73c00a05
Merge branch 'bugfix/iperf_py_script_upt' into 'master'
...
ci iperf: fixed condition for waiting to iperf server is up in DUT
Closes IDFCI-1285
See merge request espressif/esp-idf!19575
2022-08-26 16:32:49 +08:00
Jan Procházka
ebef6bc97e
added missing call to set hold register bit
...
This commit fixes gpio_hold_en(pin) function for ESP32, where after wakeup from deep sleep, the pin gets reset to default state and stop holding the pin level.
2022-08-24 13:49:05 +02:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00
Ondrej Kosta
d3dd094f79
ci iperf: fixed condition for waiting to iperf server is up in DUT
2022-08-19 07:55:47 +00:00
Fu Hanxi
52b4e57db7
ci: remove unused check_build_warnings script
2022-08-18 15:55:08 +08:00
Fu Hanxi
2a13d29759
ci: ignore partition nearly full warning
2022-08-18 15:51:49 +08:00
Fu Hanxi
f10e6145dc
ci: simplify the python env to idf venv only
2022-08-18 11:40:22 +08:00
David Cermak
83b8556f10
esp_netif: Migrate SLIP interface to user-space
2022-08-16 14:08:15 +00:00
Mahavir Jain
6c2c05e8a0
Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
...
Push out esp-cryptoauthlib to component manager
See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
Jiang Jiang Jian
10330d153c
Merge branch 'ci/add_integration_test_env' into 'master'
...
CI: add integration test env
Closes TRM-82 and TRM-83
See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Michael (XIAO Xufeng)
746f4b814c
uart: move frequency of clock sources out of HAL
2022-08-15 18:55:43 +00:00
Roland Dobai
571a074dd9
Merge branch 'fix/flake8_v5_warnings' into 'master'
...
Tools: Fix flake8 version 5 warnings
See merge request espressif/esp-idf!19488
2022-08-12 23:27:14 +08:00
Roland Dobai
8c10a14782
Merge branch 'refactor/remove_dependency_on_future' into 'master'
...
Remove the dependency on the future package
See merge request espressif/esp-idf!18925
2022-08-12 21:38:35 +08:00
Roland Dobai
bab3830797
Tools: Fix flake8 version 5 warnings
2022-08-12 08:13:13 +00:00
Mahavir Jain
1edc761ef2
cleanup remaining references for esp-cryptoauthlib
2022-08-12 11:25:29 +05:30
Erhan Kurubas
66e3a6f6a3
esp32s3: fix interrupt names used by SystemView
2022-08-11 11:23:03 +02:00
Erhan Kurubas
f8d439dee3
replace CAN with TWAI in the esp_isr_names table
2022-08-11 11:23:03 +02:00
Tomas Rezucha
71566c4d7e
Merge branch 'feature/usb_device/pytests' into 'master'
...
tinyusb: Add TinyUSB example tests
See merge request espressif/esp-idf!19194
2022-08-11 17:17:34 +08:00
Sachin Parekh
3a050cde26
Merge branch 'fix/s3_world_controller_headers' into 'master'
...
esp32s3: Update world controller headers
Closes IDF-5648
See merge request espressif/esp-idf!19219
2022-08-11 13:38:53 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Ivan Grokhotkov
afc6fba7f5
Merge branch 'bugfix/exclude_component_dirs_pacman' into 'master'
...
build: fix excluded components being passed to component manager
Closes PACMAN-422
See merge request espressif/esp-idf!19443
2022-08-11 01:10:17 +08:00
Tomas Rezucha
d777b790d0
tinyusb: Add TinyUSB example tests
2022-08-10 14:51:18 +02:00
Sachin Parekh
41c5359703
esp32s3: Update world controller headers
2022-08-10 07:22:02 +00:00
simon.chupin
35dda59209
tools: remove the dependency on the future package
2022-08-09 16:46:58 +02:00
Chen Yudong
38bd98acf0
CI: add integration test env
2022-08-08 22:07:40 +08:00
wangyuanze
b239b03aa7
touch_element: move unit tests to test_app
2022-08-08 19:12:56 +08:00
Ivan Grokhotkov
3b7eee3978
build: fix excluded components being passed to component manager
...
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-08-08 13:09:20 +02:00
morris
d91c8759c0
driver: remove -Wno-format flag
2022-08-08 08:30:09 +00:00
Guillaume Souchere
16c2cb3f1b
Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
...
heap: Remove TLSF related files and replace them with the TLSF submodule
Closes IDF-4967
See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
morris
104bd44377
kconfig: support plain comment in the menu
2022-08-03 17:03:54 +08:00
Shubham Kulkarni
7bfb89e3b3
Merge branch 'feature/custom_partition_subtypes' into 'master'
...
gen_esp32part.py: Support custom partition types
See merge request espressif/esp-idf!18656
2022-08-03 16:43:57 +08:00
Konstantin Kondrashov
e57257a6db
Merge branch 'feature/adds_efuse_hdr' into 'master'
...
efuse: Adds missing header
Closes IDF-5734
See merge request espressif/esp-idf!19328
2022-08-03 13:43:44 +08:00
Shubham Kulkarni
b6d69840e8
partition_table: Support registering custom subtypes
2022-08-03 05:18:37 +00:00
Shu Chen
e380704731
Merge branch 'feature/otbr-nat64' into 'master'
...
openthread: add NAT64 and DNS64 support
See merge request espressif/esp-idf!18708
2022-08-03 12:01:23 +08:00
KonstantinKondrashov
3f6a1625bb
efuse: Adds missing header
2022-08-02 22:43:12 +08:00
Guillaume Souchere
3737bf8322
heap: Remove TLSF related files and replace them with the tlsf submodule
...
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf ,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.
In this commit:
- Removing TLSF related files and using tlsf submodule instead.
- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.
- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.
- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.
- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-02 12:55:31 +02:00
Fu Hanxi
d0a2849b02
feat: add requirements.ttfw.txt
2022-08-01 15:52:21 +08:00
Jiacheng Guo
905856a054
openthread: add NAT64 and DNS64 support
...
* Add required configs and headers for NAT64 and DNS64
* Add hook for DNS name resolution
* Add NAT64 and DNS64 example commands
2022-08-01 15:31:49 +08:00
Roland Dobai
592afea93e
Merge branch 'ci/lift_restriction_on_ttfw_idf' into 'master'
...
ci: lift the restriction on pygdbmi in ttfw_idf
See merge request espressif/esp-idf!18982
2022-08-01 14:55:04 +08:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
Kevin (Lao Kaiyao)
6658b7eb0a
Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
...
ci: setup 26mhz esp32c2 runner
Closes IDF-5526
See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
laokaiyao
4ab8f00b47
ci: setup 26mhz esp32c2 runner
2022-07-29 17:10:34 +08:00
Aleksei Apaseev
22f65d961f
ci: lift the restriction on pygdbmi in ttfw_idf
2022-07-29 11:24:12 +08:00
wanlei
bb5a95f1aa
soc: fix register header files not self-contain
2022-07-29 11:18:06 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
...
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00
laokaiyao
ba235c5615
ci: add xtal_40mhz tag for c2 tests
2022-07-28 02:02:18 +00:00
morris
96c29841bb
Merge branch 'feature/mcpwm_new_driver' into 'master'
...
⛵ MCPWM Driver-NG
Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945
See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
Ivan Grokhotkov
0330e952d1
Merge branch 'feature/add-wl-support-fatfsparse' into 'master'
...
fatfsparse.py: Add support for WL
Closes IDF-4994 and IDF-5522
See merge request espressif/esp-idf!18760
2022-07-27 16:01:02 +08:00
morris
1557a533fe
example: update servo example with new driver API
2022-07-27 15:22:24 +08:00
morris
938b3d717f
example: update bdc speed control example with new driver API
2022-07-27 15:22:24 +08:00
Fu Hanxi
eb3be68b2a
ci: fix syntax error
2022-07-27 11:11:09 +08:00
Fu Hanxi
f5cbe88c22
ci: fix no subtyping for type annotation in python3.7
...
https://peps.python.org/pep-0544/
2022-07-27 11:11:09 +08:00
Roland Dobai
2cf1370115
Merge branch 'refactor/add_python_types_hints_to_ci' into 'master'
...
ci: Add python types hints
See merge request espressif/esp-idf!18726
2022-07-26 21:52:17 +08:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Fu Hanxi
59cc82349a
ci: fix cleanup bin wrongly when extra_preserve_dir equals to the app dir
2022-07-25 15:54:54 +08:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
simon.chupin
819d5a2b61
ci: Add python types hints
2022-07-22 21:15:01 +02:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Armando (Dou Yiwen)
1fc4d2b598
Merge branch 'bugfix/remove_psram_dependency_in_idf_as_lib_example' into 'master'
...
idf_as_lib: remove dependency to esp_psram
Closes IDF-5238
See merge request espressif/esp-idf!18992
2022-07-22 13:17:08 +08:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Roland Dobai
0406fe819a
Merge branch 'bugfix/fix_test_cmake_warning_full' into 'master'
...
CI: Fix the test "smallest partition is nearly full"
See merge request espressif/esp-idf!19156
2022-07-21 19:09:29 +08:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Omar Chebib
4e7ba0f8bd
CI: Fix the test "smallest partition is nearly full"
...
This test will not fail anymore if the binary size is bigger than 170K.
2022-07-21 15:49:20 +08:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
4154eaec93
sdm: clean up soc/hal/ll code
2022-07-20 14:59:50 +08:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
Song Ruo Jing
4734b1433b
Merge branch 'bugfix/gpio_hal_coverity_fix' into 'master'
...
gpio: Fix ESP32S3 GPIO48 does not support hold function bug and Fix coverity report
Closes IDF-4901
See merge request espressif/esp-idf!18805
2022-07-19 21:37:15 +08:00
Roland Dobai
b59309852a
Merge branch 'features/check_SPDX_license' into 'master'
...
Add SPDX license check
Closes PACMAN-386
See merge request espressif/esp-idf!18664
2022-07-19 18:57:05 +08:00
Ivan Grokhotkov
eeb2808a32
Merge branch 'bugfix/check_readmes_pre_commit_idf_path' into 'master'
...
ci: allow running check-readmes pre-commit hook without IDF_PATH set
See merge request espressif/esp-idf!19055
2022-07-19 04:46:30 +08:00
Fu Hanxi
d28c1be711
ci: build but set preserve to false for different nightly_run scenarios
2022-07-18 10:17:54 +08:00
Fu Hanxi
7bab78014f
fix: run_cmd
2022-07-18 09:10:33 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Chen Yu Dong
309440c687
Merge branch 'bugfix/update_get_ip_for_multiple_interfaces' into 'master'
...
ci: Fix wifi and ethernet test cases
See merge request espressif/esp-idf!18733
2022-07-15 22:07:48 +08:00
songruojing
145454356b
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
Add __Static_assert to check array sizes for all gpio_periph.c files to prevent same mistake in the future.
2022-07-15 16:51:25 +08:00
songruojing
0c4b9a0101
gpio: Fix HAL bad bit shift operation on gpio_num_t reported from coverity
...
All gpio hal and ll functions input arguments gpio_num_t are changed to uint32_t type.
Validation of gpio num should be guaranteed from the driver layer.
2022-07-15 16:51:25 +08:00
Chen Yudong
2f75733ad7
CI: Improve common test methods
...
also fix ota test cases
2022-07-15 14:21:34 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
Ivan Grokhotkov
09c70d5781
unity: expose some internal functions to allow iterating over tests
2022-07-14 19:47:46 +02:00
Chen Yudong
5d0302e49f
CI: add some common test methods
2022-07-15 01:16:35 +08:00
Chen Yudong
bf0e4943be
common_components: add wifi connect console commands
2022-07-15 01:16:27 +08:00
Ivan Grokhotkov
8870ffc6e1
ci: allow running check-readmes pre-commit hook without IDF_PATH set
...
... which may happen when making a git commit using a GUI tool.
2022-07-14 16:32:20 +02:00
Fu Hanxi
9653af8d04
Merge branch 'ci/cache_submodules' into 'master'
...
CI: cache submodules
Closes IDFCI-1158
See merge request espressif/esp-idf!19009
2022-07-14 20:34:34 +08:00
Euripedes Rocha
5778a7c726
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
Fu Hanxi
6d8ebacb8a
ci: check .patterns-submodule in pre-commit
2022-07-14 14:08:16 +08:00
Fu Hanxi
62ca8e2fb4
ci: cache submodules
2022-07-14 14:08:16 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Fu Hanxi
97132c40fd
ttfw: mock missing packages while search cases
2022-07-14 08:26:01 +08:00
Fu Hanxi
c9b73a554e
ttfw: record test script path in case_info
2022-07-14 08:26:01 +08:00
Fu Hanxi
f7a0e0cb5c
ci: raise ImportError when search case failed instead of print the error
2022-07-14 08:26:01 +08:00
Fu Hanxi
d1bf62b0e7
ci: fix the bug that would modify constants.SUPPORTED_TARGETS
2022-07-14 08:26:01 +08:00
Dmitry Bondarenko
d79b09fda2
Add SPDX license check
2022-07-13 17:51:13 +03:00
Laukik Hase
aa30b2ddbe
esp_local_ctrl/scripts: Removed python2 compatibility
2022-07-13 17:58:40 +05:30
Aditya Patwardhan
1e90632639
esp_local_ctrl/scripts: Update the script to use async methods
2022-07-13 17:30:06 +05:30
Jiang Jiang Jian
b610b47a83
Merge branch 'feature/esp32s3_memprot_additional_improvements' into 'master'
...
[System/Security] Memprot after-merge improvements (v5.0)
Closes IDF-5263 and IDF-5208
See merge request espressif/esp-idf!18893
2022-07-13 15:48:20 +08:00
Ivan Grokhotkov
94230777d9
examples: import_lib: simplify with fatfs partition generator
...
Instead of embedding the file and copying it to the FAT partition at
run time, generate the FAT partition with the file in it.
2022-07-12 15:04:28 +02:00
Ivan Grokhotkov
faa349b93f
global: remove tinyxml2 submodule
2022-07-12 15:04:28 +02:00
Li Qi Gan
e58bb91c2f
Merge branch 'bugfix/fix_memory_leak_in_hidh' into 'master'
...
Fix memory leak in bt_hidh.c
Closes IDFGH-7786
See merge request espressif/esp-idf!18968
2022-07-12 15:51:56 +08:00
Roland Dobai
e6a76c7e99
CI: Check file is executable if in the list of executables
2022-07-11 17:33:35 +02:00
Armando
082ee45a76
ci: remove mfix-esp32-psram-cache-issue flag test when building idf_as_lib
...
Previously psram driver was in esp_hw_support, which is a common
requirement(when in non-bootloader build). So when building
idf_as_lib (on esp32), the mfix-esp32-psram-cache-issue flag
will always be added (when CONFIG_SPIRAM_CACHE_WORKAROUND is on).
As psram driver is moved to esp_psram component, and esp_psram
is added via idf_component_optional_requires, which is a "weak"
dependency. You need to include esp_psram compoennt explicitly
if psram will be in use.
As idf_as_lib doesn't need psram, this test can be removed.
2022-07-11 21:44:44 +08:00
simon.chupin
09d15e5abc
tools: Change copyright in ci dir
2022-07-11 12:58:06 +00:00
Song Ruo Jing
ea97cc93ea
Merge branch 'feature/c2_systimer_26mhz' into 'master'
...
esp32c2: 26 MHz XTAL support: Kconfig option, systimer support
Closes IDF-5412 and IDF-5413
See merge request espressif/esp-idf!18835
2022-07-11 16:17:25 +08:00
liqigan
ea63a42f15
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
Ivan Grokhotkov
5b54ae76d4
esp_timer, hal: add support for non-integer systimer frequency
...
When ESP32-C2 is paired with a 26 MHz XTAL, the systimer tick
frequency becomes equal to 26 / 2.5 = 10.4 MHz. Previously we always
assumed that systimer tick frequency is integer (and 1 MHz * power of
two, above that!).
This commit introduces a new LL macro, SYSTIMER_LL_TICKS_PER_US_DIV.
It should be set in such a way that:
1. SYSTIMER_LL_TICKS_PER_US / SYSTIMER_LL_TICKS_PER_US_DIV equals the
actual systimer tick frequency,
2. and SYSTIMER_LL_TICKS_PER_US is integer.
For ESP32-C2 this means that SYSTIMER_LL_TICKS_PER_US = 52 and
SYSTIMER_LL_TICKS_PER_US_DIV = 5.
This introduced two possible issues:
1. Overflow when multiplying systimer counter by 5
- Should not be an issue, since systimer counter is 52-bit, so
counter * 5 is no more than 55-bit.
2. The code needs to perform:
- divide by 5: when converting from microseconds to ticks
- divide by 52: when converting from ticks to microseconds
The latter potentially introduces a performance issue for the
esp_timer_get_time function.
2022-07-11 12:24:37 +08:00
Martin Vychodil
0c87ae2a91
System/Security: Memprot API unified (ESP32S3)
...
Added missing features and improvements
2022-07-09 22:57:51 +02:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Jiang Jiang Jian
f0172d5ae0
Merge branch 'bugfix/fix_wrong_params_in_hidd' into 'master'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c
See merge request espressif/esp-idf!18892
2022-07-08 01:10:20 +08:00
Darian
ceffde5cb6
Merge branch 'bugfix/coredump_shebang' into 'master'
...
espcoredump: Fix espcoredump.py shebang and file mode
See merge request espressif/esp-idf!18902
2022-07-07 19:20:15 +08:00
morris
75bd6fc2d9
Merge branch 'contrib/github_pr_9302' into 'master'
...
ESP32S3 USB external PHY pinout (GitHub PR)
Closes IDFGH-7761
See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
morris
b0e228f756
soc: update copyright for usb phy pins
2022-07-07 11:50:06 +08:00
Roland Dobai
12e8f0ba8c
Merge branch 'feature/auto_hints_with_ci_fix' into 'master'
...
idf.py: Add automated hints on how to resolve errors with fix for ci
Closes IDF-4511, IDF-4512, and IDF-4631
See merge request espressif/esp-idf!18759
2022-07-06 21:05:33 +08:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
wangmengyang
f86efb2bc2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-06 16:24:03 +08:00
Cao Sen Miao
e218723e0e
I2C: Make I2C clock frequency accurate
2022-07-06 11:58:08 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
liqigan
2873cefe78
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-05 20:50:11 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
Marius Vikhammer
7242578c33
Merge branch 'ci/flash_project_args_artifact' into 'master'
...
ci: include flash_project_args in artifacts
See merge request espressif/esp-idf!18806
2022-07-05 09:45:59 +08:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
David Čermák
46fe7dbc8c
Merge branch 'component/mdns_migration' into 'master'
...
mdns: Remove internal component, examples, test and docs
Closes IDF-4074
See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
simon.chupin
43c69f0910
idf.py: Add automated hints on how to resolve errors
2022-07-04 08:15:23 +00:00
Marius Vikhammer
31b5a3fcab
ci: include flash_project_args in artifacts
2022-07-01 17:01:36 +08:00