Krzysztof Budzynski
d14661eaa3
Merge branch 'docs/programming_guide_c3_update_twai' into 'master'
...
Update TWAI driver docs and registers for esp32c3
Closes IDF-2349
See merge request espressif/esp-idf!12935
2021-04-15 02:35:28 +00:00
Jiang Jiang Jian
a6f33a9d36
Merge branch 'bugfix/e8192_and_assert_param_master' into 'master'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13008
2021-04-14 15:54:48 +00:00
Jiang Jiang Jian
98eeb8f61d
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected' into 'master'
...
esp_wifi: fix some issue about wifi pm
Closes WIFI-3583, WIFI-3584, WIFI-3585, and WIFI-3586
See merge request espressif/esp-idf!13137
2021-04-14 14:38:20 +00:00
Ivan Grokhotkov
e220e9b571
Merge branch 'feature/refactor-idf-monitor' into 'master'
...
Decompose idf_monitor.py
Closes IDF-2432
See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Angus Gratton
b26dda9247
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
Closes BT-1156
See merge request espressif/esp-idf!11736
2021-04-14 09:10:32 +00:00
Darian Leung
7087f80b1e
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-04-14 15:00:07 +08:00
ninh
7629a0b22f
esp_wifi: fix some issue about wifi pm
2021-04-14 14:42:22 +08:00
Jiang Jiang Jian
1f54d17503
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue' into 'master'
...
deep sleep: fix sleep gpio wakeup fail issue
Closes WIFI-3474
See merge request espressif/esp-idf!13074
2021-04-14 06:36:40 +00:00
Angus Gratton
ec01a66557
Merge branch 'feature/esp32c3_memprot_test3' into 'master'
...
ESP32C3/ESP32S2: memprot API upgrade and test application
Closes IDF-2641
See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
David Čermák
6d4b93c94e
Merge branch 'refactor/using_generic_error_check_in_esp_eth' into 'master'
...
esp_eth: apply generic error check macros
Closes IDF-3030 and IDF-3031
See merge request espressif/esp-idf!13007
2021-04-13 16:48:25 +00:00
Martin Gano
1546e970db
Merge branch 'master' into 'feature/refactor-idf-monitor'
...
# Conflicts:
# tools/ci/mypy_ignore_list.txt
2021-04-13 20:55:19 +08:00
KonstantinKondrashov
fd867a11df
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-13 11:28:13 +00:00
KonstantinKondrashov
9f932a2a18
bootloader: Fix error in Make build system when signature options is on
2021-04-13 11:28:13 +00:00
xiongweichao
4aafb1fd80
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-13 17:08:23 +08:00
Michael (XIAO Xufeng)
1f29036ead
Merge branch 'feat/c3_driver_api_cleanup' into 'master'
...
driver: cleanup i2c, i2s on C3
Closes IDF-2759 and IDF-2760
See merge request espressif/esp-idf!12329
2021-04-13 09:00:11 +00:00
Angus Gratton
23ae81c78c
Merge branch 'bugfix/calc_8m_freq_test' into 'master'
...
rtc: increase CI acceptance range for calc 8M test
Closes IDFCI-79
See merge request espressif/esp-idf!13068
2021-04-13 08:32:51 +00:00
David Čermák
c2bab4be95
Merge branch 'bugfix/mdns_configure_strict_mode' into 'master'
...
mdns: Fix mdns to correctly answer non-strict queries (+ additional fixes)
Closes IDF-2928, WIFI-3107, and IDFGH-4797
See merge request espressif/esp-idf!12645
2021-04-13 08:04:43 +00:00
Michael (XIAO Xufeng)
f5f3c7143c
Merge branch 'feat/c3_driver_api_cleanup_gpio' into 'master'
...
gpio, rtcio: removed unsupported features on different targets
See merge request espressif/esp-idf!13103
2021-04-13 06:51:33 +00:00
Michael (XIAO Xufeng)
54fdaa5986
Merge branch 'docs/spi_max_transfer_sz_limit' into 'master'
...
spi_docs: Fixed the default value of max_transfer_sz.
See merge request espressif/esp-idf!13000
2021-04-13 06:51:11 +00:00
David Čermák
10cdfab8c8
Merge branch 'bugfix/fix_lwip_debug_define' into 'master'
...
lw-ip: Fix LWIP_DEBUG define which is always defined
Closes IDF-3043
See merge request espressif/esp-idf!13004
2021-04-13 06:13:34 +00:00
Michael (XIAO Xufeng)
6ab5b9cbf9
gpio, rtcio: removed unsupported features on different targets
2021-04-13 13:21:08 +08:00
Jiang Jiang Jian
d6a2a67006
Merge branch 'bugfix/fix_some_pm_issue' into 'master'
...
esp_pm: fix an issue and add an interface
Closes IDF-2984 and IDF-2944
See merge request espressif/esp-idf!12787
2021-04-13 03:42:46 +00:00
Angus Gratton
7ec02161db
Merge branch 'bugfix/cmake_ulp_reserved_size' into 'master'
...
ulp: Fix bug where ULP linker script not regenerated for new config
See merge request espressif/esp-idf!12979
2021-04-13 03:40:21 +00:00
Angus Gratton
191e649257
freertos: Add some comments about deleting tasks when using SMP
...
Some cases are not immediately obvious, so document them in comments.
2021-04-13 03:40:10 +00:00
Angus Gratton
f7b859ac84
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
...
Causes test added in parent commit to pass.
This race happens if the deleted task is running on the other CPU,
and is already spinning in a critical section waiting for xTaskQueueMutex
because it's about to be blocked for a resource.
The "deleted" task would end up blocked, possibly indefinitely, and
never actually deleted or its resources cleaned up by the idle tasks.
Details:
vTaskDelete() adds the target task to the xTasksWaitingTermination list,
expecting it to be yielded off CPU and then cleaned up later. However as soon as
vTaskDelete() releases xTaskQueueMutex, the target task runs and moves itself to the
xDelayedTaskList1. Because interrupts are already disabled on that CPU,
the "yield" to the other CPU sent by the vTaskDelete() comes afterward so
doesn't help.
2021-04-13 03:40:10 +00:00
Angus Gratton
db7d272873
freertos: Add unit test for deleting task which may be blocking
2021-04-13 03:40:10 +00:00
Michael (XIAO Xufeng)
93712eae49
Merge branch 'bugfix/fix_flash_ci' into 'master'
...
esp_flash: fix host number for passing ci
See merge request espressif/esp-idf!13090
2021-04-13 03:23:02 +00:00
morris
ef344d89ae
esp_eth: apply generic error check macros
2021-04-13 10:54:33 +08:00
yuanjm
ef7583517d
lwip: Fix LWIP_DEBUG define which is always defined
2021-04-12 14:41:46 +00:00
David Čermák
1b6b05f1ab
Merge branch 'bugfix/pppos_configs' into 'master'
...
esp-modem: Add options to support LCP ECHO and UART_ISR_RAM in the example
Closes IDFGH-2470 and IDFGH-4759
See merge request espressif/esp-idf!12962
2021-04-12 14:30:38 +00:00
David Čermák
0f36a2dd16
Merge branch 'bugfix/eth_w5500_4byte_corruption' into 'master'
...
esp_eth: Fix w5500 read register operations
Closes IDFGH-4776 and IDFGH-4400
See merge request espressif/esp-idf!13060
2021-04-12 14:26:30 +00:00
David Cermak
5cce919cbe
mdns: Fixed the ip header TTL to be correctly set to 255
...
Defined in https://tools.ietf.org/html/rfc6762#section-11 : All Multicast DNS responses (including responses sent via unicast)
SHOULD be sent with IP TTL set to 255
2021-04-12 13:24:19 +00:00
David Cermak
34049454df
mdns: Fix parsing answers with questions when instance name not set
...
mdns resolver didn't correctly resolved queries when host name wasn't
assigned. Fixed by allowing processing also if some answer present
(non-strict mode)
Closes https://github.com/espressif/esp-idf/issues/6598
2021-04-12 13:24:19 +00:00
David Cermak
b649603a0d
mdns: Fix the resolver to correctly parse it's own non-strict answers
...
The resolver was able to respond correctly, but would also resolve its
own queries and cause issues with BCT 1.5.2, specifically
* MULTIPLE QUESTIONS - DUPLICATE SUPPRESSION
* MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
tests failed.
2021-04-12 13:24:19 +00:00
suren.gabrielyan
0eee31546d
mdns: Add MDNS_STRICT_MODE config option
...
Strict mode was hardcoded in private header file, but it's useful for
users to enable/disable it depending on the mdns library they are using.
e.g. Avahi might not resolve the non-strict answers.
2021-04-12 13:24:19 +00:00
Michael (XIAO Xufeng)
7e06a60c0d
Merge branch 'refactor/no_dac_on_esp32s3' into 'master'
...
dac: added DAC support macro
Closes IDF-1777
See merge request espressif/esp-idf!13038
2021-04-12 10:52:33 +00:00
Michael (XIAO Xufeng)
8cfcf6da7a
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3' into 'master'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
Closes IDF-2964
See merge request espressif/esp-idf!12753
2021-04-12 09:39:55 +00:00
Martin Gaňo
b77addea2f
Decompose idf_monitor.py
2021-04-12 10:47:33 +02:00
David Cermak
7af358ed93
esp_eth: Fix w5500 to break from potentially infinite tx loop
...
The issue typically happens for link-down during Tx. Added two retry levels, one before checking the sanity of the w5500 phy register and another for the Tx done itself (if the device is in the sane state)
Closes https://github.com/espressif/esp-idf/issues/6233
2021-04-12 07:59:40 +00:00
David Cermak
dfe9580967
esp_eth: Fix w5500 to correctly read registers on -Os
...
Reading SPI data may come in 4-byte units and thus result in unwanted
overwrites if smaller size registers read, especially if multiple placed
one after another. Fixed by using direct reads to `trans` structure for
sizes smaller or equal to 4.
Closes https://github.com/espressif/esp-idf/issues/6579
2021-04-12 07:59:40 +00:00
Michael (XIAO Xufeng)
67941fc495
i2s: removed unsupported features on different targets
2021-04-12 15:51:54 +08:00
Michael (XIAO Xufeng)
82e4a2431a
i2c: removed unsupported features on different targets
2021-04-12 15:51:19 +08:00
morris
75dfd970b4
dac: added DAC support macro
...
Remove DAC support on ESP32-S3
2021-04-12 12:04:46 +08:00
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Angus Gratton
1ea54a6496
Merge branch 'bugfix/s2_lightsleep_regression' into 'master'
...
sleep: disable switch-case jump tables from being placed in flash
See merge request espressif/esp-idf!13083
2021-04-09 13:56:02 +00:00
Shu Chen
264ce1f037
Merge branch 'feature/ot-1.2-radio-api' into 'master'
...
openthread: add radio mac API implementation
See merge request espressif/esp-idf!13066
2021-04-09 11:34:18 +00:00
Cao Sen Miao
c185a4947f
esp_flash: fix host number for passing ci
2021-04-09 17:43:39 +08:00
Mahavir Jain
06c5f623ea
Merge branch 'feature/diagnostics_support' into 'master'
...
espcoredump: Get core dump summary API
See merge request espressif/esp-idf!11462
2021-04-09 08:50:07 +00:00
Mahavir Jain
81c8fcaf8f
Merge branch 'bugfix/ota_and_http_client' into 'master'
...
Fix counters for POST request in OTA and compare auth string in case insensitive fashion
Closes IDFGH-5059, IDFGH-5055, and IDFGH-5056
See merge request espressif/esp-idf!13069
2021-04-09 07:40:59 +00:00