liu zhifu
005f95e3f3
esp_wifi: increase WiFi block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-09 09:24:34 +08:00
Angus Gratton
8e91677701
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff' into 'master'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits
See merge request idf/esp-idf!4642
2019-04-09 08:10:06 +08:00
suda-morris
78034879a8
make bootloader depend on IDF_TARGET
2019-04-08 11:08:06 +08:00
XiaXiaotian
5d43ec64bd
esp_wifi: fix the bug that no TBTT will be generated anymore after receiving
...
wrong beacon when WiFi and BT coexist.
2019-04-08 10:36:29 +08:00
Hrishikesh Dhayagude
a717825b7e
Unified Provisioning: Miscellaneous fixes in BLE
...
1. Pass the correct conn_id to protocomm_req_handle
In transport_simple_ble_write(), passing param->exec_write.conn_id would
be invalid. Instead param->write.conn_id should be passed
Similar change in transport_simple_ble_exec_write() to use
param->exec_write.conn_id
2. simple_ble_start() assumes that the mode is BLE only and enables
Bluetooth controller accordingly. For, cases having BT + BLE like Alexa
(Provisioning over BLE + Audio over classic BT), this assumption should
be removed.
2019-04-05 14:27:24 +05:30
Angus Gratton
041c784ff8
Merge branch 'feature/common_fragment_grammar' into 'master'
...
ldgen: Common fragment grammar
See merge request idf/esp-idf!4576
2019-04-05 07:19:22 +08:00
Bas Verhoeven
16ee5663ad
transport_ws: Stop connecting when the parent's connect call has failed
...
Merges https://github.com/espressif/esp-idf/pull/3164
2019-04-04 16:14:42 +02:00
Jiang Jiang Jian
791209d0eb
Merge branch 'bugfix/coex_bt_disconn' into 'master'
...
components/coex: Fix BT disconnecting due to too many reset BB
See merge request idf/esp-idf!4675
2019-04-04 20:53:04 +08:00
zhiweijian
6e4a89ffce
component/bt: fix memory leak when settig tx power
2019-04-04 19:49:23 +08:00
Jiang Jiang Jian
3ab9d00219
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs' into 'master'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4618
2019-04-04 18:45:25 +08:00
Jiang Jiang Jian
e7f85f1987
Merge branch 'bugfix/btdm_disconn_with_apple_device' into 'master'
...
components/bt: Fix disconnect with apple device
See merge request idf/esp-idf!4665
2019-04-04 18:44:53 +08:00
Renz Christian Bagaporo
90ee405afd
ldgen: update component linker fragment files
2019-04-04 15:57:34 +08:00
Angus Gratton
34e89c46de
Merge branch 'update/mfg_util' into 'master'
...
mfg_util: Add changes to mfg_util as per changes in nvs_util
See merge request idf/esp-idf!3573
2019-04-04 14:40:33 +08:00
Angus Gratton
63261ec2d7
Merge branch 'bugfix/httpd_accept_conn' into 'master'
...
esp_http_server : Only accept new connections if server has capacity to handle more
Closes IDFGH-749
See merge request idf/esp-idf!4655
2019-04-04 14:26:49 +08:00
Angus Gratton
5136b76798
Merge branch 'feature/micro-ecc-only-in-bootloader' into 'master'
...
Use micro_ecc library only in bootloader
See merge request idf/esp-idf!4082
2019-04-04 14:26:48 +08:00
Angus Gratton
d6394818b0
Merge branch 'feature/misc_adjustment_of_esp32' into 'master'
...
misc adjustment of esp32 component
Closes IDF-36
See merge request idf/esp-idf!4627
2019-04-04 11:16:46 +08:00
Angus Gratton
203af5c0a5
Merge branch 'bugfix/soc_register_struct_names' into 'master'
...
soc:Added names to anonymous register structs
See merge request idf/esp-idf!4668
2019-04-04 07:42:24 +08:00
Anurag Kar
9542063236
esp_http_server : Test added to check limit on max_open_sockets config option
2019-04-03 13:34:12 +00:00
Anurag Kar
7e676c1055
esp_http_server : Only accept new connections if server has capacity to handle more
...
This fix prevents HTTP server from accepting new connections when the total count of connected
sockets has reached the max_open_sockets limit set during configuration. The pending connections
are kept in backlog until atleast one of the connected sockets is closed. The maximum number of
connection requests that can kept in backlog is specified as backlog_conn configuration option.
Note that this modification has no effect when LRU purge is enabled.
Also added sanity check on setting for max_open_sockets during configuration.
Solution suggested by jimparis https://github.com/espressif/esp-idf/issues/3183#issue-421234265
Closes https://github.com/espressif/esp-idf/issues/3183
2019-04-03 13:34:12 +00:00
baohongde
88efcdbe35
components/coex: Fix BT disconnecting due to too many reset BB
...
Update coex version to 1.1.6
2019-04-03 20:42:03 +08:00
morris
f5b03c9ea3
misc adjustment of esp32 component
2019-04-03 19:57:46 +08:00
baohongde
a332bca0c7
components/bt: Fix disconnect with apple device
...
1. Fix disconnect with apple device
2. Fix hci_refresh_enc_key_cmd will be ignored
3. Fix hci_refresh_enc_key_cmd will crash
Closes https://github.com/espressif/esp-idf/issues/3140
2019-04-03 17:22:01 +08:00
Shivani Tipnis
a88b40483d
mfg_util: Add changes to mfg_util as per changes in nvs_util
...
revert changeson this file
Update README for mfg util
Update to correct coding style of script
2019-04-03 11:31:49 +05:30
Angus Gratton
30e3e26834
Merge branch 'feature/support_comments_in_csv' into 'master'
...
nvs_util: Add support to include comments in csv file
See merge request idf/esp-idf!4656
2019-04-03 11:12:51 +08:00
huub
4aac441e46
soc:Added names to anonymous register structs
...
For typedef volatile struct in components/soc/esp32/include/soc
Merges https://github.com/espressif/esp-idf/pull/3199
2019-04-03 03:09:44 +00:00
Angus Gratton
4b4cd7fb51
efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
...
8th bit is not used by hardware.
As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-03 14:07:20 +11:00
Jiang Jiang Jian
53daf930c3
Merge branch 'bugfix/fix_some_sta_certification_issues' into 'master'
...
esp32: fix some STA certification issues
Closes WIFI-295, WIFI-299, WIFI-305, WIFI-306, WIFI-358, WIFI-367, and WIFI-368
See merge request idf/esp-idf!4434
2019-04-02 14:32:26 +08:00
Angus Gratton
3af14a065d
Merge branch 'bugfix/undefined_partition_table_bin_warning' into 'master'
...
make: fix undefined variables warning for PARTITION_TABLE_BIN
Closes IDFGH-685
See merge request idf/esp-idf!4633
2019-04-02 11:49:58 +08:00
Ivan Grokhotkov
43d3e75125
Merge branch 'feature/derive_esp_wifi_from_esp32' into 'master'
...
derive esp_wifi from esp32 component
See merge request idf/esp-idf!4602
2019-04-02 10:13:15 +08:00
Angus Gratton
ae585b6615
Merge branch 'bugfix/external_rtc_start_fail' into 'master'
...
Bugfix/external rtc start fail
See merge request idf/esp-idf!4374
2019-04-02 09:42:27 +08:00
Ivan Grokhotkov
fd91818074
Merge branch 'feature/sysview_heap_tracing' into 'master'
...
SystemView based heap and log tracing
See merge request idf/esp-idf!3952
2019-04-02 09:07:55 +08:00
Alexey Gerenkov
5ef3a64c00
sys_view: Adds heap tracing API
2019-04-01 19:31:27 +03:00
Jiang Jiang Jian
2f8b6cfc77
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except' into 'master'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
See merge request idf/esp-idf!4592
2019-04-01 21:49:18 +08:00
Liu Zhi Fu
b82872102e
esp32: fix some STA certification issues
...
Fix following STA WFA certification issues:
1. STA HT2040 coexist
2. Disallow WEP/TKIP with HT rates
3. WPA2 improvement
4. Minor refactor for WiFi internal global variable auth_type
2019-04-01 21:39:47 +08:00
Alexey Gerenkov
335576013e
heap: Separate standalone and common part of tracing module
2019-04-01 15:56:15 +03:00
Alexey Gerenkov
2d52ac48f9
apptrace: Adds checks for user arguments in apptrace API
2019-04-01 15:56:14 +03:00
Alexey Gerenkov
c0f37a324e
apptrace: Fixes tracing xQueueGiveFromISR
2019-04-01 15:56:13 +03:00
Ivan Grokhotkov
d52ecb71d6
Merge branch 'feature/spiffs_image_generator' into 'master'
...
SPIFFS Image Generator
See merge request idf/esp-idf!4156
2019-04-01 20:08:40 +08:00
morris
79bb5de426
derive esp_wifi from esp32 component
2019-04-01 20:04:52 +08:00
Shivani Tipnis
66e38e9bac
nvs_util: Add support to include comments in csv file
...
Closes https://github.com/espressif/esp-idf/issues/2965
2019-04-01 16:52:43 +05:30
Mahavir Jain
816fe38f3a
app_update: remove redundant (additional) check for signature verification
...
Call `esp_image_verify` takes care of validating image signature.
2019-04-01 15:47:01 +05:30
Mahavir Jain
fcff80ecf8
fix cmake build for bootloader
2019-04-01 15:47:01 +05:30
Mahavir Jain
202f689baa
bootloader: use mbedTLS for secure boot verification in firmware
2019-04-01 15:46:52 +05:30
Mahavir Jain
369e170ebc
micro-ecc: move into booloader directory
2019-04-01 15:45:26 +05:30
Jiang Jiang Jian
5b2247df2d
Merge branch 'bugfix/increase_block_scan_time' into 'master'
...
wifi: increase the block scan time
Closes WIFI-378 and WIFI-379
See merge request idf/esp-idf!4645
2019-04-01 17:24:04 +08:00
Angus Gratton
8914f6f9cd
Merge branch 'bugfix/http_server_lf_term_hdr' into 'master'
...
HTTP Server : Fix for tolerating LF terminated headers
Closes IDFGH-748
See merge request idf/esp-idf!4588
2019-04-01 13:25:24 +08:00
zhangyanjiao
b13ceaf468
wifi: increase the block scan time because of changing channel will take at 30nm when BT/WiFi coexist
2019-04-01 03:12:20 +00:00
Michael (XIAO Xufeng)
af2fc96ee1
spi_master: refactor and add HAL support
2019-03-28 17:14:50 +08:00
Ivan Grokhotkov
624725d6e0
coap: define WITH_POSIX in coap_config.h instead of globally
2019-03-28 16:29:13 +08:00
Ivan Grokhotkov
8016448fb1
coap: silence format truncation warning (appears with GCC 8)
2019-03-28 16:28:25 +08:00
Angus Gratton
6fcfdd3d6a
Merge branch 'update/nvs_partition_util' into 'master'
...
Update for creation of unique filename for encryption keys
See merge request idf/esp-idf!3808
2019-03-28 15:07:44 +08:00
zhiweijian
0acc2f59e5
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 06:09:19 +00:00
Ivan Grokhotkov
85fb54a501
Merge branch 'feature/separate_xtensa_from_esp32' into 'master'
...
separate xtensa from esp32
See merge request idf/esp-idf!4625
2019-03-28 14:04:03 +08:00
Shivani Tipnis
cd8c42600c
nvs_util: Add support for creation of unique encryption keys
2019-03-28 05:06:12 +00:00
Angus Gratton
1db51e18b9
Merge branch 'bugfix/restore_deleted_factory_offset' into 'master'
...
partition_table: restore needed factory offset variable
See merge request idf/esp-idf!4601
2019-03-28 12:03:27 +08:00
Renz Christian Bagaporo
7112b9492e
make: fix undefined variables warning for PARTITION_TABLE_BIN
...
Closes https://github.com/espressif/esp-idf/issues/3136
2019-03-27 21:02:55 +08:00
morris
dbdb299bb1
create xtensa component
...
1. move xtensa specific files out of esp32 component
2. merge xtensa-debug-module component into xtensa
2019-03-27 20:24:28 +08:00
Anton Maklakov
da90966828
Merge branch 'feature/mqtt_weekend_tests' into 'master'
...
introducing weekend tests for mqtt and fuzzer test (mdns, LWIP)
Closes IDF-540
See merge request idf/esp-idf!4230
2019-03-27 19:12:33 +08:00
Ivan Grokhotkov
18946a5421
Merge branch 'feature/common_parts_into_esp_common' into 'master'
...
move common include files from esp32 into esp_common
See merge request idf/esp-idf!4515
2019-03-27 17:00:58 +08:00
Jiang Jiang Jian
21f6b4d6c3
Merge branch 'bugfix/modify_wifi_reason_code' into 'master'
...
wifi: modify wifi reason code
Closes WIFI-268 and WIFI-388
See merge request idf/esp-idf!4604
2019-03-27 16:50:35 +08:00
Jiang Jiang Jian
fe793eb574
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF' into 'master'
...
Component/bt: modify HCI_GET_CMD_BUF
See merge request idf/esp-idf!4465
2019-03-27 14:23:52 +08:00
Jiang Jiang Jian
fc6b413667
Merge branch 'bugfix/btdm_add_new_param_for_update_whitelist_api' into 'master'
...
Component/bt: add new param for update_whitelist API
See merge request idf/esp-idf!4493
2019-03-27 14:23:12 +08:00
Anurag Kar
990af312d1
HTTP Server : Fix for tolerating LF terminated headers
...
List of changes:
* When parsing requests, count termination from LF characters only
* Correct memcpy() length parameter in httpd_unrecv() (pointed out by jimparis in GitHub issue thread)
* Use ssize_t to store results of length subtractions during parsing
* Modify some comments to reduce ambiguity
Closes https://github.com/espressif/esp-idf/issues/3182
2019-03-26 14:21:40 +05:30
morris
709a320f33
move hwcrypto from esp32 to mbedtls
2019-03-26 16:24:22 +08:00
baohongde
59d77660ef
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:37:37 +08:00
morris
a2f07b0806
move common include files from esp32 into esp_common
2019-03-26 11:57:03 +08:00
zhangyanjiao
ebe7190f01
wifi: modify wifi reason code
2019-03-26 11:16:47 +08:00
Renz Christian Bagaporo
4d9c3a262d
cmake,make: Support SPIFFS image generation from build systems
2019-03-25 12:51:52 +08:00
Renz Christian Bagaporo
ca06f73a51
spiffs: Add host test for generated spiffs image
2019-03-25 12:51:52 +08:00
Renz Christian Bagaporo
8ba10bf3dc
spiffs: Implement spiffs image generation
2019-03-25 12:51:52 +08:00
Tim Nordell
eb5abca23d
nvs_flash: Fix typo in README.rst
...
Merges https://github.com/espressif/esp-idf/pull/3216
This should read "except for the new key-value pair" instead of
"expect for the new key-value pair".
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-03-24 19:56:10 +01:00
zhiweijian
c0bdea6aae
Component/bt: add new param for update_whitelist()
2019-03-22 12:22:51 +00:00
David Cermak
bc60bbbeaf
fuzzer tests: update of mdns and lwip host compilation for fuzzer testing
...
Closes IDF-540
2019-03-22 11:37:26 +01:00
David Cermak
5141e0ec24
tcp_transport: ws fix on reception of longer data than receive buffer
2019-03-22 11:37:26 +01:00
David Cermak
1465f53f49
mqtt tests: adding weekend test for mqtt library to exercise publishing/receiving different data and references esp-mqtt commits to pass these tests
...
testing conditions:
transports (tcp, ssl, ws..)
qos (0, 1, 2)
short repeated messages (packed packets)
oversized messages (fragmented packets)
publish from a different thread
Closes https://github.com/espressif/esp-idf/issues/2870 by means of including commit 815623dfe5a0e41fa0e51ab4e336feb3eaa5ba15 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2975 by means of including commit 752953dc3be007cca4255b66a35d3087e61f6a54 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2850 by means of including commits df455d2a5fe562dd1b8351da99a1d6d82b66eff3 17fd713bced4f2d00df7ed664ed82a7d108ab317 from esp-mqtt
2019-03-22 11:37:26 +01:00
Renz Christian Bagaporo
7e93d4986c
partition_table: restore needed factory offset variable
2019-03-22 15:24:23 +08:00
Jiang Jiang Jian
c2d1f83bce
Merge branch 'mesh/decouple_addition' into 'master'
...
wifi: decouple mesh functions from net80211
See merge request idf/esp-idf!4393
2019-03-22 12:57:03 +08:00
Angus Gratton
1be147c457
Merge branch 'feature/allow_components_to_declare_images_to_flash' into 'master'
...
Allow components to present their own images to flash
See merge request idf/esp-idf!4148
2019-03-22 11:14:37 +08:00
morris
fcedf442ce
move common source files from esp32 to esp_common
2019-03-22 10:35:03 +08:00
Ivan Grokhotkov
940a1f6e79
Merge branch 'feature/separate_rom_from_esp32' into 'master'
...
separate rom from esp32 component to esp_rom
Closes IDF-542
See merge request idf/esp-idf!4500
2019-03-21 22:10:45 +08:00
Ivan Grokhotkov
3a779380a7
Merge branch 'feature/semihost_vfs' into 'master'
...
Adds semihosting VFS driver
Closes IDF-367
See merge request idf/esp-idf!4145
2019-03-21 22:03:06 +08:00
Ivan Grokhotkov
58314feff9
Merge branch 'feature/http_server_pinned_to_core_support' into 'master'
...
HTTP Server: Added ability to select core
See merge request idf/esp-idf!4586
2019-03-21 19:19:13 +08:00
Ivan Grokhotkov
ffa8bed7c8
Merge branch 'bugfix/nvs_util_write_single_page_big_blob_data' into 'master'
...
nvs_util: Fix to support write operation of multiple single page big blob data
See merge request idf/esp-idf!4268
2019-03-21 19:10:29 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
77e7af4e90
Merge branch 'feature/update_libcoap_4.2.0' into 'master'
...
Update component/coap to libcoap version release-4.2.0
See merge request idf/esp-idf!4499
2019-03-21 18:35:20 +08:00
Ivan Grokhotkov
106dc05903
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'
...
move esp32 chip specific includes to esp32/xxx.h
See merge request idf/esp-idf!4534
2019-03-21 18:34:08 +08:00
Ivan Grokhotkov
57e1b5dad8
Merge branch 'bugfix/newlib_fcntl_r_signature' into 'master'
...
vfs: change fcntl argument to int (instead of va_list), add weak fcntl
See merge request idf/esp-idf!4549
2019-03-21 18:30:34 +08:00
Ivan Grokhotkov
ce07a1057c
Merge branch 'feature/make-debug-verbose-usable' into 'master'
...
logs: Make verbose and debug logging cleaner
Closes IDFGH-782
See merge request idf/esp-idf!4578
2019-03-21 18:29:50 +08:00
Ivan Grokhotkov
743fa44544
Merge branch 'bugfix/esp_debug_includes' into 'master'
...
mbedtls: Fix esp_debug not including its dependencies
See merge request idf/esp-idf!4581
2019-03-21 18:28:39 +08:00
Balazs Racz
efcd10ea31
Fix missing declaration of __bswap64 in endian.h
...
Merges https://github.com/espressif/esp-idf/pull/2983
2019-03-21 15:08:11 +08:00
Per Malmberg
36c73e6d70
Easier use of -Wsign-conversion warnings needs changes.
...
Merges https://github.com/espressif/esp-idf/pull/3129
2019-03-21 15:08:04 +08:00
Hanh Tran
e5e41e0a5e
Fix comment typos in WiFi types header
...
Merges https://github.com/espressif/esp-idf/pull/3145
2019-03-21 15:06:24 +08:00
Anuj Deshpande
13cf867023
logs: Make verbose and debug logging cleaner
...
* Closes #3193
* Closes IDFGH-782
The logs that are deleted in this commit make debug and verbose mode
unusable.
2019-03-21 11:54:04 +05:30
Angus Gratton
25043c4d56
Merge branch 'feature/merge_flash_data_type-flash_partitions' into 'master'
...
merge esp_flash_data_types into esp_flash_partitions
See merge request idf/esp-idf!4504
2019-03-21 13:40:40 +08:00
Ivan Grokhotkov
6d4a7b1a7e
Merge branch 'bugfix/cmake_soc_test' into 'master'
...
soc: fix compiling unit tests with CMake
Closes IDF-499
See merge request idf/esp-idf!4545
2019-03-21 13:34:58 +08:00
Gregory Eslinger
7f1047847a
HTTP Server: Added ability to select core
...
The task that runs the HTTP server can now be pinned to a particular core by setting `core_id`
in the HTTP server configuration. By default, the core is set to `tskNO_AFFINITY`, meaning
it can run on any core.
Merges https://github.com/espressif/esp-idf/pull/3190
2019-03-21 11:22:58 +08:00
Angus Gratton
c1e5e19d0b
Merge branch 'bugfix/heap_caps_int_overflows' into 'master'
...
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
See merge request idf/esp-idf!4451
2019-03-21 09:47:38 +08:00
Angus Gratton
b7ee11231d
mbedtls: Fix esp_debug not including its dependencies
...
As reported on forum: https://esp32.com/viewtopic.php?f=13&t=9782&p=40464#p40464
2019-03-21 10:48:55 +11:00
Jiang Jiang Jian
bd103f3743
Merge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'
...
Component/bt: add api to clean gattc cache
See merge request idf/esp-idf!3951
2019-03-20 22:05:00 +08:00
Jiang Jiang Jian
c1600f28d1
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable' into 'master'
...
Component/bt: fix no adv report when scanning with sleep enable
See merge request idf/esp-idf!4535
2019-03-20 21:36:23 +08:00