]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agodriver(touchpad): improve touchpad filter mode and update examples.
Wangjialin [Fri, 18 May 2018 07:56:45 +0000 (15:56 +0800)]
driver(touchpad): improve touchpad filter mode and update examples.

6 years agoMerge branch 'bugfix/o3_fails' into 'master'
Jiang Jiang Jian [Thu, 17 May 2018 08:48:13 +0000 (16:48 +0800)]
Merge branch 'bugfix/o3_fails' into 'master'

Fix compilation errors when -O3 is used

See merge request idf/esp-idf!2396

6 years agoMerge branch 'bugfix/wifi_fix_a_few_wifi_bugs' into 'master'
Jiang Jiang Jian [Thu, 17 May 2018 08:33:38 +0000 (16:33 +0800)]
Merge branch 'bugfix/wifi_fix_a_few_wifi_bugs' into 'master'

Fix a few WiFi bugs

See merge request idf/esp-idf!2312

6 years agoMerge branch 'bugfix/fix_qio_mode' into 'master'
Jiang Jiang Jian [Thu, 17 May 2018 08:21:46 +0000 (16:21 +0800)]
Merge branch 'bugfix/fix_qio_mode' into 'master'

bootloader(flash): fix flash QIO mode configuration error.

See merge request idf/esp-idf!2403

6 years agoMerge branch 'bugfix/btdm_change_scan_mode_after_conn_or_disconn' into 'master'
Jiang Jiang Jian [Thu, 17 May 2018 03:13:13 +0000 (11:13 +0800)]
Merge branch 'bugfix/btdm_change_scan_mode_after_conn_or_disconn' into 'master'

component/bt: Change scan mode after connected or disconnected

See merge request idf/esp-idf!2402

6 years agobootloader(flash): fix flash QIO mode configuration error.
Wangjialin [Tue, 15 May 2018 09:14:52 +0000 (17:14 +0800)]
bootloader(flash): fix flash QIO mode configuration error.

reported from github: https://github.com/espressif/esp-idf/issues/1944

1. Add SPI register setup in execute_flash_command.
2. Save and recover the SPI ctrl register in execute_flash_command.

6 years agoMerge branch 'bugfix/docs_small_updates' into 'master'
Angus Gratton [Wed, 16 May 2018 11:53:40 +0000 (19:53 +0800)]
Merge branch 'bugfix/docs_small_updates' into 'master'

Bugfix/docs small updates

See merge request idf/esp-idf!2392

6 years agoMerge branch 'bugfix/mbedtls_submodule' into 'master'
Angus Gratton [Wed, 16 May 2018 11:52:45 +0000 (19:52 +0800)]
Merge branch 'bugfix/mbedtls_submodule' into 'master'

mbedtls: Add submodule check at build time

See merge request idf/esp-idf!2395

6 years agoMerge branch 'feature/ledc_add_api_set_hpoint_val' into 'master'
Angus Gratton [Wed, 16 May 2018 11:52:26 +0000 (19:52 +0800)]
Merge branch 'feature/ledc_add_api_set_hpoint_val' into 'master'

driver(ledc): fix duty and fade issues and add thread-safe version APIs.

See merge request idf/esp-idf!2233

6 years agoMerge branch 'feature/btdm_modify_bt_gap_structure' into 'master'
Angus Gratton [Wed, 16 May 2018 11:46:55 +0000 (19:46 +0800)]
Merge branch 'feature/btdm_modify_bt_gap_structure' into 'master'

component/bt: modify BT GAP structure

See merge request idf/esp-idf!2364

6 years agocomponent/bt: modify BT GAP structure
baohongde [Wed, 16 May 2018 10:58:13 +0000 (18:58 +0800)]
component/bt: modify BT GAP structure

1. Separate the upward and the downward
2. Cancel use of msg.aid when call btc_transfer_context

6 years agoFix a few WiFi bugs
XiaXiaotian [Wed, 16 May 2018 10:50:28 +0000 (18:50 +0800)]
Fix a few WiFi bugs

1. remove rc when ap not found

   closes issue: https://github.com/espressif/esp-idf/issues/1797

2. allocate mimo packet to internal memory

3. use FRC2 timer instead of WDEV_NOW() for modem sleep to calculate
   TBTT time.

   It fixes the bug that TBTT will be incorrect if beacon is lost.

6 years agocomponent/bt: Change scan mode after connected or disconnected
baohongde [Tue, 15 May 2018 08:35:48 +0000 (16:35 +0800)]
component/bt: Change scan mode after connected or disconnected

