lly
1f9d289ee0
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:57:07 +08:00
Jakob Hasse
a1c8b21928
esp_eth: moved extern "C" after includes
2020-09-09 10:19:03 +08:00
Krzysztof Budzynski
8b1e3c01a0
Merge branch 'bugfix/doc_main_readme_build_v4.2' into 'release/v4.2'
...
Fix the setup instructions in the main README (v4.2)
See merge request espressif/esp-idf!10337
2020-09-09 02:44:34 +08:00
lly
4eec2c64ee
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 21:01:32 +08:00
Jiang Jiang Jian
b356d41bb1
Merge branch 'bugfix/fix_some_wifi_bugs_0902_v4.2' into 'release/v4.2'
...
Bugfix/fix some wifi bugs 0902 v4.2 (backport v4.2)
See merge request espressif/esp-idf!10246
2020-09-08 18:30:31 +08:00
Roland Dobai
4663b16779
Fix the setup instructions in the main README
2020-09-08 09:54:46 +02:00
Chen Yi Qun
a8a2ea7b38
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 15:00:53 +08:00
Ivan Grokhotkov
2854050835
Merge branch 'bugfix/pip_gdbgui_v4.2' into 'release/v4.2'
...
fix windows incompatibility with gdbgui>=0.14 (v4.2)
See merge request espressif/esp-idf!10326
2020-09-08 00:07:09 +08:00
Marek Ištok
1fef76cbce
tools: fix windows incompatibility with gdbgui>=0.14
...
gdbgui intentionally (https://github.com/cs01/gdbgui/pull/346 ) introduced dependencies that are incompatible with windows, and don't seem to have plans to resolve them anytime soon
Closes https://github.com/espressif/esp-idf/issues/5782
Closes https://github.com/espressif/esp-idf/issues/5787
Merges https://github.com/espressif/esp-idf/pull/5794
2020-09-07 07:55:45 +00:00
baohongde
ad8b3e4274
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:44:28 +08:00
Jiang Jiang Jian
ecab1d9b2e
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.2' into 'release/v4.2'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.2
See merge request espressif/esp-idf!10255
2020-09-07 14:11:08 +08:00
morris
1f011c3b2a
docs: translate idf.py debug target
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
8f78db8073
docs: jtag-debugging: update Chinese version
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
7ae490d908
docs: jtag-debugging: fix ups in English version
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
b58d74da45
docs: add placeholders for {esp32,esp32s2}.inc in JTAG debugging guide
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
ead33e155d
docs: repurpose WROVER-KIT debugging guide for Kaluga-1
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
964f041269
tools: idf.py: default to board/esp32s2-kaluga-1.cfg for ESP32-S2
...
NFC. Kaluga-1 config is same as devkitj + esp32s2.
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
b7760cf269
docs: minor typos in JTAG debugging section
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
cfbd2566c1
docs: formatting fix in idf.py debugging section
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
b513dd11ce
docs: move target-specific parts of JTAG guide into include files
...
{esp32,esp32s2}.inc files contain most of the bits and code snippets
which are different between targets. These bits are included from the
rest of the source files.
Also included is an update to the section about OpenOCD configuration
variables and files. This section wasn't updated when some of the
files and variables got renamed.
2020-09-04 21:59:05 +02:00
Ivan Grokhotkov
b181623d9b
freertos: fix compilation warning at -O2 level
...
Closes https://github.com/espressif/esp-idf/issues/5525
2020-09-04 21:33:49 +02:00
Ivan Grokhotkov
acfe648367
ci: add startup test with -O2 optimization level
2020-09-04 21:33:49 +02:00
Ivan Grokhotkov
73813c6bac
freertos: ensure the interrupt stack is aligned
...
CONFIG_FREERTOS_ISR_STACKSIZE was set to 2100 when ELF core dump was
enabled, which resulted in a non-16-byte-aligned interrupt stack
offset. This triggered "is SP corrupted" check in the backtrace,
terminating the backtrace early.
Fix the default value, and make sure that the stack is always aligned,
regardless of the value of CONFIG_FREERTOS_ISR_STACKSIZE.
2020-09-04 20:45:38 +02:00
Ivan Grokhotkov
c3d2942675
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-09-04 20:45:38 +02:00
David Čermák
87d96b2c29
Merge branch 'bugfix/ws_stop_deadlock_v4.2' into 'release/v4.2'
...
Websocket client: avoid deadlock if stop called from event handler (Backport 4.2)
See merge request espressif/esp-idf!10226
2020-09-04 22:51:46 +08:00
Island
5c8a85e839
Merge branch 'bugfix/ble_mesh_sensor_example_fix_v4.2' into 'release/v4.2'
...
ble_mesh: example: Fix sensor data wrong iteration (v4.2)
See merge request espressif/esp-idf!10273
2020-09-04 16:54:38 +08:00
wangcheng
a7d52dafa6
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:27:03 +08:00
weitianhua
a7ddc9c125
Add protection for rfcomm close API in SPP
2020-09-04 14:40:27 +08:00
weitianhua
07e2d3ab0f
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-09-04 14:40:19 +08:00
lly
8fe75ff3ce
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:54:52 +08:00
David Čermák
b9f0500641
Merge branch 'bugfix/ws_server_async_send_fin_v4.2' into 'release/v4.2'
...
http_server example: WebSocket server to set final flag in async messages (v4.2)
See merge request espressif/esp-idf!10087
2020-09-03 14:11:13 +08:00
wangcheng
12633717f7
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:43:57 +08:00
David Cermak
ec2262e5a4
http_server: WebSocket server to set flag in transmitted messages by default
...
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-09-02 07:54:29 +00:00
David Cermak
4da38b6769
http_server example: WebSocket server to set final flag in async messages
...
Closes https://github.com/espressif/esp-idf/issues/5405
2020-09-02 07:54:29 +00:00
David Čermák
a0a0d34da6
Merge branch 'bugfix/ethernet_handle_early_rx_interrupt' into 'release/v4.2'
...
Bugfix/ethernet handle early rx interrupt (v4.2)
See merge request espressif/esp-idf!10098
2020-09-02 15:52:18 +08:00
Nachiket Kukade
d17e6a75e0
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-09-02 15:06:51 +08:00
zhangyanjiao
089b78b916
esp_wifi:
...
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-02 15:04:26 +08:00
aditi_lonkar
ddfb11e1c5
wifi: Fix esp_wifi log levels
...
Closes https://github.com/espressif/esp-idf/issues/5721
2020-09-02 15:02:52 +08:00
kapil.gupta
594a196364
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-09-02 14:55:10 +08:00
xiehang
8757cefeec
esp_wifi: add rf test long short support
2020-09-02 14:54:23 +08:00
liu zhifu
627a05d80e
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-09-02 14:52:49 +08:00
liu zhifu
368d623e1a
esp_wifi: optimize WiFi TX performance
2020-09-02 14:44:45 +08:00
Island
9cd0e2fd1a
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v4.2' into 'release/v4.2'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
See merge request espressif/esp-idf!10241
2020-09-02 14:20:49 +08:00
XieWenxiang
82deea84eb
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.2)
2020-09-02 11:18:25 +08:00
Michael (XIAO Xufeng)
fb4a75110a
Merge branch 'bugfix/touch_sensor_denoise_ci_for_esp32s2_backport_v4.2' into 'release/v4.2'
...
[High priority] Bugfix/touch sensor denoise ci for esp32s2 (backport v4.2)
See merge request espressif/esp-idf!10211
2020-09-01 21:50:59 +08:00
Island
73fd3608e0
Merge branch 'bugfix/ble_mesh_example_compile_warn_v4.2' into 'release/v4.2'
...
Bugfix/ble mesh example compile warn (v4.2)
See merge request espressif/esp-idf!10222
2020-09-01 19:16:43 +08:00
Marius Vikhammer
86d8f15a9a
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681
)
Closes https://github.com/espressif/esp-mqtt/issues/158
SSL: add support for tls with secure element (ATECC608A)
esp-mqtt commit: a7ff9afa3f
)
Closes https://github.com/espressif/esp-mqtt/issues/156
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10
)
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d
)
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab
)
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2
)
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-09-01 15:57:47 +08:00
Marius Vikhammer
70a67439bc
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:30:40 +08:00
lly
528747ac4c
ble_mesh: example: Remove some useless included header files
2020-09-01 14:10:27 +08:00
Carlos Sobrinho
840b7f2de7
Fix compilation warnings about portmacro being already define.
2020-09-01 14:09:41 +08:00