Commit Graph

29535 Commits

Author SHA1 Message Date
Ondrej Kosta
6ed31a98bd Merge branch 'bugfix/eth_driver_cleanup' into 'master'
Ethernet driver and documentation clean-up

Closes IDF-6339

See merge request espressif/esp-idf!23051
2023-04-13 15:07:43 +08:00
Darian Leung
a5b04de565 bt: Remove FreeRTOS static allocation from OSI functions
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.

Thus, the extra "create static" calls can be removed to simply the code.
2023-04-13 15:06:21 +08:00
Guillaume Souchere
48932ce910 Merge branch 'feature/heap-in-flash' into 'master'
heap: Add a configuration that places all the heap component in flash

Closes IDF-7143 and IDF-2853

See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Omar Chebib
a0f8434f93 i2c: fix a bug in sda sample timing
* Closes https://github.com/espressif/esp-idf/issues/9777

This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-04-13 14:37:44 +08:00
Ondrej Kosta
f6715c9c29 esp_eth pytest: increased robustness of the L2 test
Added filtering frames based on MAC address
2023-04-13 08:26:45 +02:00
Radek Tandler
d8b8ab5d43 Merge branch 'feature/wl_host_test_cmake' into 'master'
Storage: Migrate WL host test to CMake

See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
Marius Vikhammer
7d41c5b903 Merge branch 'ci/soc_caps_docs_build' into 'master'
ci: build all docs if soc_caps.h changed

See merge request espressif/esp-idf!23138
2023-04-13 10:49:12 +08:00
Marius Vikhammer
dcb8b719d3 docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations 2023-04-13 10:45:38 +08:00
Jiang Jiang Jian
f5b12684c1 Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate' into 'master'
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32

Closes BLEQABR23-136

See merge request espressif/esp-idf!23112
2023-04-13 10:22:07 +08:00
Jiang Jiang Jian
c38e798019 Merge branch 'contrib/github_pr_11112' into 'master'
docs: remove duplicated word 'can' (GitHub PR)

Closes IDFGH-9861

See merge request espressif/esp-idf!23174
2023-04-13 10:21:13 +08:00
Marius Vikhammer
21c8a6d3f7 ci: build all docs if soc_caps.h changed
soc_caps.h is thightly coupled with the docs build. Should build all docs
after changing it to make sure nothing broke.
2023-04-13 09:39:53 +08:00
Martin Vychodil
6f12674c3b Merge branch 'update/docs_api_refs_storage_c6' into 'master'
docs: updated Storage API reference documents for ESP32C6 and ESP32H2

See merge request espressif/esp-idf!23159
2023-04-12 23:19:13 +08:00
Shreyas Sheth
dce0920329 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-04-12 18:32:24 +05:30
Adam Múdry
6055674980 Merge branch 'contrib/github_pr_10532' into 'master'
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR)

Closes IDFGH-9132, IDFGH-9131, and IDFGH-582

See merge request espressif/esp-idf!22081
2023-04-12 19:43:12 +08:00
Darian
4004dff52e Merge branch 'feature/freertos_get_static_buffers' into 'master'
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions

Closes IDF-5664

See merge request espressif/esp-idf!22859
2023-04-12 18:37:03 +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
def9dadf1e
examples: re-enable system/console/advanced_usb_cdc for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/9364
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
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
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3 2023-04-12 11:08:42 +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
Ivan Grokhotkov
141b7356fb
console: minor fixes
- wrong comment
- duplicated setvbuf
2023-04-12 11:07:55 +02:00
Roland Dobai
b30a357711 Merge branch 'ci/parallel_pytest_build_tests' into 'master'
CI: Split pytest build system tests into parallel jobs

Closes IDFCI-1680

See merge request espressif/esp-idf!23147
2023-04-12 16:57:44 +08:00
morris
ab2c7c48af spi_lcd: test spi lcd io can transfer color data to a fixed window region
also test the io tx_param and tx_color can skip the command phase
2023-04-12 16:56:47 +08:00
morris
640ec57014 spi_lcd: maximum transfer size should respect bus configuration
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-12 16:55:09 +08:00
Ondrej Kosta
eb17a9d6e0 network_examples: added LwIP bridge test 2023-04-12 09:14:12 +02:00
Anton Maklakov
09ecb70cb8 Merge branch 'ci/keep_template_app_artifacts' into 'master'
ci: keep size.json artifacts from all template targets

