Commit Graph

18300 Commits

Author SHA1 Message Date
David Cermak
96911fb7ea lwip: Fix DHCP Server to remove clients record if request not acked
When client's request refused by sending NAK, its record still resided
in the linked list of pooled addresses. It is okay from the spec
perspective (RFC2131.p16: Server MAY mark the offered address
unavailable), but would consume some memory if the client didn't retry.

Closes https://github.com/espressif/esp-idf/issues/6410
2021-06-24 15:10:24 +08:00
David Čermák
8d476269d6 Merge branch 'bugfix/ci_move_udp_socket_tests_to_eth_runners' into 'master'
CI: Adjust UDP socket tests to be more reliable

Closes IDFCI-528

See merge request espressif/esp-idf!14080
2021-06-24 05:53:48 +00:00
Wang Meng Yang
d674c94f2e Merge branch 'bugfix/bt_sleep_state_check_assert_failed' into 'master'
Bluetooth: fixed the assertion failure in checking hardware sleep state during wake-up

Closes BT-1705

See merge request espressif/esp-idf!14127
2021-06-24 05:21:37 +00:00
David Čermák
b1981204f3 Merge branch 'bugfix/tcp_transport_cleanup_tls_ctx' into 'master'
tcp_transport: Fix to cleanup esp-tls context on close

See merge request espressif/esp-idf!14076
2021-06-24 04:24:15 +00:00
wangmengyang
a024de7cac component/bt: fixed the assert in checking hardware sleep state during wake-up
The hardware sleep state change can take some time after wake-up interrupt. Use busy waiting instead of directly assert
2021-06-24 10:35:40 +08:00
Angus Gratton
cfb6857f53 Merge branch 'feature/move_libc_psram_to_flash' into 'master'
psram: add configuration macros to move workaround libc functions to flash

Closes IDF-309

See merge request espressif/esp-idf!13908
2021-06-23 23:22:13 +00:00
David Čermák
3452c5f194 Merge branch 'feature/mdns-value-len' into 'master'
mdns: allow explicit txt value length

See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
Jiang Jiang Jian
be487a08a2 Merge branch 'feature/optimize_firmware_code_size' into 'master'
esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size

Closes IDF-3046 and IDF-3045

See merge request espressif/esp-idf!12976
2021-06-23 14:03:15 +00:00
Roland Dobai
ecf015ef68 Merge branch 'bugfix/workaround-bash-lang-issue' into 'master'
Bugfix: Set LANG to en code to avoid RuntimeError during autocompletion activation

Closes IDFGH-5432

See merge request espressif/esp-idf!14095
2021-06-23 10:35:41 +00:00
Ivan Grokhotkov
94611bc281 Merge branch 'bugfix/add_exception_emergency_pool_again' into 'master'
[esp_system]: added __cxx_eh_arena_size_get again

See merge request espressif/esp-idf!14089
2021-06-23 10:34:27 +00:00
Wang Meng Yang
045c9a3bed Merge branch 'feature/support_esp32s3_ble' into 'master'
Bluetooth: fixed interrupt flooding during scan and support BLE on ESP32-S3

Closes IDF-3384

See merge request espressif/esp-idf!14015
2021-06-23 10:33:20 +00:00
Ivan Grokhotkov
768fe3a10c Merge branch 'test/wifi_connect_with_full_scan_in_examples' into 'master'
example: set example wifi scan method to all channel

Closes IDFCI-528 and IDFCI-685

See merge request espressif/esp-idf!13911
2021-06-23 10:20:43 +00:00
Omar Chebib
da731a7eeb psram: add configuration macros to move workaround libc functions to flash
Workaround libc can be moved to flash thanks to KConfig macros.
However, the following functions: `itoa`, `memcmp`, `memcpy`, `memset`, `strcat`, `strcmp`, and `strlen` are always kept it in IRAM.
2021-06-23 17:40:02 +08:00
Angus Gratton
dc6750ebf4 Merge branch 'bugfix/pthread_cond_wait_timeout' into 'master'
pthread: Fix pthread_cond_timedwait returning early from timeout

