Jitin George
64e3ab364e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-05-02 12:29:29 +05:30
Anurag Kar
ffad8b27a3
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-02 05:29:38 +00:00
Angus Gratton
c5f58d11e8
Merge branch 'bugfix/missing_ldgen_libraries_file_on_windows' into 'master'
...
make: fix missing rule for creating ldgen_libraries file
See merge request idf/esp-idf!4907
Closes https://github.com/espressif/esp-idf/issues/3394
2019-05-01 13:08:23 +08:00
Tim Nordell
c3fa2497b9
nvs: Check if an item is modified before writing out an identical copy
...
This prevents wear and tear on the flash, and it also is faster in some
cases since the read-out of flash is a cheaper operation than the erasure
of flash. Some library modules (such as the esp_wifi) write out to NVS
upon every initialization without checking first that the existing value
is the same, and this speeds up initialization of modules that make
these design choices and moves it into a centralized place.
The comparison functions are based on the read-out functions of the same
name, and changes out the memcpy(...) operations for memcmp(...)
operations.
Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com>
2019-04-30 11:39:58 -05:00
Ivan Grokhotkov
db86b31ef4
Merge branch 'fix/spi_master_dio_qio_hal' into 'master'
...
spi_master: fix the dual/quad io issue
See merge request idf/esp-idf!4894
2019-04-30 16:14:53 +08:00
Ivan Grokhotkov
f94f158cf5
Merge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'
...
spiffsgen follow-ups
See merge request idf/esp-idf!4893
2019-04-30 13:48:54 +08:00
Renz Christian Bagaporo
4cc8b92d22
make: fix missing rule for creating ldgen_libraries file
2019-04-30 11:54:01 +08:00
Jitin George
f49e91f744
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs
...
Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url
Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
- This requires breaking down esp_https_ota API such that it allows finer application level control
- For simpler use-cases previous API is still supported
Closes https://github.com/espressif/esp-idf/issues/3218
Closes https://github.com/espressif/esp-idf/issues/2921
2019-04-29 18:58:07 +05:30
Anurag Kar
59afbe4eed
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths
...
This change prevents buffer overflows in case of really long file paths.
Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated
2019-04-29 12:19:59 +05:30
Jitin George
86e1fc564e
esp_http_client: Add API for adding authorization info
...
There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.
2019-04-29 11:44:37 +05:30
Krzysztof Budzynski
ba1ff1692b
Merge branch 'doc/review_api-reference_indexes' into 'master'
...
Doc/review api reference indexes
See merge request idf/esp-idf!4876
2019-04-29 10:53:42 +08:00
Kirill Chalov
b672002a5f
Doc/review api reference indexes
2019-04-29 10:53:42 +08:00
Angus Gratton
eb3791faba
Merge branch 'bugfix/udp_multicast_example_errors' into 'master'
...
udp_multicast_example: better handling wrong addresses
Closes IDFGH-979
See merge request idf/esp-idf!4784
2019-04-29 09:21:07 +08:00
Angus Gratton
1ed3be9c79
Merge branch 'feature/use_libraries_directly_with_ldgen' into 'master'
...
Pass libraries as arguments to ldgen directly
See merge request idf/esp-idf!4887
2019-04-29 08:49:42 +08:00
Angus Gratton
3694ed30eb
Merge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'
...
ldgen: do not generate rules when no condition is true
See merge request idf/esp-idf!4757
2019-04-29 08:44:13 +08:00
michael
0b523c2300
spi_master: fix the dual/quad io issue
...
introduced in f871cc5ffa
The issue is caused by
1. The hal didn't pass the io_mode to LL.
2. The setup_device function overwrite the trans-specific settings.
2019-04-27 01:36:47 +08:00
Renz Christian Bagaporo
4a288c9f30
example: use mbedtls to compute hash in spiffsgen example
2019-04-26 22:37:41 +08:00
Renz Christian Bagaporo
fa21b5f33b
spiffs: move spiffsgen example with other storage related examples
2019-04-26 22:37:41 +08:00
Konstantin Kondrashov
643d0f2164
freertos/test: Add unit tests for xTaskIncrementTick
2019-04-26 22:36:12 +08:00
Renz Christian Bagaporo
b1ecd75d83
ldgen: pass component libraries directly
2019-04-26 20:06:53 +08:00
Ivan Grokhotkov
ca6cff7637
Merge branch 'bugfix/fix_build_cmake_example_failing' into 'master'
...
Fix false positive errors with CMake example builds
See merge request idf/esp-idf!4608
2019-04-26 18:20:53 +08:00
Angus Gratton
fe2565f5d7
Merge branch 'feature/make_bootloader_support_target_dependent' into 'master'
...
make bootloader_support depend on IDF_TARGET
See merge request idf/esp-idf!4798
2019-04-26 15:36:48 +08:00
Angus Gratton
6890326504
Merge branch 'test/always_deploy_test_result_on_master' into 'master'
...
CI: always deploy test result to Jira on master
See merge request idf/esp-idf!4840
2019-04-26 14:34:57 +08:00
Angus Gratton
df9113e0e1
Merge branch 'feature/kconfig_backward_comp' into 'master'
...
Rename deprecated Kconfig options in a backward compatible way
Closes IDF-155
See merge request idf/esp-idf!4551
2019-04-26 10:09:29 +08:00
Angus Gratton
207e87932b
Merge branch 'fix/fix_soc_dram_low_addr' into 'master'
...
fix the dram low addr defined in the soc.h header
See merge request idf/esp-idf!4882
2019-04-26 08:43:22 +08:00
Jiang Jiang Jian
b5bbd42b9a
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4859
2019-04-25 20:38:37 +08:00
Jiang Jiang Jian
9c7fb51d7d
Merge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'
...
Component/bt: add ble link timeout config in menuconfig
See merge request idf/esp-idf!4786
2019-04-25 20:04:53 +08:00
Ivan Grokhotkov
89798b328b
Merge branch 'bugfix/select_init_sem' into 'master'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4591
2019-04-25 19:10:08 +08:00
Michael (XIAO Xufeng)
9a00b7706e
fix the dram low addr defined in the soc.h header
2019-04-25 17:29:48 +08:00
Jiang Jiang Jian
7724a2e1a0
Merge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'
...
esp_wifi: fix the bug that WPS fails when AP is encrypted
Closes IDF-623
See merge request idf/esp-idf!4827
2019-04-25 17:05:48 +08:00
Konstantin Kondrashov
8e434c1bf0
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-04-25 13:03:01 +08:00
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
Renz Christian Bagaporo
2522268c20
ldgen: do not generate rules when no condition is true
...
Closes https://github.com/espressif/esp-idf/issues/3295
2019-04-24 18:25:24 +08:00
Angus Gratton
cf9f2aa466
Merge branch 'feature/set_redirection' into 'master'
...
Add a `esp_http_client_set_redirection` function
See merge request idf/esp-idf!4856
2019-04-24 15:50:53 +08:00
XiaXiaotian
e1f743c8eb
esp_wifi: fix the bug that WPS fails when AP is encrypted
2019-04-24 13:57:14 +08:00
baohongde
db6b210a5f
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:17:54 +08:00
Angus Gratton
e1592c8c81
Merge branch 'bugfix/docs_tutorials' into 'master'
...
Docs update
See merge request idf/esp-idf!4150
2019-04-24 08:36:20 +08:00
Vikram Dattu
e0d796bf33
Add a esp_http_client_set_redirection
function When using direct operations instead of esp_http_client_perform
, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call esp_http_client_set_redirection
function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-23 19:29:49 +05:30
Krzysztof Budzynski
a0f0c19e15
Merge branch 'doc/review_versions' into 'master'
...
Review the versions.rst document.
See merge request idf/esp-idf!4753
2019-04-23 17:22:41 +08:00
Kirill Chalov
b89ff9e6db
Review the versions.rst document.
2019-04-23 06:03:33 +00:00
Angus Gratton
8513b8ead4
Merge branch 'bugfix/pyparsing' into 'master'
...
Temporarily fix incompatibility with pyparsing 2.4.0
See merge request idf/esp-idf!4809
2019-04-23 10:35:50 +08:00
Jiang Jiang Jian
1718a93119
Merge branch 'bugfix/scan_fail_when_no_ap_found' into 'master'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP
Closes WIFI-76
See merge request idf/esp-idf!4630
2019-04-23 10:20:43 +08:00
Jiang Jiang Jian
823395dea6
Merge branch 'bugfix/fix_iperf_exit_error' into 'master'
...
examples: fix iperf exit error
Closes XIAOMI-62
See merge request idf/esp-idf!4788
2019-04-22 19:47:10 +08:00
zhiweijian
0ae4eb4f09
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 09:16:19 +00:00
xiehang
5e15840ac1
examples: fix iperf exit error
2019-04-22 12:14:21 +08:00
zhangyanjiao
513353c641
wifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-22 11:59:40 +08:00
Ivan Grokhotkov
47988e90ea
Merge branch 'feature/esp_event_loop_examples_provisioning' into 'master'
...
examples/provisioning: use esp_event library for event handling
Closes IDF-55
See merge request idf/esp-idf!4030
2019-04-22 07:48:48 +08:00
He Yin Ling
50ecd6c3b6
CI: always deploy test result to Jira on master
2019-04-21 13:14:28 +08:00
He Yin Ling
7ca556a3ca
Merge branch 'feature/jira_test_management' into 'master'
...
test: jira test management
See merge request idf/esp-idf!4751
2019-04-21 10:37:01 +08:00
He Yin Ling
9549ae4c12
test: sync integration test cases
2019-04-19 16:44:00 +08:00