dongyou
9039ddb20c
Fix spin lock allocation in PSRAM bug
2020-09-22 14:19:56 +08:00
martin.gano
56a9383552
add file stream parameter and log stdout and stderr to same stream
2020-09-18 10:39:40 +02:00
weitianhua
53c57cf2a3
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-18 14:14:40 +08:00
weitianhua
98e9f62dda
Add global header and change declaration position
2020-09-18 14:14:34 +08:00
weitianhua
ca2fff3b51
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-18 14:14:27 +08:00
weitianhua
7f66230e9e
Rewrite a2dp clean_up function
2020-09-18 14:14:20 +08:00
weitianhua
a3ca473dd4
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-18 14:14:11 +08:00
David Cermak
1a7149ce76
openssl: made verification mode conversion to mbetls modes more strict
2020-09-17 14:38:15 +02:00
Jiang Jiang Jian
c308562a31
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.0' into 'release/v4.0'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10324
2020-09-17 20:28:43 +08:00
ChenJianxing
293c2d95f6
esp_wifi: update phy v4390(backport v4.0)
2020-09-17 16:08:50 +08:00
lly
2b81af52aa
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:27:00 +08:00
Mahavir Jain
374b756f6b
coap: update libcoap to fix its broken submodule pointer
...
Though IDF v4.0 does not have dependency on `tinydtls` repository
within libcoap, it created problem in recursive clone. This commit
picks up change from upstream libcoap release-v4.2.0 to update
`tinydtls` repository pointer.
More information at:
https://github.com/obgm/libcoap/pull/531
Merges https://github.com/espressif/esp-idf/pull/5626
2020-09-14 10:59:52 +05:30
wangcheng
e3ecb8d073
fix assert(10,9), when missing evt_end or rx and evt_end come the same time
2020-09-14 10:48:59 +08:00
weitianhua
f97188d2d3
Add protection for rfcomm close API in SPP
2020-09-14 10:06:22 +08:00
weitianhua
f38d93f73c
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-14 10:06:22 +08:00
lly
a92247d461
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 11:01:17 +08:00
Roland Dobai
2e9561d252
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:46:46 +02:00
Roland Dobai
9f7be2b7f4
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:36:03 +02:00
Ivan Grokhotkov
c2b1d3a9d2
bootloader_support: don't check signature when JTAG is attached
...
If an insecure configuration is enabled (no hardware secure boot, just
software signature check), skip the signature check in bootloader if
JTAG debugger is attached. This allows the debugger to set breakpoints
in Flash before the application runs.
Closes https://github.com/espressif/esp-idf/issues/4734
Closes https://github.com/espressif/esp-idf/issues/4878
2020-09-09 23:52:07 +02:00
Ivan Grokhotkov
2ebe7d13f4
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-09 18:39:02 +02:00
Jakob Hasse
90fdeb0955
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-09-08 19:30:06 +08:00
Roland Dobai
1cc99eefb7
Fix the setup instructions in the main README
2020-09-08 10:18:27 +02:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Anton Maklakov
6093407d78
Merge branch 'feature/toolchain_2020r3_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r3 (backport v4.0)
See merge request espressif/esp-idf!10278
2020-09-07 14:44:52 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
Michael (XIAO Xufeng)
df7028dc52
Merge branch 'bugfix/spi_flash_yield_coredump_v4.0' into 'release/v4.0'
...
spi_flash: don't call vTaskDelay in non-os context (backport v4.0)
See merge request espressif/esp-idf!10299
2020-09-07 13:24:38 +08:00
Ivan Grokhotkov
c928bcc4b8
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-04 21:24:32 +02:00
Jiang Jiang Jian
5812a935ba
Merge branch 'feature/esp_spp_stop_srv_v4.0' into 'release/v4.0'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.0]
See merge request espressif/esp-idf!10013
2020-09-04 20:00:41 +08:00
Jakob Hasse
54bc506d26
CXX: make __attribute__((init_priority(n))) work
...
* Added corresponding test case
* Moved all C++ init tests to separate file
Closes https://github.com/espressif/esp-idf/issues/5038
2020-09-04 19:01:20 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
Anton Maklakov
7009d7bcfe
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-04 13:20:39 +07:00
Jiang Jiang Jian
06fea3a2f7
Merge branch 'bugfix/update_esp32_phy_4370_v4.0' into 'release/v4.0'
...
esp_wifi: update esp32 phy v4370(Backport v4.0)
See merge request espressif/esp-idf!10025
2020-09-04 11:29:45 +08:00
ChenJianxing
e59336337c
esp_wifi: update esp32 phy v4370
...
fix sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-09-03 20:15:17 +08:00
Jiang Jiang Jian
749e71e8e2
Merge branch 'feature/pmf_espnow_coexistance_v4.0' into 'release/v4.0'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance (Backport v4.0)
See merge request espressif/esp-idf!10247
2020-09-03 16:23:41 +08:00
Michael (XIAO Xufeng)
3f96604fda
Merge branch 'bugfix/fix_i2s_reset_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix i2s reset issue v4.0
See merge request espressif/esp-idf!9585
2020-09-03 11:07:38 +08:00
Michael (XIAO Xufeng)
013654cc11
Merge branch 'feature/vfs_uart_set_line_ending_v4.0' into 'release/v4.0'
...
feature: support vfs uart set line endings with specified uart number release/v4.0
See merge request espressif/esp-idf!9598
2020-09-03 00:48:43 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +08:00
Nachiket Kukade
4d8ba4b4de
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:02:45 +05:30
houwenxiang
54c2bd7c0c
driver(I2S): Fix I2S reset issue for release/v4.0
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-09-02 16:30:03 +08:00
Michael (XIAO Xufeng)
d1fa5c712a
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_0' into 'release/v4.0'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.0)
See merge request espressif/esp-idf!8199
2020-09-02 16:12:28 +08:00
XieWenxiang
2832f5f6f2
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v4.0)
2020-09-02 11:08:07 +08:00
Marius Vikhammer
2efa45b317
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
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 16:03:20 +08:00
Marius Vikhammer
3d952d3f56
Websocket client: avoid deadlock if stop called from event handler
2020-09-01 15:43:49 +08:00
Jiang Jiang Jian
c756f7c4d2
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.0' into 'release/v4.0'
...
lw-ip: fix IPv6 ND6 queue too much pkts (Backport 4.0)
See merge request espressif/esp-idf!10090
2020-08-31 14:27:59 +08:00
Shivani Tipnis
4b63e016c4
mfg_util: Update file handling to maintain line endings across various OS
...
Fixes: https://github.com/espressif/esp-idf/issues/4888
2020-08-27 11:38:56 +05:30
Jiang Jiang Jian
5ec780d6b5
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.0)
See merge request espressif/esp-idf!10029
2020-08-27 11:48:30 +08:00
Jiang Jiang Jian
5ad4713362
Merge branch 'bugfix/clean_wpa2_wifi_deinit_v4.0' into 'release/v4.0'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.0)
See merge request espressif/esp-idf!10104
2020-08-27 11:40:11 +08:00
Jiang Jiang Jian
6dd8569b4b
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx' into 'release/v4.0'
...
esp_wifi: Fix null pointer dereferences in mgmt rx (backport v4.0)
See merge request espressif/esp-idf!10132
2020-08-27 11:22:07 +08:00
kapil.gupta
df52fb3942
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:23:21 +05:30
Jiang Jiang Jian
e376e8f989
Merge branch 'bugfix/assert_9_10_error_v4.0' into 'release/v4.0'
...
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time,...
See merge request espressif/esp-idf!10049
2020-08-26 11:38:07 +08:00