]> granicus.if.org Git - esp-idf/log
esp-idf
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 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 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

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

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

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

6 years agocomponent/esp32 : improve wifi and bluetooth coexistence performance
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.

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

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

6 years agodocs: Fix broken link in nvs and jtag example
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

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

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

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

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

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

6 years agodriver: Add notes to SPI driver docs about thread safety
Angus Gratton [Mon, 7 May 2018 01:03:48 +0000 (09:03 +0800)]
driver: Add notes to SPI driver docs about thread safety

6 years agoesp32: fix two wifi bugs
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

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

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

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

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

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

6 years agoesp32: optimize wifi lock
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

6 years agodriver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick
kooho [Tue, 24 Apr 2018 08:11:02 +0000 (16:11 +0800)]
driver(uart): Fix uart_get_baudrate incorrect return value when using ref_tick

6 years agoMerge branch 'bugfix/fix_typos_in_docs' into 'master'
Angus Gratton [Fri, 4 May 2018 00:40:44 +0000 (08:40 +0800)]
Merge branch 'bugfix/fix_typos_in_docs' into 'master'

Fix few typos in the docs

See merge request idf/esp-idf!2343

6 years agodocs: make conf.py python3 compatible
Ivan Grokhotkov [Thu, 3 May 2018 18:06:04 +0000 (02:06 +0800)]
docs: make conf.py python3 compatible

6 years agoMerge branch 'feature/btdm_get_and_remove_bond_device' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 12:58:51 +0000 (20:58 +0800)]
Merge branch 'feature/btdm_get_and_remove_bond_device' into 'master'

component/bt: Add APIs of get and remove bond device

See merge request idf/esp-idf!2323

6 years agoFix few typos in the docs
Hrishikesh Dhayagude [Thu, 3 May 2018 12:49:57 +0000 (18:19 +0530)]
Fix few typos in the docs

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agocomponent/bt: Add APIs of get and remove bond device
baohongde [Thu, 3 May 2018 11:05:57 +0000 (19:05 +0800)]
component/bt: Add APIs of get and remove bond device

1. Add APIs of get and remove bond device
2. Add ESP_BT_GAP_AUTH_CMPL_EVT

6 years agoesp32: fix potential PHY calibration bug
Liu Zhi Fu [Thu, 3 May 2018 07:48:14 +0000 (15:48 +0800)]
esp32: fix potential PHY calibration bug

1. Add error log if failed to store calibration version/mac/data
2. Change the NVS calibration version/mac/data store sequence
3. Pass the init_data instead of NULL to esp_phy_rf_init() in esp_phy_load_cal_and_init()

6 years agoMerge branch 'example/spi_ili_document' into 'master'
Jeroen Domburg [Thu, 3 May 2018 04:39:34 +0000 (12:39 +0800)]
Merge branch 'example/spi_ili_document' into 'master'

example(spi_master): add documentation for LCD commands

See merge request idf/esp-idf!2269

6 years agoexample(spi_master): add descriptions about LCD example
Michael (XIAO Xufeng) [Wed, 18 Apr 2018 06:36:26 +0000 (14:36 +0800)]
example(spi_master): add descriptions about LCD example

6 years agoexample: set default SPI flash mode to 40Mhz for iperf example
Liu Zhi Fu [Thu, 8 Feb 2018 07:25:34 +0000 (15:25 +0800)]
example: set default SPI flash mode to 40Mhz for iperf example

Set default SPI flash frequency to 40Mhz for iperf example to avoid random crash for ESP32-WROVER-KIT (v3).

6 years agoMerge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'
Jiang Jiang Jian [Thu, 3 May 2018 02:40:27 +0000 (10:40 +0800)]
Merge branch 'bugfix/mark_auto_connect_api_as_obsolete' into 'master'

esp32: mark WiFi auto connect API as deprecated

See merge request idf/esp-idf!1970

6 years agoMerge branch 'bugfix/wifi_log_level' into 'master'
Angus Gratton [Thu, 3 May 2018 02:21:19 +0000 (10:21 +0800)]
Merge branch 'bugfix/wifi_log_level' into 'master'

wifi: Set default wifi library log level based on sdkconfig

