]>
granicus.if.org Git - esp-idf/log
Wenderson Oliveira [Thu, 10 May 2018 22:49:17 +0000 (19:49 -0300)]
Fix git command. Merges https://github.com/espressif/esp-idf/pull/1943
Angus Gratton [Tue, 15 May 2018 10:44:46 +0000 (18:44 +0800)]
Merge branch 'bugfix/rtc_xtal_tests' into 'master'
ci: Only run XTAL unit tests assuming board has an XTAL
See merge request idf/esp-idf!2401
Angus Gratton [Tue, 15 May 2018 06:37:04 +0000 (14:37 +0800)]
ci: Only run XTAL unit tests assuming board has an XTAL, run less repeats
Angus Gratton [Tue, 15 May 2018 07:32:28 +0000 (15:32 +0800)]
Merge branch 'feature/dport_access' into 'master'
soc: Dport access with pre-read register APB
See merge request idf/esp-idf!2257
He Yin Ling [Tue, 15 May 2018 06:58:08 +0000 (14:58 +0800)]
Merge branch 'test/add_iperf_example_test' into 'master'
test: add iperf example test
See merge request idf/esp-idf!1753
Angus Gratton [Tue, 15 May 2018 06:33:51 +0000 (14:33 +0800)]
Merge branch 'feature/vfs_access' into 'master'
Implement VFS support for access()
See merge request idf/esp-idf!2378
Angus Gratton [Tue, 15 May 2018 06:19:20 +0000 (14:19 +0800)]
Merge branch 'bugfix/spi_native_pins' into 'master'
fix several spi issues about pin configurations
See merge request idf/esp-idf!2309
He Yin Ling [Mon, 8 Jan 2018 12:33:09 +0000 (20:33 +0800)]
example test: integrate wifi throughput test to CI
He Yin Ling [Sun, 7 Jan 2018 12:28:09 +0000 (20:28 +0800)]
example test: add test case for iperf example
Angus Gratton [Tue, 15 May 2018 04:57:22 +0000 (12:57 +0800)]
Merge branch 'bugfix/select_rtc_slow_clk' into 'master'
esp32/clk: Fix starting rtc oscillator if it bad
See merge request idf/esp-idf!2215
Konstantin Kondrashov [Fri, 30 Mar 2018 12:14:29 +0000 (17:14 +0500)]
esp32/clk:Fix starting rtc oscillator if it is bad
If the RTC crystal is bad or has no matched capacitance, then you do not need to start such the crystal. It is necessary to determine this case, output an error (about impossibility to start from the oscillator) and start from the internal RC of the chain.
Reduced the default value of the number of bootstrap cycles. Because we can oscillating the oscillator which then stops. (in Kconfig). Changed from 100 to 5.
The number of calibration cycles has been increased. It is the main criterion for estimating the launch of an oscillator. A large increase leads to an increase in the load time, as well as the stability of recognition of this case. (in Kconfig).
Changed from 1024 to 3000.
He Yin Ling [Thu, 11 Jan 2018 06:18:29 +0000 (14:18 +0800)]
iperf example: add scan command to get AP rssi
He Yin Ling [Fri, 9 Mar 2018 09:42:08 +0000 (17:42 +0800)]
iperf example: add cmd to trace max heap usage
He Yin Ling [Tue, 16 Jan 2018 14:16:03 +0000 (22:16 +0800)]
tiny-test-fw: fix misc bugs:
1. configs are not functional
* decorator will be executed when search case, need to set default config before search case.
2. fix DUT encode/decode errors
* python3 serial don't support write string/unicode, need to convert to bytes first.
* python2 string could failed to encode/decode non-acsii chars
3. fix bug that log folder not created
4. fix bug that test suite name is not correctly passed:
* the keyward arg should be `test_suite_name` not `test_name`
5. fix bug that test stopped on failed case
6. fix DUT `read` don't return all data cache
* `_DataCache.get_data` should first copy all data from queue to data cache and then return to user.
7. fix bug that `expect_all` failed even all expected item passed
8. optimize error info for expect
* print pattern for regular expression when match failed
9. fix bug that set default config doesn't work
He Yin Ling [Thu, 11 Jan 2018 09:49:27 +0000 (17:49 +0800)]
tiny-test-fw: add utilities:
1. Attenuator: control programmable attenuator
2. PowerControl: control APC PDU to power on/off devices
3. LineChart: use matplotlib to draw line chart
He Yin Ling [Sun, 7 Jan 2018 12:24:38 +0000 (20:24 +0800)]
tiny-test-fw: implement `env.get_pc_nic_info`:
this method is used to get mac/ipv4/ipv6 address for one NIC
Angus Gratton [Tue, 15 May 2018 03:13:20 +0000 (11:13 +0800)]
Merge branch 'doc/update_licenses' into 'master'
docs: update list of third-party libraries, copyrights, and licenses
See merge request idf/esp-idf!2381
Angus Gratton [Tue, 15 May 2018 02:32:21 +0000 (10:32 +0800)]
Merge branch 'bugfix/sdspi_delayed_write_response' into 'master'
sdspi: handle delayed response to data write command
See merge request idf/esp-idf!2290
Jiang Jiang Jian [Tue, 15 May 2018 02:04:33 +0000 (10:04 +0800)]
Merge branch 'bugfix/rmt_tx_stop_bug' into 'master'
driver(rmt): RMT tx stop workaround
See merge request idf/esp-idf!1915
Ivan Grokhotkov [Thu, 10 May 2018 10:19:30 +0000 (18:19 +0800)]
docs: update list of third-party libraries, copyrights, and licenses
Jiang Jiang Jian [Tue, 15 May 2018 01:59:21 +0000 (09:59 +0800)]
Merge branch 'feature/adjust_log_level_about_uart' into 'master'
feat: Adjust log level about UART
See merge request idf/esp-idf!2047
Jiang Jiang Jian [Tue, 15 May 2018 01:57:13 +0000 (09:57 +0800)]
Merge branch 'feature/docs_translate_home_page' into 'master'
Update index.rst. Merges https://github.com/espressif/esp-idf/pull/1747
See merge request idf/esp-idf!2368
Jiang Jiang Jian [Tue, 15 May 2018 01:49:56 +0000 (09:49 +0800)]
Merge branch 'bugfix/rename_clk_rst_bits_for_spi' into 'master'
rename clock enable and reset bits for SPI modules
See merge request idf/esp-idf!2293
krzychb [Wed, 9 May 2018 05:45:54 +0000 (07:45 +0200)]
Corrected link rendering and additional translations
Jiang Jiang Jian [Mon, 14 May 2018 13:20:44 +0000 (21:20 +0800)]
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
Component/bt: fix crash without SMP when deinit bluedroid
See merge request idf/esp-idf!2375
Konstantin Kondrashov [Thu, 22 Mar 2018 12:39:59 +0000 (17:39 +0500)]
soc: Change DPORT access
When two CPUs read the area of the DPORT and the area of the APB, the result is corrupted for the CPU that read the APB area.
And another CPU has valid data.
The method of eliminating this error.
Before reading the registers of the DPORT, make a preliminary reading of the APB register.
In this case, the joint access of the two CPUs to the registers of the APB and the DPORT is successful.
Jiang Jiang Jian [Mon, 14 May 2018 12:42:15 +0000 (20:42 +0800)]
Merge branch 'feature/wifi_add_sniffer_ctrl_pkt' into 'master'
add sniffer control packet support
See merge request idf/esp-idf!1904
Jiang Jiang Jian [Mon, 14 May 2018 12:19:29 +0000 (20:19 +0800)]
Merge branch 'bugfix/btdm_reconnect_con_params_update_reject_in_smp' into 'master'
Component/bt: update con params is rejected in smp when reconnection
See merge request idf/esp-idf!2318
kooho [Sat, 24 Feb 2018 08:36:21 +0000 (16:36 +0800)]
driver(rmt):Fix rmt_tx_stop bug.
Angus Gratton [Mon, 14 May 2018 10:36:35 +0000 (18:36 +0800)]
Merge branch 'bugfix/logging_docs_cleanup' into 'master'
log: clean up docs, clarify esp_log_level_set usage
See merge request idf/esp-idf!2080
jack [Tue, 24 Apr 2018 08:38:46 +0000 (16:38 +0800)]
rename clock enable and reset bits for SPI modules
1.The names of clock enable and reset bits do not match with TRM, just rename them.
Jiang Jiang Jian [Mon, 14 May 2018 07:25:45 +0000 (15:25 +0800)]
Merge branch 'bugfix/bluedroid_const_char' into 'master'
Bluedroid: remove warnings about discarding "const" for "const char*"
See merge request idf/esp-idf!2387
Roland Dobai [Fri, 4 May 2018 09:44:38 +0000 (11:44 +0200)]
Implement VFS support for access()
Closes https://github.com/espressif/esp-idf/issues/1085
XiaXiaotian [Mon, 5 Feb 2018 03:52:56 +0000 (11:52 +0800)]
add sniffer control packet support
He Yin Ling [Mon, 14 May 2018 06:06:05 +0000 (14:06 +0800)]
Merge branch 'test/add_unit_test_jobs' into 'master'
ci: increase number of unit test jobs, temporarily disable light sleep test for short durations
See merge request idf/esp-idf!2386
Angus Gratton [Mon, 14 May 2018 01:16:02 +0000 (09:16 +0800)]
Merge branch 'bugfix/ledc_error' into 'master'
ledc driver: Clarify logging of function argument errors
See merge request idf/esp-idf!2380
Angus Gratton [Mon, 14 May 2018 01:15:44 +0000 (09:15 +0800)]
Merge branch 'feature/mbedtls_2_9_0' into 'master'
Re-add mbedTLS as a submodule, update to 2.9.0
See merge request idf/esp-idf!2367
Angus Gratton [Fri, 11 May 2018 10:54:40 +0000 (18:54 +0800)]
Merge branch 'bugfix/add_comments_for_adc' into 'master'
driver(adc): Add descriptions that starting ADC can trigger interrupt of GPIO36…
See merge request idf/esp-idf!1910
Ivan Grokhotkov [Fri, 11 May 2018 10:14:13 +0000 (18:14 +0800)]
esp32/test: temporarily disable test for light sleep duration
Until the issue in CI is debugged
Angus Gratton [Fri, 11 May 2018 10:12:47 +0000 (18:12 +0800)]
Merge branch 'bugfix/vfs_append' into 'master'
VFS: use O_APPEND flag of open() correctly
See merge request idf/esp-idf!2382
Roland Dobai [Fri, 11 May 2018 09:08:58 +0000 (11:08 +0200)]
Bluedroid: remove warnings about discarding "const" for "const char*"
kooho [Mon, 5 Feb 2018 13:51:32 +0000 (21:51 +0800)]
driver(adc): add descriptions for the issue that starting ADC can trigger interrupt of GPIO36 and GPIO39.
Ivan Grokhotkov [Fri, 11 May 2018 08:42:52 +0000 (16:42 +0800)]
ci: increase number of unit test jobs
Jiang Jiang Jian [Fri, 11 May 2018 08:23:22 +0000 (16:23 +0800)]
Merge branch 'feature/wifi_refactor_smartconfig' into 'master'
refactor smartconfig
See merge request idf/esp-idf!2205
Jiang Jiang Jian [Fri, 11 May 2018 08:03:40 +0000 (16:03 +0800)]
Merge branch 'bugfix/i2s_dma_buf_alloc' into 'master'
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled
See merge request idf/esp-idf!2383
Jiang Jiang Jian [Fri, 11 May 2018 07:59:14 +0000 (15:59 +0800)]
Merge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
example(ble): Update ble a2d_sink example
See merge request idf/esp-idf!2105
Jiang Jiang Jian [Fri, 11 May 2018 07:50:38 +0000 (15:50 +0800)]
Merge branch 'bugfix/dhcp_server_max_limit' into 'master'
dhcp/dhcpserver Fix max station limit check in dhcp server
See merge request idf/esp-idf!2298
Jiang Jiang Jian [Fri, 11 May 2018 07:38:03 +0000 (15:38 +0800)]
Merge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'
component/bt: Fix can't be connected if init SPP again after SPP deinit
See merge request idf/esp-idf!2369
Jiang Jiang Jian [Fri, 11 May 2018 07:20:04 +0000 (15:20 +0800)]
Merge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'
Component/bt: fix service change write busy
See merge request idf/esp-idf!2359
Jiang Jiang Jian [Fri, 11 May 2018 06:59:34 +0000 (14:59 +0800)]
Merge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
See merge request idf/esp-idf!2288
Ivan Grokhotkov [Fri, 11 May 2018 06:55:51 +0000 (14:55 +0800)]
Merge branch 'bugfix/light_sleep_wdt_fix' into 'master'
Fix occasional WDT reset in light sleep test
See merge request idf/esp-idf!2374
XiaXiaotian [Mon, 9 Apr 2018 06:29:53 +0000 (14:29 +0800)]
refactor smartconfig
move wifi part to wifi lib and lwip part to idf
Roland Dobai [Thu, 10 May 2018 12:26:47 +0000 (14:26 +0200)]
VFS: use O_APPEND flag of open() correctly
Closes https://github.com/espressif/esp-idf/pull/1455
Ivan Grokhotkov [Sat, 17 Mar 2018 04:26:08 +0000 (12:26 +0800)]
log: clean up docs, clarify esp_log_level_set usage
Closes https://github.com/espressif/esp-idf/issues/1713
Jiang Jiang Jian [Fri, 11 May 2018 02:25:58 +0000 (10:25 +0800)]
Merge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'
wifi: fix some potential thread safe issue
See merge request idf/esp-idf!2366
Mahavir Jain [Thu, 10 May 2018 12:30:11 +0000 (18:00 +0530)]
i2s: fix issue in dma descriptor allocation if SPIRAM is enabled
It has been observed that, if external SPIRAM is enabled, then under
certain scenarios (e.g. internal memory being too much fragmented),
I2S tx/rx descriptors can land in external SPIRAM and hence resulting
in failure in DMA. Adding explicit capability to allocate in only DMA
capable memory.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
Angus Gratton [Thu, 10 May 2018 09:18:17 +0000 (17:18 +0800)]
ledc driver: Clarify logging of function argument errors
Some parameter errors did not specify which parameter was invalid.
Adds a new macro to name the invalid param.
zhangyanjiao [Thu, 10 May 2018 08:22:43 +0000 (16:22 +0800)]
wifi: fix some potential thread safe issue
change some API function to throw event:
esp_wifi_deauth_sta
esp_wifi_get_country
esp_wifi_ap_get_sta_list
esp_wifi_sta_get_ap_info
esp_wifi_stop
esp_wifi_get_channel
esp_wifi_get_protocol
esp_wifi_get_bandwidth
baohongde [Thu, 10 May 2018 08:16:25 +0000 (16:16 +0800)]
component/bt: Fix can't be connected if init SPP again after SPP deinit
Ivan Grokhotkov [Thu, 10 May 2018 06:29:34 +0000 (14:29 +0800)]
Merge branch 'feature/vfs_small_fds' into 'master'
Use smaller numbers as file descriptors
See merge request idf/esp-idf!2300
zhiweijian [Thu, 10 May 2018 03:39:34 +0000 (11:39 +0800)]
Component/bt: fix crash without SMP when deinit bluedroid
- fix crash without SMP when bluedroid deinit
- modify default menuconfig in blufi demo
Ivan Grokhotkov [Fri, 4 May 2018 07:53:59 +0000 (15:53 +0800)]
ci: add extra UT test job
Ivan Grokhotkov [Tue, 8 May 2018 15:51:23 +0000 (23:51 +0800)]
mbedtls: enable deprecation warnings when building unit tests
Ivan Grokhotkov [Tue, 8 May 2018 15:50:22 +0000 (23:50 +0800)]
mbedtls: update usage of mbedtls_aes_encrypt/decrypt
Ivan Grokhotkov [Tue, 8 May 2018 15:22:57 +0000 (23:22 +0800)]
mbedtls/port: don’t re-declare mbedtls_shaX functions
ALT header files for sha1, sha256, sha512 are only supposed to declare
mbedtls_sha1_context data structure. Function prototypes should come
from original header files.
Ivan Grokhotkov [Tue, 8 May 2018 15:21:01 +0000 (23:21 +0800)]
mbedtls: update usage of deprecated mbedtls_shaX APIs
The following mbedTLS APIs have been deprecated and replaced with the
new ones which return error codes:
mbedtls_shaX_starts -> mbedtls_shaX_starts_ret
mbedtls_shaX_update -> mbedtls_shaX_update_ret
mbedtls_shaX_finish -> mbedtls_shaX_finish_ret
mbedtls_shaX_process -> mbedtls_shaX_internal_process
Update hardware implementations of SHA functions, and other IDF
components which used above functions, to use new versions.
Ivan Grokhotkov [Tue, 8 May 2018 13:45:10 +0000 (21:45 +0800)]
mbedtls: re-add version 2.9.0 as a submodule
Ivan Grokhotkov [Fri, 4 May 2018 04:50:39 +0000 (12:50 +0800)]
sleep: fix deadlock in esp_timer_impl_advance after light sleep
When light sleep is started, the other CPU gets halted using DPORT
stall mechanism. This can happen while it is inside an esp_timer
critical section, which may lead to a deadlock. This change adds
functions to take and release esp_timer lock before entering
DPORT critical section, preventing the deadlock.
Ivan Grokhotkov [Thu, 3 May 2018 16:57:24 +0000 (00:57 +0800)]
esp_timer: fix esp_timer_impl_advance not triggering expired timers
zhiweijian [Fri, 4 May 2018 13:11:13 +0000 (21:11 +0800)]
Component/bt: fix service change write busy
zhiweijian [Thu, 26 Apr 2018 09:03:11 +0000 (17:03 +0800)]
Component/bt: update con params is rejected in smp when reconnection
Jiang Jiang Jian [Wed, 9 May 2018 07:19:37 +0000 (15:19 +0800)]
Merge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'
wpa_supplicant: move part of codes to IDF
See merge request idf/esp-idf!2272
XuanZe [Tue, 20 Mar 2018 08:52:11 +0000 (16:52 +0800)]
Update index.rst. Merges https://github.com/espressif/esp-idf/pull/1747
Deng Xin [Fri, 20 Apr 2018 03:33:04 +0000 (11:33 +0800)]
wpa_supplicant:move part of codes to IDF
Ivan Grokhotkov [Tue, 8 May 2018 12:25:13 +0000 (20:25 +0800)]
Merge branch 'bugfix/uart_fix_get_baudrate_error_bug' into 'master'
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
See merge request idf/esp-idf!2295
michael [Thu, 26 Apr 2018 07:38:21 +0000 (15:38 +0800)]
fix(spi): fix the issue when bus flag not set, dual mode cannot be used.
michael [Tue, 24 Apr 2018 07:34:07 +0000 (15:34 +0800)]
fix(spi): fix the issue that native pins don't work after SPI initialized before
Michael (XIAO Xufeng) [Mon, 23 Apr 2018 17:23:12 +0000 (01:23 +0800)]
feat(gpio): add function allowing switching input source from GPIO back to IOMUX
Angus Gratton [Tue, 8 May 2018 07:23:47 +0000 (15:23 +0800)]
Merge branch 'feature/psram_configure_in_runtime' into 'master'
feature(psram): update psram and flash SPI frequency in runtime
See merge request idf/esp-idf!1776
Jiang Jiang Jian [Tue, 8 May 2018 03:11:03 +0000 (11:11 +0800)]
Merge branch 'bugfix/optimize_coexist_performance' into 'master'
component/esp32 : improve wifi and bluetooth coexistence performance
See merge request idf/esp-idf!2349
Tian Hao [Sat, 5 May 2018 04:50:13 +0000 (12:50 +0800)]
component/esp32 : improve wifi and bluetooth coexistence performance
1. update coexistence and wifi libraries. Coexist version update to
v0.9.2
2. Cancel the restriction of use AMPDU when SW_COEXIST_ENABLE is y.
Ivan Grokhotkov [Mon, 7 May 2018 09:13:07 +0000 (17:13 +0800)]
Merge branch 'bugfix/docs_nvs_example_link' into 'master'
docs: Fix broken link in nvs examples
See merge request idf/esp-idf!2360
Jiang Jiang Jian [Mon, 7 May 2018 08:16:52 +0000 (16:16 +0800)]
Merge branch 'bugfix/update_emac_h' into 'master'
update emac_reg_v2.h
See merge request idf/esp-idf!2050
Anuj Deshpande [Mon, 7 May 2018 06:54:20 +0000 (12:24 +0530)]
docs: Fix broken link in nvs and jtag example
- Closes https://github.com/espressif/esp-idf/issues/1922
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
bluedroid: use the new socket registering API
Roland Dobai [Mon, 7 May 2018 07:01:56 +0000 (09:01 +0200)]
VFS: Use smaller numbers as file descriptors
Angus Gratton [Mon, 7 May 2018 06:49:41 +0000 (14:49 +0800)]
Merge branch 'doc/spi_master_thread_safety' into 'master'
driver: Add notes to SPI driver docs about thread safety
See merge request idf/esp-idf!2354
Jiang Jiang Jian [Mon, 7 May 2018 06:00:24 +0000 (14:00 +0800)]
Merge branch 'bugfix/fix_two_wifi_bugs' into 'master'
esp32: fix two wifi bugs
See merge request idf/esp-idf!2352
Ivan Grokhotkov [Mon, 7 May 2018 05:50:52 +0000 (13:50 +0800)]
Merge branch 'bugfix/mdns_print_results' into 'master'
mdns: fix potential NULL pointer dereference in mdns_print_results
See merge request idf/esp-idf!2353
Ivan Grokhotkov [Mon, 7 May 2018 01:08:23 +0000 (09:08 +0800)]
Merge branch 'bugfix/nvs_page_compaction' into 'master'
nvs: Fix recovery from power-off while page is being freed
See merge request idf/esp-idf!2327
Ivan Grokhotkov [Mon, 7 May 2018 01:07:44 +0000 (09:07 +0800)]
Merge branch 'bugfix/docs_conf_py3_compat' into 'master'
docs: make conf.py python3 compatible
See merge request idf/esp-idf!2344
Angus Gratton [Mon, 7 May 2018 01:03:48 +0000 (09:03 +0800)]
driver: Add notes to SPI driver docs about thread safety
Liu Zhi Fu [Sun, 6 May 2018 09:29:06 +0000 (17:29 +0800)]
esp32: fix two wifi bugs
1. Fix the bug that WiFi receives duplicate MPDU
2. Deauth the station if soft-AP already has max WiFi connections
baohongde [Fri, 4 May 2018 11:44:40 +0000 (19:44 +0800)]
component/bt: Fix bug a2dp have disconnect state when connecting with iphone 7
Jiang Jiang Jian [Fri, 4 May 2018 11:31:43 +0000 (19:31 +0800)]
Merge branch 'feature/btdm_get_end_handle_when_get_include_service' into 'master'
Component/bt: get end_handle when get include services
See merge request idf/esp-idf!2319
Jiang Jiang Jian [Fri, 4 May 2018 11:30:03 +0000 (19:30 +0800)]
Merge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'
Component/bt: fix version exchange issue
See merge request idf/esp-idf!2329
Jiang Jiang Jian [Fri, 4 May 2018 11:27:14 +0000 (19:27 +0800)]
Merge branch 'bugfix/tw12351_wifi_lock_op' into 'master'
esp32: optimize wifi lock
See merge request idf/esp-idf!2345
Jiang Jiang Jian [Fri, 4 May 2018 11:25:20 +0000 (19:25 +0800)]
Merge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'
example: set default SPI flash mode to 40Mhz for iperf example
See merge request idf/esp-idf!1928
Jiang Jiang Jian [Fri, 4 May 2018 11:24:05 +0000 (19:24 +0800)]
Merge branch 'bugfix/tw20575_fix_potential_phy_calibration_bug' into 'master'
esp32: fix potential PHY calibration bug
See merge request idf/esp-idf!2339
Liu Zhi Fu [Fri, 4 May 2018 02:36:04 +0000 (10:36 +0800)]
esp32: optimize wifi lock
Replace portENTER_CRITICAL/portEXIT_CRITICAL with semaphore lock if
the protected resource is only accessed by different tasks