6 years agoMerge branch 'bugfix/fix_interrupt_list_insert_issue' into 'master'
Jiang Jiang Jian [Wed, 16 May 2018 10:18:58 +0000 (18:18 +0800)]
Merge branch 'bugfix/fix_interrupt_list_insert_issue' into 'master'

esp32: fix interrupt list insert issue

See merge request idf/esp-idf!2391

6 years agoMerge branch 'bugfix/touch_change_default_enable_value' into 'master'
Jiang Jiang Jian [Wed, 16 May 2018 09:40:18 +0000 (17:40 +0800)]
Merge branch 'bugfix/touch_change_default_enable_value' into 'master'

bugfix(touch): change the default value for sar_touch_enable register.

See merge request idf/esp-idf!1870

6 years agoMerge branch 'bugfix/rmt_tx_cmd' into 'master'
Jiang Jiang Jian [Wed, 16 May 2018 09:39:04 +0000 (17:39 +0800)]
Merge branch 'bugfix/rmt_tx_cmd' into 'master'

example(rmt): tx cmd without negative coding

See merge request idf/esp-idf!1884

6 years agoMerge branch 'bugfix/improve_bt_debug' into 'master'
Jiang Jiang Jian [Wed, 16 May 2018 08:04:34 +0000 (16:04 +0800)]
Merge branch 'bugfix/improve_bt_debug' into 'master'

components/bt: Improve the Bluetooth debug messaging scheme

See merge request idf/esp-idf!2303

6 years agoMerge branch 'feature/tw16750_full_support_esp_wifi_80211_tx' into 'master'
Jiang Jiang Jian [Wed, 16 May 2018 06:55:00 +0000 (14:55 +0800)]
Merge branch 'feature/tw16750_full_support_esp_wifi_80211_tx' into 'master'

esp32/docs: fully support esp_wifi_80211_tx

See merge request idf/esp-idf!2007

6 years agoesp32/docs: fully support esp_wifi_80211_tx
Liu Zhi Fu [Mon, 26 Feb 2018 05:29:52 +0000 (13:29 +0800)]
esp32/docs: fully support esp_wifi_80211_tx

Closes https://github.com/espressif/esp-idf/issues/1256
Closes https://github.com/espressif/esp-idf/issues/1332

6 years agoFixed git command
krzychb [Fri, 11 May 2018 18:08:55 +0000 (20:08 +0200)]
Fixed git command

6 years agoFix git command. Merges https://github.com/espressif/esp-idf/pull/1943
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

6 years agoMerge branch 'bugfix/rtc_xtal_tests' into 'master'
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

6 years agoci: Only run XTAL unit tests assuming board has an XTAL, run less repeats
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

6 years agoMerge branch 'feature/dport_access' into 'master'
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

6 years agoMerge branch 'test/add_iperf_example_test' into 'master'
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

6 years agoMerge branch 'feature/vfs_access' into 'master'
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

6 years agoMerge branch 'bugfix/spi_native_pins' into 'master'
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

6 years agoexample test: integrate wifi throughput test to CI
He Yin Ling [Mon, 8 Jan 2018 12:33:09 +0000 (20:33 +0800)]
example test: integrate wifi throughput test to CI

6 years agoexample test: add test case for iperf example
He Yin Ling [Sun, 7 Jan 2018 12:28:09 +0000 (20:28 +0800)]
example test: add test case for iperf example

6 years agoMerge branch 'bugfix/select_rtc_slow_clk' into 'master'
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

6 years agoesp32/clk:Fix starting rtc oscillator if it is bad
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.

6 years agoiperf example: add scan command to get AP rssi
He Yin Ling [Thu, 11 Jan 2018 06:18:29 +0000 (14:18 +0800)]
iperf example: add scan command to get AP rssi

6 years agoiperf example: add cmd to trace max heap usage
He Yin Ling [Fri, 9 Mar 2018 09:42:08 +0000 (17:42 +0800)]
iperf example: add cmd to trace max heap usage

6 years agotiny-test-fw: fix misc bugs:
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

6 years agotiny-test-fw: add utilities:
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

6 years agotiny-test-fw: implement `env.get_pc_nic_info`:
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

6 years agoMerge branch 'doc/update_licenses' into 'master'
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

6 years agoMerge branch 'bugfix/sdspi_delayed_write_response' into 'master'
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

6 years agoMerge branch 'bugfix/rmt_tx_stop_bug' into 'master'
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

6 years agodocs: update list of third-party libraries, copyrights, and licenses
Ivan Grokhotkov [Thu, 10 May 2018 10:19:30 +0000 (18:19 +0800)]
docs: update list of third-party libraries, copyrights, and licenses

