Commit graph

6555 commits

Author SHA1 Message Date
David Cermak
42773d22fd mdns: workarround in 3.1 to fix missing netif re-probing when ip changed in link-local addressing 2019-04-05 16:18:43 +02:00
Angus Gratton
9f2ed0f58d Merge branch 'bugfix/heap_int_oflow_checks_v3.1' into 'release/v3.1'
Backport heap int overflow checks to v3.1

See merge request idf/esp-idf!4582
2019-04-05 09:30:50 +08:00
Angus Gratton
c90831775f Merge branch 'fix/spi_on_readonly_pins_v3.1' into 'release/v3.1'
spi: fix the bug of connecting SPI peripheral to read-only pins (backport v3.1)

See merge request idf/esp-idf!4308
2019-04-04 14:48:07 +08:00
Angus Gratton
64169e7d12 Merge branch 'update/nvs_partition_utility_v3.1' into 'release/v3.1'
Update/nvs partition utility v3.1 (backport v3.1)

See merge request idf/esp-idf!4275
2019-04-03 11:12:23 +08:00
Angus Gratton
12a29f1a43 Merge branch 'fix/nvs_part_util' into 'release/v3.1'
nvs_part_util: Fix Readme and disable multipage blob by default

See merge request idf/esp-idf!4631
2019-04-02 14:35:38 +08:00
Michael (XIAO Xufeng)
f6015c29d5 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-04-02 11:33:53 +08:00
Angus Gratton
c278dcb707 Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts_v3.1' into 'release/v3.1'
Fix issues with CMake builds when python scripts are associated with an editor (backport v3.1)

See merge request idf/esp-idf!4638
2019-04-02 09:39:51 +08:00
Shivani Tipnis
abb114475f nvs_part_util: Fix Readme and disable multipage blob by default 2019-04-01 15:12:38 +05:30
Jiang Jiang Jian
533d90b4c2 Merge branch 'bugfix/increase_block_scan_time_v3.1' into 'release/v3.1'
wifi: increase the block scan time (backport v3.1)

See merge request idf/esp-idf!4644
2019-04-01 17:24:14 +08:00
zhangyanjiao
83bf77e2f4 wifi: increase the block scan time because of changing channel will take at 30ms when BT/WiFi coexist 2019-04-01 10:53:12 +08:00
Renz Christian Bagaporo
c27d9d9d4e ci: test full build never runs '/usr/bin/env python' or similar 2019-03-28 15:47:55 +08:00
Renz Christian Bagaporo
a64139690b cmake: Fix for Python files executed directly, not via PYTHON variable 2019-03-28 15:45:58 +08:00
Shivani Tipnis
9122ec43e1 nvs_util: Fix to support write of multiple singlepage big blob data
Closes https://github.com/espressif/esp-idf/issues/3011

(cherry picked from commit 60b5cdde)
2019-03-27 17:14:06 +05:30
Jiang Jiang Jian
4d80587594 Merge branch 'mesh/decouple_v3.1' into 'release/v3.1'
mesh: decoupling (backport v3.1)

See merge request idf/esp-idf!4288
2019-03-27 19:38:21 +08:00
Shivani Tipnis
cf1b95cc00 Update minimum version for cryptography package required
(cherry picked from commit e1774cb6f9)
(cherry picked from commit fa40b3d5d0)
2019-03-26 18:40:56 +05:30
chenyudong
8b6b623b64 mesh: decoupling
Remove dependencies which cause mesh code to be linked even if mesh is not used.
2019-03-22 17:36:18 +08:00
Angus Gratton
05c1463691 heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-21 16:05:52 +11:00
Jiang Jiang Jian
00c3f795a2 Merge branch 'bugfix/nvs_api_usage_in_simple_ota_example_v3.1' into 'release/v3.1'
Minor bugfix in simple ota example (backport v3.1)

See merge request idf/esp-idf!4583
2019-03-21 11:40:31 +08:00
InfiniteYuan1
8db70b4aa8 bugfix(simple_ota): Compatible with V3.1 and V3.2
(cherry picked from commit 0fa31d3e31)
2019-03-21 10:26:33 +08:00
Angus Gratton
439bdc0b77 heap: Add integer overflow checks 2019-03-21 12:30:10 +11:00
Angus Gratton
82bdc66e34 Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.1' into 'release/v3.1'
docs: Upgraded sphinx package version to prevent build failures on readthedocs…

See merge request idf/esp-idf!4555
2019-03-21 07:55:03 +08:00
Angus Gratton
7313da42b5 Merge branch 'test/detect_exception_in_idf_dut_v3.1' into 'release/v3.1'
tiny-test-fw: support detect exception in IDFDUT (backport v3.1)

See merge request idf/esp-idf!4544
2019-03-21 07:54:37 +08:00
Angus Gratton
570cb25d26 Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.1' into 'release/v3.1'
test: fix CI UT job pass even ut app bootup fail (backport v3.1)

See merge request idf/esp-idf!4387
2019-03-21 07:53:53 +08:00
Jiang Jiang Jian
db91841915 Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable_v3.1' into 'release/v3.1'
Component/bt: fix no adv report when scanning with sleep enable (backport v3.1)

See merge request idf/esp-idf!4558
2019-03-20 21:37:08 +08:00
Jiang Jiang Jian
50664c43b2 Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.1' into 'release/v3.1'
Component/bt: fix blufi prepare write crash (backport v3.1)

