ryan
266be00254
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-07-15 15:46:46 +02:00
Nachiket Kukade
df14475c5b
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 12:20:16 +00:00
David Čermák
fa9f025e4a
Merge branch 'feature/asio_ssl_support' into 'master'
...
asio: basic support of SSL/TLS transport
Closes IDFGH-1085 and IDFGH-2138
See merge request espressif/esp-idf!8797
2020-07-15 19:51:47 +08:00
Anton Maklakov
1c4d4752b3
Merge branch 'bugfix/remove_exception_windowspill_test' into 'master'
...
CXX: remove exception windowspill test
See merge request espressif/esp-idf!9612
2020-07-15 18:33:42 +08:00
sushant.chougule
0583a04969
Bluedroid stack dynamic allocation changes to optimise DRAM usage
...
Structures allocated dynamically:
tACL_CONN, tBTM_PM_MCB, tBTM_SEC_DEV_REC, tGATT_TCB, tGATT_CLCB, tL2C_LCB, tL2C_CCB, tSDP_RECORD
Total dynamic allocation size ~19KB.
Peak dram usage reduced by ~12KB when in BT classic + BLE scenario(1 a2dp sink + 1 BLE gatt server)
2020-07-15 14:44:10 +05:30
Jiang Jiang Jian
d65af31309
Merge branch 'bugfix/fix_hci_max_page_num' into 'master'
...
bugfix/Support for more Bluetooth HID devices
Closes IDFGH-3515
See merge request espressif/esp-idf!9621
2020-07-15 15:51:00 +08:00
Jiang Jiang Jian
170b4c9eff
Merge branch 'bugfix/fix_get_bond_device_list' into 'master'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug
Closes BT-852 and BTCI-88
See merge request espressif/esp-idf!9542
2020-07-15 15:50:32 +08:00
Jiang Jiang Jian
b99266f0c4
Merge branch 'feature/esp_spp_stop_srv' into 'master'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP
Closes BT-850, BT-853, BT-854, BT-889, BT-902, BT-899, BTCI-89, and BTCI-90
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Jiang Jiang Jian
9c151dfce3
Merge branch 'fixbug/select_waiting_assert' into 'master'
...
lw-ip:fix bug for select waiting assert
Closes IDFGH-3019
See merge request espressif/esp-idf!9363
2020-07-15 15:49:01 +08:00
Angus Gratton
eb43872361
version: Update to v4.3.0
...
v4.3.0-dev is tagged where the branches diverged, catching up with the
remaining metadata here.
2020-07-15 13:56:05 +10:00
DerfJagged
5705c786e3
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-15 11:54:26 +08:00
Jiang Jiang Jian
0376b23c7c
Merge branch 'component/seperate_bta_jv_l2c' into 'master'
...
component_bt:/ separate BTA_JV_L2CAP for less bin size
See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
Jiang Jiang Jian
907e427641
Merge branch 'feature/enable_pcm_config' into 'master'
...
feature/ Enable PCM config
Closes BTCI-25
See merge request espressif/esp-idf!8996
2020-07-15 11:38:07 +08:00
xueyunfei
2b298cb895
lwip:fix bug for select waiting assert
...
Closes https://github.com/espressif/esp-lwip/issues/13
Official patch:http://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=8d7e436a9d24a2a1ee35aac72a7055e80330e994
2020-07-15 11:35:18 +08:00
morris
458b14a8ea
esp_rom: extract common efuse apis into esp_rom_efuse.h
2020-07-15 10:40:50 +08:00
Angus Gratton
24e49cc21d
Merge branch 'refactor/panic_handler_follow_ups' into 'master'
...
Panic handler follow ups
See merge request espressif/esp-idf!7732
2020-07-15 08:21:09 +08:00
David Čermák
f8b649baaf
Merge branch 'bugfix/ws_server_async_send_fin' into 'master'
...
http_server example: WebSocket server to set final flag in async messages
Closes IDFGH-3443
See merge request espressif/esp-idf!9251
2020-07-15 05:31:02 +08:00
Prasad Alatkar
457d4f36a6
BLE provisioning: Add check for valid ble read offset
2020-07-14 13:14:53 +00:00
Felipe Neves
11f6addc61
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-07-14 12:56:02 +00:00
Felipe Neves
a700035a85
test/shared_stack_printf: improved printf with shared stack function test
2020-07-14 12:56:02 +00:00
Felipe Neves
938a73756c
esp_common/shared_stack: modifed the stack switch procedure to a simpler way
...
esp_common/shared_stack: refactored the implemenation of shared stack function (still not working properly)
esp_expression_with_stack: refactored the shared stack function calling mechanism and updated the documentation
2020-07-14 12:56:02 +00:00
Jiang Jiang Jian
1fa7454f5e
Merge branch 'feature/wifi_get_tsf_time_api' into 'master'
...
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time on esp32.
Closes WIFI-2532
See merge request espressif/esp-idf!9535
2020-07-14 19:53:52 +08:00
David Cermak
0f72c05d78
openssl: made verification mode conversion to mbetls modes more strict
2020-07-14 10:42:17 +00:00
David Cermak
1c8171c3e8
asio: option to use wolfSSL as TLS stack for ASIO
...
Plus other minor update, make openssl aware of current modes (SSL_set_mode)
Update coding style in examples and tests, including copyright notices
2020-07-14 10:42:17 +00:00
David Cermak
9459c0dd43
asio: Basic SSL/TLS support in asio port for ESP platform
...
This port employs IDF port of OpenSSL for most common features, others
are discouraged or not supported. The port also introduces several stubs
for OpenSSL functions which ASIO needs to get compiled and linked.
Upstream ASIO supports WolfSSL as SSL/TLS stack, as well, which is
another option for SSL support in ASIO on ESP platform.
2020-07-14 10:42:17 +00:00
David Cermak
bd1e9b5ea7
openssl: basic support for errors and bio objects
...
Closes https://github.com/espressif/esp-idf/issues/3406
2020-07-14 10:42:17 +00:00
Jakob Hasse
f3e180de72
CXX: removed exception windowspill test
...
This test randomly fails in CI. Hence the
removal until further investigation.
The original issue the test was addressing
has been fixed in our gcc; it has also been
confirmed and fixed in the upstream gcc.
This test only crashes at the end of the test
function so it is reasonable to assume that
it should be safe removing it so far, ie., the
test doesn't reveal a problem with the original
fix but a different one.
Opening an Jira issue IDFCI-76 for the further
investigation
2020-07-14 18:40:44 +08:00
Angus Gratton
4a0a331122
Merge branch 'bugfix/esp32s2_return_use_fixed_static_ram_size_option' into 'master'
...
esp32s2: Add USE_FIXED_STATIC_RAM_SIZE feature
Closes IDF-1800
See merge request espressif/esp-idf!9033
2020-07-14 13:14:07 +08:00
Mahavir Jain
7727f1612e
Merge branch 'task/httpd_strlen' into 'master'
...
httpd_resp_send: use `HTTPD_RESP_USE_STRLEN` when possible
Closes IDFGH-3268
See merge request espressif/esp-idf!8957
2020-07-14 12:11:52 +08:00
Michael (XIAO Xufeng)
f8f2f7c297
Merge branch 'bugfix/touch_sensor_denoise_ci_for_esp32s2' into 'master'
...
ut: fix touch sensor denoise ci fail
Closes IDFCI-46
See merge request espressif/esp-idf!9571
2020-07-14 11:04:06 +08:00
weitianhua
8f84930c5c
Redesign Kconfig.in BT components
2020-07-14 11:01:02 +08:00
weitianhua
4167fc3438
Enable pcm config
2020-07-14 10:25:13 +08:00
Angus Gratton
2c4e2825ad
Merge branch 'feature/use_prebuilt_util_for_wifi_component' into 'master'
...
esp_wifi: use prebuilt CMake util to add wifi libs
See merge request espressif/esp-idf!9574
2020-07-14 07:57:11 +08:00
KonstantinKondrashov
11844a54f4
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
2020-07-13 22:46:05 +08:00
David Cermak
005f21accc
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-07-13 14:39:22 +00:00
David Čermák
6edf0fed2b
Merge branch 'feature/support_ksz8041' into 'master'
...
support ksz8041
Closes IDFGH-3495 and IDFGH-3584
See merge request espressif/esp-idf!9558
2020-07-13 22:30:58 +08:00
Hrudaynath Dhabe
7bc2fae323
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
...
specified interface.
Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-13 17:04:11 +05:30
Island
b6b4d41044
Merge branch 'bugfix/tx_rx_data_length' into 'master'
...
components/bt: Change the default value of conn_max_tx_octets to 251.
See merge request espressif/esp-idf!9409
2020-07-13 19:17:08 +08:00
Angus Gratton
0df0dad532
Merge branch 'bugfix/secure_boot_v2_sign_cmake_copy' into 'master'
...
Add platform independent CMake copy during signing
Closes IDFGH-3617
See merge request espressif/esp-idf!9543
2020-07-13 15:59:15 +08:00
Ivan Grokhotkov
b62e4e6f85
Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
...
feature: support vfs uart set line endings with specified uart number
See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
Ivan Grokhotkov
562edb3a5e
Merge branch 'bugfix/sdmmc_spi_highspeed' into 'master'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
See merge request espressif/esp-idf!9418
2020-07-13 15:50:30 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
6673407f98
httpd_resp_send: use HTTPD_RESP_USE_STRLEN
when possible
2020-07-13 05:34:56 +00:00
Jiang Jiang Jian
f29370b02c
Merge branch 'bugfix/ipv6_fragment' into 'master'
...
lw-ip:fix bug for ipv6 fragment
Closes WIFI-2304
See merge request espressif/esp-idf!8578
2020-07-13 12:09:56 +08:00
Michael (XIAO Xufeng)
c796bd5e63
esp_flash: refactor to make host driver function a const table
...
This is also part of ESP32-S3 ROM changes
2020-07-13 03:10:00 +08:00
Jiang Jiang Jian
64673b45e5
Merge branch 'bugfix/esp32s2_cache_unsupport_config' into 'master'
...
esp32s2: remove unsupported cache option
Closes IDFGH-3414
See merge request espressif/esp-idf!9300
2020-07-12 21:33:56 +08:00
Wang Lei
6b12ac0968
esp32s2: remove unsupported cache option
2020-07-12 21:33:55 +08:00
Jiang Jiang Jian
583f6e5e16
Merge branch 'docs/fix_event_typo' into 'master'
...
docs/fix event typo
Closes IDFGH-3488
See merge request espressif/esp-idf!9376
2020-07-12 21:23:50 +08:00
Jiang Jiang Jian
92d4bb6ed0
Merge branch 'bugfix/wps_multiple_ap_creds' into 'master'
...
Fix handling of multiple AP credentials in WPS
Closes FCS-356
See merge request espressif/esp-idf!9137
2020-07-12 20:26:08 +08:00
Michael (XIAO Xufeng)
f99ba33920
esp_flash: improve unit test to detect over boundary issue
2020-07-12 02:09:46 +08:00
Michael (XIAO Xufeng)
a9c8895bb2
esp_flash: refactor to be compatible with the latest ROM
...
Including:
1. Change the write bytes/read bytes parameter in the host driver into slicers to meet the requirements of complicated cases.
2. Refactor the esp_flash_api code a bit so that we can use the code in the ROM laster
3. Provide get_temp_buffer and release_temp_buffer in the os_functions when the buffer passed by application cannot be used directly.
4. Make timeout of operations configurable in the chip_driver.
5. Make dummy number configurable.
2020-07-12 02:09:45 +08:00
Michael (XIAO Xufeng)
f6dd63d03d
spi_slave_hd: new driver for spi slave in half duplex mode
2020-07-11 00:00:50 +08:00
Michael (XIAO Xufeng)
a50ea8ad55
spi: allow force pins being configured throug GPIO matrix
2020-07-11 00:00:47 +08:00
Island
9a71a74d2d
Merge branch 'bugfix/ble_mesh_misc_updates' into 'master'
...
Bugfix/ble mesh misc updates
Closes BLEMESH-223
See merge request espressif/esp-idf!9492
2020-07-10 21:50:16 +08:00
Mahavir Jain
992fd03f81
Merge branch 'bugfix/issues_with_vanilla_freertos' into 'master'
...
Fix build issues with Vanilla FreeRTOS
See merge request espressif/esp-idf!9536
2020-07-10 20:28:14 +08:00
wangcheng
b60c496296
components/bt: Change the default value of conn_max_tx_octets to 251.
2020-07-10 19:48:32 +08:00
Jiang Jiang Jian
0ca62e4f16
Merge branch 'bugfix/fix_ag_return_result' into 'master'
...
bugfix/Fix error of AG API return line
Closes BTCI-102
See merge request espressif/esp-idf!9565
2020-07-10 16:51:32 +08:00
Shubham Kulkarni
d4ce5de16e
Include header file soc/cpu.h in memprot.c and system_api.c
...
This fixes build issues with Vanilla FreeRTOS
2020-07-10 13:56:42 +05:30
Jiang Jiang Jian
7639f20fa5
Merge branch 'bugfix/buff_semaphore_not_free' into 'master'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9507
2020-07-10 16:18:55 +08:00
fuzhibo
75212b5055
ut: fix touch sensor denoise ci fail
2020-07-10 15:10:18 +08:00
Angus Gratton
f1ac79747b
monitor: Add a "Same as UART Console baud rate" setting
...
Usually the monitor will want to run at the same speed as the boot log output.
2020-07-10 16:58:05 +10:00
Angus Gratton
d0ba86f176
common: Limit UART console baud rate if power management is enabled
...
Also add some comments explaining how the console settings are used by both
bootloader and app.
Based on config bug and discussion here: https://esp32.com/viewtopic.php?f=2&t=16111&p=61520#p61520
2020-07-10 16:58:05 +10:00
Renz Bagaporo
126225421e
esp_wifi: use prebuilt CMake util to add wifi libs
2020-07-10 14:20:25 +08:00
lly
b94ce120d6
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-10 14:14:01 +08:00
lly
f4846cca4b
ble_mesh: stack: Make proxy server & client functions clear
2020-07-10 14:12:58 +08:00
Island
049a3e1cd7
Merge branch 'bugfix/ble_mesh_add_misc_check' into 'master'
...
Bugfix/ble mesh add misc check
See merge request espressif/esp-idf!9490
2020-07-10 14:07:00 +08:00
Angus Gratton
fb192fd313
Merge branch 'bugfix/spinlock_coredump_regressions' into 'master'
...
Bugfix/spinlock coredump regressions
Closes IDF-1901
See merge request espressif/esp-idf!9559
2020-07-10 14:01:08 +08:00
Angus Gratton
ae3ac0e7db
Merge branch 'ci/fix_uart_read_write_priorities' into 'master'
...
driver test: Ensure uart write task can't overflow buffer of read task
Closes IDFCI-68
See merge request espressif/esp-idf!9527
2020-07-10 13:55:51 +08:00
houwenxiang
8e00522cd7
vfs: support vfs uart set line endings with specified uart number
2020-07-10 11:15:09 +08:00
ChenJianxing
4756280fc6
esp32s2: resume phy rtc unit test
2020-07-10 11:03:54 +08:00
ChenJianxing
c0683d95cc
esp32s2: resume wifi unit test
2020-07-10 11:02:37 +08:00
weitianhua
c40953f4e0
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-10 10:50:27 +08:00
lly
82d4bd280b
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-10 00:57:09 +00:00
lly
aeb44745bf
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-10 00:57:09 +00:00
lly
fd6071a0fc
ble_mesh: stack: Add more checks about input prov bearers
2020-07-10 00:57:09 +00:00
Ivan Grokhotkov
53f89464a3
vfs: fix invalid dereference for zero-length base_path
...
When base_path has len == 0, the code used to compare base_path[-1]
with '/'. Fix by correcting the length check.
Also mention the case of zero-length base_path in the API reference.
Closes https://github.com/espressif/esp-idf/issues/5514
2020-07-10 00:20:55 +02:00
houwenxiang
166d5f17f3
driver(I2S): Fix I2S reset issue
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
closes https://github.com/espressif/esp-idf/issues/5410
2020-07-09 15:42:09 +00:00
Ivan Grokhotkov
8e6d450a8c
Revert "Merge branch 'feature/gdb_stub_task_state' into 'master'"
...
This reverts commit c41a0c1907
, reversing
changes made to 5c1d317766
.
2020-07-09 17:16:47 +02:00
Ivan Grokhotkov
4cdc5edb4e
Revert "freertos, soc: don't lower INTLEVEL when entering critical sections"
...
This reverts commit 614a580bbb
.
2020-07-09 17:15:54 +02:00
Island
5d970c0e8c
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
...
Feat/ble mesh use iram for mem alloc
See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
Island
cf056a7d0b
Merge branch 'bugfix/ble_mesh_update_send_ttl' into 'master'
...
Bugfix/ble mesh update send ttl
Closes BMCI-79
See merge request espressif/esp-idf!9446
2020-07-09 23:05:28 +08:00
morris
abcea51976
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-09 22:03:17 +08:00
morris
648bcc7a87
ethernet: add ksz8041 in basic ethernet example
2020-07-09 21:49:07 +08:00
Meowthink
62237cf28c
Add Microchip KSZ8041 PHY support.
...
Merges https://github.com/espressif/esp-idf/pull/5452
2020-07-09 21:00:42 +08:00
Supreet Deshpande
954c580548
Add platform independent CMake signing
...
Closes https://github.com/espressif/esp-idf/issues/5557
2020-07-09 12:24:50 +05:30
boblane
4293f0320f
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-09 11:58:10 +08:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
weitianhua
abbf19926e
Seperate BTA_JV_L2CAP for less bin size
2020-07-08 17:50:19 +08:00
Roland Dobai
ee5e3f8b93
CI: Fix timeout in the espcoredump test
2020-07-08 11:10:43 +02:00
lly
8005d07e07
ble_mesh: stack: Add two application macros for TTL
2020-07-08 08:30:54 +00:00
lly
edb088e5db
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-08 08:30:54 +00:00
Jiang Jiang Jian
5da526a0cb
Merge branch 'bugfix/bt_acl_tx_handler_skip' into 'master'
...
Fixes ACL TX handler functioning.
Closes BCI-204
See merge request espressif/esp-idf!9459
2020-07-08 16:02:53 +08:00
Angus Gratton
289ad82bc0
driver test: Ensure uart write task can't overflow buffer of read task
...
Previously both tasks had equal priority, possible for write task and another
internal task to be scheduled at the same time - starving read task and
causing data loss.
Related to IDFCI-59
2020-07-08 16:49:06 +10:00
Shubham Kulkarni
3c7991813d
esp_http_client.h: Add error codes in HttpStatus_Code
...
esp_https_ota.c: Add checks for HTTP error codes
Closes: https://github.com/espressif/esp-idf/issues/5537
2020-07-08 04:03:26 +00:00
lly
076fee8dde
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-08 01:45:01 +00:00
lly
f5fcee186f
ble_mesh: stack: Use macros for adv task name & prio
2020-07-08 01:45:01 +00:00
lly
89715d7010
ble_mesh: stack: Make freertos static allocation visible
2020-07-08 01:45:01 +00:00
lly
cba3733d29
ble_mesh: stack: Add a option of using IRAM for memory allocation
2020-07-08 01:45:01 +00:00
wangcheng
7d39074d57
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-07-07 21:00:56 +08:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
Ivan Grokhotkov
adf86bd95e
Merge branch 'feature/console_repl_on_uart' into 'master'
...
console_repl: move UART specific configuration into single config structure
See merge request espressif/esp-idf!8964
2020-07-07 16:27:47 +08:00
Ivan Grokhotkov
46e43511cc
Merge branch 'bugfix/rs485_test_temp_disable' into 'master'
...
ci: temporarily disable RS485 related tests
See merge request espressif/esp-idf!9374
2020-07-07 16:06:14 +08:00
Jiang Jiang Jian
31aa7e09fa
Merge branch 'bugfix/add_api_to_get_internal_heap' into 'master'
...
esp_wifi: Add API to get available internal heap size
Closes WIFI-1340
See merge request espressif/esp-idf!9047
2020-07-07 14:50:10 +08:00
Jiang Jiang Jian
ae6b037f2b
Merge branch 'bugfix/fix_wifi_storage_nvs_some_issue' into 'master'
...
bugfix: fix wifi storage nvs some issue
Closes WIFI-2434 and WIFI-2191
See merge request espressif/esp-idf!9322
2020-07-07 14:49:32 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
Ivan Grokhotkov
983220e216
ci: temporarily disable RS485 related tests
2020-07-06 20:12:43 +00:00
Renz Christian Bagaporo
08ad0f8194
esp_system: remove usage of CONFIG_FREERTOS_UNICORE from panic handler
2020-07-06 15:33:56 +08:00
Michael (XIAO Xufeng)
4e8ae0343b
Merge branch 'bugfix/add_api_adc2_vref_to_gpio_for_esp32s2' into 'master'
...
driver(adc): esp32s2 support API `adc2_vref_to_gpio`
Closes IDF-1356
See merge request espressif/esp-idf!9051
2020-07-06 13:00:00 +08:00
Michael (XIAO Xufeng)
c58fd3df29
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo' into 'master'
...
MCPWM: Fix PWM-fault init function that read config incorrectly
Closes IDFGH-3473 and IDFGH-3539
See merge request espressif/esp-idf!9315
2020-07-06 12:35:45 +08:00
Peter Schaefer
f08743e452
Added const for pointer in master_write method, so that a const array can be passed to this fcn.
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5307
explicitly convert a const ptr to non-const because we actually don't modify it.
2020-07-06 03:37:39 +00:00
Angus Gratton
dafe5df3ac
Merge branch 'bugfix/cleanup_bt_reference_from_esp32s2_ld' into 'master'
...
esp32s2: cleanup bt reference from esp32s2 ld
See merge request espressif/esp-idf!9419
2020-07-06 08:32:33 +08:00
Mahavir Jain
e2e94a0bd2
Merge branch 'bugfix/enable_mbedtls_renegotiation' into 'master'
...
esp-tls: enable TLS renegotiation using explicit API call
See merge request espressif/esp-idf!9456
2020-07-03 16:31:21 +08:00
ronghulin
0e962d754e
bugfix: fix wifi storage nvs some issue
...
1. Configure bandwidth and phy mode to store NVS.
2. API esp_wifi_get_config add acquisition sta.listen_interva.
2020-07-03 15:49:34 +08:00
Wielebny666
77e5aa9aed
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-03 06:32:16 +00:00
Mahavir Jain
52469c8505
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-03 05:52:22 +00:00
joncmaloney
15da32ebbb
Improve error log description UART rx buffer size.
...
The under the error condition of rx buffer size is <=128 an error log is printed that reads uart rx buffer length error(>128). Propose an update to better describe the error condition as uart rx buffer length error(<=128).
Signed-off-by: Wu Bo Wen <wubowen@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5523
2020-07-03 11:27:33 +08:00
Chinmay Chhajed
9bac16fcec
Fixes ACL TX handler functioning.
...
ACL TX handler was never being called. Changed it's caller function so
that it is called properly.
2020-07-02 17:11:29 +05:30
zhangyanjiao
b9b82659dd
esp_wifi:
...
1. fix the bug when calculating the PMK, the local rx beacon time increment is 0
2. mesh: don't disconnect when tbtt update
2020-07-02 16:50:21 +08:00
Jiang Jiang Jian
0dba932933
Merge branch 'bugfix/beacon_security_downgrade' into 'master'
...
Avoid parsing RSN/WPA IE's after connection
See merge request espressif/esp-idf!9181
2020-07-02 16:45:27 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
Mahavir Jain
e62cb2be68
esp32s2: remove bt references from esp32s2 ld script
2020-07-02 03:45:05 +00:00
Island
0d5b983f61
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update' into 'master'
...
Bugfix/ble mesh fast prov misc update
See merge request espressif/esp-idf!9413
2020-07-02 11:30:19 +08:00
Michael (XIAO Xufeng)
370a1fa6df
Merge branch 'bugfix/fix_ci_about_touch_sensor_denoise_ut' into 'master'
...
driver(touch): fix touch sensor denoise unit test case
Closes IDF-1834 and TIDF-13311
See merge request espressif/esp-idf!9150
2020-07-02 11:22:42 +08:00
lly
6ca4ea1a1f
ble_mesh: stack: Update some fast prov functions
2020-07-01 13:26:06 +00:00
lly
64e76ee019
ble_mesh: stack: Move fast prov functions to a single file
2020-07-01 13:26:06 +00:00
Jiang Jiang Jian
664bf79379
Merge branch 'feature/esp_tls_for_supplicant' into 'master'
...
wpa_supplicant: Support for mbedtls tls handshake
See merge request espressif/esp-idf!8318
2020-07-01 17:23:31 +08:00
fuzhibo
8d922847af
driver(adc): esp32s2 support API adc2_vref_to_gpio
2020-07-01 06:21:45 +00:00
Krzysztof Budzynski
6078fcebff
Merge branch 'bugfix/esp_timer_docs' into 'master'
...
docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332
Closes IDFGH-3575
See merge request espressif/esp-idf!9427
2020-07-01 13:30:13 +08:00
Island
a97a16202e
Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
...
bugfix: ble mesh proxy compile error
See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
Island
b91f05ba74
Merge branch 'bugfix/ble_mesh_set_recv_rssi' into 'master'
...
Bugfix/ble mesh set recv rssi
Closes IDFGH-3556 and BMCI-96
See merge request espressif/esp-idf!9381
2020-07-01 11:13:25 +08:00
Krzysztof
f925da9179
docs: correct function description following https://esp32.com/viewtopic.php?f=5&t=16332
2020-06-30 17:56:03 +02:00
xiehang
8b523efc6f
esp_wifi: Add API to get available internal heap size.
2020-06-30 21:51:00 +08:00
Nachiket Kukade
fc5d7239ea
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-06-30 18:35:46 +05:30
Jiang Jiang Jian
abef43bf09
Merge branch 'mesh/bugfix_coexist_warning' into 'master'
...
mesh: remove coexist warnings in ESP_WIFI_MESH
Closes WIFI-2458, IDFGH-3385, IDFGH-3211, and IDFGH-3481
See merge request espressif/esp-idf!9218
2020-06-30 19:34:36 +08:00
Michael (XIAO Xufeng)
a21d3441cc
Merge branch 'feature/twai_support_esp32s2' into 'master'
...
TWAI: Add ESP32-S2 support
Closes IDF-1455
See merge request espressif/esp-idf!8973
2020-06-30 19:19:47 +08:00
Michael (XIAO Xufeng)
279ee85305
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-06-30 17:34:13 +08:00
xueyunfei
a202bfe78e
fix bug for ipv6 fragment
2020-06-30 08:58:08 +00:00
Darian Leung
97721d469c
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
Angus Gratton
8912462d95
Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set' into 'master'
...
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
Closes IDFGH-3192 and IDFGH-3187
See merge request espressif/esp-idf!9105
2020-06-30 13:15:23 +08:00
Jiang Jiang Jian
f84ddd983d
Merge branch 'feature/bt_secure_conn_downgrade_check' into 'master'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
Closes BLE-60
See merge request espressif/esp-idf!8541
2020-06-30 11:24:55 +08:00
Jiang Jiang Jian
ce1f1ea000
Merge branch 'bugfix/fix_ping_specify_length_issue' into 'master'
...
bugfix: fix ICMP specify length issue
Closes WIFI-2497
See merge request espressif/esp-idf!9280
2020-06-29 21:12:12 +08:00
lly
6aef6c5f1c
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883
,
copy the recv_rssi for other mesh messages.
2020-06-29 20:07:42 +08:00
mbroek
2b80cb6883
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-29 19:54:23 +08:00
Ivan Grokhotkov
84833bf0df
Merge branch 'feature/light_sleep_reject' into 'master'
...
sleep: enable sleep reject when entering light sleep
Closes IDF-1678 and WIFI-1185
See merge request espressif/esp-idf!9242
2020-06-29 15:57:49 +08:00
liminyang
02f3d39858
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 11:57:36 +08:00
chenyudong
f67f9d5b4e
mesh: remove coexist warnings in ESP_WIFI_MESH
...
1. remove warning log when mesh is started:
Error! Should use default passive scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
2. remove abort when mesh is started:
Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
Closes: https://github.com/espressif/esp-idf/issues/5357
Closes: https://github.com/espressif/esp-idf/issues/5440
Closes: https://github.com/espressif/esp-idf/issues/5210
2020-06-29 11:28:16 +08:00
lly
c8112454c3
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-06-28 23:09:47 +00:00
Ivan Grokhotkov
45fff86e05
Merge branch 'feature/usb_console_ig' into 'master'
...
add USB CDC as a console option
Closes IDF-1620
See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
ronghulin
9230e0d26d
bugfix: fix ICMP specify length issue
2020-06-28 10:46:43 +08:00
Ivan Grokhotkov
f07a7805a6
esptool: update for CDC stub support
2020-06-26 15:38:49 +02:00