See merge request idf/esp-idf!2334

6 years agoMerge branch 'bugfix/light_sleep_fixes' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 12:09:36 +0000 (20:09 +0800)]
Merge branch 'bugfix/light_sleep_fixes' into 'master'

light sleep fixes

See merge request idf/esp-idf!2242

6 years agoMerge branch 'bugfix/free_mem_console' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:48:31 +0000 (15:48 +0800)]
Merge branch 'bugfix/free_mem_console' into 'master'

Free allocations in command.c after error conditions

See merge request idf/esp-idf!2332

6 years agoMerge branch 'feature/aws_iot_mqtt_on_443' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:43:29 +0000 (15:43 +0800)]
Merge branch 'feature/aws_iot_mqtt_on_443' into 'master'

aws_iot: add support for MQTT TLS over port 443

See merge request idf/esp-idf!2292

6 years agoMerge branch 'bugfix/cjson_include_objs' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 07:42:59 +0000 (15:42 +0800)]
Merge branch 'bugfix/cjson_include_objs' into 'master'

cJSON : Include only source file objects

See merge request idf/esp-idf!2326

6 years agonvs: Fix recovery from power-off while page is being freed
Sagar Bijwe [Fri, 27 Apr 2018 07:10:29 +0000 (12:40 +0530)]
nvs: Fix recovery from power-off while page is being freed

Currently when page is being freed, items are individually moved from
FREEING page to ACTIVE page and erased. If power-off happens during the
process, the remaining entries are moved to ACTIVE page during recovery.
The problem with this approach is there may not be enough space on
ACTIVE page for all items if an item was partially written before
power-off and erased during recovery. This change moves all the items
from FREEING to ACTIVE page and then erased the FREEING page, If
power-off happens during the process, then ACTIVE page is erased and the
process is restarted.

6 years agowifi: Set default wifi library log level based on sdkconfig
Angus Gratton [Wed, 2 May 2018 05:11:21 +0000 (15:11 +1000)]
wifi: Set default wifi library log level based on sdkconfig

Has to be set at runtime, due to precompiled wifi libraries.

Prompted by discussion on forum: https://esp32.com/viewtopic.php?f=2&t=5570&p=24216#p24216

6 years agoMerge branch 'feature/mfg_bin_create_utility' into 'master'
Ivan Grokhotkov [Wed, 2 May 2018 03:58:38 +0000 (11:58 +0800)]
Merge branch 'feature/mfg_bin_create_utility' into 'master'

nvs_flash: Add external binary creation support for NVS partition.

See merge request idf/esp-idf!2031

6 years agoesp32: mark WiFi auto connect API as obsolete
Liu Zhi Fu [Thu, 22 Feb 2018 12:52:01 +0000 (20:52 +0800)]
esp32: mark WiFi auto connect API as obsolete

Mark esp_wifi_set/get_auto_connect as obsolete

6 years agoMerge branch 'bugfix/gap_appearance_fixes' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 15:00:24 +0000 (23:00 +0800)]
Merge branch 'bugfix/gap_appearance_fixes' into 'master'

components/bt: Make modifications to the support of GAP appearance/icon characteristic

See merge request idf/esp-idf!2249

6 years agoMerge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:57:20 +0000 (22:57 +0800)]
Merge branch 'bugfix/btdm_prepare_write_status_correct' into 'master'

component/bt: Check the value received from the peer device when sent the data used prepare write.

See merge request idf/esp-idf!2320

6 years agoMerge branch 'feature/btdm_read_bredr_rssi' into 'master'
Jiang Jiang Jian [Tue, 1 May 2018 14:55:50 +0000 (22:55 +0800)]
Merge branch 'feature/btdm_read_bredr_rssi' into 'master'

component/bt : add class bt read RSSI delta (golden range)

See merge request idf/esp-idf!2325

6 years agoconsole: Fix formatting
Anuj Deshpande [Mon, 30 Apr 2018 08:52:45 +0000 (14:22 +0530)]
console: Fix formatting

6 years agoconsole: Free alloc'd memory after error conditions
Anuj Deshpande [Mon, 30 Apr 2018 08:51:03 +0000 (14:21 +0530)]
console: Free alloc'd memory after error conditions

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

