xueyunfei
e4312f8ab5
fix bug for random tcp close for 4.0
2019-12-05 18:41:42 +08:00
Jiang Jiang Jian
1930c56bd2
Merge branch 'bugfix/lwip_rx_buff_free_v4.0' into 'release/v4.0'
...
lw-IP: Adapted lw-ip port layer to use 2.1.2-esp in 4.0 (v4.0)
See merge request espressif/esp-idf!6857
2019-12-05 18:39:38 +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
Angus Gratton
08e55b8a66
Merge branch 'bugfix/ethernet_add_reference_counter_v4.0' into 'release/v4.0'
...
ethernet: add reference counter v4.0 (v4.0)
See merge request espressif/esp-idf!6780
2019-12-04 14:59:45 +08:00
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
14dd44c05f
doc: move common Ethernet config explanation into a single file
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
Angus Gratton
c68bd605f8
Merge branch 'bugfix/idf_tool_git_worktree_v4.0' into 'release/v4.0'
...
tools: Don't use git work-tree in idf_tools.py and try to parse IDF version from C header (v4.0)
See merge request espressif/esp-idf!6821
2019-12-03 09:22:29 +08:00
Mahavir Jain
f37837f785
Merge branch 'NimBLE/fix_send_after_controller_ready_v4.0' into 'release/v4.0'
...
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
See merge request espressif/esp-idf!6793
2019-12-01 17:53:50 +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
Ivan Grokhotkov
afeed3cc6f
build system: explicitly disable LTO plugin
...
... to reduce the number of simultaneously open files at link time.
When plugin support is enabled in the linker, BFD's (and the
corresponding file handles) are cached for the plugin to use. This
results in quite a large number of simultaneously open files, which
hits the default limit on macOS (256 files).
Since we aren't using LTO now, disable it explicitly when invoking the
linker.
Closes IDF-923
Closes IDFGH-1764
Closes https://github.com/espressif/esp-idf/issues/3989
2019-11-28 11:02:18 +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
Jiang Jiang Jian
e324013ed6
Merge branch 'bugfix/hfp_client_indication_v4.0' into 'release/v4.0'
...
component/bt: Fix bugs in HFP feature v4.0
See merge request espressif/esp-idf!6851
2019-11-27 22:49:03 +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
Roland Dobai
c45830d03f
tools: Don't use git work-tree in idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/4355
2019-11-26 08:56:34 +01: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
Roland Dobai
97488fe806
Menuconfig: Don't ask to save configuration when nothing has changed
...
Closes https://github.com/espressif/esp-idf/issues/4303
2019-11-25 11:29:58 +01: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
Angus Gratton
668c0dfb9b
Merge branch 'bugfix/idfpy_before_flash_option_v4.0' into 'release/v4.0'
...
idf.py: Add --before flag to esptool.py call (v4.0)
See merge request espressif/esp-idf!6625
2019-11-21 06:40:14 +08:00
Angus Gratton
0b0f8d6d6c
Merge branch 'feature/windows_ccache_enable_v4.0' into 'release/v4.0'
...
tools: export IDF_CCACHE_ENABLE on Windows by default (backport v4.0)
See merge request espressif/esp-idf!6664
2019-11-21 06:39:27 +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
Angus Gratton
5bb0b39700
ci: Add test configs for 32kHz crystals
2019-11-16 17:06:14 +08:00
Jiang Jiang Jian
9214c887f7
Merge branch 'bugfix/asio_examples_v4.0' into 'release/v4.0'
...
asio: fix asio test code to start the test after ip address received from common example code (v4.0)
See merge request espressif/esp-idf!6699
2019-11-15 23:50:22 +08:00