David Cermak
06cc4e888d
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:21:28 +01:00
Xia Xiaotian
0a2371972a
Fix WiFi beacon timeout and station fails to connect to AP sometimes
...
when WiFi and Bluetooth run togerther.
2020-01-08 16:48:16 +08:00
Angus Gratton
e3d65c8e3e
Merge branch 'bugfix/ws_user_context_v4.0' into 'release/v4.0'
...
websocket: added missing event data (backport v4.0)
See merge request espressif/esp-idf!7195
2020-01-07 14:34:08 +08:00
Angus Gratton
6da2676a3c
secure boot: Fix bootloader build system target for bootloader digest
...
Closes https://github.com/espressif/esp-idf/issues/4513
2020-01-07 09:38:01 +11:00
baohongde
3ae110b30c
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:31:54 +08:00
Jack
2ea0062fe8
Fix wifi stop bug when sniffer enable
2020-01-04 15:25:09 +08:00
Angus Gratton
16e102199a
Merge branch 'bugfix/backport_nvs_iterator_fix' into 'release/v4.0'
...
NVS: iterator corrupting entries (backport v4.0)
See merge request espressif/esp-idf!7071
2020-01-03 13:07:20 +08:00
Marius Vikhammer
2215aeaad8
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
2020-01-03 10:01:10 +08:00
Wang Jia Lin
51a1421f65
Merge branch 'bugfix/i2s_timergroup_dev_array_used_by_isr_issue' into 'release/v4.0'
...
bugfix(driver): fix i2s and timergroup some issues
See merge request espressif/esp-idf!7141
2020-01-02 21:20:21 +08:00
Jiang Jiang Jian
0cefe6df78
Merge branch 'bugfix/fix_a_wifi_rx_bug_v4.0' into 'release/v4.0'
...
esp_wifi: fix a WiFi receiving bug (backport v4.0)
See merge request espressif/esp-idf!7002
2020-01-02 16:30:04 +08:00
Angus Gratton
20e75ef87d
Merge branch 'feat/spi_internal_header_v4.0' into 'release/v4.0'
...
spi: move deprecated functions into internal header (backport v4.0)
See merge request espressif/esp-idf!7103
2020-01-02 02:16:18 +08:00
xiongyu
96a5e34d7a
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 11:02:35 +08:00
Jakob Hasse
daa2178f30
WIFI: added log for wifi test, increased timeout
2019-12-31 08:33:11 +08:00
Jakob Hasse
92b10b4ba3
NVS: bugfix nvs_set_str/blob checks write mode
2019-12-31 08:33:11 +08:00
Jakob Hasse
69b0919904
NVS: BUGFIX non-matching type iterator works
...
Closes IDFGH-2229
2019-12-31 08:33:11 +08:00
Piyush Shah
84029130cf
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-12-30 17:34:05 +05:30
baohongde
d93bff2699
components/bt: Revert changes of security mask
2019-12-29 06:29:23 +00:00
liu zhifu
0631d185bd
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-26 19:41:04 +08:00
Michael (XIAO Xufeng)
6f6677ac42
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-12-24 17:43:32 +08:00
Shubham Kulkarni
0e623d4dbf
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 14:52:54 +05:30
Jiang Jiang Jian
d41c020649
Merge branch 'bugfix/fix_ble_mesh_adv_buf_unref_v4.0' into 'release/v4.0'
...
ble_mesh: Fix adv buf unref and link_id in exceptional list (v4.0)
See merge request espressif/esp-idf!7080
2019-12-22 16:02:24 +08:00
lly
53e6eb8467
ble_mesh: Fix using wrong name for PB-GATT
2019-12-20 17:13:20 +08:00
lly
ebaa3e1c3e
ble_mesh: Fix adv buf unref and link_id in exceptional list
2019-12-20 17:13:15 +08:00
lly
23770edb43
ble_mesh: Add unlock when failed to create alarm
2019-12-20 15:34:10 +08:00
lly
6ea738eeb0
ble_mesh: Rename ble mesh lock/unlock functions
...
Rename BLE Mesh internal lock/unlock functions, also seperate
the list, buf and atomic lock/unlock functions
2019-12-20 15:34:06 +08:00
lly
3e6d04fc86
ble_mesh: Use mutex to protect client list operations
2019-12-20 15:34:01 +08:00
lly
9dc45e788d
ble_mesh: Remove useless parameters of lock/unlock
2019-12-20 15:33:56 +08:00
lly
bf712e4f91
ble_mesh: Client model check timer remaining time
...
Before handling status message, client models need check if the
corresponding timer has expired. And if timeout happens, the
status message will be treated as a publish message.
2019-12-20 15:33:50 +08:00
Geng Yu Chao
f955c49423
Bugfix/btdm fix doc and host bug backport v4.0
2019-12-18 14:19:27 +08:00
Angus Gratton
1b15e6cf56
Merge branch 'bugfix/nvs_flash_missing_tests' into 'release/v4.0'
...
nvs: Added nvs tests, minor corrections (backport v4.0)
See merge request espressif/esp-idf!6987
2019-12-18 11:38:08 +08:00
Angus Gratton
1ad1e70077
Merge branch 'feature/can_support_low_bit_rates_backport_v4.0' into 'release/v4.0'
...
can: Add support for lower bit rates (backport v4.0)
See merge request espressif/esp-idf!6392
2019-12-18 07:46:06 +08:00
Jiang Jiang Jian
20e6d46d44
Merge branch 'bugfix/esp_timer_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v4.0)
See merge request espressif/esp-idf!6988
2019-12-16 19:37:59 +08:00
Jiang Jiang Jian
626c58fc67
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v4.0' into 'release/v4.0'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6880
2019-12-16 16:13:32 +08:00
Darian Leung
03d5742e11
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-12-16 07:45:38 +00:00
Jiang Jiang Jian
3c081abb32
Merge branch 'feature/hwcrypto_perf_ut_v4.0' into 'release/v4.0'
...
mbedtls: enable HW SHA by default, add SHA performance test (backport v4.0)
See merge request espressif/esp-idf!6668
2019-12-16 14:24:25 +08:00
Ivan Grokhotkov
bf0863a50a
mbedtls: Enable SHA hardware acceleration by default
2019-12-15 20:46:20 +00:00
Ivan Grokhotkov
20d435c561
mbedtls: add SHA performance test
...
Results with this revision:
SHA256 rate 2.599MB/sec Debug 240MHz SW
SHA256 rate 1.147MB/sec Release 80MHz SW
SHA256 rate 3.469MB/sec Release 240MHz SW
SHA256 rate 2.687MB/sec Release 240MHz SW + PSRAM workaround
SHA256 rate 9.433MB/sec Debug 240MHz HW rev1
SHA256 rate 3.727MB/sec Release 80MHz HW rev1
SHA256 rate 10.961MB/sec Release 240MHz HW rev1
SHA256 rate 9.966MB/sec Release 240MHz HW rev1 + PRAM workaround
SHA256 rate 10.974MB/sec Debug 240MHz HW rev3
SHA256 rate 4.362MB/sec Release 80MHz HW rev3
SHA256 rate 13.207MB/sec Release 240MHz HW rev3
Debug = Og, assertions enabled
Release = O2, assertions disabled
2019-12-15 20:46:20 +00:00
baohongde
a82215d161
components/bt: Fix AVRC metadata length error
2019-12-14 05:48:26 +00:00
KonstantinKondrashov
dcbcb5fe58
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:46:27 +08:00
Ivan Grokhotkov
23e6b47a28
esp-tls: check return value of fcntl
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
85656ca77d
newlib: define fcntl as strong symbol
...
Closes https://github.com/espressif/esp-idf/issues/3694
Closes https://github.com/espressif/esp-idf/issues/4407
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
6f0f5d79f9
newlib: add definitions of system, raise
...
Closes IDF-1220
Closes IDFGH-1811
Closes https://github.com/espressif/esp-idf/pull/4020
2019-12-13 14:12:36 +00:00
Jakob Hasse
314a0443ad
nvs: Added nvs tests, minor corrections
...
* closes IDF-1135:
same namespace was used in different tests which
could lead to conflicts when re-running tests
* removes duplicated functions declarations
* correct argument order for test case macros
2019-12-13 17:06:27 +08:00
Angus Gratton
3ba9eae86c
Merge branch 'feature/ci_optimize_artifact_download_v4.0' into 'release/v4.0'
...
CI: optimize example build and artifact download (backport v4.0)
See merge request espressif/esp-idf!6940
2019-12-13 11:36:04 +08:00
Angus Gratton
30ac846112
Merge branch 'bugfix/cmake_secure_boot_v4.0' into 'release/v4.0'
...
secure boot: CMake bug fixes (v4.0)
See merge request espressif/esp-idf!6630
2019-12-12 06:30:37 +08:00
KonstantinKondrashov
8e54ee3f16
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-11 19:28:20 +08:00
chenyudong
ee6ba0eb47
mesh: fix mesh stop recv crash
2019-12-11 05:54:39 +00:00
Angus Gratton
510ec904c9
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-12-11 15:57:49 +11:00
Anton Maklakov
f8e1ee35e2
soc: fix unit tests not included in the build
...
Regression from 9eccd7c082
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
bfbc10e2d8
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
2019-12-11 15:57:49 +11:00
xueyunfei
2b5a8fe5ea
optimize tcp random close for v4.0
2019-12-10 11:53:22 +08:00
Jiang Jiang Jian
c0597aaf69
Merge branch 'bugfix/phy_critical_v4.0' into 'release/v4.0'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6941
2019-12-09 14:17:54 +08:00
Jiang Jiang Jian
87c30adfed
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
See merge request espressif/esp-idf!6939
2019-12-09 13:43:46 +08:00
Angus Gratton
3636bf5813
Merge branch 'bugfix/update_libexpat_v4.0' into 'release/v4.0'
...
expat: Update library from 2.2.5 to 2.2.9 (v4.0)
See merge request espressif/esp-idf!6921
2019-12-09 13:21:28 +08:00
Tian Hao
ea2959af36
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing
critical sections, such like operating on I2C, but it may not effect
when both the CPU core call it. It may cause accessing I2C blocking
and cannot recover by esp_restart(), until do HW reboot.
2019-12-09 12:45:52 +08:00
Jiang Jiang Jian
585654388f
Merge branch 'bugfix/improve_lwip_performance_v4.0' into 'release/v4.0'
...
LW-IP: fix bug for performance lose when update lw-ip to 2.1.2
See merge request espressif/esp-idf!6938
2019-12-09 12:42:04 +08:00
Jack
939d5a0f6a
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-09 12:17:16 +08:00
Angus Gratton
4d3c650b49
Merge branch 'bugfix/macos_link_toomany_open_files_v4.0' into 'release/v4.0'
...
build system: explicitly disable LTO plugin to reduce the number of simultaneously open files (backport v4.0)
See merge request espressif/esp-idf!6867
2019-12-09 06:19:30 +08:00
Jiang Jiang Jian
2318e6828d
Merge branch 'Bugfix/add_netif_assert' into 'release/v4.0'
...
fix bug for netif add crash
See merge request espressif/esp-idf!6895
2019-12-07 17:33:39 +08:00
xueyunfei
262acbc0a8
fix bug for improve performance
2019-12-07 16:16:57 +08:00
Chinmay Chhajed
2887131b39
Changes in menuconfig
options to not compile any host when using hci
...
examples as no host is required there.
2019-12-06 12:09:16 +08:00
xueyunfei
104299353d
fix bug for netif add crash
2019-12-06 10:54:12 +08:00
xueyunfei
e4312f8ab5
fix bug for random tcp close for 4.0
2019-12-05 18:41:42 +08:00
David Cermak
5e67f9578d
lwip: Adapted lwip port layer to use 2.1.2-esp in 4.0
2019-12-05 16:24:04 +08:00
Roland Dobai
46a172178a
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:17:39 +01:00
Angus Gratton
e6006a6bdf
Merge branch 'bugfix/remove_mbedtls_would_block_v40' into 'release/v4.0'
...
Remove check for would_block in mbedtls (Backport v4.0)
See merge request espressif/esp-idf!6913
2019-12-05 07:37:15 +08:00
Jiang Jiang Jian
a5b803540a
Merge branch 'bugfix/btdm_allow_start_adv_again_v4.0' into 'release/v4.0'
...
component/bt: allow to send stop adv again and fix tx prog crash(backport v4.0)
See merge request espressif/esp-idf!6653
2019-12-04 20:24:07 +08:00
Kedar Sovani
673ccaa1e5
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-12-04 17:28:15 +05:30
morris
0508ad525a
ethernet: add pm lock
2019-12-03 17:37:45 +08:00
morris
97defec6cd
ethernet:a bunch of bugfix from master
2019-12-03 17:37:35 +08:00
morris
96e6049dab
ethernet:add start stop control
2019-12-03 17:36:48 +08:00
morris
37154d4c08
ethernet:add reference counter
2019-12-03 15:53:39 +08:00
suda-morris
42a462d584
ethernet: add gpio number into config structure
2019-12-03 15:53:39 +08:00
Prasad Alatkar
69c86bc37e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
2019-12-01 17:53:49 +08:00
Ivan Grokhotkov
14f1a30e38
build system: move -fno-rtti link option next to the compile option
...
Previous commit has added `link_options` to the root CMakeLists.txt,
can use it to collect such global link options now.
2019-11-28 11:02:30 +01:00
Jiang Jiang Jian
139913baa2
Merge branch 'bugfix/config_assert_thread_safety_backport_v4.0' into 'release/v4.0'
...
freertos: Fix configASSERT thread safety (backport v4.0)
See merge request espressif/esp-idf!6662
2019-11-28 11:51:13 +08:00
zhiweijian
8d189d9fb4
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 20:15:08 +08:00
weitianhua
e7a6fdca54
component/bt: Fix bugs in HFP feature
2019-11-27 16:48:26 +08:00
Jiang Jiang Jian
48dfbe05a4
Merge branch 'fixed_queue_v4.0' into 'release/v4.0'
...
component_bt/: Fix_pointer_type_fixed_queue v4.0
See merge request espressif/esp-idf!6846
2019-11-27 16:39:51 +08:00
weitianhua
5d00321d07
fix_pointer_type_fixed_queue
2019-11-27 15:06:15 +08:00
Jiang Jiang Jian
2e8ad19e35
Merge branch 'bugfix/ble_mesh_device_with_wrong_name_on_ios_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh device with wrong name on iOS (v4.0)
See merge request espressif/esp-idf!6521
2019-11-27 10:31:01 +08:00
Angus Gratton
7725ce4999
Merge branch 'fix/esp_flash_no_qe_4.0' into 'release/v4.0'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips (backport v4.0)
See merge request espressif/esp-idf!6423
2019-11-26 11:34:14 +08:00
Jiang Jiang Jian
e3f0854771
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v4.0' into 'release/v4.0'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v4.0)
See merge request espressif/esp-idf!6769
2019-11-22 17:38:06 +08:00
Michael (XIAO Xufeng)
b5d04a21fb
esp_flash: fix the quad issue for some GD flash chips
...
The GD flash with product ID 40H, is already used in Wrover-nosufix modules.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
337b1df430
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
41e64bd79c
esp_flash: rename internal variables for better readability
...
chip_drv in HAL are renamed as host
2019-11-21 12:26:14 +08:00
Michael (XIAO Xufeng)
2b7681ec4f
esp_flash: fix set qe bit and write command issues
...
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.
The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.
This commit:
1. Cancel the dummy phase
2. Set and clear the QE bit according to chip settings, allowing tests
for QE bits. However for some chips (Winbond for example), it's not
forced to clear the QE bit if not able to.
3. Also refactor to allow chip_generic and other chips to share the same
code to read and write qe bit; let common command and read command share
configure_host_io_mode.
4. Rename read mode to io mode since maybe we will write data with quad
mode one day.
2019-11-21 12:26:14 +08:00
Jiang Jiang Jian
a8f956e590
Merge branch 'bugfix/warning_fix_latest_freertos_v4.0' into 'release/v4.0'
...
Fixed warnings for components driver, esp32 and mbedtls (v4.0)
See merge request espressif/esp-idf!6759
2019-11-20 12:20:02 +08:00
Jiang Jiang Jian
3b879ce8c3
Merge branch 'bugfix/put_more_rx_code_to_iram_v4.0' into 'release/v4.0'
...
Put some rx code to iram (backport v4.0)
See merge request espressif/esp-idf!6492
2019-11-20 11:19:20 +08:00
Jack
5102308b2b
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-19 22:51:28 +08:00
Shubham Kulkarni
f95a723412
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:02:02 +05:30
Jiang Jiang Jian
88cbc26f4d
Merge branch 'bugfix/btdm_run_out_of_frame_element_v4.0' into 'release/v4.0'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6700
2019-11-19 17:01:32 +08:00
Mahavir Jain
1b53af2e88
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-11-19 04:42:27 +00:00
Darian Leung
376107b2ae
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-11-19 04:42:27 +00:00
Jiang Jiang Jian
c9294aff6f
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v4.0' into 'release/v4.0'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6725
2019-11-19 12:15:36 +08:00
Angus Gratton
99fb9a3f7c
Merge branch 'bugfix/miscellaneous_cmake_fixes' into 'release/v4.0'
...
CMake bugfixes
See merge request espressif/esp-idf!6654
2019-11-19 06:52:07 +08:00
xiehang
e5773cc2fe
esp_wifi: Put some rx code to iram and update phy4180
2019-11-18 02:54:46 +00:00
He Yin Ling
4e6c575fed
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v4.0' into 'release/v4.0'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v4.0)
See merge request espressif/esp-idf!6603
2019-11-18 10:44:20 +08:00
baohongde
8353ecdf36
components/bt: Disable some unsupported security mask
2019-11-17 13:45:32 +08:00
Mahavir Jain
ebc2e7bce0
Merge branch 'fix/NimBLE_protocomm_mngr' into 'release/v4.0'
...
NimBLE: Fix bug in `protocomm_nimble` chararcteristic access callback (release/v4.0)
See merge request espressif/esp-idf!6703
2019-11-15 19:11:19 +08:00
Prasad Alatkar
c595b2fa8c
NimBLE: Fix bug in protocomm_nimble
chararcteristic access callback (release/v4.0)
...
Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.
2019-11-14 15:24:47 +05:30
lly
eb95bc68c4
ble_mesh: fix ble mesh device with wrong name on iOS
2019-11-14 16:56:34 +08:00
baohongde
f9f49107ca
components/bt: Fix assert due to no free element form
2019-11-14 15:20:54 +08:00
KonstantinKondrashov
fae116bb2e
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-14 12:26:43 +08:00
lly
f22d46515b
ble_mesh: miscellaneous modifications
...
1. Clean up client_common.c
2. Clean up esp_ble_mesh directory
3. Update Kconfig.in
4. Format esp_ble_mesh files
2019-11-14 11:59:21 +08:00
lly
27cb3d7f72
ble_mesh: adapt ble mesh with nimble host
2019-11-14 10:42:30 +08:00
lly
a302d210b9
ble_mesh: add events for configuration server model
2019-11-14 10:39:55 +08:00
lly
a32c72a1b2
ble_mesh: add Generic/Sensor/Time and Scenes/Lighting Server models
2019-11-14 10:39:49 +08:00
lly
f1850b54f3
ble_mesh: add proxy client functionality
2019-11-14 10:39:40 +08:00
lly
c85abf87b5
ble_mesh: add ble mesh friend node event
2019-11-14 10:39:17 +08:00
lly
9029ccd21b
ble_mesh: add low power node api and event
2019-11-14 10:39:13 +08:00
lly
eaeb36375a
ble_mesh: add heartbeat message recv callback
2019-11-14 10:39:08 +08:00
lly
805bc06127
ble_mesh: modify health server model callbacks
2019-11-14 10:39:04 +08:00
lly
4702cd1b51
ble_mesh: add separate advertising buffers for relay packets
2019-11-14 10:38:59 +08:00
Jiang Jiang Jian
720528ef11
Merge branch 'feature/nimble_host_esp_ble_mesh_v4.0' into 'release/v4.0'
...
components/bt: Add support of NimBLE host in ESP BLE Mesh (backport v4.0)
See merge request espressif/esp-idf!6619
2019-11-13 21:32:23 +08:00
Jiang Jiang Jian
6c7f72cc1b
Merge branch 'bugfix/http_client_buffer_overflow_v4.0' into 'release/v4.0'
...
Fix HTTP client buffer overflow (v4.0)
See merge request espressif/esp-idf!6666
2019-11-13 16:24:51 +08:00
Jiang Jiang Jian
7061c8aec2
Merge branch 'bugfix/mdns_invalid_hostname_queries_v4.0' into 'release/v4.0'
...
mdns: fix crash for hostname queries (backport v4.0)
See merge request espressif/esp-idf!6504
2019-11-13 16:19:19 +08:00
David Cermak
3ba8ae7a62
http_client: added comments to http header generation function
2019-11-12 09:59:50 +01:00
David Cermak
2c27c55679
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-12 09:59:50 +01:00
Jiang Jiang Jian
077b727608
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v4.0' into 'release/v4.0'
...
esp_wifi: fix some WiFi bugs 1009 (backport v4.0)
See merge request espressif/esp-idf!6299
2019-11-12 11:27:40 +08:00
Angus Gratton
79f36e85d5
Merge branch 'fix/ci_ut_psram_wroverb_v4.0' into 'release/v4.0'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v4.0)
See merge request espressif/esp-idf!6592
2019-11-11 18:38:53 +08:00
Renz Christian Bagaporo
d49077c13b
spiffs: fix build issue on clean project
...
From issue:
I did some poking around in components/spiffs/project_include.cmake and
it looks like what is failing is it isn't getting an offset from
parttool.py. I think what the problem is that the parttool.py cannot
determine the offset of the storage partition as I can't run menuconfig
to set the custom partitions.
I have tested that this problem is solvable by manually setting the
custom partitions in sdkconfig and that is a workaround but there should
be at least a better error message in the configuration when it cannot
find the partition as this would also happen if the partition name was
misspelled.
Closes https://github.com/espressif/esp-idf/issues/4236
2019-11-11 18:11:12 +08:00
Renz Christian Bagaporo
bc3134594d
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-11-11 18:02:32 +08:00
Renz Christian Bagaporo
8300945189
cxx: force pthread to appear later in link line
2019-11-11 18:01:45 +08:00
Ivan Grokhotkov
088ac409d7
Merge branch 'bugfix/partition_cmake_md5_v4.0' into 'release/v4.0'
...
cmake: fix partition_table cmake when using md5 checksum (v4.0)
See merge request espressif/esp-idf!6640
2019-11-09 21:17:08 +08:00
Jiang Jiang Jian
14ce4cde2e
Merge branch 'bugfix/wifi_internal_memory_v4.0' into 'release/v4.0'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v4.0)
See merge request espressif/esp-idf!6627
2019-11-09 13:47:33 +08:00
Wu Jian Gang
83cd515817
cmake: fix partition_table cmake when using md5 checksum
2019-11-08 18:52:18 +08:00
Angus Gratton
d48d9a1c88
Merge branch 'bugfix/i2s-bootloader-random-disable_v4.0' into 'release/v4.0'
...
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
See merge request espressif/esp-idf!6602
2019-11-08 17:12:02 +08:00
Michael (XIAO Xufeng)
f54cab62a2
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-08 08:25:35 +00:00
Angus Gratton
c64d4236fb
secure boot: In Reflashable mode, make sure the bootloader digest updates
...
... whenever the bootloader.bin is updated
2019-11-08 11:39:01 +08:00
Angus Gratton
90568fbf00
secure boot: Fix bug where verification key was not embedded in app
2019-11-08 11:39:01 +08:00
Angus Gratton
475a746e46
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:37:46 +08:00
Angus Gratton
947fc14a3f
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:37:46 +08:00
Hrishikesh Dhayagude
9cc272978c
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-11-06 18:27:14 +05:30
Hrishikesh Dhayagude
5cb6a49c1e
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-11-06 18:26:30 +05:30
Hrishikesh Dhayagude
56d1e4411e
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-11-06 18:24:56 +05:30
Marius Vikhammer
5e042803a2
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-11-05 11:31:18 +00:00
Chen Zheng Wei
74d06101b1
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 17:18:13 +08:00
David Cermak
1a8e5a40d6
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
2019-11-02 14:12:11 +01:00
David Cermak
b529c6f282
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
2019-11-02 14:12:11 +01:00
David Cermak
7a05879024
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
2019-11-02 14:12:11 +01:00
David Cermak
1611386431
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING
...
Closes https://github.com/espressif/esp-idf/issues/3890
Closes https://github.com/espressif/esp-idf/issues/4138
2019-11-02 14:12:11 +01:00
Jiang Jiang Jian
6181686489
Merge branch 'bugfix/ws_client_fix_event_blocking_v4.0' into 'release/v4.0'
...
ws_client: fixed posting to event loop with websocket timeout (v4.0)
See merge request espressif/esp-idf!6450
2019-11-02 17:29:26 +08:00
Jiang Jiang Jian
0562281353
Merge branch 'bugfix/ws_buffer_overflow_fix_v4.0' into 'release/v4.0'
...
tcp_transport: fix possible buffer overflow in ws transport connect (v4.0)
See merge request espressif/esp-idf!6447
2019-11-02 17:28:12 +08:00
Jiang Jiang Jian
8bc1f6e2f5
Merge branch 'bugfix/ws_opcodes_fix_v4.0' into 'release/v4.0'
...
ws_client: fix for not sending ping responses, updated to pass events also for... (v4.0)
See merge request espressif/esp-idf!6451
2019-11-02 17:24:40 +08:00
Jiang Jiang Jian
dd99a6dbe8
Merge branch 'bugfix/ws_client_fixed_path_query_uri_v4.0' into 'release/v4.0'
...
websocket_client: fix URI parsing to include also query part in websocket connection path (v4.0)
See merge request espressif/esp-idf!6452
2019-11-02 17:19:44 +08:00
Jiang Jiang Jian
5a686d7ad1
Merge branch 'bugfix/mdns_answer_ip6_size_v4.0' into 'release/v4.0'
...
mdns: use constant size of AAAA answer instead of lw_IP struct size (v4.0)
See merge request espressif/esp-idf!6453
2019-11-02 17:17:45 +08:00
Jiang Jiang Jian
0ca0e7d3cc
Merge branch 'bugfix/mdns_BCT_fix_v4.0' into 'release/v4.0'
...
mdns: fixes to have the BCT passing with latest IDF/lw-IP (v4.0)
See merge request espressif/esp-idf!6454
2019-11-02 17:17:38 +08:00
Jiang Jiang Jian
f06ef95610
Merge branch 'bugfix/bugs_in_a2dp_task_v4.0' into 'release/v4.0'
...
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
See merge request espressif/esp-idf!6532
2019-11-02 17:17:07 +08:00
liu zhifu
0078896347
esp_wifi: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix 5.5M signal test bug
2019-11-01 22:16:30 +08:00
David Cermak
44599d3a84
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-11-01 14:14:15 +00:00
David Cermak
0fa7dcb946
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
2019-11-01 14:07:15 +00:00
David Cermak
d3a8dcb929
tcp_transport: fix possible buffer overflow in ws transport connect
...
closes IDF-692
2019-11-01 14:05:04 +00:00
David Cermak
4e8c1b91c0
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
2019-11-01 14:02:58 +00:00
Jiang Jiang Jian
4ed0d006b4
Merge branch 'bugfix/fix_wifi_deinit_memory_leak_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi deinit memory leak (backport v4.0)
See merge request espressif/esp-idf!6539
2019-11-01 21:39:56 +08:00
baohongde
e85804824e
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
2019-11-01 20:12:24 +08:00
Jiang Jiang Jian
304f6a577a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v4.0' into 'release/v4.0'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6534
2019-11-01 18:20:07 +08:00
David Cermak
29690afc57
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
2019-11-01 09:50:42 +00:00
David Cermak
98450e80e5
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
2019-11-01 07:51:49 +00:00
Jiang Jiang Jian
1007473a3b
Merge branch 'bugfix/btdm_check_avrc_connected_error_4.0' into 'release/v4.0'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6440
2019-11-01 14:14:13 +08:00
Jiang Jiang Jian
e875f59ed5
Merge branch 'feature/esp-ble-mesh-documentation-v4.0' into 'release/v4.0'
...
Provide BLE Mesh documentation (v4.0)
See merge request espressif/esp-idf!6560
2019-11-01 14:02:26 +08:00
Darian Leung
666f87109f
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:14:39 +08:00
Jiang Jiang Jian
154f315a49
Merge branch 'Bugfix/close_nonblocking_tcp_crash_for_4.0' into 'release/v4.0'
...
Bugfix/close nonblocking tcp crash for 4.0
See merge request espressif/esp-idf!6517
2019-11-01 11:24:13 +08:00
Krzysztof Budzynski
f9fa039826
Provide BLE Mesh documentation
2019-10-31 17:08:26 +08:00
Anton Maklakov
fae64f79bb
C++: prepare RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
Also, for full RTTI support, libstdc++.a in the toolchain should be built
in both with RTTI and w/o RTTI options. Multilib with -fno-rtti
flag is used for that.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-31 13:27:39 +07:00
Anton Maklakov
4f297ed3fa
Revert "C++: add provisions for optional RTTI support"
...
This reverts commit 3d0466ccd1
.
2019-10-31 13:26:53 +07:00
Jiang Jiang Jian
8eaa440221
Merge branch 'bugfix/jump_time_54_sec_v4.0' into 'release/v4.0'
...
esp_timer: Fix time jumps back ~ 54sec (v4.0)
See merge request espressif/esp-idf!6456
2019-10-31 12:31:39 +08:00
Jiang Jiang Jian
56d5548747
Merge branch 'bugfix/btdm_backports_v4.0_1028' into 'release/v4.0'
...
bt: backport btdm controller fixes to v4.0
See merge request espressif/esp-idf!6514
2019-10-30 15:39:11 +08:00
xueyunfei
665a341147
fix bug for close nonblocking tcp crash
2019-10-30 10:44:36 +08:00
baohongde
cab589af9d
components/bt: Fix error in checking AVRC connected
2019-10-30 02:34:33 +00:00
liu zhifu
19e355e080
esp_wifi: fix WiFi deinit memory leak
2019-10-29 22:32:17 +08:00
baohongde
1cf2da8d67
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 19:58:52 +08:00
Jiang Jiang Jian
744625f234
Merge branch 'bugfix/btdm_disable_bt_gatt_v4.0' into 'release/v4.0'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6503
2019-10-29 18:15:54 +08:00
Jiang Jiang Jian
3a1d0e9352
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v4.0' into 'release/v4.0'
...
fix bug that semaphore may schedule out in ISR locking
See merge request espressif/esp-idf!6426
2019-10-28 18:45:17 +08:00
baohongde
8afd0de501
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-28 15:10:23 +08:00
baohongde
1f7a66a22e
components/bt: Fix LMP sniff req timeout
2019-10-28 15:09:49 +08:00
baohongde
bcc19b7826
components/bt: Disable BR/EDR GATT
2019-10-28 11:21:09 +08:00
Jiang Jiang Jian
0a03a55c1e
Merge branch 'bugfix/fix_mesh_proxy_adv_with_wrong_dev_name_v4.0' into 'release/v4.0'
...
ble_mesh: using bt device name in mesh proxy adv (v4.0)
See merge request espressif/esp-idf!6439
2019-10-26 20:59:28 +08:00
Darian Leung
859ddcdb63
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-26 16:45:10 +08:00
Tian Hao
c599d7aa49
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-25 12:01:06 +08:00
Jiang Jiang Jian
834893d8e4
Merge branch 'feature/esptool_v2.8_v4.0' into 'release/v4.0'
...
esptool: Bump to v2.8 release (v4.0)
See merge request espressif/esp-idf!6460
2019-10-25 11:38:09 +08:00
Angus Gratton
996db972f0
esptool: Bump to v2.8 release
2019-10-23 09:04:43 +11:00
KonstantinKondrashov
f1e8a49836
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-22 23:43:28 +08:00
KonstantinKondrashov
09cc922b42
esp32: Add UTs to check the System time does not jump back
2019-10-22 23:43:28 +08:00
lly
34c33f7440
ble_mesh: using bt device name in mesh proxy adv
2019-10-22 15:48:00 +08:00
Roland Dobai
5464aaac45
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-21 14:54:48 +02:00
Jiang Jiang Jian
054e2dbb44
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val_v4.0' into 'release/v4.0'
...
ble_mesh: fix not restoring ble mesh cfg value (v4.0)
See merge request espressif/esp-idf!6276
2019-10-21 20:16:50 +08:00
Jiang Jiang Jian
59a186b27e
Merge branch 'bugfix/mqtt_example_url_update_v4.0' into 'release/v4.0'
...
MQTT: update default broker URL for examples (backport v4.0)
See merge request espressif/esp-idf!6410
2019-10-21 10:52:44 +08:00
Jiang Jiang Jian
de27a71a56
Merge branch 'bugfix/freertos_xTaskNotifyGive_v4.0' into 'release/v4.0'
...
freertos: remove semicolon in xTaskNotifyGive (v4.0)
See merge request espressif/esp-idf!6269
2019-10-21 10:35:56 +08:00
Jiang Jiang Jian
ed8ddf7e76
Merge branch 'bugfix/mqtt_reference_latest_version_4.0' into 'release/v4.0'
...
mqtt: updated to latest version to include latest fixes, support for global CA (backport 4.0)
See merge request espressif/esp-idf!6386
2019-10-21 10:34:56 +08:00
Jiang Jiang Jian
3860753818
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v4.0' into 'release/v4.0'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v4.0)
See merge request espressif/esp-idf!6393
2019-10-21 10:33:50 +08:00
Jiang Jiang Jian
2056b891d3
Merge branch 'bugfix/ext_flash_load_partitions_v4.0' into 'release/v4.0'
...
spi_flash: ensure partition table loaded when esp_partition_register_external is called (backport v4.0)
See merge request espressif/esp-idf!6402
2019-10-21 10:33:01 +08:00
Jiang Jiang Jian
c6a6740e3f
Merge branch 'feature/cxx_rtti_preparation_v2_v4.0' into 'release/v4.0'
...
C++: add provisions for optional RTTI support (backport v4.0)
See merge request espressif/esp-idf!6403
2019-10-21 10:31:52 +08:00
Jiang Jiang Jian
dd1615d57c
Merge branch 'bugfix/can_driver_assertions_v4.0' into 'release/v4.0'
...
drivers/can: fix skipped function calls when assertions disabled (backport v4.0)
See merge request espressif/esp-idf!6405
2019-10-21 10:27:16 +08:00
Ajita Chavan
32b8b60dc5
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:00:00 +08:00
Marius Vikhammer
4283b59dde
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-18 17:32:33 +08:00
Ivan Grokhotkov
be894757ff
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:26:05 +02:00
Ivan Grokhotkov
3d0466ccd1
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-18 11:22:39 +02:00
Ivan Grokhotkov
0fc30f4379
spi_flash: load partition table before adding an external partition
...
esp_partition_register_external did not call load_partitions, so if
it was called before any call to esp_partition_find, then the main
partition table would never be loaded. Introduce new function,
ensure_partitions_loaded, and call it both from esp_partition_find and
esp_partition_register_external.
Closes https://github.com/espressif/esp-idf/issues/4116
2019-10-18 11:14:32 +02:00
Roland Dobai
de9b0b1c56
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:27:37 +02:00
Prasad Alatkar
6a60c4a046
NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport 4.0)
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
- Update NimBLE submodule: Fix for #4028 , #4012
2019-10-18 13:18:09 +08:00
David Cermak
f96c02adac
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
backport of 640eac84fa
2019-10-17 16:45:29 +02:00
suda-morris
9351ae7dc9
freertos: remove semicolon in xTaskNotifyGive
2019-10-17 08:06:57 +00:00
Angus Gratton
2cde888a6d
Merge branch 'feature/enable_ethernet_unit_test_4.0' into 'release/v4.0'
...
ethernet: enable unit test (v4.0)
See merge request espressif/esp-idf!6220
2019-10-17 12:54:53 +08:00
Angus Gratton
c94434917d
Merge branch 'bugfix/ut_adjtime_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6348
2019-10-17 12:51:35 +08:00
Jiang Jiang Jian
1cc6d2ef62
Merge branch 'docs/update_bootloader_chip_revision_print_v4.0' into 'release/v4.0'
...
bootloader_support: fix logging prints around chip revision (v4.0)
See merge request espressif/esp-idf!6336
2019-10-14 22:14:25 +08:00
Jiang Jiang Jian
090dd78355
Merge branch 'bugfix/multi_heap_printf_backport_v4.0' into 'release/v4.0'
...
heap: Fix printf usage in heap poisoning (backport v4.0)
See merge request espressif/esp-idf!6092
2019-10-14 21:28:36 +08:00
KonstantinKondrashov
706df7ab12
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:04 +08:00
Mahavir Jain
a87e699104
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:16 +05:30
ganeshlandge
7566bfb548
fixes : set_url discards username and password
2019-10-12 10:50:11 +05:30
Angus Gratton
57335cfc26
Merge branch 'feature/add_chip_revision_to_image_header_4.0' into 'release/v4.0'
...
Add chip revision into image header(v4.0)
See merge request espressif/esp-idf!6127
2019-10-11 13:22:12 +08:00
Darian Leung
a389312750
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-11 03:10:56 +00:00
lly
7d267a340f
ble_mesh: fix not callback net_key when device is provisioned
2019-10-11 10:05:12 +08:00
Roland Dobai
c875e5698a
Cosmetic Kconfig fixes
2019-10-10 09:11:01 +02:00
Angus Gratton
4cafa3e76e
Merge branch 'feature/add_psram_workaround_option_4.0' into 'release/v4.0'
...
make psram workaround depend on chip revison(v4.0)
See merge request espressif/esp-idf!6115
2019-10-10 11:00:29 +08:00
suda-morris
1e5ea2827c
ethernet: fix crash in unit test
2019-10-10 10:43:42 +08:00
suda-morris
cf5331b9f1
ethernet: enable unit test
2019-10-10 10:42:48 +08:00
Ivan Grokhotkov
28a2e6a775
Merge branch 'bugfix/deprecated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
Handle deprecated values in sdkconfig.defaults (v4.0)
See merge request espressif/esp-idf!6254
2019-10-09 23:50:05 +08:00
lly
66a46de2a7
ble_mesh: fix not restoring ble mesh cfg value
2019-10-08 16:37:20 +08:00
suda-morris
bcd496be49
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-08 02:45:36 +00:00
suda-morris
79923d0199
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-10-08 02:45:36 +00:00
Aditya Patwardhan
858b3d2277
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 17:47:51 +05:30
Roland Dobai
dedaf624db
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-03 10:13:42 +02:00
Xia Xiaotian
10d26549fa
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to
make MDNS test pass.
2. Improve stability of WiFi performance with a little sacrifice
of throughput.
3. Improve BLE advertising and connection performance with
dynamic priority. It sacrifices a little WiFi throughput, but
achieves balance between WiFi and Bluetooth.
2019-09-30 11:42:05 +08:00
zhangyanjiao
d9cfb05eb6
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
4. Put g_promis_buf to IRAM
2019-09-29 11:38:11 +08:00
Jiang Jiang Jian
4322e89006
Merge branch 'bugfix/ble_mesh_client_invalid_addr_access_4.0' into 'release/v4.0'
...
ble_mesh: fix client model invalid address access (v4.0)
See merge request espressif/esp-idf!6218
2019-09-29 10:24:04 +08:00
Ivan Grokhotkov
96748f3037
Merge branch 'refactor/update_spi_ethernet_api_v4.0' into 'release/v4.0'
...
update spi ethernet api (v4.0)
See merge request espressif/esp-idf!6177
2019-09-27 19:43:15 +08:00
lly
5a94142481
ble_mesh: fix client model invalid address access
2019-09-27 15:28:10 +08:00
Ivan Grokhotkov
e5ff431b35
Merge branch 'fix/esp_flash_coredump_4.0' into 'release/v4.0'
...
esp_flash: fix coredump issues (backport v4.0)
See merge request espressif/esp-idf!6136
2019-09-26 21:26:53 +08:00
Ivan Grokhotkov
c225801b3e
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_4.0' into 'release/v4.0'
...
spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses (backport v4.0)
See merge request espressif/esp-idf!6107
2019-09-26 21:25:20 +08:00
Jiang Jiang Jian
c776991233
Merge branch 'bugfix/kconfig_corrections_v4.0' into 'release/v4.0'
...
Fix Kconfig issues discovered by upstream Kconfiglib (v4.0)
See merge request espressif/esp-idf!6195
2019-09-25 16:26:40 +08:00
Jiang Jiang Jian
041fcceddf
Merge branch 'feat/esp_flash_support_encrypt_4.0' into 'release/v4.0'
...
esp_flash: add support for encrypted read and write (backport v4.0)
See merge request espressif/esp-idf!6106
2019-09-25 16:17:31 +08:00
Jiang Jiang Jian
a21eb04cc6
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0(backport v4.0)
See merge request espressif/esp-idf!5940
2019-09-25 16:12:43 +08:00
Jiang Jiang Jian
116d0c8145
Merge branch 'bugfix/ble_mesh_queue_task_init_check_v4.0' into 'release/v4.0'
...
ble_mesh: check ble mesh queue and task init status (v4.0)
See merge request espressif/esp-idf!6193
2019-09-25 15:08:23 +08:00
suda-morris
dda49709fe
ethernet: update spi-ethernet api
2019-09-25 06:34:39 +00:00
Roland Dobai
fc738680f8
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-25 08:25:51 +02:00
Prasad Alatkar
499accb652
BT/Bluedroid: Add support to set min encryption key size requirement (backport)
...
- Backport of IDF MR!6122.
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:57:21 +08:00
Jiang Jiang Jian
988147a451
Merge branch 'bugfix/btdm_loop_in_feature_req_ext_v4.0' into 'release/v4.0'
...
components/bt: Fix sending LMP_features_req_ext in a loop
See merge request espressif/esp-idf!6023
2019-09-25 11:52:10 +08:00
lly
9e6c56f9f2
ble_mesh: check ble mesh queue and task init status
2019-09-25 11:03:18 +08:00
Prasad Alatkar
daa65b6f91
NimBLE: Add optional mbedTLS support to NimBLE (backport)
...
- NimBLE: Additional menuconfig option to enable mbedTLS instead of Tinycrypt from
NimBLE, changes `component.mk` & `CMakeLists.txt` for the same.
- Addition of NimBLE stack size configuration and misc changes.
- mbedTLS: Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Example: Minor changes to `app_mesh.c` application.
2019-09-23 21:37:40 +08:00
Jiang Jiang Jian
7f9626d378
Merge branch 'cleanup/make_supp_headers_private_v4.0' into 'release/v4.0'
...
wpa_supplicant: Make internal crypto headers private (backport v4.0)
See merge request espressif/esp-idf!6061
2019-09-23 18:00:43 +08:00
wangmengyang
6cad60f34b
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-09-23 03:22:34 +00:00
Jiang Jiang Jian
b4c7ed999c
Merge branch 'bugfix/remove_v40_deprecations_v4.0' into 'release/v4.0'
...
Remove features deprecated before ESP-IDF V4.0 (v4.0)
See merge request espressif/esp-idf!6150
2019-09-20 19:51:51 +08:00
Jiang Jiang Jian
8a5c08df98
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v4.0' into 'release/v4.0'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done (backport v4.0)
See merge request espressif/esp-idf!6072
2019-09-20 14:02:19 +08:00
xiehang
4e7b559101
Delete extra '/'
2019-09-19 19:22:44 +08:00
xiehang
43616f6f05
esp_wifi: Update wifi lib
2019-09-19 17:49:18 +08:00
Angus Gratton
3b9ab9caa6
idf_test: Disable tests for Wi-Fi auto reconnect
...
Disable one, remove IDF tag from the other
2019-09-19 18:49:37 +10:00
Jack
0dc9ddb77c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-19 18:49:37 +10:00
Jack
9ab92331c4
dport: remove clock_en and reset bitname which is not suitable
2019-09-19 18:49:37 +10:00
Angus Gratton
08416d05ba
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:49:37 +10:00
Angus Gratton
200c82561a
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros
...
Deprecated before ESP-IDF V1.0!
2019-09-19 18:49:37 +10:00
Angus Gratton
2e05c6020f
mbedtls: Remove esp_aes_encrypt/decrypt
...
Deprecated in ESP-IDF V3.1
Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.
2019-09-19 18:49:37 +10:00
Angus Gratton
d139c851f3
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:49:37 +10:00
Angus Gratton
365e3fd685
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-19 18:49:37 +10:00
Angus Gratton
71fad5e2c0
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
94ba3a20cb
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
5a7d3ef319
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
e4a4e6ed81
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
8094e880c6
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
35b9223cf4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
fe97d14e0f
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-19 18:48:14 +10:00
Angus Gratton
2c16557ee7
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:48:14 +10:00
Ivan Grokhotkov
5f8e5db268
esp32/test: fix usage of deprecated fields
2019-09-19 18:48:14 +10:00
Angus Gratton
a9fe3165c4
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum
...
Removes deprecated ways of setting/getting CPU freq, light sleep freqs.
Deprecated since ESP-IDF V3.2
2019-09-19 18:48:13 +10:00
Angus Gratton
b01036e13e
driver: Remove features deprecated pre-IDF V4.0
2019-09-19 18:47:15 +10:00
Angus Gratton
10649ae23b
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
c4306f7942
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
62be877ada
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-19 18:45:36 +10:00
suda-morris
546026d018
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:50:53 +08:00
Jiang Jiang Jian
05d3665a14
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh get timer remaining time (v4.0)
See merge request espressif/esp-idf!6059
2019-09-18 16:38:31 +08:00
michael
0bba92b2a0
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:16:00 +08:00
Michael (XIAO Xufeng)
399477cd10
coredump: use esp_flash api in coredump
...
Also put esp_flash functions into noflash region, when
ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables
the re-enabling of the CPU-cache when it's disabled during coredump.
This requires all the coredump functions including the flash API to be
in the D/IRAM.
2019-09-18 15:14:53 +08:00
Michael (XIAO Xufeng)
d3b54ec84a
esp_flash: fix the coredump issue
...
During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.
Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
2019-09-18 14:30:23 +08:00
Michael (XIAO Xufeng)
e4b44f3488
esp_flash: fix coredump for legacy spi flash API
...
When legacy mode is used, the coredump still fails during linking
because "esp_flash_init_default_chip", "esp_flash_app_init" and
"esp_flash_default_chip " are not compiled and linked.
Instead of using ``if`` macros in callers, these functions are protected
by ``if`` macros in the header, and also not compiled in the sources.
"esp_flash_default_chip" variable is compiled with safe default value.
2019-09-18 14:28:12 +08:00
Nachiket Kukade
ca80b0445d
wpa_supplicant: Make internal crypto headers private (backport v4.0)
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-09-17 13:28:30 +00:00
lly
1e01accaa4
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:30:03 +08:00
Martin Thierer
2ca3735edd
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:17:42 +08:00
Michael (XIAO Xufeng)
b9a2639ab4
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-16 17:10:08 +08:00
lly
77f186a7b9
ble_mesh: make unicast elem lookup O(1)
2019-09-16 15:06:52 +08:00
jiangguangming
536c131114
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-16 11:18:04 +08:00
Angus Gratton
ef17d8bba1
Merge branch 'bugfix/httpd_sess_close_v4.0' into 'release/v4.0'
...
httpd_sess_close: Check for session validity before closing (v4.0)
See merge request espressif/esp-idf!5742
2019-09-16 08:21:37 +08:00
Piyush Shah
4ee065df79
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-09-12 08:41:31 +00:00
Roland Dobai
63c2834d7b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-12 08:38:31 +02:00
Jiang Jiang Jian
dbf2c3d480
Merge branch 'bugfix/btdm_config_msbc_v4.0' into 'release/v4.0'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5979
2019-09-12 13:23:54 +08:00
Jiang Jiang Jian
582d5de497
Merge branch 'bugfix/coex_bb_reset_lock_v4.0' into 'release/v4.0'
...
fix some coex bugs
See merge request espressif/esp-idf!6056
2019-09-12 11:04:10 +08:00
Jiang Jiang Jian
5a351af83f
Merge branch 'bugfix/flash_encryption_disable_plaintext_v4.0' into 'release/v4.0'
...
flash encryption: Always disable plaintext reflashes in Release mode (v4.0)
See merge request espressif/esp-idf!6070
2019-09-12 10:40:34 +08:00
Angus Gratton
00e3cb672b
Merge branch 'bugfix/flash_encryption_regressions_v4.0' into 'release/v4.0'
...
fix flash encryption regressions, add tests (backport v4.0)
See merge request espressif/esp-idf!6068
2019-09-11 12:06:02 +08:00
zhangyanjiao
67eb732dbe
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:37:29 +08:00
Angus Gratton
69241907a5
bootloader: Link RTC clock functions to the iram_loader section
...
As flash encryption & secure boot needs these functions after the app is loaded.
Fixes regression introduced in fb72a6f629
2019-09-11 10:16:43 +10:00
Angus Gratton
5b69614e32
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
3e12967535
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80
has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
d9f1219a21
efuse: set timing configuration before writing
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
b17ca9cb38
unit-test-app: add config with flash encryption enabled
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
801010dac6
spi_flash: fix mmap unit tests for flash encryption
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
a0256b9e9d
flash encryption: add option to require flash encryption to be enabled
...
In testing environment, to avoid accidentally enabling flash
encryption on a device, CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED
can be set. If set, the bootloader will refuse to boot if flash
encryption is not enabled, instead of enabling it.
2019-09-10 17:19:08 +02:00
Ivan Grokhotkov
fae124a2c1
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
Closes https://github.com/espressif/esp-idf/issues/3907
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
ad100e497a
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-09-10 17:18:51 +02:00
lly
8dbb2083ea
ble_mesh: fix ble mesh get timer remaining time
2019-09-10 17:01:03 +08:00
Tian Hao
a8590c7e8e
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-09-10 15:58:42 +08:00
Chinmay Chhajed
8876cda09b
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-10 05:58:49 +00:00
Jiang Jiang Jian
a7107d9bbd
Merge branch 'bugfix/ble_mesh_related_bugfixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh related bugfixes v4.0
See merge request espressif/esp-idf!6042
2019-09-10 09:48:36 +08:00
Angus Gratton
850684438b
Merge branch 'bugfix/ethernet_rx_length_check_v4.0' into 'release/v4.0'
...
ethernet: bugfix and optimize (v4.0)
See merge request espressif/esp-idf!6028
2019-09-10 07:58:46 +08:00
Andrew
72264ca9b9
spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0)
2019-09-10 06:42:31 +08:00
Angus Gratton
da2025a74a
Merge branch 'bugfix/newlib_time_test_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6014
2019-09-10 06:40:09 +08:00
Angus Gratton
93bad7a0de
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v4.0' into 'release/v4.0'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v4.0)
See merge request espressif/esp-idf!6020
2019-09-10 06:39:19 +08:00
lly
55f687c763
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 18:10:52 +08:00
lly
329388fa47
ble_mesh: fix ble mesh btc may caused memory leak
2019-09-09 18:10:47 +08:00
lly
0f36dabcaf
ble_mesh: fix publication period timestamp initialization
2019-09-09 18:10:42 +08:00
lly
0299e22dd0
ble_mesh: remove useless mesh_opcode
2019-09-09 18:10:34 +08:00
lly
f072c5af4e
ble_mesh: fix bt_mesh_net_resend() caused compiling error
2019-09-09 17:47:56 +08:00
lly
6982663380
ble_mesh: fix adhering to the configured Friend Queue size
2019-09-09 17:47:47 +08:00
lly
1d970ad276
ble_mesh: remove useless code bt_mesh_trans_resend()
2019-09-09 17:47:30 +08:00
lly
a73cc70af9
ble_mesh: lpn remove msg from cache on rejection
2019-09-09 17:47:24 +08:00
lly
225ee8e5d1
ble_mesh: introduce a helper for send callback function
2019-09-09 17:47:18 +08:00
lly
fa4cd56d00
ble_mesh: fix heartbeat sending on friendship established/lost
2019-09-09 17:47:07 +08:00
lly
15f8b0fccc
ble_mesh: fix checking for active heartbeat publication
2019-09-09 17:46:49 +08:00
lly
97080afba2
ble_mesh: fix starting iv update when not on primary subnet
2019-09-09 17:46:43 +08:00
lly
612822d8c9
ble_mesh: fix canceling publication retransmit timer
2019-09-09 17:46:35 +08:00
lly
ff6cb921c3
ble_mesh: fix resending segments on correct bearer
2019-09-09 17:46:27 +08:00
lly
6f7b7c552d
ble_mesh: fix not sending all segments through the Friend Queue
2019-09-09 17:46:19 +08:00
lly
e00186e683
ble_mesh: fix canceled buffer memory leak
2019-09-09 17:46:06 +08:00
lly
a734b3b1bc
ble_mesh: remove some useless copy during ecdh calculation
2019-09-09 17:45:59 +08:00
lly
6de637811f
ble_mesh: move heartbeat sending to transport layer
2019-09-09 17:45:52 +08:00
lly
6ec0c6743a
ble_mesh: fix provisioning send error handling
2019-09-09 17:45:44 +08:00
lly
299c86cc84
ble_mesh: fix rejecting invalid remote public key
2019-09-09 17:45:27 +08:00
lly
d123f6c04b
ble_mesh: add error checks for scan start/stop
2019-09-09 17:45:20 +08:00
lly
3c17bf1a6f
ble_mesh: rename reset_link() to reset_adv_link()
2019-09-09 17:45:14 +08:00
lly
8fb20e4529
ble_mesh: fix public key mismatch error handling
2019-09-09 17:45:06 +08:00
lly
e020d1055a
ble_mesh: update protocol error timeout from zephyr
2019-09-09 17:44:17 +08:00
lly
05e4b28a74
ble_mesh: fix segmented message RPL behavior
2019-09-09 17:44:11 +08:00
lly
27bc688ed8
ble_mesh: clear LPN sent_req on failure
2019-09-09 17:43:59 +08:00
lly
a214fb2821
ble_mesh: update proxy sar operation from zephyr
2019-09-09 17:43:46 +08:00
lly
6b7b9d1550
ble_mesh: fix postponing storage deadline indefinitely
2019-09-09 17:43:40 +08:00
lly
18b873b2e3
ble_mesh: fix RPL storage timeout handling
2019-09-09 17:43:29 +08:00
lly
d1755c1484
ble_mesh: fix output MIC with additional data
2019-09-09 17:43:23 +08:00
lly
152ebb104d
ble_mesh: remove non-standard relay opearation
2019-09-09 17:43:13 +08:00
lly
e3b304997f
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
2019-09-09 17:43:04 +08:00
lly
1e20ed4849
ble_mesh: fix failed to set device role caused mem leak
2019-09-09 17:42:50 +08:00
lly
59b663c43d
ble_mesh: ble mesh btc miscellaneous modifications
2019-09-09 17:42:43 +08:00
lly
e9e28c1265
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:42:35 +08:00
lly
7030d612e2
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:42:20 +08:00
lly
2c852b0d74
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:42:08 +08:00
lly
708bff3b17
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:42:00 +08:00
lly
317f4c5ff5
ble_mesh: reorganize ble mesh model files
2019-09-09 17:41:54 +08:00
lly
2c025824d7
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:41:41 +08:00
lly
9b95064018
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:41:34 +08:00
Jiang Jiang Jian
ecdffe531e
Merge branch 'bugfix/reset_periph_modules_v4.0' into 'release/v4.0'
...
driver: Add a reset before enabling if a module is off (v4.0)
See merge request espressif/esp-idf!6015
2019-09-08 23:06:31 +08:00
Jiang Jiang Jian
31be6be147
Merge branch 'fix/esp_flash_set_get_wp_4.0' into 'release/v4.0'
...
esp_flash: fix the set/get write protection functions (backport v4.0)
See merge request espressif/esp-idf!5832
2019-09-08 16:34:40 +08:00
suda-morris
305a4a1b57
ethernet: bugfix and optimize
...
1. check frame length before pass to stack
2. replace semaphore with task notify
2019-09-06 15:46:18 +08:00
Jiang Jiang Jian
e659f1b15a
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v4.0' into 'release/v4.0'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v4.0)
See merge request espressif/esp-idf!6010
2019-09-06 14:52:58 +08:00
Jiang Jiang Jian
2c49592216
Merge branch 'refactor/move_smartconfig_ack_to_wifi_v4.0' into 'release/v4.0'
...
smartconfig: move smartconfig_ack to esp_wifi conponent (v4.0)
See merge request espressif/esp-idf!5999
2019-09-06 14:27:29 +08:00
baohongde
6afb2743e7
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:04:16 +08:00
KonstantinKondrashov
f7b458841f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-06 11:59:03 +08:00
KonstantinKondrashov
f1e9b8299f
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-06 11:59:03 +08:00
Konstantin Kondrashov
9ce1b8986a
rmt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
c5bea8dddb
pcnt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
ba6b502cc9
sdmmc_host/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
3b0b5f92a7
i2s/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
d6bc1b3cbc
can/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
199c4e55f2
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-09-06 11:34:53 +08:00
KonstantinKondrashov
61339353e9
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-06 11:30:01 +08:00
zhangyanjiao
3b2dda5197
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
...
2. fix the bug for softAP set authmode
2019-09-05 20:34:34 +08:00
Jiang Jiang Jian
1b8ed9abf0
Merge branch 'bugfix/btdm_crash_in_sket_ist_v4.0' into 'release/v4.0'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5947
2019-09-05 12:02:26 +08:00
Jiang Jiang Jian
f9453ef93d
Merge branch 'bugfix/btdm_config_but_task_size_fail_v4.0' into 'release/v4.0'
...
Bugfix/btdm config but task size fail v4.0
See merge request espressif/esp-idf!5962
2019-09-05 11:26:56 +08:00
suda-morris
dcf571c1cd
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-09-05 10:44:00 +08:00
Roland Dobai
1402e78844
Fix error code collision and CI check
2019-09-03 08:07:16 +02:00
baohongde
01f0c8ef16
components/bt: Rename some macros
2019-09-03 10:28:49 +08:00
Zac Bond
a774406b91
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:28:12 +08:00
Jiang Jiang Jian
c9bff93080
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length_v4.0' into 'release/v4.0'
...
mbedtls: keep asymmetric tls buffer length option enabled by default (v4.0)
See merge request espressif/esp-idf!5970
2019-09-02 23:25:06 +08:00
Jiang Jiang Jian
4b8e4ff248
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0_v4.0' into 'release/v4.0'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5967
2019-09-02 22:22:22 +08:00
Jiang Jiang Jian
9dbf979cf3
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig_v4.0' into 'release/v4.0'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5951
2019-09-02 22:21:12 +08:00
baohongde
ad70ab8957
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:55:17 +08:00
Angus Gratton
ebb9384681
Merge branch 'bugfix/various_cmake_fixes_v4.0' into 'release/v4.0'
...
CMake: Various backports
See merge request espressif/esp-idf!5933
2019-09-02 12:46:40 +08:00
Jiang Jiang Jian
0552ec5791
Merge branch 'update/cjson_v1_7_12_v4.0' into 'release/v4.0'
...
Update cJSON to v1.7.12 (v4.0)
See merge request espressif/esp-idf!5850
2019-09-02 12:41:30 +08:00
Jiang Jiang Jian
524eef9225
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v4.0' into 'release/v4.0'
...
test: fix nvs compatible case error (backport v4.0)
See merge request espressif/esp-idf!5891
2019-09-02 12:40:46 +08:00
Jiang Jiang Jian
955f7e2877
Merge branch 'test/fix_mesh_test_case_4.0' into 'release/v4.0'
...
test: fix test case MESH_EST_2403 (backport 4.0)
See merge request espressif/esp-idf!5907
2019-09-02 12:38:51 +08:00
Jiang Jiang Jian
ac03786412
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v4.0' into 'release/v4.0'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v4.0)
See merge request espressif/esp-idf!5952
2019-09-02 12:04:49 +08:00
Mahavir Jain
a5dae2ff43
mbedtls: keep asymmetric tls buffer length option enabled by default
2019-08-31 10:24:37 +05:30
baohongde
1d0142d25d
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-30 17:56:01 +08:00
liu zhifu
cf0caaec11
esp_wifi: revert WiFi RX optimization
...
Revert following commit since it has compatibility issue:
commit 45dd6175cd
esp32: optimize wifi rx
2019-08-29 21:26:42 +08:00
baohongde
4af9504a65
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:58 +08:00
Nachiket Kukade
6b348b94e3
wps: Relax the check on older config methods in case of WPS2.0 (backport
...
v4.0)
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-29 13:05:02 +05:30
baohongde
6222040888
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:31:57 +08:00
Renz Christian Bagaporo
c711e969cc
components: fix incorrect include dir args
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
520ecb0c4d
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
c34d313a86
mbedtls: add source files to appropriate library
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
6781d01e89
cmake: fix encrypted project flash arg file generation
2019-08-27 13:35:39 +08:00
baohongde
61ba1c3026
components/bt: backport 2 BT bugfix about controller
...
1.Bugfix btdm sleep twice after wakeup request
2.Set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-27 10:42:40 +08:00
zhiweijian
90bbea65c1
Component/bt: fix some BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 20:29:01 +08:00
chenyudong
672e9f4abc
test: fix test case MESH_EST_2403
2019-08-26 20:26:46 +08:00
He Yin Ling
83b9727c42
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-25 20:46:56 +08:00
xueyunfei
1f5f6adcb6
fix bug for nonblocking udp is zero for v4.0
2019-08-21 17:07:45 +08:00
Angus Gratton
aa0bb29404
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:40:50 +10:00
Michael (XIAO Xufeng)
a626b26cf9
esp_flash: improve the comments a bit
2019-08-20 14:05:35 +08:00
Michael (XIAO Xufeng)
1cc860216e
esp_flash: fix the set/get write protection functions
...
Add support for get write protection support, fixed the duplicated
set_write_protection link.
All the write_protection check in the top layer are removed. The lower
levels (chip) should ensure to disable write protection before the
operation start.
2019-08-20 14:05:35 +08:00
Angus Gratton
16ee476a77
Merge branch 'bugfix/config_panic_gdbstub_build_issue_v4.0' into 'release/v4.0'
...
esp32_gdbstub: fix build error with esp32-2019r1 toolchain (v4.0)
See merge request espressif/esp-idf!5764
2019-08-20 13:11:24 +08:00
Angus Gratton
674ecc3b56
Merge branch 'bugfix/vfs_concurrent_select_v4.0' into 'release/v4.0'
...
VFS: Support concurrent VFS select calls & improve the documentation (backport v4.0)
See merge request espressif/esp-idf!5797
2019-08-20 12:49:03 +08:00
Angus Gratton
43efee5232
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling_v4.0' into 'release/v4.0'
...
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors (v4.0)
See merge request espressif/esp-idf!5768
2019-08-20 12:28:56 +08:00
Angus Gratton
a63b3c4fe6
Merge branch 'feature/dport_eco_revision2_v4.0' into 'release/v4.0'
...
make dport workaround depend on chip revision (v4.0)
See merge request espressif/esp-idf!5765
2019-08-16 13:15:18 +08:00
Angus Gratton
6b8c75d87c
Merge branch 'bugfix/hwcrypt_fault_inj_v4.0' into 'release/v4.0'
...
AES & SHA fault injection checks (backport v4.0)
See merge request espressif/esp-idf!5748
2019-08-16 05:29:54 +08:00
Roland Dobai
ec31f235e9
docs: Correct and extend the documentation about VFS select()
2019-08-15 14:11:51 +02:00
Roland Dobai
7e9d90b180
VFS: Support concurrent VFS select calls
...
Closes https://github.com/espressif/esp-idf/issues/3392
2019-08-15 14:11:37 +02:00
chenjianqiang
764b70d7e6
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:52:56 +08:00
Angus Gratton
a1496b90e5
Merge branch 'bugfix/fix_ledc_clock_select_bug_v4.0' into 'release/v4.0'
...
driver(ledc): fixed ledc clock selection bug for v4.0
See merge request espressif/esp-idf!5757
2019-08-14 10:44:39 +08:00
Mahavir Jain
622d6d5504
mbedtls: use errno
instead of SO_ERROR
for getting socket errors
...
As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html
Fixes https://github.com/espressif/esp-azure/issues/51
2019-08-13 13:11:24 +05:30
suda-morris
1b903111b6
efuse: update the scheme of getting chip revision
2019-08-13 14:37:17 +08:00
Mahavir Jain
69ef694178
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
...
Fixes https://github.com/espressif/esp-idf/issues/3866
Closes https://github.com/espressif/esp-idf/issues/3834
2019-08-13 11:38:28 +05:30
kooho
eff3ac05b3
driver(ledc): fixed ledc clock selection bug for release/v4.0
2019-08-12 17:16:52 +08:00
zhangyanjiao
4253adf42b
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-12 02:38:44 +00:00
zhangyanjiao
088ed65194
wifi: fix wifi bugs for authmode and multi ssid
2019-08-12 02:38:44 +00:00
Angus Gratton
0ce94950b7
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Angus Gratton
ae8b2684d7
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Ivan Grokhotkov
16b300bd7a
Merge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'
...
docs: fix the bug in wifi doc
Closes IDFGH-1590
See merge request espressif/esp-idf!5647
2019-07-30 09:42:23 +08:00
Angus Gratton
b071fbdd81
Merge branch 'test/rtc_noinit_wdt_test' into 'master'
...
esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset
See merge request espressif/esp-idf!4936
2019-07-30 09:42:15 +08:00
Angus Gratton
8dbe1f024e
Merge branch 'bugfix/pthread_fixes' into 'master'
...
pthread fixes
Closes IDFGH-1437
See merge request espressif/esp-idf!5646
2019-07-30 09:41:31 +08:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Angus Gratton
d005d95119
Merge branch 'bugfix/gpio_intr_enable_bug' into 'master'
...
bugfix(GPIO): Fixed the GPIO interrupt enable bug
Closes IDFGH-495
See merge request espressif/esp-idf!5571
2019-07-30 09:35:42 +08:00
Angus Gratton
6fe853a2c7
Merge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'
...
ws_client: fix double delete issue in ws client initialization
See merge request espressif/esp-idf!5309
2019-07-29 19:25:30 +08:00
Angus Gratton
e9b77d3a69
Merge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'
...
newlib: Move _gettimeofday_r call in clock_gettime
Closes IDFGH-1525
See merge request espressif/esp-idf!5562
2019-07-29 19:25:11 +08:00
Angus Gratton
f0442e744d
Merge branch 'fix/esp_flash_compatible_with_rom' into 'master'
...
esp_flash: fix a compatibility issue working with the ROM
See merge request espressif/esp-idf!5462
2019-07-29 19:18:20 +08:00
kooho
64f81aefae
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core
closes https://github.com/espressif/esp-idf/issues/2808
closes https://github.com/espressif/esp-idf/issues/2845
2019-07-29 11:09:07 +00:00
Ivan Grokhotkov
022223f570
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'
...
sdmmc_io: support to print CIS information
See merge request espressif/esp-idf!5515
2019-07-29 19:05:30 +08:00
Ivan Grokhotkov
b4e850a4b1
Merge branch 'bugfix/make_link_libc_psram' into 'master'
...
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
See merge request espressif/esp-idf!5643
2019-07-29 19:01:12 +08:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Prasad Alatkar
1f0d682406
NimBLE: Update submodule to fix bug in delete bond procedure
...
- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12
2019-07-29 19:00:21 +08:00
zhangyanjiao
62bb107b31
docs: fix the bug in wifi doc
2019-07-29 14:55:17 +08:00
Michael (XIAO Xufeng)
fa555e3109
esp_flash: fix a compatibility issue working with the ROM
...
The esp_flash API has a side effects: it modifies the clock control
registers, and this makes the clock inconsistent with the ROM variable
`g_rom_spiflash_dummy_len_plus`.
This commit helps the ROM to get the correct dummy cycles required by
the latest clock settings. Every device on the SPI1 bus will update the
ROM variable when it modifies the clock registers.
2019-07-29 03:00:09 +00:00
Angus Gratton
14c7f8e150
Merge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'
...
tcp_transport: websocket layer modifies in-buffer data (for masked transports)....
See merge request espressif/esp-idf!5546
2019-07-29 11:00:05 +08:00
Angus Gratton
bfb0f83b32
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'
...
esp32: Dis interrupts up to 5 lvl for DPORT
Closes IDF-728
See merge request espressif/esp-idf!5344
2019-07-29 10:57:20 +08:00
Ivan Grokhotkov
e9de7b1df3
pthread: remove ESP32_ prefix from Kconfig options
...
pthread implementation is not chip-specific, so this prefix is not
needed.
2019-07-29 04:43:49 +02:00
Ivan Grokhotkov
661769527c
pthread: force linking pthread implementation from IDF
...
Force linking pthread implementation from IDF, instead of the weak
functions provided by gthread library. Previously this would either
work or not depending on the linking order.
Thanks @bpietsch for suggesting the fix.
Closes https://github.com/espressif/esp-idf/issues/3709
2019-07-29 04:43:49 +02:00
Angus Gratton
434dd2d7a1
Merge branch 'bugfix/add_flash_config_in_app_startup' into 'master'
...
bugfix(flash): add flash config in app startup
See merge request espressif/esp-idf!5459
2019-07-29 10:42:27 +08:00
Michael (XIAO Xufeng)
b98b4c3886
sdmmc_io: support to print CIS information
...
Currently only ESP slaves can be parsed correctly.
2019-07-29 10:41:17 +08:00
Ivan Grokhotkov
98c179ed47
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
...
xtensa-esp32-elf-gcc selects among the multilib configurations based
on the presence of -mfix-esp32-psram-cache-issue flag. Pass this flag
in LDFLAGS so that the correct libraries are linked.
Reported in https://github.com/espressif/esp-idf/issues/3624
2019-07-28 08:05:56 +02:00
Angus Gratton
c4e5c62cda
Merge branch 'bugfix/malloc_warnings_rtc' into 'master'
...
rtc: fix minor malloc issues found by static analyzer
See merge request espressif/esp-idf!5144
2019-07-27 17:27:24 +08:00
Angus Gratton
1b6010bedf
Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'
...
mdns: fix ignoring mdns packet if contained an invalid name entries in question field
See merge request espressif/esp-idf!5307
2019-07-27 17:25:25 +08:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Mahavir Jain
75f64a01cd
Merge branch 'bugfix/esp_event_add_missing_include' into 'master'
...
esp_event: add missing header include
See merge request espressif/esp-idf!5630
2019-07-26 18:30:34 +08:00
Mahavir Jain
a8535767e4
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 13:58:26 +05:30
baohongde
f77a5851bb
component/bt: Fix BLE SMP free without init
2019-07-26 14:40:03 +08:00
baohongde
d1f774bc0a
component/bt: Avoid PLC to use unallocated memory
...
Closes https://github.com/espressif/esp-idf/pull/3799
2019-07-26 14:39:50 +08:00
Jiang Jiang Jian
b0456cc926
Merge branch 'bugfix/mesh_scan_done_crash' into 'master'
...
Bugfix: mesh scan done crash caused by uint8_t overflow
See merge request espressif/esp-idf!5590
2019-07-25 18:01:47 +08:00
xiehang
dd26caf779
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-24 18:03:33 +08:00
chenyudong
a7ddb03274
mesh: fix scan done crash caused by uint8_t overflow
2019-07-24 15:54:50 +08:00
Angus Gratton
3450d9e531
Merge branch 'bugfix/ethernet_apll_clock_config' into 'master'
...
fix ethernet apll clock config and other optimization
Closes IDFGH-1432, IDFGH-1503, and IDFGH-1504
See merge request espressif/esp-idf!5499
2019-07-24 11:28:10 +08:00
Jiang Jiang Jian
78aef41ef6
Merge branch 'test/check_lib_reversion' into 'master'
...
test: move wifi library check to esp32-wifi-lib ci
See merge request espressif/esp-idf!5483
2019-07-23 12:02:37 +08:00
suda-morris
018de8101f
ethernet: can build without enable esp32 emac
...
Closes https://github.com/espressif/esp-idf/issues/3770
2019-07-22 21:07:02 +08:00
Tomer Shefler
97ad2bcb86
ethernet: support giving 50mhz rmii clock with both 40mhz and 26 mhz rtc xtal
...
Merges https://github.com/espressif/esp-idf/pull/3769
Closes https://github.com/espressif/esp-idf/pull/3704
2019-07-22 21:07:02 +08:00
suda-morris
cfbf8c5d07
ethernet: task yield at the end of isr handler
2019-07-22 21:07:02 +08:00
suda-morris
af78311975
ethernet: malloc hal together with driver context
2019-07-22 21:07:02 +08:00
Angus Gratton
606c6c867c
Merge branch 'bugfix/mqtt_minor_fixes' into 'master'
...
mqtt: bugfixes: crash on disconnect if not connected, fixed static analysis warning
See merge request espressif/esp-idf!5223
2019-07-22 15:21:39 +08:00
Jiang Jiang Jian
fcb668ec9c
Merge branch 'bugfix/btdm_AVRC_command_fail_while_playing' into 'master'
...
components/bt: Fix AVRCP command will not be executed while playing music
See merge request espressif/esp-idf!5458
2019-07-22 11:45:19 +08:00
Hrishikesh Dhayagude
c75240a939
NimBLE: Give an option to configuration no of bonds and CCCD's to save through menuconfig
2019-07-19 14:34:57 +08:00
chenyudong
18df3dd5ed
test: move wifi library check to esp32-wifi-lib ci
2019-07-19 13:12:57 +08:00
liu zhifu
f3f08fa713
esp_wifi/supplicant: fix some supplicant bugs
...
Closes IDFGH-1455
Closes IDF-774
2019-07-18 17:36:19 +08:00
David Cermak
6289a26596
mqtt: referenced esp-mqtt master to close disconnection issues and fix static analysis warnings
...
closes https://github.com/espressif/esp-idf/issues/3619 including mqtt commit 7223302deb
closes https://github.com/espressif/esp-idf/issues/3215 including mqtt commit caf5007b99
2019-07-18 10:34:10 +02:00
David Cermak
ffca1825e6
lwip fuzzer: supplied dummy dns server entry to work with internal packet processing functionwhich is exercised in fuzzer tests, disable CTYPE as recent newlib is not compatible with AFL
2019-07-18 10:34:03 +02:00
chenjianqiang
d77c74770a
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-07-18 14:40:59 +08:00
zhangyanjiao
69504bd9c5
phy change for WiFi scan BLE scan watchdog
2019-07-18 11:00:18 +08:00
David Cermak
c6c6cd7179
rtc: fix minor malloc issues found by static analyzer
2019-07-17 14:45:17 +00:00
Jiang Jiang Jian
785e711561
Merge branch 'bugfix/mesh_stop_block' into 'master'
...
mesh: fix esp_mesh_stop blocking issue
Closes WIFI-313
See merge request espressif/esp-idf!5475
2019-07-17 20:36:51 +08:00
raldone01
7982ed9a7d
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-07-17 16:52:40 +08:00
Angus Gratton
c29e353142
Merge branch 'bugfix/app_update_tests' into 'master'
...
app_update: Add [timeout=90] for UTs
See merge request espressif/esp-idf!5553
2019-07-17 16:41:06 +08:00
Jiang Jiang Jian
a544c0e4da
Merge branch 'bugfix/optimize_wifi_rx' into 'master'
...
esp_wifi: optimize wifi rx
See merge request espressif/esp-idf!5501
2019-07-17 12:40:09 +08:00
chenyudong
4dd75184e4
mesh: fix esp_mesh_stop not return
2019-07-17 11:02:21 +08:00
KonstantinKondrashov
17791d5384
app_update: Add [timeout=90]
2019-07-17 10:28:50 +08:00
Jiang Jiang Jian
eab3edf3d4
Merge branch 'fix_bug_for_ipv6_example' into 'master'
...
Modify IPv6 functionality compatible with lwip2.1.2
See merge request espressif/esp-idf!5495
2019-07-17 00:09:17 +08:00
liu zhifu
45dd6175cd
esp_wifi: optimize wifi rx
2019-07-16 17:59:04 +08:00
Jiang Jiang Jian
d7e659df27
Merge branch 'bugfix/fix_wifi_stop_bug' into 'master'
...
esp_wifi: fix wifi stop
See merge request espressif/esp-idf!5479
2019-07-16 17:55:19 +08:00
baohongde
f048be924c
components/bt: Fix AVRCP command will not be executed while playing music
2019-07-16 08:50:36 +00:00
xueyunfei
f29ff2c552
Modify IPv6 functionality compatible with lwip2.1.2
2019-07-16 16:22:11 +08:00
David Cermak
8fc02e860a
tcp_tansport: websocket layer modifies in-buffer data (for masked transports). This fix reverts the data back to original rather then making a copy.
...
Closes https://github.com/espressif/esp-idf/issues/3774
2019-07-16 09:47:18 +02:00
Angus Gratton
596209de69
Merge branch 'feature/update_mbedtls_config_approach' into 'master'
...
Modify esp_config include approach
See merge request espressif/esp-idf!5382
2019-07-16 15:32:03 +08:00
liu zhifu
b7d6aa74dd
esp_wifi: fix WiFi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-16 14:09:47 +08:00
Konstantin Kondrashov
69a313b6ae
esp32: Add UTs for DPORT and Hi-interrupt
2019-07-16 05:54:45 +00:00
Konstantin Kondrashov
632b016028
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-07-16 05:54:45 +00:00
Angus Gratton
a6b39f0c64
Merge branch 'bugfix/wifi_prov_mgr_event_end_missing' into 'master'
...
Bugfix wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events
See merge request espressif/esp-idf!5522
2019-07-16 13:53:08 +08:00
David Cermak
9b507c45c8
ws_client: fix double delete issue in ws client initialization
2019-07-15 13:15:07 +02:00
liu zhifu
034440b85d
esp_wifi: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-15 12:44:03 +08:00
Jiang Jiang Jian
fdab15dc76
Merge branch 'bugfix/modify_wifi_country_struct' into 'master'
...
esp32: make wifi_country_t in idf consistent with VNC
See merge request espressif/esp-idf!5463
2019-07-15 12:41:59 +08:00
Angus Gratton
bd0a5d4c8b
Merge branch 'feature/esptool_py_use_component_properties' into 'master'
...
esptool_py: use component property to simplify arg file generation
See merge request espressif/esp-idf!5312
2019-07-15 10:52:15 +08:00
Jiang Jiang Jian
5588b22796
Merge branch 'bugfix/fix_wps_memory_leak' into 'master'
...
WPS: fix wps memory leak
Closes WIFI-630 and WIFI-644
See merge request espressif/esp-idf!5314
2019-07-14 17:19:16 +08:00
xiehang
8f2d13d9db
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1, Modfy wifi_country struct
2, Add md5 check esp_wifi_types.h
3, Add md5 check esp_wifi.h
2019-07-14 15:10:11 +08:00
Anurag Kar
0e07b85d2f
wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events
2019-07-13 15:48:23 +05:30
zhangyanjiao
d1bf08d4ad
coexist: fix the watchdog bug during WiFi scan and BLE scan
2019-07-12 20:23:59 +08:00
hemal.gujarathi
1dec976fba
Update esp_config and add new feature
...
Closes https://github.com/espressif/esp-idf/issues/3372
2019-07-12 11:42:48 +05:30
Angus Gratton
0114af25da
Merge branch 'feature/vfs_pread' into 'master'
...
VFS: Implement pread() and pwrite()
Closes IDFGH-1211
See merge request espressif/esp-idf!5422
2019-07-11 19:33:33 +08:00
xiehang
6c865a84ff
1, Fix wps memory leak.
...
2, Add a queue to save wps rx eapol frame.
3, Add data lock protect wpa2_sig_cnt.
4, Add a queue to save wpa2 rx rapol frame.
2019-07-11 08:57:31 +00:00
Angus Gratton
577d2c5e2b
Merge branch 'bugfix/parttool_baud' into 'master'
...
partition_table: Add baud option to parttool and otatool
Closes IDFGH-1483
See merge request espressif/esp-idf!5494
2019-07-11 14:53:54 +08:00
Roland Dobai
41062bea99
VFS: Implement pread() and pwrite()
...
Closes https://github.com/espressif/esp-idf/issues/3515
2019-07-11 06:20:21 +00:00
Jiang Jiang Jian
9b5a3ca9fc
Merge branch 'feature/cleanup_fast_crypto_files' into 'master'
...
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
See merge request espressif/esp-idf!5190
2019-07-11 10:26:45 +08:00
Roland Dobai
3552ca4d6a
app_update: Add the baud option into otatool
2019-07-10 15:09:46 +02:00
Roland Dobai
3f47269211
app_update: Fix argument of ParttoolTarget
2019-07-10 15:09:46 +02:00
Søren Christian Madsen
aa0c5f03be
Add --baud option to parttool
...
Closes https://github.com/espressif/esp-idf/pull/3753
2019-07-10 15:09:46 +02:00
Nachiket Kukade
900df44546
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
...
wpa_supplicant is using MbedTLS API's for crypto algorithms. For
calling them a duplicate set of modules is maintained prepended
with 'fast_'. Remove these and use flag USE_MBEDTLS_CRYPTO
instead to separate modules calling MbedTLS API's from native
implementation.
2019-07-10 14:53:20 +05:30
Jiang Jiang Jian
fbc8e35577
Merge branch 'bugfix/btdm_compile_error_with_new_toolchain' into 'master'
...
components/bt: Fix compile error with new toolchain
See merge request espressif/esp-idf!5444
2019-07-10 15:28:49 +08:00
Angus Gratton
058ef98c33
Merge branch 'feature/cmake_default_build_system' into 'master'
...
cmake: Make CMake the default build system
Closes IDF-198 and IDF-325
See merge request espressif/esp-idf!5328
2019-07-10 08:16:39 +08:00
Angus Gratton
409181361f
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode' into 'master'
...
bugfix(flash): fix flash read error in DIO/26MHz mode
See merge request espressif/esp-idf!5381
2019-07-10 08:13:35 +08:00
Jiang Jiang Jian
c8f5f47d5d
Merge branch 'bugfix/fix_uart_wait_done_bug' into 'master'
...
Driver(UART): Fixed two UART issues
Closes IDFGH-1348
See merge request espressif/esp-idf!5340
2019-07-09 18:39:02 +08:00
baohongde
f8c107fbe3
components/bt: Fix compile error with new toolchain
...
Closes https://github.com/espressif/esp-idf/issues/3331
Closes https://github.com/espressif/esp-idf/issues/3734
2019-07-09 17:50:43 +08:00
Jiang Jiang Jian
ce9600ec81
Merge branch 'docs/rename_partition_addr_param_pr3750' into 'master'
...
esp_partition_erase_range(): rename parameter "start_addr" to "offset"
See merge request espressif/esp-idf!5469
2019-07-09 12:18:38 +08:00
Mahavir Jain
74140b0cfb
Merge branch 'feature/cmake_proto_build' into 'master'
...
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
Closes IDF-725
See merge request espressif/esp-idf!5442
2019-07-08 19:13:32 +08:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Martin Thierer
d6c2dad101
esp_partition_erase_range(): rename parameter "start_addr" to "offset"
...
The name "start_addr" (which goes straight into the docs) implies
it's an absolute address while in fact it's an offset into the
partition like what's used in all the other esp_partition_*
functions.
So in order to avoid confusion make the name consistent with the
parameter names used for the other partition functions and call it
"offset".
Merges https://github.com/espressif/esp-idf/pull/3750
2019-07-08 17:29:05 +10:00
Angus Gratton
f6ad7f564d
Merge branch 'bugfix/otadata_operations_do_not_use_esptool_configs' into 'master'
...
Fix Make otadata operations do not use esptool configs
Closes IDFGH-686
See merge request espressif/esp-idf!4636
2019-07-08 15:19:30 +08:00
Angus Gratton
c25fe765a9
Merge branch 'feature/esp_http_client_tx_buf_size' into 'master'
...
esp_http_client: separate buffer_size config option for transmit
See merge request espressif/esp-idf!5337
2019-07-08 15:15:14 +08:00
kooho
09a63cca51
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled
closes https://github.com/espressif/esp-idf/issues/3631
2019-07-08 12:27:14 +08:00
Jiang Jiang Jian
0f50af0a12
Merge branch 'bugfix/supplicant_security_fixes' into 'master'
...
wpa_supplicant: Fix sprintf security bugs.
Closes WIFI-624
See merge request espressif/esp-idf!5295
2019-07-08 11:13:20 +08:00
Jiang Jiang Jian
1587770cbb
Merge branch 'bugfix/improve_spi_timing_for_flash' into 'master'
...
bugfix(flash): improve spi cs timing settings for flash
See merge request espressif/esp-idf!4964
2019-07-08 11:11:03 +08:00
chenjianqiang
266baa8839
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-08 01:50:07 +00:00
Angus Gratton
1935a5a93c
Merge branch 'bugfix/gcov_example_report_cmake_target' into 'master'
...
gcov_example: Adds cmake target to generate report
Closes IDF-727
See merge request espressif/esp-idf!5403
2019-07-08 09:30:11 +08:00
Angus Gratton
d67b9403e8
Merge branch 'feature/tcp_transport_pass_errors_stage1' into 'master'
...
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
See merge request espressif/esp-idf!4782
2019-07-08 08:51:29 +08:00
Mahavir Jain
0a65cf73fa
Merge branch 'feature/prov_mgr_event_loop' into 'master'
...
Wi-Fi Provisioning : Add support for esp_event
See merge request espressif/esp-idf!4857
2019-07-07 13:40:18 +08:00
xueyunfei
fa02598b5c
lwip_2.1.2 for idf_4.0
2019-07-07 01:51:45 +00:00
Jiang Jiang Jian
138c941fad
Merge branch 'mesh/use_event_library' into 'master'
...
Mesh/use event library
See merge request espressif/esp-idf!4800
2019-07-06 21:55:21 +08:00
Sagar Bijwe
ae46f04997
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-06 04:22:53 +00:00
chenjianqiang
d6c40c7c1d
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-05 21:21:17 +08:00
qiyuexia
a272e7204d
mesh: use new event library
2019-07-05 21:14:30 +08:00
Jiang Jiang Jian
783ddd1e05
Merge branch 'cleanup/remove_redundant_tags_file' into 'master'
...
wpa_supplicant: Remove tags file which was added by mistake
See merge request espressif/esp-idf!5457
2019-07-05 21:11:41 +08:00
Oleg Antonyan
bd4591b053
esp_http_client: separate buffer_size config option for transmit
...
Merges https://github.com/espressif/esp-idf/pull/3528
Signed-off-by: Jitin George <jitin@espressif.com>
2019-07-05 13:04:35 +00:00
Jiang Jiang Jian
27628ef133
Merge branch 'doc/add_ble_mesh_doxyfile' into 'master'
...
ble_mesh: add Doxyfile for core apis & model apis
See merge request espressif/esp-idf!5401
2019-07-05 20:55:39 +08:00
Anurag Kar
98cf38ca9c
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
2019-07-05 18:20:15 +05:30
Jiang Jiang Jian
c849f7bfb6
Merge branch 'mesh/bugfix_0628_master' into 'master'
...
mesh: bugfix
Closes WIFI-628, WIFI-638, WIFI-635, WIFI-582, WIFI-130, WIFI-622, WIFI-579, WIFI-428, and WIFI-451
See merge request espressif/esp-idf!5437
2019-07-05 20:48:03 +08:00
Alexey Gerenkov
2926cd09a2
gcov_example: Adds cmake target to generate report
...
Closes IDF-727
2019-07-05 12:44:35 +00:00
Jiang Jiang Jian
534062dd3b
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex' into 'master'
...
component/bt: fix rxwinsz assert in ble and wifi coex
See merge request espressif/esp-idf!5434
2019-07-05 20:27:33 +08:00
Nachiket Kukade
773ddcf0ff
wpa_supplicant: Remove tags file which was added by mistake
...
Merge request idf/esp-idf!5219 added a ctags 'tags' file to
the repository by mistake. Remove it.
2019-07-05 14:23:21 +05:30
Anurag Kar
703e98eb98
wifi_prov_mgr : Updated the set of WIFI_REASON_ codes used for setting WIFI_PROV_STA_AUTH_ERROR
2019-07-05 08:41:27 +00:00
Anurag Kar
9f1033862d
wifi_prov_mgr : Free memory allocated by cJSON_Print
2019-07-05 08:41:27 +00:00
Anurag Kar
69ade757e2
Wi-Fi Provisioning : Manager now uses esp_event to catch system events and emit provisioning events to the default event loop
...
List of changes:
* Deprecated public API wifi_prov_mgr_event_handler() and added private function wifi_prov_mgr_event_handler_internal(), registered with the default event loop for catching WIFI and IP system events
2019-07-05 08:41:27 +00:00
Angus Gratton
d64d97743f
Merge branch 'bugfix/efuse_secure_version_emulate' into 'master'
...
efuse: Fix mode EFUSE_SECURE_VERSION_EMULATE
See merge request espressif/esp-idf!5446
2019-07-05 16:05:26 +08:00
Angus Gratton
c24c5cf164
Merge branch 'feature/gdbstub_multi_target' into 'master'
...
gdbstub multi-target support
Closes IDF-466
See merge request espressif/esp-idf!5246
2019-07-05 14:33:54 +08:00
qiyuexia
c516819ba6
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-05 13:17:43 +08:00
Angus Gratton
7ef42f2596
Merge branch 'fix/nvs_util_key_len' into 'master'
...
nvs_util: Add check for key len in input csv file
See merge request espressif/esp-idf!5392
2019-07-05 10:34:55 +08:00
Renz Christian Bagaporo
94e0569c2b
make, cmake: pass config esptool args for otatool invocation
...
Closes https://github.com/espressif/esp-idf/issues/3135
2019-07-05 02:26:00 +00:00
Renz Christian Bagaporo
2360d882d9
parttool, otatool: accept esptool args
2019-07-05 02:26:00 +00:00
Shivani Tipnis
cc75721f9c
mfg_util: Optimise by adding subparser changes w.r.t similar changes in nvs util changes
2019-07-05 01:13:27 +00:00
Shivani Tipnis
84b2fa4c1c
nvs_util: Add check for key len in input csv file
...
Closes https://github.com/espressif/esp-idf/issues/3113
2019-07-05 01:12:41 +00:00
Angus Gratton
30819a8151
Merge branch 'bugfix/tcp_transport_use_without_list' into 'master'
...
tcp transport: fix minor memory leak when ssl transport used separately
See merge request espressif/esp-idf!5206
2019-07-05 09:11:10 +08:00
David Cermak
d1433564ec
ws_client: removed dependency on internal tcp_transport header
2019-07-04 20:55:10 +02:00
David Cermak
a001eb39bf
http_client: disconnect event to read last occurred error in esp-tls
2019-07-04 20:55:10 +02:00
David Cermak
587739391c
esp-tls: extending error handle to contain error descriptors with last mbedtls failure and latest certificate verification result flags, reworked tcp_transport to use this error handle
2019-07-04 20:55:10 +02:00
David Cermak
2972f96982
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
2019-07-04 20:55:10 +02:00
KonstantinKondrashov
09ee721932
efuse: Fix mode EFUSE_SECURE_VERSION_EMULATE
2019-07-04 13:34:35 +00:00
Ivan Grokhotkov
8bed3a3dd2
Merge branch 'feature/support_spi_ethernet' into 'master'
...
ethernet: support dm9051
Closes IDFGH-1443 and IDFGH-1439
See merge request espressif/esp-idf!5345
2019-07-04 21:30:52 +08:00
Jiang Jiang Jian
f4f59964a3
Merge branch 'feature/wifi_refactor_smartconfig_to_esp_event' into 'master'
...
esp_wifi: refactor smartconfig callback to use esp event
Closes IDF-268
See merge request espressif/esp-idf!4806
2019-07-04 21:16:57 +08:00
zhiweijian
6029ef1b58
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 19:44:59 +08:00
suda-morris
cb42c29252
ethernet: support dm9051
...
1. move resource allocation from xxx_init to xxx_new
2. fix enabling tx checksum insertion by mistake
3. iperf example: enlarge max arguments
4. add examples for spi-ethernet
Closes https://github.com/espressif/esp-idf/issues/3715
Closes https://github.com/espressif/esp-idf/issues/3711
2019-07-04 19:38:13 +08:00
Jiang Jiang Jian
a831fe596b
Merge branch 'bugfix/btdm_conn_fail_with_some_speaker' into 'master'
...
components/bt: Fix connect fail with some speakers
See merge request espressif/esp-idf!5358
2019-07-04 19:23:19 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Max Holtzberg
edbcb5b295
esp_transport_destroy: Fix memory leak
...
if tcp_transport component was used separately (e.g. using tranpsort_ssl.h directly without building list of transport) then it leaks memory on unitialization
Merges https://github.com/espressif/esp-idf/pull/3541
Closes https://github.com/espressif/esp-idf/issues/3531
Signed-off-by: David Cermak <cermak@espressif.com>
2019-07-04 11:07:41 +02:00