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

6 years agoCI: Try to build examples in second time in case of error
Anton Maklakov [Wed, 4 Apr 2018 07:37:28 +0000 (15:37 +0800)]
CI: Try to build examples in second time in case of error

    It will help to work around the weird bug during buillding a batch of examples

6 years agoMerge branch 'bugfix/fatfs_readwrite_test_failure' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 15:43:24 +0000 (23:43 +0800)]
Merge branch 'bugfix/fatfs_readwrite_test_failure' into 'master'

fatfs/test: increase stack size in read-write unit test

See merge request idf/esp-idf!2256

6 years agoMerge branch 'feature/nvs_coverage' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 15:42:00 +0000 (23:42 +0800)]
Merge branch 'feature/nvs_coverage' into 'master'

NVS: add power off recovery and coverage test into CI

See merge request idf/esp-idf!2246

6 years agoMerge branch 'bugfix/sdspi_wp_cd_pins' into 'master'
Ivan Grokhotkov [Tue, 24 Apr 2018 12:53:47 +0000 (20:53 +0800)]
Merge branch 'bugfix/sdspi_wp_cd_pins' into 'master'

sdmmc, sdspi: fix handling of CD and WP

See merge request idf/esp-idf!2285

6 years agosdmmc: add tests for CD and WP pins for SD and SPI mode
Ivan Grokhotkov [Mon, 23 Apr 2018 06:47:00 +0000 (14:47 +0800)]
sdmmc: add tests for CD and WP pins for SD and SPI mode

6 years agosdmmc: don’t print sdio_reset warning when CD is idle
Ivan Grokhotkov [Mon, 23 Apr 2018 06:45:59 +0000 (14:45 +0800)]
sdmmc: don’t print sdio_reset warning when CD is idle

6 years agosdmmc host: add handling of CD and WP pins
Ivan Grokhotkov [Mon, 23 Apr 2018 06:44:46 +0000 (14:44 +0800)]
sdmmc host: add handling of CD and WP pins

Previous version of the code only connected CD and WP to the
peripheral, in fact the hardware does not use the values of these
signals automatically. This adds code to read CD and WP values when
command is executed and return errors if card is not present, or
write command is executed when WP signal is active.

6 years agosdmmc host: when parameter validation fails, exit cleanly
Ivan Grokhotkov [Mon, 23 Apr 2018 06:38:00 +0000 (14:38 +0800)]
sdmmc host: when parameter validation fails, exit cleanly

This fixes lock-up which happened when sending a command, if the
previous command has failed.

6 years agoMerge branch 'bugfix/minor_fix_for_wifi_tx' into 'master'
Jiang Jiang Jian [Tue, 24 Apr 2018 05:42:41 +0000 (13:42 +0800)]
Merge branch 'bugfix/minor_fix_for_wifi_tx' into 'master'

esp32: minor fix for WiFi TX

See merge request idf/esp-idf!2281

6 years agoaws_iot: add support for MQTT TLS over port 443
Mahavir Jain [Fri, 20 Apr 2018 14:15:50 +0000 (19:45 +0530)]
aws_iot: add support for MQTT TLS over port 443

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agoMerge branch 'bugfix/esp_tls_error_logging' into 'master'
Ivan Grokhotkov [Mon, 23 Apr 2018 12:18:30 +0000 (20:18 +0800)]
Merge branch 'bugfix/esp_tls_error_logging' into 'master'

esp-tls: Expand error logging

See merge request idf/esp-idf!2284

6 years agomore
Liu Zhi Fu [Mon, 23 Apr 2018 11:09:46 +0000 (19:09 +0800)]
more

6 years agoMerge branch 'bugfix/esp_tls_memory_leak' into 'master'
Ivan Grokhotkov [Mon, 23 Apr 2018 10:57:11 +0000 (18:57 +0800)]
Merge branch 'bugfix/esp_tls_memory_leak' into 'master'

esp-tls: fix memory leak when using CA certification validation

See merge request idf/esp-idf!2283

6 years agoMerge branch 'bugfix/authmode_change_event_peg_core_in_wep_mode' into 'master'
Jiang Jiang Jian [Mon, 23 Apr 2018 10:51:46 +0000 (18:51 +0800)]
Merge branch 'bugfix/authmode_change_event_peg_core_in_wep_mode' into 'master'

bugfix/wrong_authmode_change_event_is_reported_in_wep_mode

See merge request idf/esp-idf!2282

6 years agoComponent/bt: fix gatt cache error
zhiweijian [Tue, 20 Mar 2018 11:27:50 +0000 (19:27 +0800)]
Component/bt: fix gatt cache error
- fix sev == NULL error
- fix start_handle == end_handle

6 years agosdspi: fix CD and WP incorrectly configured as outputs
Ivan Grokhotkov [Mon, 23 Apr 2018 06:35:40 +0000 (14:35 +0800)]
sdspi: fix CD and WP incorrectly configured as outputs

