Commit Graph

19276 Commits

Author SHA1 Message Date
Marius Vikhammer
ee2f8b1a62 build system: always build with -fno-jump-tables & -fno-tree-switch-conversion
Jump tables placed in flash would cause issue with code that needed to be ran from IRAM.

These optimizations are now always disabled.
2021-06-24 14:54:10 +08:00
chenjianxing
3c3c7b2ee0 esp_phy: update esp32 phy max tx power 2021-06-24 14:43:03 +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 Cermak
f167238fac mdns: Support for One-Shot mDNS queries 2021-06-24 07:05:00 +02: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
Jakob Hasse
79b0256d63 [driver]: partial mocking of driver component
* added mocking of spi master and gpio
* mock registering in one function in
  component.cmake
2021-06-24 10:10:29 +08:00
liuhan
7d5ae1ee26 esp_netif: Add CONFIG_LWIP_DHCPS to sperate the code 2021-06-24 09:49:45 +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
Roland Dobai
a71a74cd9d tools: Catch OSError which is raised when the tool is not available
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-23 11:48:45 +02: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
yuanjm
b0e1a8e752 lwip: Add ND6 RDNSS DNS server Kconfig option
Closes https://github.com/espressif/esp-idf/issues/6982
2021-06-23 10:09:26 +08: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
morris
40f350693f rmt: update soc data with regtool for esp32s3 2021-06-22 15:29:11 +08:00
morris
e58f53f265 rmt: update doc for esp32s3 2021-06-22 15:29:11 +08:00
morris
01a28add47 rmt: apply general check macro 2021-06-22 15:29:11 +08:00
morris
8d9e968d3f rmt: fix wrong macro of independent channel clock 2021-06-22 15:29:11 +08:00
morris
8e483e34a8 rmt: restructure rmt_signal_conn_t 2021-06-22 15:29:11 +08:00
morris
a1494809b2 rmt: clean up LL driver 2021-06-22 15:29:11 +08: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