See merge request idf/esp-idf!4564
2019-03-20 21:03:14 +08:00
Jiang Jiang Jian
c1e5f01d2e Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.1' into 'release/v3.1'
Component/bt: fix build warning when bluedroid disable log (backport v3.1)

See merge request idf/esp-idf!4567
2019-03-20 21:02:59 +08:00
Ivan Grokhotkov
f28e3cbc07 Merge branch 'bugfix/esp_tls_const_bytes_field_v3.1' into 'release/v3.1'
esp_tls: Make cacert_pem_bytes field a mutable integer

See merge request idf/esp-idf!4529
2019-03-20 16:09:32 +08:00
zhiweijian
4f6b6d3391 Component/bt: fix build warning when bluedroid disable log 2019-03-20 15:08:28 +08:00
zhiweijian
d6fb966ea4 Component/bt: fix blufi prepare write crash 2019-03-20 14:32:23 +08:00
zhiweijian
df5c9c8804 Component/bt: fix no adv report when scanning with sleep enable 2019-03-20 12:05:25 +08:00
Jiang Jiang Jian
3c443ae9d7 Merge branch 'bugfix/spiram_linker_wildcards_v3.1' into 'release/v3.1'
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds (backport v3.1)

See merge request idf/esp-idf!4305
2019-03-20 11:27:37 +08:00
Jiang Jiang Jian
96b77c11ec Merge branch 'bugfix/mdns_incorrect_semaphore_use_v3.1' into 'release/v3.1'
mdns: use binary semaphore instead of mutex when searching (Backport 3.1)

See merge request idf/esp-idf!4479
2019-03-20 11:25:44 +08:00
Jiang Jiang Jian
f0462244ec Merge branch 'bugfix/ble_assert_8192_v3.1' into 'release/v3.1'
fix the bug assert(8192 0) in rwble.c 234

See merge request idf/esp-idf!4506
2019-03-20 11:24:47 +08:00
krzychb
2f73a62737 docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.1) 2019-03-19 20:09:30 +01:00
He Yin Ling
042c0109a9 test: handle exception by unit test script:
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-03-19 22:15:33 +08:00
He Yin Ling
4bb656c36d tiny-test-fw: support translate backtrace in IDFDUT 2019-03-19 22:15:33 +08:00
Ivan Grokhotkov
471013f7e0 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-19 14:02:01 +00:00
Tian Hao
51e29d6d95 fix the bug assert(8192 0) in rwble.c 234 2019-03-19 12:52:22 +00:00
He Yin Ling
3f0c737969 tiny-test-fw: support detect exception in IDFDUT 2019-03-19 14:21:36 +08:00
Angus Gratton
8599f73019 esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds
Fixes 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
2019-03-18 23:17:48 +00:00
Angus Gratton
6fbf2675e6 esp_tls: Make cacert_pem_bytes field a mutable integer
Ref https://esp32.com/viewtopic.php?f=2&t=9737&p=40278#p40277
2019-03-18 23:17:02 +00:00
Angus Gratton
f97748d46f Merge branch 'bugfix/build_system_tests_cmake_v3.1' into 'release/v3.1'
ci: Fix build system CMake test for v3.1

See merge request idf/esp-idf!4531
2019-03-19 07:16:26 +08:00
Angus Gratton
8890627f6d ci: Fix build system CMake test for v3.1
Fix regression in !4365
2019-03-18 17:53:17 +11:00
Jiang Jiang Jian
867a237c27 Merge branch 'bugfix/doc_ubuntu_packages_v3.1' into 'release/v3.1'
docs: Update package dependencies (backport v3.1)

See merge request idf/esp-idf!4457
2019-03-17 14:41:44 +08:00
Jiang Jiang Jian
044cadbad3 Merge branch 'bugfix/mdns_add_remove_multiple_srv_3.1' into 'release/v3.1'
mdns: fix possible crash if tx packet contained answer to removed service (backport 3.1)

See merge request idf/esp-idf!4482
2019-03-17 14:34:49 +08:00
Jiang Jiang Jian
dda1af6e55 Merge branch 'bugfix/mdns_service_memory_leak_3.1' into 'release/v3.1'
mdns: fix memory leak when query for service plus various other fixes (Backport v3.1)

See merge request idf/esp-idf!4313
2019-03-17 14:28:35 +08:00
Jiang Jiang Jian
cea8c51527 Merge branch 'bugfix/cmake_psram_fix_flag_v3.1' into 'release/v3.1'
cmake: Fix psram workaround compiler flag application (backport v3.1)

See merge request idf/esp-idf!4365
2019-03-15 10:57:49 +08:00
Jiang Jiang Jian
5fb9aaa377 Merge branch 'bugfix/msys_cancel_idfpy_v3.1' into 'release/v3.1'
tools: re-run idf.py in MSYS with winpty (backport v3.1)

See merge request idf/esp-idf!4455
2019-03-15 10:57:35 +08:00
Jiang Jiang Jian
75724791fa Merge branch 'feature/btdm_add_adv_report_flow_control_v3.1' into 'release/v3.1'
component/bt: add vendor hci and adv report flow control (backport v3.1)

See merge request idf/esp-idf!4463
2019-03-14 17:42:06 +08:00
David Cermak
d5938abf79 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.
2019-03-13 16:33:21 +01:00