6 years agocJSON : Include only source file objects
Anuj Deshpande [Fri, 27 Apr 2018 09:55:07 +0000 (15:25 +0530)]
cJSON : Include only source file objects

- test.c can cause issues if there is another main function
- Closes https://github.com/espressif/esp-idf/issues/1883

6 years agoFix potential NULL pointer dereference crash.
Wayne Keenan [Mon, 30 Apr 2018 07:03:35 +0000 (08:03 +0100)]
Fix potential NULL pointer dereference crash.

6 years agoMerge branch 'bugfix/btdm_genrate_hash_key_by_bluedroid' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 08:42:27 +0000 (16:42 +0800)]
Merge branch 'bugfix/btdm_genrate_hash_key_by_bluedroid' into 'master'

component/bt: Added the hash key generated directly in the bluedroid module.

See merge request idf/esp-idf!2321

6 years agoComponent/bt: fix version exchange issue
zhiweijian [Sat, 28 Apr 2018 08:22:38 +0000 (16:22 +0800)]
Component/bt: fix version exchange issue
- Android 7.0 version issue
- version exchange late in some phones
- can not get version in smp

6 years agocomponents/bt: Make modifications to the support of GAP appearance/icon
Hrishikesh Dhayagude [Mon, 16 Apr 2018 06:53:16 +0000 (12:23 +0530)]
components/bt: Make modifications to the support of GAP appearance/icon
characateristic

1. In addition to mentioning in the documentation, use the standard appearance
   values already present and return appropriate error in case an incorrect
   value is passed
2. Add ESP_BLE_APPEARANCE* macros corresponding to BTM_BLE_APPEARANCE*
and use them from the API instead
3. Add the missing appearance parameter values from
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml
4. Fix some minor typos

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
6 years agoComponent/bt: get end_handle when get include services
zhiweijian [Thu, 26 Apr 2018 09:17:35 +0000 (17:17 +0800)]
Component/bt: get end_handle when get include services

6 years agocomponent/bt: Added the hash key generated directly in the bluedroid module.
Yulong [Thu, 26 Apr 2018 13:44:12 +0000 (09:44 -0400)]
component/bt: Added the hash key generated directly in the bluedroid module.

1. Change all the hash used from the coap module to generated by the bluedroid module directly.

component/bt: Added the <string.h> include file to the gattc_co module to avoid compile error.

6 years agoMerge branch 'feature/btdm_bt_spp_vfs' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 07:10:07 +0000 (15:10 +0800)]
Merge branch 'feature/btdm_bt_spp_vfs' into 'master'

component/bt: Add SPP profile with VFS

See merge request idf/esp-idf!1883

6 years agoMerge branch 'feature/btdm_ble_throughput_optimiz' into 'master'
Jiang Jiang Jian [Sat, 28 Apr 2018 07:01:39 +0000 (15:01 +0800)]
Merge branch 'feature/btdm_ble_throughput_optimiz' into 'master'

Feature/btdm ble throughput optimiz

See merge request idf/esp-idf!2265

6 years agocomponent/bt: Add SPP profile with VFS
baohongde [Sat, 28 Apr 2018 03:36:22 +0000 (11:36 +0800)]
component/bt: Add SPP profile with VFS

6 years agocomponent/bt: Added the server test for the bit rate test.
Yulong [Thu, 7 Dec 2017 08:07:36 +0000 (03:07 -0500)]
component/bt: Added the server test for the bit rate test.

component/bt: optimiz the code
component/bt: optimiz the code.
component/bt: added the l2c change.
component/bt: Added the modified.
component/bt: change the indicate callback function.

component/bt: added the BLE throughput test gattc & gatts example.

component/bt: Change the sdkconfig.default CONFIG_GATTS_NOTIFY_THROUGHPUT setting.

component/bt: Change the throughput_client_task delay method.

component/bt: change the btu task size from 4096 to 5096

comonent/bt: close the print when congest.

component/bt: Added the CPU frequency set method to the readme file.

component/bt: Change the gatts_demo_char1_val to gl_profile_tab[PROFILE_A_APP_ID].char_handle to avoid make error.

example/ble_throughput: Added the Readme explanation.