Closes IDFGH-5119 and IDF-1055

See merge request espressif/esp-idf!13658
2021-06-23 09:26:54 +00:00
Michael (XIAO Xufeng)
315680de3d Merge branch 'bugfix/relax_mcpwm_test_requirements' into 'master'
test_pwm: relax the requirement of mcpwm test

Closes IDFCI-631

See merge request espressif/esp-idf!14084
2021-06-23 08:56:29 +00:00
David Cermak
bc3adaded3 CI/socket examples: Add UDP operation retries, wait until server is up 2021-06-23 07:36:27 +02:00
Mahavir Jain
e31049eacc Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
heap: fix build issue with HEAP_TRACING config for C3

See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Zhang Jun Hao
5df7e7bac6 esp_wifi: refactor ioctl functions and build wifi lib with -Os to save binary size 2021-06-23 11:04:00 +08:00
Anton Maklakov
a55b6e2553 Merge branch 'bugfix/ci_tagged_stat_anal_image' into 'master'
CI: Use the tagged image for static analysis

See merge request espressif/esp-idf!14103
2021-06-23 02:11:29 +00:00
wangmengyang
aff1696c4e components/bt: fixed two bugs
1. Use correct addresses of Bluetooth Low Power Clock registers on Chip 7.2.8 ESP32-S3
2. Disabled CS-RXDONEMSK to avoid RX interrupt flooding during scan event in coexistence scenario
2021-06-23 07:06:28 +08:00
David Čermák
ecd3f85794 Merge branch 'bugfix/ws_client_const_correct' into 'master'
ws_client: Fix const correctness on strings (GitHub PR)

Closes IDFGH-5364

See merge request espressif/esp-idf!13952
2021-06-22 16:30:29 +00:00
David Čermák
29c46ad8a9 Merge branch 'feature/optimize_mqtt_option' into 'master'
transport: Add CONFI_WS_TRANSPORT for optimize the code size

Closes IDF-3113

See merge request espressif/esp-idf!13171
2021-06-22 16:02:49 +00:00
Michael (XIAO Xufeng)
99988fa454 Merge branch 'refactor/emac_hal' into 'master'
hal/emac_hal: refactor of emac_hal

Closes IDF-3155

See merge request espressif/esp-idf!13500
2021-06-22 15:34:51 +00:00
Roland Dobai
395575d94c CI: Use the tagged image for static analysis 2021-06-22 15:58:45 +02:00
Jiang Jiang Jian
dd1352dec3 Merge branch 'bugfix/fix_amsdu_fragment_vulnerability' into 'master'
esp_wifi: fix amsdu & fragment vulnerabilities

Closes WIFI-3700 and WIFI-3733

See merge request espressif/esp-idf!13719
2021-06-22 13:00:42 +00:00
Wang Meng Yang
d685e85ff4 Merge branch 'bugfix/spp_connect_20_fail' into 'master'
component_bt: fix spp acceptor deadlock

Closes IDFGH-5172

See merge request espressif/esp-idf!13940
2021-06-22 12:21:10 +00:00
David Čermák
2efc03579a Merge branch 'feature/lwip_icmp' into 'master'
Add CONFIG_LWIP_ICMP to option ICMP

Closes IDF-3119

See merge request espressif/esp-idf!13157
2021-06-22 12:15:54 +00:00
Wang Meng Yang
9ee25986a8 Merge branch 'bugfix/fix_a2dp_sink_blocked' into 'master'
Bugfix/Fix a2dp Sink Blocked Bugs

Closes IDFGH-4920, IDFGH-5348, and BT-1740