6 years agosdmmc, sdspi: fix initializers to be C++-compatible, add test
Ivan Grokhotkov [Mon, 23 Apr 2018 06:35:13 +0000 (14:35 +0800)]
sdmmc, sdspi: fix initializers to be C++-compatible, add test

Closes https://github.com/espressif/esp-idf/issues/1861
Closes https://github.com/espressif/arduino-esp32/issues/1312

6 years agoBug fix of authmode change event peg core in wep mode
Deng Xin [Sun, 22 Apr 2018 12:34:42 +0000 (20:34 +0800)]
Bug fix of authmode change event peg core in wep mode

auth mode change event will report continous in wep mode due to wrong original auth record

close github issue https://github.com/espressif/esp-idf/issues/1804

6 years agobugfix/sdspi_host.c: wrong CD/WP pin configuration
Flavio Bayer [Fri, 13 Apr 2018 19:34:23 +0000 (16:34 -0300)]
bugfix/sdspi_host.c: wrong CD/WP pin configuration

Looks like the configuration of CP and WP pins are wrong, since the check for `gpio_cd` and `gpio_wp` in `slot_config` seems to be swapped.

6 years agoMerge branch 'feature/disable_ble_service_change_pr1673' into 'master'
Angus Gratton [Mon, 23 Apr 2018 01:15:02 +0000 (09:15 +0800)]
Merge branch 'feature/disable_ble_service_change_pr1673' into 'master'

Add option to ena/dis BLE service change registration

See merge request idf/esp-idf!2210

6 years agoMerge branch 'bugfix/typo_in_aws_iot_config' into 'master'
Angus Gratton [Mon, 23 Apr 2018 01:02:02 +0000 (09:02 +0800)]
Merge branch 'bugfix/typo_in_aws_iot_config' into 'master'

Typo in aws_iot_config.h

See merge request idf/esp-idf!2280

6 years agonvs_flash: Add binary creation support for NVS partition.
Amit Sheth [Thu, 19 Apr 2018 00:18:05 +0000 (05:48 +0530)]
nvs_flash: Add binary creation support for NVS partition.

Ideally suited for generating a binary externally, containing key-value pairs specific
to device manufacturers. Utility allows creation of a binary, compatible
with NVS structure, which can be separately flashed onto a new
partition. This helps device manufacturers set different values for
different devices, e.g. serial numbers, but using a single firmaware
image.

6 years agoMerge branch 'bugfix/tw18453_fix_ap_eapol_retry_bug' into 'master'
Jiang Jiang Jian [Sun, 22 Apr 2018 08:37:24 +0000 (16:37 +0800)]
Merge branch 'bugfix/tw18453_fix_ap_eapol_retry_bug' into 'master'

esp32: fix soft-AP eapol retry issue

See merge request idf/esp-idf!2264

6 years agoesp32: fix the bug that soft-AP fails to retry eapol
Liu Zhi Fu [Thu, 19 Apr 2018 06:59:25 +0000 (14:59 +0800)]
esp32: fix the bug that soft-AP fails to retry eapol

Fix the issue that soft-AP fails to retry eapol frame when multiple
stations connects it at the same time.

More

6 years agoesp-tls: fix memory leak when using CA certification validation
redchenjs [Sat, 21 Apr 2018 17:13:09 +0000 (01:13 +0800)]
esp-tls: fix memory leak when using CA certification validation

6 years agoMerge branch 'feature/idf_size_report_symbols' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 15:55:19 +0000 (23:55 +0800)]
Merge branch 'feature/idf_size_report_symbols' into 'master'

Feature/idf-size: report per-archive symbols and their sizes

See merge request idf/esp-idf!1956

6 years agoMerge branch 'feature/esp-tls' into 'master'
Ivan Grokhotkov [Fri, 20 Apr 2018 14:35:40 +0000 (22:35 +0800)]
Merge branch 'feature/esp-tls' into 'master'

esp-tls: Fix HTTP2 failure

See merge request idf/esp-idf!2277

6 years agoTypo in aws_iot_config.h
Kyle Secord [Wed, 18 Apr 2018 01:56:11 +0000 (21:56 -0400)]
Typo in aws_iot_config.h

-breaks compilation when 'Override Shadow RX buffer size' is enabled via
menuconfig

Merges https://github.com/espressif/esp-idf/pull/1869

6 years agoexample/hid: Added the readme file.
Yulong [Fri, 20 Apr 2018 13:20:44 +0000 (09:20 -0400)]
example/hid: Added the readme file.

6 years agoesp-tls: Fix HTTP2 failure
Jitin George [Fri, 20 Apr 2018 05:20:38 +0000 (10:50 +0530)]
esp-tls: Fix HTTP2 failure

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

6 years agoMerge branch 'bugfix/add_NULL_value_check_bta_gattc_get_services' into 'master'
Jiang Jiang Jian [Fri, 20 Apr 2018 10:15:45 +0000 (18:15 +0800)]
Merge branch 'bugfix/add_NULL_value_check_bta_gattc_get_services' into 'master'

components/bt: Add NULL value check in bta_gattc_get_service_with_uuid()

See merge request idf/esp-idf!2212