component/bt: Added the bt lib change.

component/bt: Update the bt lib & Change the LOG level from ERROR to DEBUG when congest.

component/bt: Fixed the bug of timer start assign error.

component/bt: Change back the gattc & gatts demo with same as the master.

example/ble_throughput: Fixed the bug when prepare write of the ble throughput.

component/bt: Update the check_sum algorithm.

component/bt: Change Added the path when used the include file of "l2cdefs.h" & "l2c_api.h".

example/throughput_client: Added the Freertos related header files to ble throughput client demo to avoid compile error.

6 years agoMerge branch 'bugfix/tw19728_support_static_allocation_of_freertos_queue_used_by_isr_...
Jiang Jiang Jian [Fri, 27 Apr 2018 12:31:51 +0000 (20:31 +0800)]
Merge branch 'bugfix/tw19728_support_static_allocation_of_freertos_queue_used_by_isr_v3.1' into 'master'

esp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine (merged from v3.0)

See merge request idf/esp-idf!2317

6 years agocomponent/bt: Check the value received from the peer device when sent the data used...
Yulong [Thu, 26 Apr 2018 13:01:53 +0000 (09:01 -0400)]
component/bt: Check the value received from the peer device when sent the data used prepare write.

component/bt: Fix misspellings of "corret" in comments in bta_gattc_write_cmpl function.

6 years agoesp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine
Liu Zhi Fu [Fri, 30 Mar 2018 03:39:42 +0000 (11:39 +0800)]
esp32/bt/driver: support static allocation of FreeRTOS queues used by ISR routine

Support static allocation of FreeRTOS queues used by ISR routine in WiFi/BT/esp_timer/driver etc

6 years agocomponent/bt : add class bt read RSSI delta (golden range)
Tian Hao [Tue, 16 Jan 2018 10:36:31 +0000 (18:36 +0800)]
component/bt : add class bt read RSSI delta (golden range)

6 years agoMerge branch 'bugfix/btdm_modify_include_path' into 'master'
Jiang Jiang Jian [Fri, 27 Apr 2018 04:01:46 +0000 (12:01 +0800)]
Merge branch 'bugfix/btdm_modify_include_path' into 'master'

component/bt : modify header files to avoid conflict

See merge request idf/esp-idf!2195

6 years agoMerge branch 'mesh/feature_fix_root' into 'master'
Jiang Jiang Jian [Fri, 27 Apr 2018 02:56:35 +0000 (10:56 +0800)]
Merge branch 'mesh/feature_fix_root' into 'master'

Mesh/feature fix root

See merge request idf/esp-idf!2308

6 years agoexample: fix ble hid device demo include
Tian Hao [Thu, 26 Apr 2018 12:02:14 +0000 (20:02 +0800)]
example: fix ble hid device demo include

6 years agomesh: add fix root function
qiyueixa [Wed, 25 Apr 2018 16:13:53 +0000 (00:13 +0800)]
mesh: add fix root function

6 years agosleep: optimize light sleep wakeup latency
Ivan Grokhotkov [Wed, 4 Apr 2018 07:05:50 +0000 (15:05 +0800)]
sleep: optimize light sleep wakeup latency

6 years agocomponent/bt : modify header files to avoid conflict
Tian Hao [Sun, 8 Apr 2018 04:10:50 +0000 (12:10 +0800)]
component/bt : modify header files to avoid conflict

1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
   other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/

fix compile

6 years agosoc/rtc: restore dbg attenuation when waking from sleep
Ivan Grokhotkov [Wed, 4 Apr 2018 07:05:16 +0000 (15:05 +0800)]
soc/rtc: restore dbg attenuation when waking from sleep

This fixes inability to enter deep sleep after waking up from light sleep

6 years agosoc/rtc, sleep: don’t lower the bias for wakeup state
Ivan Grokhotkov [Wed, 4 Apr 2018 07:04:29 +0000 (15:04 +0800)]
soc/rtc, sleep: don’t lower the bias for wakeup state

This fixes watchdog resets occurring during wakeup from light sleep.

