XiaXiaotian
364c15b9f8
add WiFi event mask API
2018-04-25 19:25:43 +08:00
Ivan Grokhotkov
0b1bb2ab57
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
2018-04-24 23:43:24 +08:00
Ivan Grokhotkov
907248b6a7
Merge branch 'feature/nvs_coverage' into 'master'
...
NVS: add power off recovery and coverage test into CI
See merge request idf/esp-idf!2246
2018-04-24 23:42:00 +08:00
Ivan Grokhotkov
52f9a5ca16
Merge branch 'bugfix/sdspi_wp_cd_pins' into 'master'
...
sdmmc, sdspi: fix handling of CD and WP
See merge request idf/esp-idf!2285
2018-04-24 20:53:47 +08:00
Ivan Grokhotkov
e0f1524c86
sdmmc: add tests for CD and WP pins for SD and SPI mode
2018-04-24 19:08:44 +08:00
Ivan Grokhotkov
e19901c898
sdmmc: don’t print sdio_reset warning when CD is idle
2018-04-24 19:08:44 +08:00
Ivan Grokhotkov
85ab4fc83e
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.
2018-04-24 19:08:44 +08:00
Ivan Grokhotkov
829c6cef39
sdmmc host: when parameter validation fails, exit cleanly
...
This fixes lock-up which happened when sending a command, if the
previous command has failed.
2018-04-24 19:08:44 +08:00
Jiang Jiang Jian
edcaa5f300
Merge branch 'bugfix/minor_fix_for_wifi_tx' into 'master'
...
esp32: minor fix for WiFi TX
See merge request idf/esp-idf!2281
2018-04-24 13:42:41 +08:00
Ivan Grokhotkov
50304d719e
Merge branch 'bugfix/esp_tls_error_logging' into 'master'
...
esp-tls: Expand error logging
See merge request idf/esp-idf!2284
2018-04-23 20:18:30 +08:00
Liu Zhi Fu
2461a780aa
more
2018-04-23 19:09:46 +08:00
Ivan Grokhotkov
5a3b2eddd3
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
2018-04-23 18:57:11 +08:00
Jiang Jiang Jian
cad88fb18c
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
2018-04-23 18:51:46 +08:00
Ivan Grokhotkov
92a16ac6e6
sdspi: fix CD and WP incorrectly configured as outputs
2018-04-23 14:35:40 +08:00
Ivan Grokhotkov
2a7d85cfa4
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
2018-04-23 14:35:13 +08:00
Deng Xin
aab573746e
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
2018-04-23 14:25:36 +08:00
Flavio Bayer
d477d3c5bd
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.
2018-04-23 11:32:42 +10:00
Angus Gratton
088c73bd22
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
2018-04-23 09:15:02 +08:00
Angus Gratton
f4241dc796
Merge branch 'bugfix/typo_in_aws_iot_config' into 'master'
...
Typo in aws_iot_config.h
See merge request idf/esp-idf!2280
2018-04-23 09:02:02 +08:00
Jiang Jiang Jian
e37ceaed32
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
2018-04-22 16:37:24 +08:00
Liu Zhi Fu
db5f927087
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
2018-04-22 10:19:31 +08:00
redchenjs
854c5260d4
esp-tls: fix memory leak when using CA certification validation
2018-04-22 01:13:09 +08:00
Kyle Secord
6807d80733
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
2018-04-20 19:32:52 +05:30
Jitin George
d57495cb1c
esp-tls: Fix HTTP2 failure
...
Closes https://github.com/espressif/esp-idf/issues/1874
2018-04-20 16:59:36 +05:30
Jiang Jiang Jian
c32ccf7abb
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
2018-04-20 18:15:45 +08:00
Jiang Jiang Jian
1c06b44f08
Merge branch 'bugfix/bt_correct_inquiry_mode_name' into 'master'
...
components/bt: Correct the enquiry mode name
See merge request idf/esp-idf!2217
2018-04-20 18:14:57 +08:00
Jiang Jiang Jian
102d08fd79
Merge branch 'feature/btdm_gattc_cache' into 'master'
...
Feature/btdm gattc cache
See merge request idf/esp-idf!1083
2018-04-20 17:49:35 +08:00
Ivan Grokhotkov
22fbcd276c
Merge branch 'feature/amazon_freertos_compat_v2' into 'master'
...
Changes for Amazon Freertos compatibility
See merge request idf/esp-idf!2123
2018-04-20 14:55:47 +08:00
Yulong
2c7182c59f
component/bt: For unity, Change all the associat & associa to abbreviated form(assoc).
2018-04-20 02:16:33 -04:00
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
Yulong
b940abca0e
component/bt: Change the cache 'associat' name for unify.
2018-04-19 22:56:33 -04:00
Mahavir Jain
441b4a9742
esp32: fix few components with dependency on networking stack
...
* Move smartconfig to its component directory, it should be possible to override
this as whole component
* Fix few header includes related to lwIP networking stack
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-19 18:28:55 +05:30
Mahavir Jain
43a12894ea
driver/spi: add _ISR counterparts if invoked from interrupt for critical section
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-19 18:28:55 +05:30
Mahavir Jain
c65a08d2fb
freertos: portCLEAN_UP_TCB should be performed before freeing tcb memory
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-19 18:28:55 +05:30
Mahavir Jain
24ad64bfe4
pthread: implement local storage using pvTaskGetThreadLocalStoragePointer
...
If static task cleanup option is enabled, then before invoking application
defined `vPortCleanUpTCB` hook, pthread specific cleanup is performed.
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-04-19 18:28:55 +05:30
Ivan Grokhotkov
2d598d6fb7
esp_timer: use _ISR version of port{ENTER,EXIT}_CRITICAL from ISR
2018-04-19 18:28:55 +05:30
Ivan Grokhotkov
41ae0fe52b
newlib: define _REENT_INIT_PTR correctly for ESP_PLATFORM
2018-04-19 18:28:55 +05:30
Ivan Grokhotkov
573ea385b4
multi_heap: use portENTER/EXIT_CRITICAL instead of taskENTER/EXIT_CRITICAL
2018-04-19 18:28:55 +05:30
Ivan Grokhotkov
f65870566a
crosscore_int: use _ISR version of portENTER/EXIT_CRITICAL in ISR
2018-04-19 18:28:55 +05:30
Jiang Jiang Jian
5d3b26e8d0
Merge branch 'feature/mesh' into 'master'
...
mesh: update mesh libs
See merge request idf/esp-idf!2244
2018-04-19 20:24:16 +08:00
Ivan Grokhotkov
6f504deed0
nvs: run all test by default, exclude long tests by tag
...
Reduces the chance of new tests being skipped in CI
2018-04-19 15:08:08 +08:00
Ivan Grokhotkov
f8cb95d0b8
nvs: print progress in nvs API tests, reduce number of iterations
2018-04-19 15:08:08 +08:00
Ivan Grokhotkov
88d0d6ffb0
Merge branch 'feature/vfs_select' into 'master'
...
Allow VFS file descriptors in select()
See merge request idf/esp-idf!2074
2018-04-19 15:06:02 +08:00
Ivan Grokhotkov
b297b72abb
Merge branch 'bugfix/fix_gpio_install_isr_service_check_value' into 'master'
...
driver(gpio): modify return value when gpio ISR service already exists.
See merge request idf/esp-idf!2125
2018-04-19 15:01:50 +08:00
Ivan Grokhotkov
fbb3610c0b
Merge branch 'feature/bootloader_refactoring_common' into 'master'
...
bootloader: Refactoring
See merge request idf/esp-idf!2251
2018-04-19 14:58:00 +08:00
Ivan Grokhotkov
bc4c201e20
Merge branch 'bugfix/fix_github_reported_1841_and_1845' into 'master'
...
Fix few minor github reported issues
See merge request idf/esp-idf!2252
2018-04-19 12:59:37 +08:00
Yulong
ece6bd9b82
component/bt: Change the btc gattc callback function with the compile error.
...
1. Change all the gattc API && bta gattc layer.
2. Debug the code and change the btc_ble_gattc_get_db method.
3. Change the gatt read API interface.
4. Reconstruction the BTA_gattc_cache code.
5. Change back the bluedroid_get_status to marco.
6. Change the gattc docs format.
7. Change the docs format.
8. fix the read char value bug.
9. change the gattc_get_attr_count method.
10. Change back the bta_gattc write ccc code.
11. Change the gattc api docs format
12. Change the gattc API docs.
13. Change the prepare write descriptor method to avoid the exection.
14. modify gatt clinet demo with new API
15. Change the p_src_data->read.p_value to avoid exection.
16. Change the bugfix of gattc unreg for the notify.
component/bt: Added the serch service res start_handle & end_handle to the result.
component/bt: Added the bta_gattc_cache_write when gatt discovery complete.
component/bt: Added the bta_gattc_cache_write declaration.
component/bt: Added the comments for esp_ble_gattc_cache_refresh API.
component/bt: Change the spelling errors & some comment error.
component/bt: fix bug of get gattc cache address list error.
1. Change the esp_bluedroid_get_status to macro;
2. added the malloc & free for the get_addr_list
component/bt: Added the addr_info->ass_addr == NULL Judgment to prevent crashes in the bta_gattc_co_cache_find_src_addr function.
component/bt: Fixed following gattc cache bugs
1. gattc can't refresh the gattc cache in the gatt discover state;
2. remove the nvs_get_blob in the cache address init function;
3. added the nvs_set_blob return value judgment in the cache address save function;
4. added the list_new when ass_address is NULL;
5. Change the ass_address list remove method to fix the ass address can't remove bug.
2018-04-19 12:05:13 +08:00
Angus Gratton
04103e96f5
esp-tls: Log errors for all "connection failed" code paths
2018-04-19 11:34:27 +10:00
Angus Gratton
507ca8196c
esp-tls: Allow esp_tls_conn_delete() to be called with a NULL pointer
2018-04-19 11:34:06 +10:00
Ivan Grokhotkov
cbd7431d94
fatfs/test: increase stack size in read-write unit test
...
2048 byte stack was not sufficient when some error was logged by SD
card driver, leading to stack overflows.
2018-04-18 14:35:21 +08:00