Angus Gratton
2cf4a69f9b
Merge branch 'bugfix/ws_transport_crash_on_connect_fail' into 'master'
...
transport_ws: Stop connecting when the parent's connect call has failed
See merge request idf/esp-idf!4701
2019-04-09 10:19:47 +08:00
Angus Gratton
911e503a36
Merge branch 'bugfix/prov_fix_conn_id' into 'master'
...
Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4691
2019-04-09 09:28:18 +08:00
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
Roland Dobai
2df9fb057d
VFS: Allocate socket select semaphore outside ISR
2019-03-22 13:47:32 +00: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
Jiang Jiang Jian
c5fb88c2e2
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log' into 'master'
...
Component/bt: fix build warning when bluedroid disable log
See merge request idf/esp-idf!4524
2019-03-20 21:09:59 +08:00
zhiweijian
7f606d0c2b
Component/bt: modify HCI_GET_CMD_BUF
2019-03-20 19:35:06 +08:00
maojianxin
95301c16bd
Fix external start fail
2019-03-20 18:34:01 +08:00
Zhang Jun Yi
5ba87240b5
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-03-20 18:34:01 +08:00
Shivani Tipnis
60b5cdde20
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
2019-03-20 08:15:36 +00:00
chenyudong
b2b0f75fbb
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-03-20 15:17:03 +08:00
Jiang Jiang Jian
d31a137f9c
Merge branch 'bugfix/mesh_memory_leak' into 'master'
...
mesh: fix memory leak and group send
See merge request idf/esp-idf!4438
2019-03-20 14:57:05 +08:00
Angus Gratton
34d118d445
Merge branch 'feature/optimized_gpio_intr_service' into 'master'
...
driver: Add optimization by speed in ISR functions for gpio, rmt, pcnt
Closes IDF-328
See merge request idf/esp-idf!4241
2019-03-20 14:19:17 +08:00
Jiang Jiang Jian
dc5ff1d633
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash' into 'master'
...
Component/bt: fix blufi prepare write crash
See merge request idf/esp-idf!4447
2019-03-20 11:46:15 +08:00
Anton Maklakov
886d8a6f28
Merge branch 'bugfix/newlib_misc_cleanups' into 'master'
...
newlib: minor cleanup
See merge request idf/esp-idf!4550
2019-03-20 11:08:20 +08:00
Ivan Grokhotkov
fe92829971
Merge branch 'feature/separate_eventloop_from_esp32' into 'master'
...
separate legacy esp_event from esp32 component to esp_event
See merge request idf/esp-idf!4539
2019-03-20 09:59:17 +08:00
Angus Gratton
b7b5c3a8c7
Merge branch 'bugfix/error_in_bootloader_loadprohibited' into 'master'
...
esp_tool: Exclude elf-sha256 from bootloader
Closes IDFGH-690
See merge request idf/esp-idf!4520
2019-03-20 07:28:09 +08:00
Ivan Grokhotkov
1d0bffb20a
lwip, wpa_supplicant: use endianness macros from libc if possible
2019-03-19 22:15:32 +08:00
Ivan Grokhotkov
068b700786
newlib: remove usage of pre-ANSI defines
2019-03-19 22:15:26 +08:00
Ivan Grokhotkov
ac612b5422
newlib: enable timeradd, timersub, and similar macros
...
This uses a hack (temporarily defining __rtems__ from a wrapper header
file) to include timeradd, timersub, and similar macros, without
modifying newlib headers.
2019-03-19 22:15:12 +08:00
Ivan Grokhotkov
76d4b0150d
Revert "feat(time): enable the macro timeradd, timersub, timerclear, etc."
...
This reverts commit 8f994b9dce
.
2019-03-19 22:15:06 +08:00
Ivan Grokhotkov
48b1433772
vfs: change fcntl argument to int (instead of va_list), add weak fcntl
2019-03-19 21:44:17 +08:00
Ivan Grokhotkov
060cf9d6b4
Merge branch 'power_management/i2s+i2c' into 'master'
...
Power management/i2s+i2c
See merge request idf/esp-idf!4338
2019-03-19 17:27:59 +08:00
Konstantin Kondrashov
0514a65cc9
esptool: Only insert SHA256 if overwriting zero data
2019-03-19 13:29:07 +08:00
Konstantin Kondrashov
98db4d2eb6
esp_tool: Exclude elf-sha256 from bootloader
...
Closes: IDFGH-690
2019-03-19 12:54:25 +08:00
Ivan Grokhotkov
73851e0b5c
soc: fix compiling unit tests with CMake
...
soc unit tests have not been included when compiling with CMake,
because ../${SOC_NAME}/test was not evaluated relative to the
CMakeLists.txt directory.
Also call register_components() regardless of the presence of test
directory for particular target.
2019-03-19 11:42:51 +08:00
Jon Shallow
bc9d1a65d7
Update component/coap to libcoap version release-4.2.0
...
This takes the code up to the latest released version of libcoap.
As there have been API changes, coap_client and coap_server in
examples/protocols have been updated to use the new APIs.
Further information on the new libcoap APIs can be found at
https://libcoap.net/doc/reference/4.2.0/
coap_client has been updated to handle BLOCK2 responses from
"coap://californium.eclipse.org"
coap_client has been modified to only send out one request (and wait for
the response)
coap_server has been updated to support Observe subscriptions, and well as
adding in PUT and DELETE handlers to work on the Espressif resource
coap_server and coap_client have had their stack sizes increased.
port/coap_io.c has been added, a copy of libcoap/src/coap_io.c with support
added for systems that do not have RFC 3542 section 20 support.
port/coap_io_socket.c has been removed as a lot of the code is now
replicated in different libcoap files.
Once this PR is place, then adding in DTLS will be a lot simpler (as a
separate PR)
Signed-off-by: Jitin George <jitin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3148
2019-03-18 12:33:52 +00:00
morris
fd9bc30aca
separate legacy esp_event from esp32 component to esp_event
2019-03-18 19:58:04 +08:00
Ivan Grokhotkov
f0a82d7185
driver/i2c: write i2c command structure to hardware in one operation
...
GCC compiler can generate 8-bit stores when modifying bitfields of
volatile structs (https://github.com/espressif/esp-idf/issues/597 ).
In the specific case of I2C driver, this resulted in byte_num field
to be written using s8i. However the peripheral requires 32-bit
writes, and ignores 8-bit writes. This change modifies the code to
compose the 32-bit command register value first, and then write the
complete value to the hardware.
2019-03-18 18:23:50 +08:00
Ivan Grokhotkov
96aa08a0ff
Merge branch 'bugfix/coredump_fixes' into 'master'
...
espcoredump fixes for GCC 8.2
See merge request idf/esp-idf!4528
2019-03-18 18:23:25 +08:00
morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
morris
fae39dc326
merge esp_flash_data_types into esp_flash_partitions
2019-03-18 08:51:55 +00:00
zhiweijian
a628577f64
Component/bt: fix no adv report when scaning with sleep enable
2019-03-18 16:35:50 +08:00
Sachin Parekh
4de5ae7468
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
Sachin Parekh
7fc6445035
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
Sachin Parekh
d0234ad24a
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-03-18 08:21:21 +00:00
chenyudong
7d96b3442a
mesh: fix memory leak and group send
...
fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option
2019-03-18 14:43:21 +08:00
Jiang Jiang Jian
f1e9078cb0
Merge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'
...
wifi: fix the bug that calculate PMK too long
Closes IDFGH-524
See merge request idf/esp-idf!4349
2019-03-18 14:26:48 +08:00
zhiweijian
1940ee0910
Component/bt: fix build warning when bluedroid disable log
2019-03-18 14:18:12 +08:00
Ivan Grokhotkov
63dabd1a17
espcoredump: fix test with esp32-2018r1 toolchain
2019-03-18 12:47:29 +08:00
Ivan Grokhotkov
6221f5a819
espcoredump: fix test compilation error with GCC 8
2019-03-18 12:47:22 +08:00
Angus Gratton
2dd3344342
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-18 01:41:58 +00:00
Renz Christian Bagaporo
234de8de55
cmake: Allow components to present their own images to flash
2019-03-18 03:45:22 +08:00
Jiang Jiang Jian
5beb2802e0
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
...
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
See merge request idf/esp-idf!2208
2019-03-17 14:19:11 +08:00
Jiang Jiang Jian
8e4b82548a
Merge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'
...
dhcpserver: suppress send_nak debug output
Closes IDFGH-557
See merge request idf/esp-idf!4491
2019-03-17 14:12:58 +08:00
zhangyanjiao
6408ef9e7c
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated
...
Closes https://github.com/espressif/esp-idf/issues/2880
2019-03-15 16:28:58 +08:00
Jiang Jiang Jian
b1a81e8167
Merge branch 'bugfix/bb_watchdog_reset' into 'master'
...
esp32: add WiFi baseband watchdog reset
See merge request idf/esp-idf!4409
2019-03-15 16:12:30 +08:00
Angus Gratton
cc9b06d4da
Merge branch 'bugfix/esp_sha_signing_sha256' into 'master'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API
Closes IDFGH-681
See merge request idf/esp-idf!4440
2019-03-15 14:35:38 +08:00
Ivan Grokhotkov
b4d87191ef
Merge branch 'bugfix/esp-http-client-event-fixes' into 'master'
...
Minor bugfixes in esp_http_client and tcp_transport
See merge request idf/esp-idf!4467
2019-03-15 11:45:40 +08:00
Ivan Grokhotkov
416b756ea4
Merge branch 'bugfix/name_conflict_esp32_project_ld' into 'master'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
See merge request idf/esp-idf!4484
2019-03-15 11:42:20 +08:00
Jiang Jiang Jian
b8f23fbd42
Merge branch 'bugfix/ble_assert_8192' into 'master'
...
fix the bug assert(8192 0) in rwble.c 234
See merge request idf/esp-idf!4461
2019-03-14 20:24:33 +08:00
Jitin George
9b0e6e3b49
esp_http_client: Fix header sent event bug
2019-03-14 14:31:28 +05:30
Jitin George
d943c8de94
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-03-14 14:31:28 +05:30
Ivan Grokhotkov
ce6b73ca5f
Merge branch 'bugfix/console_allow_buffered' into 'master'
...
console example: use buffered stdout by default
See merge request idf/esp-idf!4476
2019-03-14 15:40:42 +08:00
Tian Hao
b39bd0615c
fix the bug assert(8192 0) in rwble.c 234
2019-03-14 15:38:23 +08:00
Angus Gratton
7c69f6172b
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue' into 'master'
...
spi_flash: fix stale read issue for memory mapped partition
See merge request idf/esp-idf!4437
2019-03-14 14:56:12 +08:00
zhangyanjiao
fa2998d70b
dhcpserver: suppress send_nak debug output
...
Closes https://github.com/espressif/esp-idf/issues/2924
2019-03-14 14:00:35 +08:00
Angus Gratton
12bdf8e45b
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-03-14 05:56:06 +00:00
Angus Gratton
1cc726b2a3
secure boot: Use mbedtls_sha256() not esp_sha()
...
Latter is probably compiled into most firmwares already, saves some size.
Ref https://github.com/espressif/esp-idf/issues/3127
2019-03-14 05:56:06 +00:00
Angus Gratton
6a6fbde83d
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-03-14 05:56:06 +00:00
Angus Gratton
31ca6e399b
Merge branch 'bugfix/mdns_add_remove_multiple_srv_master' into 'master'
...
mdns: fix possible crash if tx packet contained answer to removed service
Closes IDF-498 and IDF-504
See merge request idf/esp-idf!4348
2019-03-14 08:10:23 +08:00
Angus Gratton
974796fa6c
Merge branch 'bugfix/remove_malloc_ble_prov' into 'master'
...
Protocomm BLE: Make changes in handling BLE read/write requests
See merge request idf/esp-idf!4444
2019-03-14 07:08:50 +08:00
Angus Gratton
a79c5b8271
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
...
Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in
This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.
At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.
As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105
2019-03-14 09:59:31 +11:00
Konstantin Kondrashov
b1b5849c4c
rmt/driver: Sped the rmt_driver_isr_default ISR
...
Used __builtin_ctz function to sped ISR.
2019-03-13 13:50:43 +00:00
Konstantin Kondrashov
3307735bc0
pcnt/driver: Sped the pcnt_intr_service ISR
...
Used __builtin_ctz function to sped ISR.
2019-03-13 13:50:43 +00:00
Pieter du Preez
b8dc48ab18
gpio/driver: Sped the gpio_intr_service ISR up by 1.5 uSeconds (+-50% faster).
...
Removed as much branching (if statements) from the
gpio_intr_service ISR, as possible and split the while loop into
two. Also forced writing the two status*_w1tc variables only once,
instead of every time after calling the external function hooks.
The measurements below, was done using the following tools:
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Here follows a comparison of the gpio_intr_service ISR's
execution time, using a DS1054 oscilloscope. All the time spent
calling external functions, via the function pointers
gpio_isr_func[gpio_num].fn, were disregarded.
With OPTIMIZATION_FLAGS = -Og, 1.34 uSeconds faster:
3.22 uSec (with this patch)
4.56 uSec (with commit 71c90ac4
)
100 - (100 * 4.56 / 3.22) = 42% faster
With OPTIMIZATION_FLAGS = -Os, 1.65 uSeconds faster:
2.89 uSec (with this patch)
4.54 uSec (with commit 71c90ac4
)
100 - (100 * 4.54 / 2.89) = 57% faster
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2861
2019-03-13 13:50:43 +00:00
Ivan Grokhotkov
fa57fb3c1c
console/linenoise: support buffered stdout
2019-03-13 20:17:25 +08:00
zhiweijian
296fbca2e7
Component/bt: fix blufi prepare write crash
2019-03-13 17:57:25 +08:00
David Cermak
265e983a45
mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network
...
Issue: MDNS server initially sends probing packets to resolve naming confilicts with already registered service instances. In case of a conflict, instance name is altered and probing restarts. Original instance however wasnnot removed from the structure and upon service removal only one entry was removed and a dangling service might have been kept in the structure to bring about a crash.
Resolution: Keep only one instance of a service in the probing structure.
Closes IDF-498
2019-03-13 10:22:41 +01:00
David Cermak
c87f0cb6ca
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks
...
possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received
2019-03-13 10:22:41 +01:00
David Cermak
48b5501c25
mdns: fix possible deadlock on mdns deinit calling mdns_free()
...
mnds_free() initiates stop and delete timer tasks, which after locking the mutex could lead to a dead lock in case timer task executed before deleting the task, as it would wait indefinitelly for unlocking the mutex. This condition is fixed by calling _mdns_stop_timer without locking the mutex, because there's no need to protect any data when stopping and deleting the timer task
Closes https://github.com/espressif/esp-idf/issues/1696
2019-03-13 10:22:41 +01:00
David Cermak
021dc5d453
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
...
Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.
2019-03-13 10:22:41 +01:00
David Cermak
67051a286b
mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed
...
packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service
Closes IDF-504
2019-03-13 10:22:41 +01:00
Jiang Jiang Jian
75287eb569
Merge branch 'feature/btdm_add_adv_report_flow_control' into 'master'
...
Component/bt: add BLE adv report flow control
See merge request idf/esp-idf!4423
2019-03-13 16:58:07 +08:00
zhiweijian
d5e78e79d3
Component/bt: add api to clean gattc cache
2019-03-13 15:23:33 +08:00
Ivan Grokhotkov
7541d23523
Merge branch 'feat/spi_master_variable_dummy' into 'master'
...
spi_master: add support for variable dummy length in a same device
See merge request idf/esp-idf!4360
2019-03-13 15:15:58 +08:00
Ivan Grokhotkov
e77540b695
Merge branch 'test/spi_sio_test' into 'master'
...
spi: add test for sio mode
See merge request idf/esp-idf!3416
2019-03-13 15:15:43 +08:00
Hrishikesh Dhayagude
d9ce0bb705
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
...
The current API is insufficient to allow the users to set different combinations of connection and discoverable mode
Users should be able to choose the device modes independently:
1. Connectable-
i. Non-connectable mode
ii. Connectable mode
2. Discoverable-
i. Non-discoverable mode
ii. Limited discoverable mode
iii. General discoverable mode
2019-03-13 11:24:00 +05:30
Mahavir Jain
16adb9d62a
spi_flash: add test case for stale read issue on memory mapped partition
2019-03-13 05:38:01 +00:00
Mahavir Jain
2752654043
spi_flash: fix stale read issue for memory mapped partition
...
On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)
Closes https://github.com/espressif/esp-idf/issues/2146
2019-03-13 05:38:01 +00:00
Angus Gratton
fa5bc5d58b
Merge branch 'bugfix/ssid_passwords_null_terminated' into 'master'
...
wifi: Specify that SSID & Password fields should be NULL terminated strings
See merge request idf/esp-idf!4468
2019-03-13 13:29:09 +08:00
Angus Gratton
710bcbd447
Merge branch 'feature/freertos_check_mutex_owner' into 'master'
...
freertos: check that mutex is released by owner task
See merge request idf/esp-idf!4012
2019-03-13 13:15:34 +08:00
Angus Gratton
961e433395
Merge branch 'bugfix/spi_flash_exclude_encrypted' into 'master'
...
esp_partition: disable encrypted reads/writes if flash encryption is disabled
See merge request idf/esp-idf!4099
2019-03-13 13:15:24 +08:00
Angus Gratton
f44dcf4878
Merge branch 'bugfix/macros_trailing_semicolon' into 'master'
...
Remove trialing semicolon from function-like macros
See merge request idf/esp-idf!4397
2019-03-13 13:15:12 +08:00
Angus Gratton
e18c7cb98d
Merge branch 'bugfix/mdns_incorrect_semaphore_use' into 'master'
...
mdns: use binary semaphore instead of mutex when searching
See merge request idf/esp-idf!4464
2019-03-13 13:11:45 +08:00
Angus Gratton
8120efc6ed
Merge branch 'bugfix/modify_dhcpserver_and_tcpip_adapter' into 'master'
...
modify the behavior for dhcpserver and tcpip_adapter
Closes IDFGH-557 and IDFGH-563
See merge request idf/esp-idf!4453
2019-03-13 12:54:55 +08:00
Liu Zhi Fu
674d234283
esp32: add WiFi baseband watchdog reset
...
When WiFi enter into a special status (11b weak mode), then reset
Wifi baseband to recover to normal mode.
2019-03-13 11:09:30 +08:00
Angus Gratton
79d37b75f3
wifi: Specify that SSID & Password fields should be NULL terminated strings
...
Closes https://github.com/espressif/esp-idf/issues/1176
2019-03-13 11:44:41 +11:00
Ivan Grokhotkov
eef0b5090a
mdns: use binary semaphore instead of mutex when searching
...
mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.
2019-03-12 09:33:06 +01:00
Renz Christian Bagaporo
d0b2d5ec95
cmake: Fix for Python files executed directly, not via PYTHON variable
...
A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).
Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936
Adds build system test to catch any future direct execution of Python in
the standard build process.
2019-03-12 13:31:44 +08:00
zhiweijian
d5f15a45ca
Component/bt: add BLE adv report flow control
2019-03-12 11:10:26 +08:00
Angus Gratton
2f83aea8f3
Merge branch 'bugfix/freemodbus_remove_critical_section' into 'master'
...
freemodbus: Fix remove critical_sections
See merge request idf/esp-idf!4289
2019-03-12 06:30:50 +08:00
Ivan Grokhotkov
37144dfa07
mdns: use binary semaphore instead of mutex when searching
...
mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.
2019-03-11 14:40:54 +00:00
Ivan Grokhotkov
d539183b40
esp32: use binary semaphore instead of mutex in dport tests
2019-03-11 14:40:54 +00:00
Ivan Grokhotkov
13523c95b4
freertos: check that mutex is released by owner task
...
Mutex type semaphores should be acquired and released by the same task.
Add a check to xQueueGenericSend for this condition.
2019-03-11 14:40:54 +00:00
Hrishikesh Dhayagude
ce065f1a4f
Protocomm BLE: Make changes in handling BLE read/write requests
...
1. Remove unwanted malloc during BLE send response
2. Populate the missing parameters in the response - handle, offset, auth_req
2019-03-11 19:39:26 +05:30
Ivan Grokhotkov
fc4823c885
Merge branch 'bugfix/coredump_improvements_refactoring_delete_include' into 'master'
...
esp32: coredump refactoring fix bug (remove duplicated include)
See merge request idf/esp-idf!4328
2019-03-11 19:00:39 +08:00
Angus Gratton
af1ea9b1b9
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code
2019-03-11 15:20:40 +11:00
zhangyanjiao
27cc0d1f91
modify the behavior for dhcpserver and tcpip_adapter:
...
1. dhcp_server: suppress send_offer debug output
2. tcpip_adapter: zero-initialize system_event_t structures
3. tcpip_adapter: pass client IP address along with SYSTEM_EVENT_AP_STAIPASSIGNED
Closes https://github.com/espressif/esp-idf/issues/2924
Closes https://github.com/espressif/esp-idf/issues/2949
2019-03-11 12:11:05 +08:00
He Yin Ling
8f3fe52b5a
test: temp disable spi master slave mode test
2019-03-10 06:21:37 +00:00
Alexey Gerenkov
4fc14e8eb6
vfs: Adds semihosting VFS driver
2019-03-08 15:08:10 +03:00
Jiang Jiang Jian
09e72776dc
Merge branch 'bugfix/autoip_memoey_leak_debug' into 'master'
...
fix the bug in auto Ip memory leak
See merge request idf/esp-idf!4395
2019-03-08 19:54:25 +08:00
aleks
13e1c0b32f
esp32: coredump header (fix linker.lf)
...
remove duplicated include from components/esp32/incliude/esp_core_dump.h
espcoredump/incliude/esp_core_dump.h:
fix signature of the functions esp_core_dump_to_uart() and esp_core_dump_to_uart();
add espcoredump into COMPONENT_PRIV_REQUIRES list
fix linker.lf file
2019-03-08 09:49:37 +00:00
Angus Gratton
3a410d6a3d
Merge branch 'bugfix/httpd_sess_ctx' into 'master'
...
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
See merge request idf/esp-idf!4417
2019-03-08 06:55:44 +08:00
aleks
aaa1cb6eec
freemodbus: change critical sections to semaphore mutex
...
revert changes made in mbrtu.c, mbascii.c
change critical section type to semaphore mutex instead of spin lock
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 09:59:40 +01:00
Konstantin Kondrashov
1ef7d093e1
freemodbus: Fix remove critical_sections
...
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 08:00:45 +00:00
xiehang
b88b9f4e03
fix the bug in auto Ip memory leak
...
Closes https://jira.espressif.com:8443/browse/WIFI-266
2019-03-06 14:44:06 +08:00
Jiang Jiang Jian
c1e50c8a27
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
...
Component/bt: fix iOS and win10 compatibility error for HID
See merge request idf/esp-idf!4396
2019-03-06 14:11:38 +08:00
Ivan Grokhotkov
42c906140e
Merge branch 'bugfix/level5_intr_alloc' into 'master'
...
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
Closes IDFGH-616
See merge request idf/esp-idf!4405
2019-03-06 11:18:36 +08:00
Ivan Grokhotkov
d474018725
Merge branch 'feature/gdbstub_task_list' into 'master'
...
Add support for listing tasks to gdb in gdbstub
Closes IDFGH-498
See merge request idf/esp-idf!4357
2019-03-06 11:12:46 +08:00
Ivan Grokhotkov
c22e572ad0
gdbstub: minor cleanup
...
1. Add Kconfig options to control task listing support.
2. Convert magic values (-1, -2) to named constants.
3. Convert spaces to tabs to match the rest of the file.
4. Rename getAllTasksHandle to getTaskInfo to reflect its purpose.
5. Add some curly braces for single line statements.
2019-03-05 12:11:45 +08:00
X-Ryl669
b797f05558
Add support for listing tasks to gdb in gdbstub
...
…and changing the active task and fetching each task's stack
Merges https://github.com/espressif/esp-idf/pull/2828
2019-03-05 12:00:22 +08:00
XiaXiaotian
b9b401ee39
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-03-05 10:38:14 +08:00
Jiang Jiang Jian
bf2c46674d
Merge branch 'bugfix/fix_some_wifi_bugs_0301' into 'master'
...
esp32: fix some WiFi bugs
See merge request idf/esp-idf!4399
2019-03-05 10:35:22 +08:00
Piyush Shah
f28f4016cb
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
...
By default, if a URI handler changes the http session context,
the webserver internally clears the older context after the handler
returns. However, if applications want to change this behavior and
manage the allocation/de-allocation/freeing themselves and let the
server handle only the "socket close" case, this commit provides such
an option.
2019-03-05 00:21:03 +05:30
Ivan Grokhotkov
dace2d6bc5
Merge branch 'bugfix/uart_fix_critical_section_api_from_isr' into 'master'
...
uart: use correct critical section API from ISR context
See merge request idf/esp-idf!4301
2019-03-04 16:24:22 +08:00
Ivan Grokhotkov
b3ee815ec1
Merge branch 'feature/esp_http_client_global_ca_store' into 'master'
...
esp_http_client: add support for using certs from global ca store
See merge request idf/esp-idf!4302
2019-03-04 16:24:07 +08:00
Christian Hoene
025deab4d2
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
...
Closes https://github.com/espressif/esp-idf/issues/3039
Merges https://github.com/espressif/esp-idf/issues/3040
2019-03-01 17:11:51 +11:00
Liu Zhi Fu
2f547ca7c8
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status
2019-03-01 11:25:36 +08:00
Jiang Jiang Jian
ebdcbe8c60
Merge branch 'doc/crc_apis_usage' into 'master'
...
Add CRC APIs usage
See merge request idf/esp-idf!4351
2019-03-01 10:03:03 +08:00
Darian Leung
59d1ecc78b
esp32: Remove trialing semicolon from function-like macros
...
This commit removes trailing semicolons following a while(0) from
function-like macros in IDF. This will force those macros to be called
with a semicolon when called.
2019-02-28 21:58:47 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
michael
12a6664afa
spi test: describe the wiring of param test in the comments
2019-02-28 19:43:58 +08:00
Jiang Jiang Jian
d82c80a07b
Merge branch 'bugfix/wifi_modify_wifi_kconfig' into 'master'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance
See merge request idf/esp-idf!4164
2019-02-28 18:21:16 +08:00
XiaXiaotian
ae69a8adc0
esp32: modify WiFi Kconfig in order to achieve better compatility
...
and performance
2019-02-28 16:57:56 +08:00
Konstantin Kondrashov
509e1264b9
efuse: Fix to pass CI tests
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
c9cd06c886
efuse: Reduce the size of esp_efuse_desc_t to 4 bytes
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
1d7b901aeb
efuse: Add MAX_BLK_LEN define for changing len of field
...
Added docs, improved efuse_table_gen.py, and minor fixes
Checking the generated files for compliance with the coding scheme.
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
95b6273c7c
efuse: Fix docs and script
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
cc094ba789
efuse: Fix python coding style
...
Set python's scripts attribute chmod
Add compatibility with Python3 for efuse_table_gen.py
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
303d17792a
efuse: Add a write/read protection
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
b8141f3ad8
efuse: Fix make/cmake build systems and docs
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
9822055851
efuse: Add support coding scheme to script
...
Added support using BLK1 and BLK2 in custom table.
Added change size key in BLK1 and BLK2 if coding scheme was changed.
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
693a5c209b
efuse: Add API efuse
...
Added support 3/4 coding scheme
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
d82023bf06
soc: Add support efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
ed179ade8d
esp32: Add using efuse component
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
7626145e6d
bootloader: Add support efuse component
2019-02-28 07:31:29 +00:00
Jiang Jiang Jian
c05a39de02
Merge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail' into 'master'
...
wifi: fix scan bugs and alloc eb fail
See merge request idf/esp-idf!4373
2019-02-28 13:34:51 +08:00
Ivan Grokhotkov
f746b0d761
Merge branch 'bugfix/pthread_thread_size' into 'master'
...
pthread: Transform the units of the stack size to the FreeRTOS domain
Closes IDFGH-603
See merge request idf/esp-idf!4375
2019-02-28 10:24:34 +08:00
Angus Gratton
19fd436e88
Merge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'
...
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
See merge request idf/esp-idf!4205
2019-02-28 07:04:21 +08:00
Roland Dobai
314c77609e
pthread: Transform the units of the stack size to the FreeRTOS domain
...
Closes https://github.com/espressif/esp-idf/issues/3015
2019-02-27 12:21:23 +01:00
zhangyanjiao
4ea4d4744c
wifi:
...
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs
2019-02-27 18:31:32 +08:00
Jeroen Domburg
a52ba8df7d
Merge branch 'bugfix/make_get_coreid_volatile' into 'master'
...
freertos: Make xPortGetCoreID() volatile
See merge request idf/esp-idf!4359
2019-02-27 17:58:57 +08:00
Jiang Jiang Jian
484d8ab7ed
Merge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'
...
Component/bt: fix remove bonded device warnning
See merge request idf/esp-idf!3704
2019-02-27 17:54:37 +08:00
Jiang Jiang Jian
9a1bbcfa1a
Merge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'
...
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
See merge request idf/esp-idf!4324
2019-02-27 17:37:46 +08:00
Mahavir Jain
27e00cf7aa
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
2019-02-27 14:19:06 +05:30
Mahavir Jain
e9652e8ef3
uart: use correct critical section API (portENTER_CRITICAL_ISR) from ISR context
2019-02-27 08:36:47 +00:00
Angus Gratton
42f64e9a93
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
...
esp32: make WiFi IRAM optimization configurable
See merge request idf/esp-idf!4037
2019-02-27 16:33:05 +08:00
Ivan Grokhotkov
37b55a5eb5
esp32: print ELF file SHA256 in panic handler
2019-02-27 13:30:25 +08:00
Ivan Grokhotkov
ea52a19c00
build system: include SHA256 hash of ELF file into app_desc structure
2019-02-27 13:30:25 +08:00
Angus Gratton
80f02cd0ea
Merge branch 'bugfix/bootloader_freq_check_runtime' into 'master'
...
bootloader: check previously used clock frequency at run time
See merge request idf/esp-idf!3827
2019-02-27 13:22:47 +08:00
Angus Gratton
fab11e1cec
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'
...
cmake: Fix psram workaround compiler flag application
See merge request idf/esp-idf!4335
2019-02-27 13:20:21 +08:00
Ivan Grokhotkov
1bc831f074
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'
...
esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test
See merge request idf/esp-idf!4340
2019-02-27 11:08:53 +08:00
michael
b812520b19
spi_master: add support for variable dummy length in a same device
...
Resolves https://github.com/espressif/esp-idf/issues/2741
2019-02-27 02:13:33 +08:00
Darian Leung
3576e54d79
freertos: Make xPortGetCoreID() volatile
...
When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.
Closes #3093
2019-02-26 20:59:49 +08:00
Liu Zhi Fu
711173b3d6
esp32: make WiFi IRAM optimization configurable
...
With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.
2019-02-26 19:55:57 +08:00
jack
299e4ca716
Add CRC APIs usage
2019-02-26 18:12:14 +08:00
Ivan Grokhotkov
8cc6226051
soc: define named constants for DPORT_CPUPERIOD_SEL values
2019-02-26 17:07:59 +08:00
Ivan Grokhotkov
178e5b25e6
bootloader: check previously used clock frequency at run time
...
In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.
Closes https://github.com/espressif/esp-idf/issues/2731 .
2019-02-26 17:02:34 +08:00
Ivan Grokhotkov
dda0208614
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
...
This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.
2019-02-26 17:02:34 +08:00
Ivan Grokhotkov
140b6e3893
Merge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'
...
nvs: do eager cleanup of HashListBlocks
See merge request idf/esp-idf!4337
2019-02-26 12:28:10 +08:00
Angus Gratton
da390618c2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-02-26 04:07:51 +00:00
Angus Gratton
3952d25a99
Merge branch 'feature/add_api_get_rmt_idle_level' into 'master'
...
feature(rmt): fixed some RMT related issues.
See merge request idf/esp-idf!3864
2019-02-26 11:57:10 +08:00
Angus Gratton
ca72c3e97b
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'
...
bugfix(gpio): fixed digital gpio unable hold bug during deep-sleep.
See merge request idf/esp-idf!3877
2019-02-26 11:56:27 +08:00
Angus Gratton
280d39aedd
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
...
bugfix(i2s): allow to use apll in pdm/adc/dac mode
See merge request idf/esp-idf!3800
2019-02-26 11:47:49 +08:00
Angus Gratton
b966ef9fcd
Merge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'
...
Bugfix (ledc): Fixed ledc fade scale bug
See merge request idf/esp-idf!4109
2019-02-26 11:46:28 +08:00
Angus Gratton
f614f5bfa9
Merge branch 'feature/http_server_err_handling' into 'master'
...
http_server : Add feature for invoking user configurable handlers during server errors
See merge request idf/esp-idf!4229
2019-02-26 11:12:06 +08:00
Ivan Grokhotkov
d3724dc35d
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
Ivan Grokhotkov
dae40f4ff1
nvs: add a blob fragmentation test case
...
Ref. TW12937
2019-02-26 01:58:20 +00:00
Ivan Grokhotkov
02a76abb8b
nvs: do eager cleanup of HashListBlocks
...
Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).
This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994 .
Closes https://github.com/espressif/esp-idf/issues/1642 .
2019-02-26 01:58:20 +00:00
Supreet Deshpande
4c8e997289
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
...
Replaced the os timer in http server by LRU counter. The timestamp is
unnecessary for LRU.
2019-02-25 10:08:15 +00:00
Roland Dobai
aa9d302814
VFS: Implement poll() based on select()
...
Closes https://github.com/espressif/esp-idf/issues/2945
2019-02-25 10:34:27 +01:00
Anurag Kar
1af5d0d87c
https_server : Missing uri_match_fn paramater added to default config
2019-02-25 09:13:39 +00:00
Anurag Kar
28412d8cb6
http_server : Added feature for invoking user configurable handlers during server errors
...
Added APIs :
* httpd_resp_send_err() : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
* httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.
The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).
Also fixed some typos.
Closes https://github.com/espressif/esp-idf/issues/3005
2019-02-25 09:13:39 +00:00
Ivan Grokhotkov
5ec58c316d
Merge branch 'bugfix/multiple_can_bugs' into 'master'
...
CAN: Add functions to clear queues and fix multiple bugs
See merge request idf/esp-idf!4279
2019-02-25 15:43:56 +08:00
Tian Hao
d877ca4438
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
...
fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.
2019-02-22 06:24:03 +00:00
Angus Gratton
7f28bce42e
newlib: When using psram, link setlocale() to flash not IRAM
2019-02-22 03:28:41 +00:00
Angus Gratton
bd97b139eb
newlib: When using psram, link qsort to flash not IRAM
2019-02-22 03:28:41 +00:00
Ivan Grokhotkov
4ae2c4c282
Merge branch 'feature/coredump_improvements_refactoring' into 'master'
...
coredump: improvements, refactoring (separate FLASH and UART functionality)
See merge request idf/esp-idf!4207
2019-02-21 11:04:19 +08:00
Angus Gratton
5b945cb611
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'
...
mdns: fix memory leak when query for service plus various other fixes
See merge request idf/esp-idf!4270
2019-02-21 06:03:48 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Angus Gratton
91f97d121f
Merge branch 'revert-23a03cf6' into 'master'
...
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
See merge request idf/esp-idf!4292
2019-02-20 15:09:35 +08:00
Angus Gratton
52565ce1a1
Merge branch 'bugfix/btdm_fix_connection_params_update_issues' into 'master'
...
component/bt: fix connection params issues
See merge request idf/esp-idf!4276
2019-02-20 14:18:11 +08:00
Jiang Jiang Jian
c960bcb5e6
Merge branch 'bugfix/coex_lc_protect' into 'master'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4265
2019-02-20 02:11:37 +08:00
Tian Hao
64b7b0f94c
Reduce part of IRAM consumption in wifi libnet80211.a
...
It might be a little effect of WIFI max TX throughput if the limitation is cache hit rate
2019-02-19 15:43:56 +08:00
Angus Gratton
5b182eefc1
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'
...
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
See merge request idf/esp-idf!4152
2019-02-19 13:28:10 +08:00
Ivan Grokhotkov
dc133f9fc4
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
...
This reverts merge request !2441
2019-02-19 12:39:47 +08:00
Tian Hao
2cf4c02be9
component/esp32 : fix coexist lc protect cause memory corrupted
...
The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.
2019-02-19 03:28:47 +00:00
Angus Gratton
298fa2168a
Merge branch 'bugfix/freertos_unused_xSize' into 'master'
...
freertos: Fix unused variable warning
See merge request idf/esp-idf!4281
2019-02-19 10:48:04 +08:00
Angus Gratton
6538acc94f
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader' into 'master'
...
esp32: Fix wdt settings in esp_restart_noos
See merge request idf/esp-idf!4098
2019-02-19 10:42:33 +08:00
Angus Gratton
8cd2534213
Merge branch 'bugfix/nvs_key_part_check_err' into 'master'
...
nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader
See merge request idf/esp-idf!4224
2019-02-19 10:22:04 +08:00
Darian Leung
099b83af67
CAN: Add functions to clear queues and fix multiple bugs
...
This commits adds the functions can_clear_transmit_queue() and
can_clear_receive_queue(). Closes #2906
The following bug are fixed:
- CAN_IO_UNUSED is now explicitly cast to enum type. Closes #2825
- Fix multiple documentation errors. Closes #2898 , Closes #2794
- can_reconfigure_alerts() returns incorrect current_alerts. Closes #3028
- Add missing header file. Closes #3065
2019-02-18 21:31:33 +08:00
zwj
faf9126ed4
component/bt: fix connection params update issues
2019-02-18 19:52:16 +08:00
Angus Gratton
bcc21d2262
Merge branch 'feature/wifi_provisioning_handler_ctx' into 'master'
...
Provisioning : Various fixes in protocomm and wifi_provisioning components
See merge request idf/esp-idf!4188
2019-02-18 08:06:12 +08:00
Michael (XIAO Xufeng)
86bcd56109
spi: fix the bug of connecting SPI peripheral to read-only pins
...
The requirements of pin capabilites is different for spi master and
slave. The master needs CS, SCLK, MOSI to be output-able, while slave
needs MISO to be output-able.
Previous code is for master only.
This commit allows to place other 3 pins than MISO on input-only pins
for slaves. Refactoring for spi_common is also included.
Resolves https://github.com/espressif/esp-idf/issues/2455
2019-02-16 20:03:14 +08:00
Jiang Jiang Jian
2ce401c664
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel' into 'master'
...
Bugfix/btdm crash when inquiry cancel
See merge request idf/esp-idf!4142
2019-02-16 16:27:49 +08:00
Darian Leung
7a174f99a3
freertos: Fix unused variable warning
...
This commit fixes an unused variable warning when
configASSERT is undefined.
2019-02-16 01:42:00 +08:00
David Cermak
8462751f95
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif
2019-02-15 15:59:11 +01:00
David Cermak
1a027734af
mdns: fix malfuctional query_txt
...
when running a query for a single txt, result entries were not created and attached to result structure. this issue was introduced when fixing memory leak in txt structure, which worked correctly for PTR queries, but caused trouble for TXT query.
2019-02-15 13:46:51 +01:00
David Cermak
206b47c03a
mdns: fix possible crash when mdns_free called while action queue not empty
2019-02-15 13:23:21 +01:00
Anurag Kar
f3a6c63920
protocomm : typos fixed and descriptions corrected
2019-02-15 10:45:34 +00:00
Anurag Kar
6b6ae224d9
protocomm unit_tests : test cases updated
...
Changes:
* Version endpoint test added
* Memory leak test updated to include corner case exceptions in protocomm
2019-02-15 10:45:34 +00:00
Anurag Kar
f4cba0c295
protocomm security : memory leaks fixed
...
List of changes:
* Corner case exceptions are properly handled to ensure release of memory occupied by security infrastructure
* fixed erroneous cleanup of security instance by protocomm_console
2019-02-15 10:45:34 +00:00
Anurag Kar
a1d37c833c
protocomm : version endpoint behavior simplified
...
List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.
2019-02-15 10:45:34 +00:00
Anurag Kar
59b10709d1
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated
...
Closes https://github.com/espressif/esp-idf/issues/2874
2019-02-15 10:45:34 +00:00
Anurag Kar
776c23da4a
provisioning framework : 'extern C' directives added for C++ support
2019-02-15 10:45:34 +00:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
David Cermak
9a4da97fb4
mdns: fix memory leak when query for service receives multiple ptr entries for one instance
...
fixes redmine issue 27300
2019-02-15 07:56:03 +01:00
Angus Gratton
eb4d48815f
Merge branch 'feature/protocomm_httpd_changes' into 'master'
...
Feature/protocomm httpd changes
See merge request idf/esp-idf!4227
2019-02-15 14:21:44 +08:00
Angus Gratton
3300adde21
Merge branch 'feature/lwip_add_linker_fragment' into 'master'
...
add linker fragment for lwip
See merge request idf/esp-idf!4255
2019-02-15 13:55:25 +08:00
Jiang Jiang Jian
2c7f603a83
Merge branch 'bugfix/fix_some_wifi_bugs_0131' into 'master'
...
esp32: fix some wifi bugs
See merge request idf/esp-idf!4216
2019-02-15 12:14:41 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
morris
302ca0022f
lwip: add linker fragment
...
Add linker fragment file for lwip component.
2019-02-14 12:42:06 +08:00
maojianxin
0676941332
soc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on
2019-02-13 10:30:37 +08:00
Zhang Jun Yi
c5b4512a27
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-02-13 10:15:45 +08:00
aleks
6ab722e478
coredump:fix test artifacts
...
Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).
Fix test logs and test elf files
2019-02-12 10:22:33 +00:00
aleks
10fe158f67
coredump: improvements refactoring
...
Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).
2019-02-12 10:22:33 +00:00
Mahavir Jain
e00bac2bd5
sys_view: expose max tasks configuration parameter
2019-02-05 18:18:24 +05:30
Angus Gratton
985e1c4c7f
Merge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'
...
Fix permission denied error on Windows for otatool, parttool
See merge request idf/esp-idf!4086
2019-02-05 09:15:22 +08:00
Angus Gratton
4e770aec61
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
...
Predictable event handler dispatch
See merge request idf/esp-idf!3932
2019-02-05 08:47:03 +08:00
Angus Gratton
7922e25a04
Merge branch 'bugfix/mdns_notask_timer_crash' into 'master'
...
mdns: fix crash after init if no memory for task
See merge request idf/esp-idf!4171
2019-02-05 08:41:51 +08:00
Piyush Shah
759b90a5e1
protocomm_httpd: Allow applications to pass HTTPD handle
...
This will be useful if a webserver is already running and the application
does not want protocomm to start a new instance.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-02-04 18:22:05 +05:30
Angus Gratton
a2b47fd314
Merge branch 'bugfix/win_kconfig_backslash' into 'master'
...
tools: Fix Windows related Kconfig issues
See merge request idf/esp-idf!4206
2019-02-04 14:27:38 +08:00
Jiang Jiang Jian
d4d3ccf6d9
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication' into 'master'
...
Component/bt: add handle in gatts conf event for indication
See merge request idf/esp-idf!4024
2019-02-01 21:33:39 +08:00
Jiang Jiang Jian
abea9e4c02
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection' into 'master'
...
Component/bt: fix write char crash after disconnection
See merge request idf/esp-idf!4209
2019-02-01 21:27:29 +08:00
Roland Dobai
80cb4a1a18
tools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors
...
Closes https://github.com/espressif/esp-idf/issues/3012
2019-02-01 11:33:41 +01:00
Sagar Bijwe
d32128440d
nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader
...
Currently, only erase operation performed by the application leads
to detection of NVS key partition as uninitialised. This change
adds additional checks for detecting partition as uninitialised,
when device boots first time right after encryption by bootloader.
2019-02-01 13:28:13 +05:30
Liu Zhi Fu
de79835251
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
after reset.
2019-02-01 11:51:05 +08:00
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
zhiweijian
b51a0fcea5
Component/bt: fix write char crash after disconnection
2019-01-31 12:18:54 +00:00
qiyuexia
02d3170cce
mesh: modify to malloc routing table
2019-01-31 17:46:11 +08:00
He Yin Ling
83f370630e
Merge branch 'feature/add_ipv6_related_change' into 'master'
...
modify test case to support ipv6
See merge request idf/esp-idf!2253
2019-01-31 14:31:16 +08:00
baohongde
e87d05d81f
components/bt: Add precautions for esp_vhci_host_send_packet
2019-01-31 11:47:58 +08:00
baohongde
27235e023f
components/bt: Fix crash when inquiry stop
2019-01-31 11:47:41 +08:00
Ivan Grokhotkov
131885d547
Merge branch 'bugfix/event_loop_library_memory_leak' into 'master'
...
Fix event loop library memory leak
See merge request idf/esp-idf!4201
2019-01-31 11:02:20 +08:00
Angus Gratton
4b2feb316a
Merge branch 'feature/optionally_disable_https_from_ota_component' into 'master'
...
esp_https_ota: few feature enhancements
See merge request idf/esp-idf!4057
2019-01-31 09:11:35 +08:00
Renz Christian Bagaporo
a3664ad654
esp_event: test that dispath order follows regisration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
a10901f44b
esp_event: dispatch order follows registration order
2019-01-30 20:59:47 +08:00
michael
2dc3c61114
test: add unit test for spi sio mode
2019-01-30 20:57:26 +08:00
michael
305354d0a2
test: change spi test host to macros
2019-01-30 20:57:25 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
Mahavir Jain
d894e133ad
esp_https_ota: add config option to (optionally) allow http
2019-01-30 18:11:05 +05:30
Renz Christian Bagaporo
2160abd3e4
esp_event: detect leaks in unit test
2019-01-30 18:49:21 +08:00
Renz Christian Bagaporo
34310908cf
esp_event: fix post data type inconsistency
2019-01-30 18:11:13 +08:00
Renz Christian Bagaporo
280894af7f
esp_event: fix memory leaks
...
Closes https://github.com/espressif/esp-idf/issues/2886
2019-01-30 18:11:13 +08:00
Jiang Jiang Jian
a0416e9351
Merge branch 'bugfix/tw28445_wps_thread_safe' into 'master'
...
Bugfix/tw28445 wps thread safe
See merge request idf/esp-idf!4175
2019-01-30 17:50:25 +08:00
Ivan Grokhotkov
58b5394266
Merge branch 'bugfix/git_describe_always_for_cmake' into 'master'
...
tools: Add --always option to git describe for Cmake
See merge request idf/esp-idf!4107
2019-01-30 17:48:11 +08:00
Ivan Grokhotkov
024c568c73
Merge branch 'bugfix/cmake_stack_protector' into 'master'
...
esp32: disable stack protector for startup code (CMake)
See merge request idf/esp-idf!4198
2019-01-30 16:28:40 +08:00
David Cermak
a47768dc4e
mdns: fix crash after init if no memory for task
...
mdns init first starts timer task, then starts service task. if service task failed to be created, timer task needs to be stopped too.
fixed https://ezredmine.espressif.cn:8765/issues/28466
2019-01-30 08:17:37 +01:00
Angus Gratton
784fc51931
Merge branch 'bugfix/mdns_crash_free_strdup' into 'master'
...
mdns: fixed crash on free undefined ptr if strdup is skipped
See merge request idf/esp-idf!4173
2019-01-30 09:33:12 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Ivan Grokhotkov
7fb3218a33
Merge branch 'feature/eth_support_ip101g' into 'master'
...
support new Ethernet PHY (IP101)
See merge request idf/esp-idf!4187
2019-01-29 17:50:40 +08:00
Ivan Grokhotkov
70b14bf615
esp32: disable stack protector for startup code (CMake)
...
Files where stack protector is initialized should not be compiled with
stack protector enabled. This was done for Make but missing for CMake.
Fixes https://github.com/espressif/esp-idf/issues/2990 .
2019-01-29 17:41:00 +08:00
Liu Zhi Fu
fd57c4ee67
esp32: fix WPS thread-safe
...
Fix WPS thread-safe bug
2019-01-29 17:30:21 +08:00
Jiang Jiang Jian
bf1955aac8
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'
...
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep
See merge request idf/esp-idf!4191
2019-01-29 17:12:10 +08:00
David Cermak
e0a8044a16
mdns: fixed crash on free undefined ptr after skipped strdup
...
Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465
2019-01-29 10:10:38 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Ivan Grokhotkov
4725364e04
Merge branch 'feat/spi_slave_timing' into 'master'
...
feat(spi_slave): fine tune the timing of SPI slave
See merge request idf/esp-idf!3925
2019-01-29 14:03:55 +08:00
XiaXiaotian
a2cec1f636
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
...
the same time and both enable modem sleep
2019-01-29 10:55:45 +08:00
Ivan Grokhotkov
44b97b7fe7
Merge branch 'bugfix/backtrace_from_interrupts' into 'master'
...
Make backtrace work across interrupts
See merge request idf/esp-idf!4084
2019-01-28 16:40:12 +08:00
zhiweijian
b2a515c347
Component/bt: add handle in gatts conf event for indication
2019-01-28 07:12:22 +00:00
Darian Leung
96af064209
freertos: Make backtrace work across interrupts
...
This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.
2019-01-28 14:34:26 +08:00
Jiang Jiang Jian
9896f45c79
Merge branch 'mesh/bugfix_0124' into 'master'
...
mesh: udpate libs
See merge request idf/esp-idf!4155
2019-01-28 14:06:00 +08:00
Ivan Grokhotkov
a97765c4b3
Merge branch 'feature/modem_pppos' into 'master'
...
support cellular modem && refactor PPPoS client example
See merge request idf/esp-idf!3778
2019-01-28 11:59:41 +08:00
huchaoru
932f2707ee
modify test case to support ipv6
2019-01-26 13:02:04 +00:00
michael
41e58bc419
spi: add new test for timing and mode
...
New unit tests added
------------------------
**Local:** Local test uses the GPIO matrix to connect the master and the
slave on the same board. When the master needs the iomux, the master
uses the GPIOs of its own, the slave connect to the pins by GPIO matrix;
When the slave needs the iomux, the slave uses the GPIOs of its own, the
master connects to the pins by GPIO matrix.
- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.
**M & S**: Master & slave tests performs the test with two boards. The
master and slave use iomux or gpio matrix according to the config.
- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.
- Provide a new unit test which performs mode test with significant
frequencies. It tests mode 0,1,2,3 with low frequency, and the maximum
frequency allowed.
2019-01-26 00:10:41 +08:00
Michael (XIAO Xufeng)
155006243e
spi_master: fix the timing a little so that can assign delay half clock manually
2019-01-26 00:10:41 +08:00
michael
58955a79a2
spi_slave: improve the timing configuration
...
SPI Slave
===========
- Correct the configuration of mode 0~3 using new config in the TRM
- Split the workaround for DMA in mode 0/2 out of normal config, to make it clear.
- Update timing and speed document for the SPI slave.
Resolves https://github.com/espressif/esp-idf/issues/1346 , https://github.com/espressif/esp-idf/issues/2393
2019-01-26 00:10:41 +08:00
michael
d9c5016e08
test: add new test framework for different configurations
...
Paremeterized Test Framework
-----------------------------
The SPI has a lot of parameters, which works in the same process.
This framework provides a way to easily test different parameter sets.
The framework can work in two different ways:
- local test: which requires only one board to perform the test - master
& slave test: which generates two sub test items which uses the same
config set to cooperate to perform the test.
The user defines a (pair if master/slave) set of init/deinit/loop
functions. Then the test framework will call init once, then call loop
several times with different configurations, then call deinit.
Then a unit test can be appended by add a parameter group, and pass it into
a macro.
2019-01-26 00:10:41 +08:00
Jiang Jiang Jian
5c88c5996d
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
...
component/bt: add a option to make report adv data and scan response individually
See merge request idf/esp-idf!4131
2019-01-25 11:53:06 +08:00
qiyueixa
8c675a52a7
mesh: udpate libs
...
1. during parent selection, when scanning a MAP without ext-assoc IE, it will be handled as it has the same router BSSID as itself.
2. for MAP, when its client leaves, always post SYSTEM_EVENT_AP_STADISCONNECTED to mesh layer regardless of whether the client has passed the encrypted authentication or not.
2019-01-24 15:15:09 +08:00
Ivan Grokhotkov
2eabed161a
Merge branch 'feature/merge_multiple_github_prs' into 'master'
...
Multiple Github PRs
See merge request idf/esp-idf!4146
2019-01-24 15:14:47 +08:00
Tian Hao
6c8a8664aa
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 14:30:02 +08:00
Angus Gratton
386b29e5f8
Merge branch 'bugfix/reduce_nvs_init_time' into 'master'
...
nvs_flash: Improve nvs_flash_init_partition() speed
See merge request idf/esp-idf!4097
2019-01-24 14:17:57 +08:00
Jiang Jiang Jian
2dadc7d549
Merge branch 'bugfix/sha_ownership' into 'master'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks
See merge request idf/esp-idf!4010
2019-01-24 14:07:23 +08:00
Ivan Grokhotkov
d96f6d6b12
Merge branch 'feature/efuse_add_voltage_level' into 'master'
...
feature(efuse): add support for setting core voltage in high performance cases
See merge request idf/esp-idf!4124
2019-01-24 13:03:25 +08:00
KonstantinKondrashov
00c1a40006
app_update: Fix a handling of version as string
2019-01-24 12:13:38 +08:00
Angus Gratton
7f307423c1
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
...
Works around bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
Also moves all related functionality to newlib component.
2019-01-24 11:30:05 +08:00
Pieter du Preez
496bfe3842
Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.
...
The following 2 compiler warnings are only reproducible when setting:
OPTIMIZATION_FLAGS = -Ofast
esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return freq;
esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
*ppvTailItem = pvTempTailItem;
Closes https://github.com/espressif/esp-idf/pull/2878
2019-01-23 16:47:23 +05:30
rustyx
053219283d
Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805
...
Closes https://github.com/espressif/esp-idf/pull/2967
2019-01-23 16:47:23 +05:30
Damian Reboredo
41e71c2f53
fix esp_http_client_open
...
client->post_len was not bein set therefore content-length was 0
Closes https://github.com/espressif/esp-idf/pull/2917
2019-01-23 16:47:23 +05:30
Michael Reutman
fdd865f22d
Fix typo in error message in esp_bluedroid_init
...
Closes https://github.com/espressif/esp-idf/pull/2835
2019-01-23 16:47:23 +05:30
Michael Reutman
02da4154a1
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
...
Closes https://github.com/espressif/esp-idf/pull/2793
2019-01-23 16:47:23 +05:30
Anders Kalør
8b72dc9fb0
esp_http_client: Add support for mutual authentication
...
Closes https://github.com/espressif/esp-idf/pull/2688
2019-01-23 16:47:23 +05:30
morris
2e1f98f8f5
modem: support modem facility and PPPoS
...
1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established
2019-01-23 18:53:32 +08:00
Ivan Grokhotkov
07645955a2
Merge branch 'bugfix/bootloader_map_size' into 'master'
...
bootloader: fix incorrect mapping size
See merge request idf/esp-idf!3175
2019-01-23 16:56:58 +08:00
Jiang Jiang Jian
06c3665740
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'
...
esp32: fix invalid channel state information(CSI) data index
See merge request idf/esp-idf!4048
2019-01-23 14:58:49 +08:00
Ivan Grokhotkov
f2b7dd4263
Merge branch 'feature/support_global_der_ca_store' into 'master'
...
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store
See merge request idf/esp-idf!3795
2019-01-23 13:30:49 +08:00
Angus Gratton
f141b29328
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 04:59:44 +00:00
Angus Gratton
f3277cf2dc
hwcrypto sha: Allow SHA contexts to be shared between tasks
...
Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.
Replace with binary semaphore which can be shared between tasks.
Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).
2019-01-23 04:59:44 +00:00
Gautier Seidel
b4c4f8514b
nvs_flash: Improve nvs_flash_init_partition() speed
...
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
2019-01-23 04:53:36 +00:00
XiaXiaotian
f3b72ef6aa
esp32: fix invalid channel state information(CSI) data index
...
Due to a hardware limitation in ESP32, the first four bytes of some
CSI data is invalid, not the last four bytes.
Correct a mistake of CSI sub-carrier index in documentation.
2019-01-22 20:11:05 +08:00
Wangjialin
78bea94d8a
feature: add support for setting core voltage in high performance cases.
...
1. add definitions of EFUSE_RD_VOL_LEVEL_HP_INV in efuse_reg.h
2. modify the core voltage according to the record in efuse in high performance cases.
2019-01-22 12:13:58 +08:00
Ivan Grokhotkov
1ce83f4ef5
Merge branch 'bugfix/http_server_uri_template' into 'master'
...
esp_http_server : Remove casual use of 'template' keyword
See merge request idf/esp-idf!4123
2019-01-22 11:45:45 +08:00
Jitin George
4a667ee12c
esp_http_client: Fix config member path's incorrect setting issue
2019-01-21 19:08:24 +08:00
Anurag Kar
cfebbae3ef
esp_http_server : Remove casual use of 'template' keyword
...
Closes https://github.com/espressif/esp-idf/issues/2956
2019-01-21 16:13:01 +05:30
Angus Gratton
a9d91e00bc
Update esptool.py to v2.6
2019-01-19 14:44:55 +08:00
Ivan Grokhotkov
96d0f7f5e2
bootloader: account for load address when mapping cache pages
...
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.
Reported in https://esp32.com/viewtopic.php?f=13&t=6952 .
2019-01-19 14:44:55 +08:00
Ivan Grokhotkov
182e917d78
bootloader: fix IROM and DROM swapped in log messages
2019-01-19 14:44:55 +08:00
Tian Hao
423fbf0006
Fix some bugs in phy
...
1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. disable/enable agc to mac deinit/init
2019-01-16 22:41:17 +08:00
Jiang Jiang Jian
83447cae90
Merge branch 'mesh/cs_root_conflict' into 'master'
...
detect and fix root conflicts when router BSSID is not set
See merge request idf/esp-idf!3869
2019-01-16 21:16:56 +08:00
qiyueixa
e1ac7ed922
test: modify the reason code from 204 to 15 in WIFI_CONN_0904
...
1. remove the step of testing station connect using a wrong password.
2019-01-15 22:37:49 +08:00
Wang Jia Lin
a62cbfec9a
Merge branch 'bugfix/fix_psram_eid' into 'master'
...
bugfix(psram): fix psram size acquisition method, support esp32-pico chips
See merge request idf/esp-idf!3750
2019-01-15 17:44:51 +08:00
qiyuexia
a05fdd9c10
mesh: update libs
...
1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
2019-01-15 14:26:05 +08:00
Ivan Grokhotkov
1ee729336f
Merge branch 'feature/http_server_wildcard_uri' into 'master'
...
Wildcard URI matching for http_server
See merge request idf/esp-idf!3973
2019-01-14 19:44:54 +08:00
Paul Reimer
a1204f8b16
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store
...
Signed-off-by: Chirag Atal <chirag.atal@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2654
2019-01-14 08:25:56 +00:00
Anurag Kar
21878d1bbf
HTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in https://github.com/espressif/esp-idf/pull/2581#issuecomment-430788473
2019-01-14 08:59:55 +05:30
Anurag Kar
416c55e7f0
HTTP Server : Add uri_match_fn field in config structure which accepts custom URI matching functions of type httpd_uri_match_func_t and defaults to basic string compare when set to NULL.
...
Move static uri_matches() function to httpd_uri_match_wildcard() under esp_http_server.h and make it optional.
2019-01-14 08:59:55 +05:30
Anurag Kar
107f52c4fc
HTTP Server : Add helper APIs for sending string content
...
Note : In future consider deprecating usage of -1 for setting
buffer length equal to string length in APIs httpd_resp_send()
and httpd_resp_send_chunk()
2019-01-14 08:36:18 +05:30
Renz Christian Bagaporo
62f1f9f87a
otatool, parttool: Fix permission denied error on Windows
2019-01-14 06:05:39 +08:00
Liu Zhi Fu
4b234b0805
esp32: fix the incorrect tx complete state issue
2019-01-12 09:39:59 +08:00
Jiang Jiang Jian
c22e04f5b3
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'
...
esp32: fix wrongly deleting hardware BA index bug
See merge request idf/esp-idf!4101
2019-01-12 09:37:03 +08:00
Wangjialin
d518a19d95
driver(ledc): fix ledc fade API and update the register header file
...
1. fix error when fading is too fast
2. fix error when setting duty and update immediately
3. update register header file to be in accord with TRM
closes https://github.com/espressif/esp-idf/issues/2903
2019-01-12 00:56:38 +08:00
Ivan Grokhotkov
72b3c6d6b8
Merge branch 'feature/check_kconfig' into 'master'
...
Check the style of Kconfig files
See merge request idf/esp-idf!3971
2019-01-11 21:14:27 +08:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
aleks
e3a786f2cf
examples: change max register area size to maximum value
...
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;
TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884
2019-01-11 09:49:11 +01:00
Liu Zhi Fu
85f018edbc
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 16:31:01 +08:00
Ivan Grokhotkov
065b99f28b
Merge branch 'bugfix/unix_makefile_build_on_windows' into 'master'
...
CMake: Fix build error when using Windows command line and MinGW generator
See merge request idf/esp-idf!3997
2019-01-11 16:09:28 +08:00
Ivan Grokhotkov
ad5d81df04
Merge branch 'feature/mqtt_before_connect_event' into 'master'
...
MQTT support for fragmented and packed messages
See merge request idf/esp-idf!3743
2019-01-11 15:38:23 +08:00
Ivan Grokhotkov
1da00b3555
Merge branch 'bugfix/Cmake_support_dhcp_state' into 'master'
...
Added Cmake support for dhcp_state
See merge request idf/esp-idf!3804
2019-01-11 15:23:40 +08:00
Ivan Grokhotkov
a3e3d00cf0
Merge branch 'test/unit_test_multi_devices_case_pass_param_by_signals' into 'master'
...
unit-test-app: support passing parameter with signals
See merge request idf/esp-idf!3960
2019-01-11 15:23:19 +08:00
Ivan Grokhotkov
cdbe1d4d5b
Merge branch 'bugfix/mdns_udp_send_protected' into 'master'
...
mdns networking udp send protected
See merge request idf/esp-idf!3969
2019-01-11 15:20:09 +08:00
Ivan Grokhotkov
aa0c82b9cf
Merge branch 'bugfix/vfs_ut_performance' into 'master'
...
VFS: move all functions into RAM which are called in the performance test
See merge request idf/esp-idf!4047
2019-01-11 14:09:02 +08:00
Ivan Grokhotkov
da15be6dd0
Merge branch 'bugfix/fatfs_perf_test' into 'master'
...
fatfs: bypass newlib buffering in performance test
See merge request idf/esp-idf!4076
2019-01-11 14:05:58 +08:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Ivan Grokhotkov
bf35ef1ce7
esp_partition: disable encrypted reads/writes if flash encryption is disabled
...
Saves 400 bytes of IRAM.
2019-01-10 21:51:09 +08:00
Konstantin Kondrashov
82c5e648ad
esp32: Fix wdt settings in esp_restart_noos
...
Fixed compatibility the new apps with the old bootloaders.
Closes: https://github.com/espressif/esp-idf/issues/2927
2019-01-10 20:22:26 +08:00
He Yin Ling
7c59207351
test: add test to check wifi conneciton between sta and softap
2019-01-10 09:51:17 +00:00
MartinValik
e3428adf87
Added Cmake support for dhcp_state
2019-01-10 07:51:54 +00:00
Jiang Jiang Jian
097597b978
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'
...
esp32: do defragmentation only for data and management frame
See merge request idf/esp-idf!4072
2019-01-09 15:54:05 +08:00
chenjianqiang
bd8733f74f
feature(psram): add psram support for esp32-pico chip
...
1. esp32-pico use standard spi driver to access psram
2. for esp32-pico, flash and psram share the clock
3. for esp32-pico, psram cs io can be overwrite via menuconfig
2019-01-09 10:49:07 +08:00
Jiang Jiang Jian
e931fe9f57
Merge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'
...
tcpip: fix mbox thread-safe issue
See merge request idf/esp-idf!4002
2019-01-09 10:20:50 +08:00
Ivan Grokhotkov
456efd3d57
Merge branch 'bugfix/timer_delete_dispatch_race' into 'master'
...
esp_timer: fix race between deleting the timer and executing the callback
See merge request idf/esp-idf!3992
2019-01-08 14:06:46 +08:00
XiaXiaotian
1a492f0715
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-07 20:38:16 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
Liu Zhi Fu
6933c103e5
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-07 13:38:11 +08:00
Ondřej Hruška
91d6b3b989
Implement wildcard URI matching for http_server
2019-01-06 03:07:13 +05:30
Ivan Grokhotkov
5339c56bc5
fatfs: bypass newlib buffering in performance test
2019-01-05 14:13:49 +08:00
Roland Dobai
c8e8044293
VFS: move all functions into RAM which are called in the performance test
2019-01-03 19:56:19 +01:00
David Cermak
f7d4a4be6a
mdns: fix networking running udp_sendif from lwip thread
2019-01-03 14:28:29 +01:00
zhangyanjiao
2d5e9d765f
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-03 17:55:06 +08:00
David Cermak
bed26be427
tcp_transport: modification of ws to read headers first in order to read the exact payload
...
closes https://github.com/espressif/esp-mqtt/issues/69
2019-01-03 09:22:40 +01:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
Ivan Grokhotkov
227f8daef3
esp_timer: do not allow deleting timers while callbacks are dispatched
...
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.
To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-03 07:14:53 +00:00
Ivan Grokhotkov
52d33e8cbd
Merge branch 'bugfix/esp_attr_sdkconfig' into 'master'
...
esp32: esp_attr.h should include sdkconfig.h
See merge request idf/esp-idf!4058
2019-01-03 03:07:52 +08:00
Ivan Grokhotkov
aba555b349
Merge branch 'bugfix/pthread_detach' into 'master'
...
Bugfix in pthread_detach() implementation
See merge request idf/esp-idf!4038
2019-01-03 03:05:16 +08:00
Angus Gratton
4a42827c4a
esp32: esp_attr.h should include sdkconfig.h
...
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8669#p36395
2019-01-02 17:04:53 +11:00
Jiang Jiang Jian
c4963fc329
Merge branch 'bugfix/btdm_miscellaneous_modifications' into 'master'
...
component/bt: some miscellaneous modifications for BLE
See merge request idf/esp-idf!4032
2019-01-02 14:04:44 +08:00
Jiang Jiang Jian
1de94b7b45
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
...
component/bt: modify the BLE example to make it run with "numeric comparison" mode
See merge request idf/esp-idf!3500
2019-01-02 14:02:58 +08:00
Angus Gratton
25ab173799
Merge branch 'bugfix/https_server_cpp_support' into 'master'
...
esp_https_server : add extern C directive for C++ support
See merge request idf/esp-idf!4054
2019-01-02 13:58:37 +08:00
Jiang Jiang Jian
9874bcc8e7
Merge branch 'bugfix/remove_gatts_warning' into 'master'
...
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
See merge request idf/esp-idf!4008
2019-01-02 12:00:10 +08:00
Jiang Jiang Jian
264a76c52a
Merge branch 'feature/coex_unforce_wifi_if_no_data_buffered_in_beacon' into 'master'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream state and reduce force receiving broadcast data time
See merge request idf/esp-idf!3963
2019-01-02 11:56:15 +08:00
Anurag Kar
a6f18bda47
https_server : add extern C directive and other minor changes for C++ support
...
Closes https://github.com/espressif/esp-idf/issues/2887
2018-12-31 15:12:42 +05:30
Jiang Jiang Jian
6ae12d20ab
Merge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'
...
doc/btdm_modem_sleep_EVED_mode
See merge request idf/esp-idf!4017
2018-12-29 10:27:28 +08:00
Jiang Jiang Jian
529ba78c8c
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover' into 'master'
...
add hostname option in dhcp discover
See merge request idf/esp-idf!3937
2018-12-28 20:26:11 +08:00
Anurag Kar
f5e8e05282
pthread tests : test case added for detach functionality
2018-12-28 14:41:24 +05:30
XiaXiaotian
36c956070b
esp32: unforce wifi if receiving beacon with no data buffered in dream
...
state and reduce force receiving broadcast data time
1. If receiving beacon which indicates that there is no data buffered,
do not force to receive WiFi data.
2. If receiving beacon which indicates that there is broadcast data
buffered, reduce the time to force receiving broadcast data.
2018-12-28 17:09:45 +08:00
Anurag Kar
d816578e3a
bugfix/pthread : pthread_detach implementation fixed to correctly delete pthread object when invoked after task completion
2018-12-27 18:47:46 +05:30
Tree
68626ed494
component/bt: some miscellaneous modifications for BLE
2018-12-26 20:36:33 +08:00
qiyueixa
e3833999ea
mesh: update libs
...
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:10:55 +08:00
wangmengyang
74eae4b50e
component/bt: add more information and description for bluetooth modem sleep
...
Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test
2018-12-21 19:30:20 +08:00
Jiang Jiang Jian
1f794cfff1
Merge branch 'mesh/bugfix_v3.3' into 'master'
...
wifi: fix STAs can not detect disconnection from AP when encrypt transmission is used
See merge request idf/esp-idf!3907
2018-12-21 17:27:11 +08:00
Ivan Grokhotkov
71c90ac456
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
...
examples: freemodbus port serial slave move uart mode settings into example
See merge request idf/esp-idf!3870
2018-12-21 12:13:28 +08:00
Ivan Grokhotkov
1cb65b3e5f
Merge branch 'bugfix/bbpll_wakeup_reset_2' into 'master'
...
soc/rtc: reset another BBPLL related register
See merge request idf/esp-idf!3947
2018-12-21 12:09:18 +08:00
Ivan Grokhotkov
75ef4b2242
Merge branch 'bugfix/ext_ram_bss_align' into 'master'
...
Fix crash if ext_ram_bss is unaligned length
See merge request idf/esp-idf!4000
2018-12-21 12:06:58 +08:00
Ivan Grokhotkov
cd29cffa20
Merge branch 'bugfix/mdns_crash_when_query' into 'master'
...
mdns issues when query
See merge request idf/esp-idf!3910
2018-12-21 11:57:56 +08:00
Angus Gratton
78487123bf
Merge branch 'feature/cut_len_for_header_struct' into 'master'
...
build: Add trimming PROJECT_VER and PROJECT_NAME vars
See merge request idf/esp-idf!3927
2018-12-21 07:45:22 +08:00
Renz Christian Bagaporo
d3799c8682
mbedtls: fix unix makefile build on windows command line
2018-12-20 18:23:55 +08:00
Hrishikesh Dhayagude
11a5fb8ab6
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
...
Fixes: https://github.com/espressif/esp-idf/issues/2811
The warning print "NULL value" is only kept for event
BTC_GATTS_ACT_SET_ATTR_VALUE as this can be useful in case user forgets
to set attribute value
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-12-20 14:20:56 +05:30
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
Jiang Jiang Jian
f8910cecce
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex' into 'master'
...
component/bt: fix crash when adv and scan coex and optimize duplicate scan
See merge request idf/esp-idf!3975
2018-12-20 14:59:20 +08:00
qiyueixa
ed8c5a18cb
mesh: update libs
...
1. fix STAs can not detect disconnection from AP when encrypt transmission is used.
2. fix can not find hidden APs.
3. for root, modify the active scan time to 120ms.
4. remove all rc when clear parent Wi-Fi configuration.
5. fix error in checking Wi-Fi commit ID.
2018-12-20 12:11:30 +08:00
baohongde
d601ed8023
components/bt: Fix two bugs about pairing
...
1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP
2018-12-20 11:10:52 +08:00
baohongde
9c48528fcc
components/bt: Configure SSP in menuconfig
2018-12-20 11:10:27 +08:00
Angus Gratton
e1a1c7f17c
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
...
Fixes pointer arithmetic when printing size of remaining heap
2018-12-20 01:40:05 +00:00
Angus Gratton
b1f3586f7e
multi_heap: Fix bug when start of heap is unaligned
...
Alignment was accounted for in one place only.
TW27954
2018-12-20 01:40:05 +00:00
Angus Gratton
db243d092c
linker external bss: Align end of ext bss to word boundary
...
TW27954
2018-12-20 01:40:05 +00:00
Jiang Jiang Jian
14d7a63459
Merge branch 'bugfix/wifi_rx_fail' into 'master'
...
wifi: fix wifi rx fails
See merge request idf/esp-idf!3976
2018-12-19 19:12:36 +08:00
aleks
5379c941b8
examples: freemodbus port serial slave move uart mode settings into example
...
Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file
TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
2018-12-19 08:03:18 +00:00
Angus Gratton
d453cce1b3
Merge branch 'bugfix/individual_custom_sections' into 'master'
...
linker: When using section type attributes, create unique sections
See merge request idf/esp-idf!3920
2018-12-19 15:18:26 +08:00
Angus Gratton
ad200227d2
Merge branch 'feature/add_rollback_flags' into 'master'
...
bootloader/app_update: Add a support of an app rollback.
See merge request idf/esp-idf!3547
2018-12-19 14:28:11 +08:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Angus Gratton
6dba472678
Merge branch 'bugfix/unit_test_keep_serial_port_open' into 'master'
...
unit test: Keep serial port open when running esptool
See merge request idf/esp-idf!3889
2018-12-19 07:06:17 +08:00
qiyueixa
2b83460814
wifi: fix wifi rx fails
...
1. add MAC reset.
2. update libphy.a from 4000 to 4006.
2018-12-18 23:39:54 +08:00
kooho
919a36b6b5
driver(gpio): fixed digital gpio unable hold bug during deep-sleep.
2018-12-18 17:04:12 +08:00
Konstantin Kondrashov
51133083f6
app_update: Add EXCLUDE option
...
Added two options for PROJECT_NAME and PROJECT_VER variables to exclude them from the firmware image.
Closes: https://github.com/espressif/esp-idf/issues/2803
2018-12-18 15:58:47 +08:00
Konstantin Kondrashov
7b68e346fa
build: Fix a warning from git describe
...
Fixed a fatal message when run `git describe`.
2018-12-18 15:58:22 +08:00
Wang Jia Lin
f58f39e2f0
Merge branch 'bugfix/clear_intr_status_when_init_hwtimer' into 'master'
...
bugfix(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
See merge request idf/esp-idf!3945
2018-12-18 15:21:23 +08:00
Paul Abbott
be567d3eb5
driver(rmt): Fixed some RMT related issues.
...
1. Add missing get function to RMT API: rmt_get_idle_level().
2. Suppress error message from rmt_wait_tx_done() if wait_time==0 (allows for polling).
3. Remove the blank lines between parameter lists.
Merges https://github.com/espressif/esp-idf/pull/2666
2018-12-18 13:32:39 +08:00
Angus Gratton
42dcdecce2
Merge branch 'doc/network' into 'master'
...
docs: Rearrange wifi & ethernet docs under "Networking", add tcpip_adapter docs
See merge request idf/esp-idf!3890
2018-12-18 13:15:05 +08:00
kooho
e22c0cce45
driver(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
...
closes https://github.com/espressif/esp-idf/issues/2756
2018-12-18 13:10:15 +08:00
Jiang Jiang Jian
1607812fef
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into 'master'
...
Component/bt: fix receive adv pkt when enable duplicate scan
See merge request idf/esp-idf!3783
2018-12-18 11:44:38 +08:00
Jiang Jiang Jian
fd520a94d7
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug' into 'master'
...
esp32: fix WiFi stop bug in WiFi/BT coexist mode
See merge request idf/esp-idf!3979
2018-12-18 11:40:28 +08:00
Jiang Jiang Jian
9eb2287729
Merge branch 'bugfix/btdm_prevent_light_sleep' into 'master'
...
bugfix/btdm_prevent_light_sleep
See merge request idf/esp-idf!3980
2018-12-18 11:34:50 +08:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
Angus Gratton
9a08e49ca9
tcpip_adapter: Rename DHCP option types to include DHCP in the type name
2018-12-18 14:07:43 +11:00
Angus Gratton
ede47ed33a
tcpip_adapter: Update header descriptions, constify some parameters
2018-12-18 14:07:43 +11:00
Liu Zhi Fu
b3380b79d1
esp32: fix WiFi stop bug in WiFi/BT coexist mode
...
This fix includes following changes:
1. Fix the bug that esp_restart()/esp_wifi_stop() sometimes fails in WiFi/BT coexist mode.
2. Add a timer for WiFi stop and stop WiFi forcibly once the timer expires.
2018-12-17 20:33:31 +08:00
wangmengyang
561021e7f7
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-17 19:54:57 +08:00
David Cermak
6bb68a5a75
mdns: fixed static memory leak
2018-12-17 12:09:23 +01:00
David Cermak
c8cb4cd3c8
mdns: check all mallocs for failure and add default hook to log error with free heap
...
solves crash about _mdns_result_txt_create when stress test
2018-12-17 12:09:11 +01:00
zhiweijian
05e84cad1e
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:49:04 +08:00