6 years agosoc/rtc: allow main XTAL to be powered on in sleep
Ivan Grokhotkov [Tue, 3 Apr 2018 10:15:59 +0000 (18:15 +0800)]
soc/rtc: allow main XTAL to be powered on in sleep

6 years agosoc/rtc: don’t switch frequency in rtc_sleep_init
Ivan Grokhotkov [Tue, 3 Apr 2018 10:14:55 +0000 (18:14 +0800)]
soc/rtc: don’t switch frequency in rtc_sleep_init

6 years agoesp_timer: add internal function to adjust time
Ivan Grokhotkov [Tue, 3 Apr 2018 10:13:22 +0000 (18:13 +0800)]
esp_timer: add internal function to adjust time

6 years agounit-test.py: increase timeout for test app start up
Ivan Grokhotkov [Thu, 26 Apr 2018 09:57:33 +0000 (17:57 +0800)]
unit-test.py: increase timeout for test app start up

6 years agounity: flush test name before starting the test, use printf everywhere
Ivan Grokhotkov [Thu, 26 Apr 2018 08:47:35 +0000 (16:47 +0800)]
unity: flush test name before starting the test, use printf everywhere

Unit test runner expects to see the test name echoed after test
selection is made. If the unit test immediately goes into sleep mode,
UART output will not be complete, and test runner will not see the
test name. This flushes the stream buffer and waits for UART FIFO to
be empty before starting the test.

Additionally some parts of code used unity_printf and some used
printf. Since unity_printf was only useful during very early tests
when newlib was not available, replace all its usages with printf.

6 years agoMerge branch 'feature/esp32_sw_breaks' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 10:05:38 +0000 (18:05 +0800)]
Merge branch 'feature/esp32_sw_breaks' into 'master'

ESP32 SW Breakpoints Support

See merge request idf/esp-idf!2316

6 years agoMerge branch 'bugfix/partition_make3.81' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 07:29:15 +0000 (15:29 +0800)]
Merge branch 'bugfix/partition_make3.81' into 'master'

partition table: Fix regression with make 3.81

See merge request idf/esp-idf!2314

6 years agoesp32: Adds support for SW breakpoints in flash
Alexey Gerenkov [Sun, 18 Mar 2018 09:27:19 +0000 (12:27 +0300)]
esp32: Adds support for SW breakpoints in flash

Disables app image integrity checks when running under OpenOCD control.
Allows setting breakpoints in flash before application start (just after reset).

6 years agoMerge branch 'bugfix/build_failure_with_heap_task_tracking' into 'master'
Ivan Grokhotkov [Thu, 26 Apr 2018 07:16:43 +0000 (15:16 +0800)]
Merge branch 'bugfix/build_failure_with_heap_task_tracking' into 'master'

Fix build failure if CONFIG_HEAP_TASK_TRACKING enabled

See merge request idf/esp-idf!2315

6 years agoesp_timer: add a function to get next alarm time
Ivan Grokhotkov [Tue, 3 Apr 2018 10:12:47 +0000 (18:12 +0800)]
esp_timer: add a function to get next alarm time

6 years agoMerge branch 'bugfix/fix_a_minor_compile_issue' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 06:31:04 +0000 (14:31 +0800)]
Merge branch 'bugfix/fix_a_minor_compile_issue' into 'master'

Bugfix/fix a minor compile issue

See merge request idf/esp-idf!2307

6 years agoMerge branch 'feature/wifi_add_wifi_event_mask' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 06:27:42 +0000 (14:27 +0800)]
Merge branch 'feature/wifi_add_wifi_event_mask' into 'master'

add WiFi event mask API

See merge request idf/esp-idf!2072

6 years agoheap: fix build failure due to missing header
Mahavir Jain [Thu, 26 Apr 2018 05:33:43 +0000 (11:03 +0530)]
heap: fix build failure due to missing header

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

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/fix_some_wifi_phy_mode_bugs' into 'master'
Jiang Jiang Jian [Thu, 26 Apr 2018 02:27:32 +0000 (10:27 +0800)]
Merge branch 'bugfix/fix_some_wifi_phy_mode_bugs' into 'master'

esp32: fix some wifi phy mode bugs

See merge request idf/esp-idf!2294