See merge request espressif/esp-idf!23115
2023-04-12 14:44:54 +08:00
Island
cc7517dffa Merge branch 'bugfix/ble_mesh_fix_heartbeat_set' into 'master'
ble_mesh: stack: Update the heartbeat filter entry add/remove handling

See merge request espressif/esp-idf!23047
2023-04-12 14:36:03 +08:00
Martin Vychodil
0d1fd8ce44 idocs: updated Storage API reference documents for ESP32H2 2023-04-12 08:18:05 +02:00
Guillaume Souchere
110aac240d heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Anton Maklakov
a1584750c8 Merge branch 'fix/heap-test-h2' into 'master'
heap: remove exclusion of esp32h2 as a target for heap pytest

Closes IDF-6880

See merge request espressif/esp-idf!23075
2023-04-12 13:43:29 +08:00
Martin Vychodil
0477353b4a docs: updated Storage API reference documents for ESP32C6 2023-04-12 07:38:15 +02:00
Darian Leung
fa4491a56b freertos: Add unit tests for ...WithCaps() functions 2023-04-12 12:00:53 +08:00
Darian Leung
4e7cd2e706 freertos: Add wrapper functions to create objects with capabilities
This commit adds various ...WithCaps() functions to create FreeRTOS objects
with specific memory capabilities.
2023-04-12 12:00:53 +08:00
Darian Leung
478e041ce5 freertos: Add GetStaticBuffer functions
This commit adds the various ...GetStaticBuffer() functions from upstream
FreeRTOS. See https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/641 for more
details.
2023-04-12 11:45:06 +08:00
Darian Leung
902d8f392d freertos: Fix idf_additions.h include order error
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously
implicitly included by "task.h" so that other ESP-IDF components still have
access to IDF API additions without needing to include "idf_additions.h"
directly.

However, some FreeRTOS headers (e.g., queue.h) will include task.h before
declaring any types (e.g., QueueHandle_t). Thus if any of those types are used
in idf_additions.h, we get a missing type error.

This commit moves the implicity include of idf_additions.h to FreeRTOS.h
2023-04-12 11:45:06 +08:00
Shang Zhou
b1a25200a6 Merge branch 'docs/update_esp_eth_cn' into 'bugfix/eth_driver_cleanup'
docs: update translation for esp_eth

See merge request espressif/esp-idf!23100
2023-04-12 10:47:58 +08:00
Shang Zhou
41d9f29f9f docs: update translation for esp_eth 2023-04-12 10:47:58 +08:00
Jiang Jiang Jian
2ea60e3dd1 Merge branch 'bugfix/nan_issues' into 'master'
Fix some NAN Discovery related issues

Closes WIFI-5661, WIFI-5669, WIFI-5667, and WIFI-5363

See merge request espressif/esp-idf!23116
2023-04-12 10:29:15 +08: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
Rocha Euripedes
c8ca1a23d3 Merge branch 'ci/tcp_transport_test_app' into 'master'
ci: Migrate unit test for tcp_transport to unit test app

Closes IDF-5603

See merge request espressif/esp-idf!22842
2023-04-12 02:31:40 +08:00
Roland Dobai
c3daa561a7 CI: Split pytest build system tests into parallel jobs 2023-04-11 17:36:29 +02:00
radek.tandler
0402874d3c host_test: wl migrated to Cmake and linux emulation of esp_partition
- build system changed to CMake
 - host tests changed to use partition api on linux instead of mocked code
 - extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
radek.tandler
0f842a2ca2 wear_levelling: fixed reinitialization of wl status blocks after power off event 2023-04-11 16:05:22 +02:00
zwj
00501c5b14 Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-11 20:44:00 +08:00
Jiang Jiang Jian
4e3a32bc1b Merge branch 'bugfix/bod_glitch_reset_c6' into 'master'
bootloader: fix BOD and glitch reset on C6 and H2

Closes IDF-5990

See merge request espressif/esp-idf!22616
2023-04-11 19:31:02 +08:00
Adam Múdry
381d0fe032 sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f [SDMMC] add reasonable timeouts to all while loops
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger
a2aa9e3bef [SDMMC Mount] fix infinite loop when SD card is not responsive
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00