6 years agoMerge branch 'feature/adjust_log_level_about_uart' into 'master'
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

6 years agoMerge branch 'feature/docs_translate_home_page' into 'master'
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

6 years agoMerge branch 'bugfix/rename_clk_rst_bits_for_spi' into 'master'
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

6 years agoCorrected link rendering and additional translations
krzychb [Wed, 9 May 2018 05:45:54 +0000 (07:45 +0200)]
Corrected link rendering and additional translations

6 years agoMerge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
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

6 years agosoc: Change DPORT access
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.

6 years agocomponents/bt: Improve the Bluetooth debug messaging scheme
Hrishikesh Dhayagude [Wed, 25 Apr 2018 02:11:06 +0000 (07:41 +0530)]
components/bt: Improve the Bluetooth debug messaging scheme

As of now, when Bluetooth debugs are enabled, all the messages are
mapped to BT_PRINTF which is mapped to ESP_LOGE. Hence, make monitor
shows all logs in red color which might lead to missing the actual
errors

This patch maps the Bluetooth messages to appropriate ESP_LOG* messages
and improves readability.

Also, make the BT trace level be configurable in menuconfig, so that
each layer of bt trace can be enabled/disabled.

Finally, add debug log control for BTC, OSI, BLUFI and clear up
Bluetooth debug logs.

So, with this the method of enabling Bluetooth logs is as follows:
1. make menuconfig -> Component config -> Bluetooth -> Bluedroid Enable
-> BT DEBUG LOG LEVEL -> set trace level for every layer of BT

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agoMerge branch 'feature/wifi_add_sniffer_ctrl_pkt' into 'master'
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

6 years agoMerge branch 'bugfix/btdm_reconnect_con_params_update_reject_in_smp' into 'master'
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

6 years agodriver(rmt):Fix rmt_tx_stop bug.
kooho [Sat, 24 Feb 2018 08:36:21 +0000 (16:36 +0800)]
driver(rmt):Fix rmt_tx_stop bug.

6 years agoMerge branch 'bugfix/logging_docs_cleanup' into 'master'
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

6 years agoFix compilation errors when -O3 is used
Roland Dobai [Mon, 14 May 2018 09:54:27 +0000 (11:54 +0200)]
Fix compilation errors when -O3 is used

Closes https://github.com/espressif/esp-idf/issues/718

6 years ago rename clock enable and reset bits for SPI modules
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.

6 years agoFix "undefined variable which git" warning when submodules not initialized
Angus Gratton [Mon, 14 May 2018 08:07:27 +0000 (16:07 +0800)]
Fix "undefined variable which git" warning when submodules not initialized

6 years agombedtls: Add mbedtls submodule check to build system
Angus Gratton [Mon, 14 May 2018 08:07:18 +0000 (16:07 +0800)]
mbedtls: Add mbedtls submodule check to build system

6 years agoMerge branch 'bugfix/bluedroid_const_char' into 'master'
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

6 years agoImplement VFS support for access()
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

6 years agoadd sniffer control packet support
XiaXiaotian [Mon, 5 Feb 2018 03:52:56 +0000 (11:52 +0800)]
add sniffer control packet support

6 years agoesp32: fix interrupt list insert issue
Liu Zhi Fu [Sun, 13 May 2018 03:46:09 +0000 (11:46 +0800)]
esp32: fix interrupt list insert issue

If the allocated interrupt list is not empty and the new item will be inserted
as the header of the list, insert_vector_desc() causes crash because pre is
null. This commit fix this issue.

6 years agoMerge branch 'test/add_unit_test_jobs' into 'master'
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

6 years agodriver(ledc): fix duty and fade issues and add thread-safe version APIs.
kooho [Thu, 12 Apr 2018 07:38:39 +0000 (15:38 +0800)]
driver(ledc): fix duty and fade issues and add thread-safe version APIs.

1. Fix the duty fade check issue reported from https://github.com/espressif/esp-idf/issues/1914
2. Fix the duty overflow issue when duty_scale is set to 1.
3. Fix the duty fade error when a fade operation is under way. We must configure a new duty setting after the previous fade operation has finished due to hardware limit.
4. Add thread-safe version APIs to set duty and fade.
5. Correct the duty range in driver.

6 years agoMerge branch 'bugfix/ledc_error' into 'master'
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

6 years agoMerge branch 'feature/mbedtls_2_9_0' into 'master'
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

6 years agoMerge branch 'bugfix/add_comments_for_adc' into 'master'
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

6 years agoesp32/test: temporarily disable test for light sleep duration
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