6 years agopartition table: Fix regression with make 3.81
Angus Gratton [Thu, 26 Apr 2018 02:07:27 +0000 (12:07 +1000)]
partition table: Fix regression with make 3.81

"undefine" was added in make 3.8.2

Namespace the global partition table option variables to minimise scope leakage.

6 years agoMerge branch 'feature/partition_size_check' into 'master'
Angus Gratton [Thu, 26 Apr 2018 00:48:31 +0000 (08:48 +0800)]
Merge branch 'feature/partition_size_check' into 'master'

partition_table: Check configured flash size fits in partition table

See merge request idf/esp-idf!2274

6 years agoMerge branch 'bugfix/log_macro_statements' into 'master'
Angus Gratton [Thu, 26 Apr 2018 00:05:49 +0000 (08:05 +0800)]
Merge branch 'bugfix/log_macro_statements' into 'master'

log: Make ESP_LOGx macros into single statements

See merge request idf/esp-idf!2275

6 years agopartition_table: Check configured flash size fits in partition table
Angus Gratton [Fri, 20 Apr 2018 06:57:15 +0000 (16:57 +1000)]
partition_table: Check configured flash size fits in partition table

Check happens at build time, so flash size config may need to be changed.

Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867

6 years agoMerge branch 'bugfix/ci_retry_build_example' into 'master'
Angus Gratton [Wed, 25 Apr 2018 23:36:52 +0000 (07:36 +0800)]
Merge branch 'bugfix/ci_retry_build_example' into 'master'

ci: Try to build examples in second time in case of error

See merge request idf/esp-idf!2302

6 years agolog: Make ESP_LOGx macros into single statements
Angus Gratton [Fri, 20 Apr 2018 03:41:11 +0000 (13:41 +1000)]
log: Make ESP_LOGx macros into single statements

Requires a semicolon after any use (previously this was optional due to trailing } after expansion)

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

6 years agofix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be...
jack [Wed, 25 Apr 2018 12:52:38 +0000 (20:52 +0800)]
fix the bug that in mdns test code redefine esp_err_t to uint32_t, which should be int32_t

6 years agoMerge branch 'feature/btdm_set_bredr_txpower' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 12:53:21 +0000 (20:53 +0800)]
Merge branch 'feature/btdm_set_bredr_txpower' into 'master'

component/bt : add BR/EDR TX power set

See merge request idf/esp-idf!2267

6 years agoesp32: fix some wifi phy mode bugs
Liu Zhi Fu [Tue, 24 Apr 2018 08:22:33 +0000 (16:22 +0800)]
esp32: fix some wifi phy mode bugs

Fix several WiFi phy mode bugs

6 years agoadd WiFi event mask API
XiaXiaotian [Fri, 16 Mar 2018 03:43:21 +0000 (11:43 +0800)]
add WiFi event mask API

6 years agocomponent/bt : add BR/EDR TX power set
Tian Hao [Thu, 19 Apr 2018 09:22:49 +0000 (17:22 +0800)]
component/bt : add BR/EDR TX power set

6 years agoMerge branch 'bugfix/btdm_fix_gatt_cache_error' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 06:57:18 +0000 (14:57 +0800)]
Merge branch 'bugfix/btdm_fix_gatt_cache_error' into 'master'

Component/bt: fix gattc some errors

See merge request idf/esp-idf!2104

6 years agoupdate emac_reg_v2.h
shangke [Wed, 14 Mar 2018 08:18:07 +0000 (16:18 +0800)]
update emac_reg_v2.h

6 years agoMerge branch 'feature/btdm_cherry-pick_ble_hid_device' into 'master'
Jiang Jiang Jian [Wed, 25 Apr 2018 06:53:23 +0000 (14:53 +0800)]
Merge branch 'feature/btdm_cherry-pick_ble_hid_device' into 'master'

Feature/btdm cherry pick ble hid device

See merge request idf/esp-idf!1701

6 years agoMerge branch 'doc/openocd_release_update' into 'master'
Ivan Grokhotkov [Wed, 25 Apr 2018 04:22:21 +0000 (12:22 +0800)]
Merge branch 'doc/openocd_release_update' into 'master'

docs: update download links for OpenOCD

See merge request idf/esp-idf!2259