See merge request espressif/esp-idf!12776
2021-06-22 11:33:31 +00:00
Martin Gaňo
38c148b904 Temporarily set LANG to en code to avoid RuntimeError
Closes https://github.com/espressif/esp-idf/issues/7173
2021-06-22 13:05:44 +02:00
Mahavir Jain
456c52055c Merge branch 'fix/mbedtls_remove_invalid_menuconfig_options' into 'master'
Fix/mbedtls remove invalid menuconfig options

Closes IDF-950

See merge request espressif/esp-idf!13955
2021-06-22 10:02:25 +00:00
Mahavir Jain
a00203b2f5 Merge branch 'feature/update_expat' into 'master'
expat: Update library from 2.2.9 to 2.4.1

Closes IDF-2793

See merge request espressif/esp-idf!13918
2021-06-22 09:52:46 +00:00
Roland Dobai
b22fcbef96 Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions

Closes IDF-1676

See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a Merge branch 'feature/hal_assert' into 'master'
hal: added platform port layer

Closes IDF-1341

See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
xiongweichao
96aff16dd3 fix spp acceptor deadlock
Closes: https://github.com/espressif/esp-idf/issues/6948
2021-06-22 15:05:27 +08:00
Mahavir Jain
772a17bb3a docs/en: update heap debugging guide for tracing on RISC-V architecture 2021-06-22 14:14:10 +08:00
Mahavir Jain
d5cc79db48 test_apps: add HEAP_TRACING configuration to build tests 2021-06-22 14:14:10 +08:00
Mahavir Jain
9ac9b69087 heap: use hal specific API to get cpu cycles count
This fixes compilation issue of heap tracing feature for RISC-V
architecture.
2021-06-22 14:14:10 +08:00
Jakob Hasse
64750acbb0 [esp_system]: added __cxx_eh_arena_size_get again
* This function has been accidentally removed.
  It is necessary to provide the emergency
  exception memory pool size for C++ code.
  Since our libstdc++ always has exceptions
  enabled, this function must exist here even if
  -fno-exception is set for user code.
2021-06-22 14:14:08 +08:00
Ivan Grokhotkov
bdb01b8285 Merge branch 'bugfix/longjmp_s3' into 'master'
[esp_rom]: fixed S3 longjmp patch

Closes IDF-3391

See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
morris
9afdf54748 hal: added HAL_ASSERT 2021-06-22 11:28:01 +08:00
Krzysztof Budzynski
ed428ab811 Merge branch 'docs/windows_installer_2.9' into 'master'
docs: update Windows Tools 2.9 installation

See merge request espressif/esp-idf!14019
2021-06-22 03:27:18 +00:00
liuhan
8b02c9026a transport: Add CONFI_WS_TRANSPORT for optimize the code size 2021-06-22 10:51:04 +08:00
Michael (XIAO Xufeng)
b727dca308 Merge branch 'ci/sdmmc_performance_log' into 'master'
ci: add log output for the sdmmc performance test

See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
laokaiyao
48fdf6912d test_pwm: relax the requirement of mcpwm test 2021-06-22 10:41:09 +08:00
Wang Meng Yang
71250e2984 Merge branch 'bugfix/start_enc_proc_mic_err_fix' into 'master'
bt/component: Fix MIC error issue during start_encryption procedure in esp32c3 ble controller

See merge request espressif/esp-idf!14056
2021-06-22 01:52:35 +00:00
Angus Gratton
c685ef303b pthread: Fix race conditions in existing pthread UTs 2021-06-22 08:26:08 +08:00
Angus Gratton
262107691a pthread: Fix pthread_cond_timedwait returning early from timeout
The reason timeouts would sometimes happen before the abstime deadline was due
to rounding errors converting the timeout to milliseconds, and also because
vTaskDelay(1) only delays until the next tick which is less than one full tick
period.

Closes https://github.com/espressif/esp-idf/issues/6901
2021-06-22 08:26:08 +08:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Aditya Patwardhan
02820a90f7 Add sdkconfig which disables all menuconfig options in mbedtls. 2021-06-21 17:53:22 +05:30