6 years agoMerge branch 'bugfix/vfs_append' into 'master'
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

6 years agoBluedroid: remove warnings about discarding "const" for "const char*"
Roland Dobai [Fri, 11 May 2018 09:08:58 +0000 (11:08 +0200)]
Bluedroid: remove warnings about discarding "const" for "const char*"

6 years agodriver(adc): add descriptions for the issue that starting ADC can trigger interrupt...
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.

6 years agoci: increase number of unit test jobs
Ivan Grokhotkov [Fri, 11 May 2018 08:42:52 +0000 (16:42 +0800)]
ci: increase number of unit test jobs

6 years agoMerge branch 'feature/wifi_refactor_smartconfig' into 'master'
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

6 years agoMerge branch 'bugfix/i2s_dma_buf_alloc' into 'master'
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

6 years agoMerge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
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

6 years agoMerge branch 'bugfix/dhcp_server_max_limit' into 'master'
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

6 years agoMerge branch 'bugfix/btdm_conn_fail_after_deinit_and_init_spp' into 'master'
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

6 years agoMerge branch 'bugfix/btdm_fix_service_change_write_busy' into 'master'
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

6 years agoMerge branch 'bugfix/btdm_a2dp_disconn_state_when_connecting_with_iphone' into 'master'
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

6 years agoMerge branch 'bugfix/light_sleep_wdt_fix' into 'master'
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

6 years agorefactor smartconfig
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

6 years agoVFS: use O_APPEND flag of open() correctly
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

6 years agolog: clean up docs, clarify esp_log_level_set usage
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

6 years agoMerge branch 'bugfix/tw18980_fix_some_potential_thread_safe_issue' into 'master'
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

6 years agoi2s: fix issue in dma descriptor allocation if SPIRAM is enabled
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>
6 years agoledc driver: Clarify logging of function argument errors
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.

6 years agowifi: fix some potential thread safe issue
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

6 years agocomponent/bt: Fix can't be connected if init SPP again after SPP deinit
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

6 years agoMerge branch 'feature/vfs_small_fds' into 'master'
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

6 years agoComponent/bt: fix crash without SMP when deinit bluedroid
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

6 years agoci: add extra UT test job
Ivan Grokhotkov [Fri, 4 May 2018 07:53:59 +0000 (15:53 +0800)]
ci: add extra UT test job

6 years agombedtls: enable deprecation warnings when building unit tests
Ivan Grokhotkov [Tue, 8 May 2018 15:51:23 +0000 (23:51 +0800)]
mbedtls: enable deprecation warnings when building unit tests

6 years agombedtls: update usage of mbedtls_aes_encrypt/decrypt
Ivan Grokhotkov [Tue, 8 May 2018 15:50:22 +0000 (23:50 +0800)]
mbedtls: update usage of mbedtls_aes_encrypt/decrypt

6 years agombedtls/port: don’t re-declare mbedtls_shaX functions
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.

6 years agombedtls: update usage of deprecated mbedtls_shaX APIs
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.

6 years agombedtls: re-add version 2.9.0 as a submodule
Ivan Grokhotkov [Tue, 8 May 2018 13:45:10 +0000 (21:45 +0800)]
mbedtls: re-add version 2.9.0 as a submodule

6 years agosleep: fix deadlock in esp_timer_impl_advance after light sleep
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.

6 years agoesp_timer: fix esp_timer_impl_advance not triggering expired timers
Ivan Grokhotkov [Thu, 3 May 2018 16:57:24 +0000 (00:57 +0800)]
esp_timer: fix esp_timer_impl_advance not triggering expired timers

6 years agoComponent/bt: fix service change write busy
zhiweijian [Fri, 4 May 2018 13:11:13 +0000 (21:11 +0800)]
Component/bt: fix service change write busy

6 years agoComponent/bt: update con params is rejected in smp when reconnection
zhiweijian [Thu, 26 Apr 2018 09:03:11 +0000 (17:03 +0800)]
Component/bt: update con params is rejected in smp when reconnection

6 years agoMerge branch 'feature/put_supplicant_source_code_from_VNC_to_IDF' into 'master'
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

6 years agoUpdate index.rst. Merges https://github.com/espressif/esp-idf/pull/1747
XuanZe [Tue, 20 Mar 2018 08:52:11 +0000 (16:52 +0800)]
Update index.rst. Merges https://github.com/espressif/esp-idf/pull/1747

6 years agowpa_supplicant:move part of codes to IDF
Deng Xin [Fri, 20 Apr 2018 03:33:04 +0000 (11:33 +0800)]
wpa_supplicant:move part of codes to IDF